cscli scenarios install sigmahq/proc_creation_win_hktl_invoke_obfuscation_var
1type: trigger2name: sigmahq/proc_creation_win_hktl_invoke_obfuscation_var3description: |4 Detects Obfuscated use of Environment Variables to execute PowerShell5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine matches 'cmd.{0,5}(?:/c|/r)(?:\\s|)\\"set\\s[a-zA-Z]{3,6}.*(?:\\{\\d\\}){1,}\\\\\\"\\s+?\\-f(?:.*\\)){1,}.*\\"')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t102715 - attack.t1059.0011617 label: "Invoke-Obfuscation VAR+ Launcher"18 behavior : "windows:audit"19 remediation: false2021scope:22 type: ParentProcessId23 expression: evt.Parsed.ParentProcessId2425