Detection rules › Sigma

BitLocker feature configuration (Reg via command)

Status
experimental
Severity
high
Log source
product windows, category process_creation
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker configures BitLocker for ransomware purposes.

MITRE ATT&CK coverage

TacticTechniques
ImpactT1486 Data Encrypted for Impact

Event coverage

Rule body yaml

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

selection

Stage 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

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
  • EnableBDEWithNoTPM corpus 3 (sigma 2, kusto 1)
  • REG ADD corpus 14 (sigma 13, kusto 1)
  • RecoveryKeyMessage corpus 3 (sigma 2, kusto 1)
  • RecoveryKeyMessageSource corpus 3 (sigma 2, kusto 1)
  • UseAdvancedStartup corpus 3 (sigma 2, kusto 1)
  • UseTPM corpus 2 (sigma 2)
  • UseTPMKey corpus 3 (sigma 2, kusto 1)
  • UseTPMKeyPIN corpus 3 (sigma 2, kusto 1)
  • UseTPMPIN corpus 2 (sigma 2)
  • \SOFTWARE\Policies\Microsoft\FVE corpus 2 (sigma 2)
NewProcessNameends_with
  • \reg.exe corpus 58 (sigma 58)