Registry Persistence via Service in Safe Mode

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the modification of the registry to allow a driver or service to persist in Safe Mode.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND ((OBJECTNAME contains "\Control\SafeBoot\Minimal\,\Control\SafeBoot\Network" OR ((OBJECTNAME endswith "\Control\SafeBoot\Minimal" AND isExist(OBJECTVALUENAME)) OR (OBJECTNAME endswith "\Control\SafeBoot\Network" AND isExist(OBJECTVALUENAME)))) AND OBJECTNAME endswith "\(Default)" AND INFORMATION = "Service") AND (PROCESSNAME != "C:\WINDOWS\system32\msiexec.exe" OR (OBJECTNAME notendswith "\Control\SafeBoot\Minimal\SAVService\(Default),\Control\SafeBoot\Network\SAVService\(Default)" AND (OBJECTNAME notendswith "\Control\SafeBoot\Minimal\SAVService,\Control\SafeBoot\Network\SAVService" OR OBJECTVALUENAME != "(Default),(Default)"))) select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113