T1490 · Inhibit System Recovery

Change To Safe Mode With Network Config

  • Windows
  • Confirmed Technique

About this detection

The following analytic detects the execution of a suspicious bcdedit command that configures a host to boot in safe mode with network support. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on command-line executions involving bcdedit.exe with specific parameters. This activity is significant because it is a known technique used by BlackMatter ransomware to force a compromised host into safe mode for continued encryption. If confirmed malicious, this could allow attackers to bypass certain security controls, persist in the environment, and continue their malicious activities.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…