Add SafeBoot Keys Via Reg Utility

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\reg.exe" OR ORIGINALFILENAME = "reg.exe") AND COMMANDLINE contains "\SYSTEM\CurrentControlSet\Control\SafeBoot" AND COMMANDLINE contains " copy , add " select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)