Boot Configuration Tampering Via Bcdedit.EXE

 Original Source: [Sigma source]
Title: Boot Configuration Tampering Via Bcdedit.EXE
Status: stable
Description: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.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1490/T1490.md
  -https://eqllib.readthedocs.io/en/latest/analytics/c4732632-9c1d-4980-9fa8-1d98c93f918e.html
Author: E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
Date: 2019-10-24
modified:2023-02-15
Tags:
  • -'attack.impact'
  • -'attack.t1490'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection_img:
Image|endswith:'\bcdedit.exe' OriginalFileName:'bcdedit.exe'   selection_set:
    CommandLine|contains: 'set'
  selection_cli:
    - CommandLine|contains|all:
      - 'bootstatuspolicy'
      - 'ignoreallfailures'
    - CommandLine|contains|all:
      - 'recoveryenabled'
      - 'no'
  condition:all of selection_*
Falsepositives:
  -Unlikely
Level: high