Suspicious Bitlocker Encryption
Description
Looks for potential instances of bitlocker modifying registry settings to allow encryption, where it's executed via a .bat file.
Query · kql
DeviceProcessEvents
| where FileName =~ "reg.exe"
// Search for BitLocker encryption being enabled without the chip
and ProcessCommandLine has "EnableBDEWithNoTPM"
// Using contains due to variant forms of capturing 1: 1, 0x1
and (ProcessCommandLine has "true" or ProcessCommandLine contains "1")
// Search for this activity being launched by batch scripts, typically as: C:\Windows\[name].bat
| where InitiatingProcessCommandLine has_all (@"C:\Windows\", ".bat")