cscli scenarios install sigmahq/proc_creation_win_msdt_arbitrary_command_execution1type: trigger2name: sigmahq/proc_creation_win_msdt_arbitrary_command_execution3description: |4 Detects processes leveraging the "ms-msdt" handler or the "msdt.exe" binary to execute arbitrary commands as seen in the follina (CVE-2022-30190) vulnerability5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\msdt.exe' || evt.Parsed.OriginalFileName == 'msdt.exe') && (evt.Parsed.CommandLine contains 'IT_BrowseForFile=' || evt.Parsed.CommandLine contains ' PCWDiagnostic' && (evt.Parsed.CommandLine contains ' -af ' || evt.Parsed.CommandLine contains ' /af ' || evt.Parsed.CommandLine contains ' –af ' || evt.Parsed.CommandLine contains ' —af ' || evt.Parsed.CommandLine contains ' ―af ')))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t12021516 label: "Potential Arbitrary Command Execution Using Msdt.EXE"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324