Detection rules › Sigma
BitLocker feature configuration (Reg via command)
Detects scenarios where an attacker configures BitLocker for ransomware purposes.
Known false positives
- Initial BitLocker configuration via GPO
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Impact |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: BitLocker feature configuration (Reg via command)
description: Detects scenarios where an attacker configures BitLocker for ransomware purposes.
references:
- https://thedfirreport.com/2021/11/15/exchange-exploit-leads-to-domain-wide-ransomware/
- https://admx.help/?Category=MDOP&Policy=Microsoft.Policies.BitLockerManagement::BMSOSDEncryptionPolicy
- https://www.bleepingcomputer.com/news/microsoft/microsoft-iranian-hackers-encrypt-windows-systems-using-bitlocker/
tags:
- attack.impact
- attack.t1486
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
NewProcessName|endswith: \reg.exe
CommandLine|contains|all: # Full command: "REG ADD HKLM\SOFTWARE\Policies\Microsoft\FVE /v EnableBDEWithNoTPM /t REG_DWORD /d 1 /f"
- REG ADD
- '\SOFTWARE\Policies\Microsoft\FVE'
CommandLine|contains:
- UseTPM
- UseTPMKey
- UseTPMPIN
- UseTPMKeyPIN
- RecoveryKeyMessage
- EnableBDEWithNoTPM
- UseAdvancedStartup
- RecoveryKeyMessageSource
condition: selection
falsepositives:
- Initial BitLocker configuration via GPO
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
NewProcessName|endswith: \reg.exe
CommandLine|contains|all:
- REG ADD
- '\SOFTWARE\Policies\Microsoft\FVE'
CommandLine|contains:
- UseTPM
- UseTPMKey
- UseTPMPIN
- UseTPMKeyPIN
- RecoveryKeyMessage
- EnableBDEWithNoTPM
- UseAdvancedStartup
- RecoveryKeyMessageSource
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match |
NewProcessName | ends_with |
| field:"Image" kind:ends_with value:"\reg.exe" |