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
- https://github.com/GossiTheDog/ThreatHunting/blob/e85884abbf05d5b41efc809ea6532b10b45bd05c/AdvancedHuntingQueries/DogWalk-DiagCab
- https://github.com/elastic/protections-artifacts/commit/746086721fd385d9f5c6647cada1788db4aea95f#diff-9015912909545e72ed42cbac4d1e96295e8964579c406d23fd9c47a8091576a0
- https://irsl.medium.com/the-trouble-with-microsofts-troubleshooters-6e32fc80b8bd
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
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.