cscli scenarios install sigmahq/proc_creation_win_hktl_cobaltstrike_bloopers_cmd
1type: trigger2name: sigmahq/proc_creation_win_hktl_cobaltstrike_bloopers_cmd3description: |4 Detects use of Cobalt Strike commands accidentally entered in the CMD shell5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.OriginalFileName == 'Cmd.Exe' || evt.Parsed.Image endsWith '\\cmd.exe') && (evt.Parsed.CommandLine startsWith 'cmd ' || evt.Parsed.CommandLine startsWith 'cmd.exe' || evt.Parsed.CommandLine startsWith 'c:\\windows\\system32\\cmd.exe') && (evt.Parsed.CommandLine contains 'psinject' || evt.Parsed.CommandLine contains 'spawnas' || evt.Parsed.CommandLine contains 'make_token' || evt.Parsed.CommandLine contains 'remote-exec' || evt.Parsed.CommandLine contains 'rev2self' || evt.Parsed.CommandLine contains 'dcsync' || evt.Parsed.CommandLine contains 'logonpasswords' || evt.Parsed.CommandLine contains 'execute-assembly' || evt.Parsed.CommandLine contains 'getsystem'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1059.0031516 label: "Operator Bloopers Cobalt Strike Commands"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324