Possible Ransomware or Unauthorized MBR Manipulation Through Bcdedit.EXE (via process_creation)

This rule detects potential hostile and unauthorized use of bcdedit.exe

SigmamediumWindowsv1
sigma
title: Possible Ransomware or Unauthorized MBR Manipulation Through Bcdedit.EXE (via process_creation)
id: 3debd19f-4c5d-52bc-94b5-2875893651a5
status: stable
description: This rule detects potential hostile and unauthorized use of bcdedit.exe
references:
    - https://attack.mitre.org/techniques/T1542/003/
    - https://attack.mitre.org/techniques/T1070/
    - https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set
    - https://twitter.com/malwrhunterteam/status/1372536434125512712/photo/2
author: 'Huntrule Team'
date: 2026-07-27
tags:
    - attack.stealth
    - attack.t1070
    - attack.persistence
    - attack.t1542.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\bcdedit.exe'
        - OriginalFileName: 'bcdedit.exe'
    selection_cli:
        CommandLine|contains:
            - 'delete'
            - 'deletevalue'
            - 'import'
            - 'safeboot'
            - 'network'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.