Detection rules › Sigma

SafeBoot Registry Key Deleted Via Reg.EXE

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems), Tim Shelton
Source
upstream

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 products

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1562.001 Impair Defenses: Disable or Modify Tools

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: reg.exe
OriginalFileName: reg.exe

Stage 2: all of selection_delete

CommandLine|contains: ' delete '
CommandLine|contains: '\SYSTEM\CurrentControlSet\Control\SafeBoot'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • delete corpus 4 (sigma 4)
  • \SYSTEM\CurrentControlSet\Control\SafeBoot corpus 2 (sigma 2)
Imageends_with
  • reg.exe corpus 3 (sigma 3)
OriginalFileNameeq
  • reg.exe corpus 29 (sigma 29)