Detection rules › Sigma

Boot Configuration Tampering Via Bcdedit.EXE

Severity
high
Author
E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
Source
upstream

Detects the use of the bcdedit command to tamper with the boot configuration data. This technique is often times used by malware or attackers as a destructive way before launching ransomware.

MITRE ATT&CK coverage

TacticTechniques
ImpactT1490 Inhibit System Recovery

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\bcdedit.exe'
OriginalFileName: bcdedit.exe

Stage 2: all of selection_set

CommandLine|contains: set

Stage 3: all of selection_cli

or:
CommandLine|contains: bootstatuspolicy
CommandLine|contains: ignoreallfailures
CommandLine|contains: no
CommandLine|contains: recoveryenabled

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
  • bootstatuspolicy
  • ignoreallfailures
  • no
  • recoveryenabled
  • set corpus 7 (sigma 7)
Imageends_with
  • \bcdedit.exe corpus 4 (sigma 4)
OriginalFileNameeq
  • bcdedit.exe corpus 2 (sigma 2)