cscli scenarios install sigmahq/proc_creation_win_cmd_sticky_keys_replace
1type: trigger2name: sigmahq/proc_creation_win_cmd_sticky_keys_replace3description: |4 By replacing the sticky keys executable with the local admins CMD executable, an attacker is able to access a privileged windows console session without authenticating to the system. When the sticky keys are "activated" the privilleged shell is launched.5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine contains 'copy ' && evt.Parsed.CommandLine contains '/y ' && evt.Parsed.CommandLine contains 'C:\\windows\\system32\\cmd.exe C:\\windows\\system32\\sethc.exe')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1546.0081516 label: "Persistence Via Sticky Key Backdoor"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324