Sigma rule: Potential Arbitrary Command Execution Using Msdt.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b7e53c8436c0, updated 2024-03-13T00:00:00.000Z.

Rule

Title
Potential Arbitrary Command Execution Using Msdt.EXE
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-05-29
Modified
2024-03-13
File
rules/windows/process_creation/proc_creation_win_msdt_arbitrary_command_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects processes leveraging the "ms-msdt" handler or the "msdt.exe" binary to execute arbitrary commands as seen in the follina (CVE-2022-30190) vulnerability

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\msdt.exe'
    - OriginalFileName: 'msdt.exe'
selection_cmd_inline:
    CommandLine|contains: 'IT_BrowseForFile='
selection_cmd_answerfile_flag:
    CommandLine|contains: ' PCWDiagnostic'
selection_cmd_answerfile_param:
    CommandLine|contains|windash: ' -af '
condition: selection_img and (selection_cmd_inline or all of selection_cmd_answerfile_*)

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • 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/rules/windows/process_creation/proc_creation_win_msdt_arbitrary_command_execution.yml

Sources and licences

  • SigmaHQ

    "Potential Arbitrary Command Execution Using Msdt.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_msdt_arbitrary_command_execution.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: Potential Arbitrary Command Execution Using Msdt.EXE",
entity page, dataset version ref-b7e53c8436c0, updated 2024-03-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/258fc8ce-8352-443a-9120-8a11e4857fa5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 258fc8ce-8352-443a-9120-8a11e4857fa5, 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.