Sigma rule: Execute MSDT.EXE Using Diagcab File

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-78b500cae958, updated 2023-02-06T00:00:00.000Z.

SigmaHQ marks this rule as deprecated.

Rule

Title
Execute MSDT.EXE Using Diagcab File
Status
deprecated
Level
high
Author
GossiTheDog, frack113
Date
2022/06/09
Modified
2023/02/06
File
deprecated/windows/proc_creation_win_msdt_diagcab.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects diagcab leveraging the "ms-msdt" handler or the "msdt.exe" binary to execute arbitrary commands as seen in CVE-2022-30190

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\msdt.exe'
    - OriginalFileName: 'msdt.exe'
selection_cmd:
    CommandLine|contains:
        - ' /cab'
        - ' -cab'
condition: all of selection_*

False positives (as the rule lists them)

  • Legitimate usage of ".diagcab" files

Tags

  • attack.defense_evasion
  • attack.t1202

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/proc_creation_win_msdt_diagcab.yml

Sources and licences

  • SigmaHQ

    "Execute MSDT.EXE Using Diagcab File" by GossiTheDog, frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/proc_creation_win_msdt_diagcab.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Execute MSDT.EXE Using Diagcab File",
entity page, dataset version ref-78b500cae958, updated 2023-02-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6545ce61-a1bd-4119-b9be-fcbee42c0cf3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6545ce61-a1bd-4119-b9be-fcbee42c0cf3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.