cscli scenarios install sigmahq/proc_creation_win_reg_delete_safeboot1type: trigger2name: sigmahq/proc_creation_win_reg_delete_safeboot3description: |4 Detects execution of "reg.exe" commands with the "delete" flag on safe boot registry keys. Often used by attacker to prevent safeboot execution of security products5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith 'reg.exe' || evt.Parsed.OriginalFileName == 'reg.exe') && evt.Parsed.CommandLine contains ' delete ' && evt.Parsed.CommandLine contains '\\SYSTEM\\CurrentControlSet\\Control\\SafeBoot')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1562.0011516 label: "SafeBoot Registry Key Deleted Via Reg.EXE"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324