cscli scenarios install sigmahq/proc_creation_win_hktl_covenant1type: trigger2name: sigmahq/proc_creation_win_hktl_covenant3description: |4 Detects suspicious command lines used in Covenant luanchers5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine contains '-Sta' && evt.Parsed.CommandLine contains '-Nop' && evt.Parsed.CommandLine contains '-Window' && evt.Parsed.CommandLine contains 'Hidden' && (evt.Parsed.CommandLine contains '-Command' || evt.Parsed.CommandLine contains '-EncodedCommand') || evt.Parsed.CommandLine contains 'sv o (New-Object IO.MemorySteam);sv d ' || evt.Parsed.CommandLine contains 'mshta file.hta' || evt.Parsed.CommandLine contains 'GruntHTTP' || evt.Parsed.CommandLine contains '-EncodedCommand cwB2ACAAbwAgA')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1059.00115 - attack.t1564.0031617 label: "HackTool - Covenant PowerShell Launcher"18 behavior : "windows:audit"19 remediation: false2021scope:22 type: ParentProcessId23 expression: evt.Parsed.ParentProcessId2425