Skip to content
Threat Feed
medium threat

DarkGate Malware Registry Modification for Remote Desktop Persistence

The DarkGate malware modifies the Windows registry key 'DisableRemoteDesktopAntiAlias' to 0x00000001, disabling anti-aliasing to optimize remote control capabilities and maintain unauthorized access.

DarkGate malware, a sophisticated threat actor toolset, has been observed modifying the Windows registry key 'DisableRemoteDesktopAntiAlias' to a value of 0x00000001. This specific modification is intended to disable font anti-aliasing for Remote Desktop Protocol (RDP) sessions, a technique used by the malware to enhance the quality and performance of its remote control sessions for the attacker. By altering this setting, the malware ensures that its clandestine remote access operations are more responsive and visually clear, facilitating easier movement and command execution on compromised hosts. This activity is a critical indicator of post-compromise activity, suggesting the attacker has achieved sufficient privilege to manipulate system settings to maintain long-term persistence and refined control over the target environment.

Attack Chain

  1. Initial infection typically via malicious email attachment or drive-by download.
  2. Malware payload executes on the target endpoint.
  3. Malware gains persistence and elevates privileges if necessary.
  4. Malware performs reconnaissance on the system configuration.
  5. Attacker scripts modify the Windows Registry key 'DisableRemoteDesktopAntiAlias' to 0x00000001.
  6. Malware configures or leverages existing RDP functionality for stealthy remote control.
  7. Attacker maintains remote access to the host for data exfiltration or lateral movement.

Impact

Successful execution of this registry modification allows the DarkGate malware to achieve optimized remote control over a victim machine. This compromises the confidentiality and integrity of the affected host, providing the attacker with a stable channel to execute further malicious commands, steal sensitive data, and navigate the corporate network. If left unmonitored, this access can lead to widespread credential theft or ransomware deployment depending on the attacker's ultimate objective.

Recommendation

  • Deploy the provided Sigma rule to monitor for registry modification events on the identified key.
  • Configure Sysmon EventID 13 to record modifications to 'Terminal Services' registry subkeys.
  • Use the drilldown search provided in the brief to identify hosts with this registry modification for further incident investigation.
  • Filter alerts based on legitimate system administration activity, such as authorized configuration changes by IT staff.

Immediate actions

Deploy registry monitoring for 'DisableRemoteDesktopAntiAlias' across all Windows endpoints.

Detection Engineering 24h

Threat Hunt

Search for historical changes to the 'DisableRemoteDesktopAntiAlias' registry key in the last 30 days.

T1112 high high confidence hunt now

Data: Sysmon Event ID 13

Detection coverage 1

Detect Windows Registry DisableRemoteDesktopAntiAlias Modification

medium

Detects the modification of the 'DisableRemoteDesktopAntiAlias' registry key to 0x00000001, which is a known behavior of DarkGate malware.

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

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