T1112 · Modify Registry

Disabling CMD Application

  • Windows
  • Confirmed Technique

About this detection

The following analytic detects modifications to the registry that disable the CMD prompt application. It leverages data from the Endpoint.Registry data model, specifically looking for changes to the “DisableCMD” registry value. This activity is significant because disabling CMD can hinder an analyst’s ability to investigate and remediate threats, a tactic often used by malware such as RATs, Trojans, or Worms. If confirmed malicious, this could prevent security teams from using CMD for directory and file traversal, complicating incident response and allowing the attacker to maintain persistence.

Sysmon event coverage

  • RegistryEvent

Sysmon XML

Download XML

Loading configuration…