cscli scenarios install sigmahq/proc_creation_win_cmd_sticky_key_like_backdoor_execution1type: trigger2name: sigmahq/proc_creation_win_cmd_sticky_key_like_backdoor_execution3description: |4 Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.ParentImage endsWith '\\winlogon.exe' && (evt.Parsed.Image endsWith '\\cmd.exe' || evt.Parsed.Image endsWith '\\cscript.exe' || evt.Parsed.Image endsWith '\\mshta.exe' || evt.Parsed.Image endsWith '\\powershell.exe' || evt.Parsed.Image endsWith '\\pwsh.exe' || evt.Parsed.Image endsWith '\\regsvr32.exe' || evt.Parsed.Image endsWith '\\rundll32.exe' || evt.Parsed.Image endsWith '\\wscript.exe' || evt.Parsed.Image endsWith '\\wt.exe') && (evt.Parsed.CommandLine contains 'sethc.exe' || evt.Parsed.CommandLine contains 'utilman.exe' || evt.Parsed.CommandLine contains 'osk.exe' || evt.Parsed.CommandLine contains 'Magnify.exe' || evt.Parsed.CommandLine contains 'Narrator.exe' || evt.Parsed.CommandLine contains 'DisplaySwitch.exe'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1546.0081516 label: "Sticky Key Like Backdoor Execution"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324