cscli scenarios install sigmahq/proc_creation_win_reg_susp_paths1type: trigger2name: sigmahq/proc_creation_win_reg_susp_paths3description: |4 Detects when an adversary uses the reg.exe utility to add or modify new keys or subkeys5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\reg.exe' || evt.Parsed.OriginalFileName == 'reg.exe') && (evt.Parsed.CommandLine contains '\\AppDataLow\\Software\\Microsoft\\' || evt.Parsed.CommandLine contains '\\Policies\\Microsoft\\Windows\\OOBE' || evt.Parsed.CommandLine contains '\\Policies\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon' || evt.Parsed.CommandLine contains '\\SOFTWARE\\Microsoft\\Windows NT\\Currentversion\\Winlogon' || evt.Parsed.CommandLine contains '\\CurrentControlSet\\Control\\SecurityProviders\\WDigest' || evt.Parsed.CommandLine contains '\\Microsoft\\Windows Defender\\'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t111215 - attack.t1562.0011617 label: "Reg Add Suspicious Paths"18 behavior : "windows:audit"19 remediation: false2021scope:22 type: ParentProcessId23 expression: evt.Parsed.ParentProcessId2425