cscli scenarios install sigmahq/proc_creation_win_rundll32_shell32_susp_execution1type: trigger2name: sigmahq/proc_creation_win_rundll32_shell32_susp_execution3description: |4 Detects shell32.dll executing a DLL in a suspicious directory5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\rundll32.exe' || evt.Parsed.OriginalFileName == 'RUNDLL32.EXE') && evt.Parsed.CommandLine contains 'shell32.dll' && evt.Parsed.CommandLine contains 'Control_RunDLL' && (evt.Parsed.CommandLine contains '%AppData%' || evt.Parsed.CommandLine contains '%LocalAppData%' || evt.Parsed.CommandLine contains '%Temp%' || evt.Parsed.CommandLine contains '%tmp%' || evt.Parsed.CommandLine contains '\\AppData\\' || evt.Parsed.CommandLine contains '\\Temp\\' || evt.Parsed.CommandLine contains '\\Users\\Public\\'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1218.0111516 label: "Shell32 DLL Execution in Suspicious Directory"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324