Skip to content
Threat Feed
medium threat

Modification of Windows Error Reporting Registry Key by DarkGate Malware

The DarkGate malware modifies the Windows Error Reporting 'DontShowUI' registry key to 0x00000001, suppressing error dialogs to remain stealthy during malicious installation.

DarkGate malware, identified in multiple campaigns, performs modifications to the Windows Error Reporting (WER) registry configuration as a defensive evasion tactic. Specifically, it targets the 'DontShowUI' registry value within the 'SOFTWARE\Microsoft\Windows\Windows Error Reporting' path, setting the value to '0x00000001'. By performing this modification, the malware suppresses Windows error reporting dialogs that would typically trigger if a process crashes during the execution of malicious payloads. This behavior is a key indicator of stealth-oriented malware installation, as it prevents alerting the user or system administrators to abnormal application behavior during the initial deployment phase. Defenders should monitor for registry modifications to this path to identify processes attempting to evade standard OS-level error notifications.

Attack Chain

  1. Initial delivery or execution of the DarkGate malware binary.
  2. Malware checks environment for specific security software or sandbox artifacts.
  3. Malware initiates persistence and installation routines on the victim host.
  4. Malware accesses the registry path 'HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting'.
  5. Malware performs a write operation to set the 'DontShowUI' value to '0x00000001'.
  6. Malware proceeds with main malicious payload execution, such as C2 communication or data exfiltration.
  7. If a crash occurs during execution, the OS suppresses the error notification, preventing user discovery.

Impact

The suppression of WER dialogs allows the DarkGate malware to operate without generating user-visible alerts, which increases the likelihood of a successful, undetected installation. This technique is designed to bypass basic user awareness and diagnostic telemetry that might otherwise highlight the presence of malicious software during its setup phase. Failure to detect this activity leaves the environment susceptible to the full functionality of the DarkGate payload, which includes remote access capabilities and credential theft.

Recommendation

  1. Deploy the provided Sigma rule to detect unauthorized modifications to the 'DontShowUI' registry value via Sysmon Event ID 13.
  2. Implement monitoring for 'SetRegistryValue' actions targeting the 'Windows Error Reporting' hive.
  3. Validate internal configurations to ensure that registry monitoring covers the HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting path.
  4. Use the risk-based alerting framework to aggregate instances of this registry modification with other suspicious behaviors associated with DarkGate.

Immediate actions

Deploy Sigma detection rule to SIEM.

Detection Engineering 48h

Threat Hunt

Search for existing registry modifications to DontShowUI in historical logs.

T1112 medium high confidence hunt now

Data: Registry change logs (Sysmon ID 13)

Enrichment needed

  • DarkGate malware samples (CTI) Gather more indicators of attack for correlation.

Mitigations

Review Group Policy settings for Windows Error Reporting to ensure standard posture.

short_term IT Operations

T1112

Gaps

  • Lack of host-based process lineage enrichment in the source.

Detection coverage 1

Detect Windows Error Reporting DontShowUI Registry Modification

medium

Detects modifications to the Windows Error Reporting DontShowUI registry value, a technique used by DarkGate to suppress error notifications.

sigma tactics: defense_evasion techniques: T1112 sources: registry_set, windows

Detection queries are available on the platform. Get full rules →