Detectionhightest
Add SafeBoot Keys Via Reg Utility
Detects execution of "reg.exe" commands with the "add" or "copy" flags on safe boot registry keys. Often used by attacker to allow the ransomware to work in safe mode as some security products do not
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Fri Sep 02Updated Tue Mar 19d7662ff6-9e97-4596-a61d-9839e32dee8dwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
detection:
selection_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_safeboot:
CommandLine|contains: '\SYSTEM\CurrentControlSet\Control\SafeBoot'
selection_flag:
CommandLine|contains:
- ' copy '
- ' add '
condition: all of selection*False Positives
Unlikely
False positives are unlikely for most environments. High confidence detection.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
d7662ff6-9e97-4596-a61d-9839e32dee8d
Status
test
Level
high
Type
Detection
Created
Fri Sep 02
Modified
Tue Mar 19
Path
rules/windows/process_creation/proc_creation_win_reg_add_safeboot.yml
Raw Tags
attack.defense-evasionattack.t1562.001