cscli scenarios install sigmahq/proc_creation_win_hktl_invoke_obfuscation_via_stdin
1type: trigger2name: sigmahq/proc_creation_win_hktl_invoke_obfuscation_via_stdin3description: |4 Detects Obfuscated Powershell via Stdin in Scripts5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine matches '(?i)(set).*&&\\s?set.*(environment|invoke|\\$\\{?input).*&&.*"')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t102715 - attack.t1059.0011617 label: "Invoke-Obfuscation Via Stdin"18 behavior : "windows:audit"19 remediation: false2021scope:22 type: ParentProcessId23 expression: evt.Parsed.ParentProcessId2425