Skip to main content
UNIFIED SOC INCIDENT RESPONSE BLUEPRINT

DPRK Hackers Abuse Terraform Registry to Deliver Go Malware

North Korean hackers targeted Web3 developers by planting malicious Terraform providers and Go modules on the HashiCorp Registry to deploy dual-C2 malware.

Detection & Hunting Detectors (1)

[T1583.006] DPRK Hackers Abuse Terraform Registry to Deliver Go Malware Hunt QueryStandalone Rule
// Microsoft Sentinel / Defender Hunting Query: Detect Anomalous Slack API Polling and Node Subwatcher Execution
DeviceProcessEvents
| where Timestamp > ago(7d)
| where (FileName in~ ("node.exe", "go.exe", "terraform.exe") and ProcessCommandLine has_any ("subwatcher", "conversations.history", "sepolia", "arbitrum"))
    or (InitiatingProcessFileName in~ ("terraform.exe", "go.exe") and FileName in~ ("node.exe", "powershell.exe", "cmd.exe"))
| project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName, DeviceId
| sort by Timestamp desc

Verified Indicators of Compromise (4)

Indicators of Compromise (IOCs)
4 Identified
C2-SERVICEArbitrum Sepolia Smart Contract
C2-SERVICESlack conversations.history API
MALWARE-TOOLsubwatcher Node.js daemon
THREAT-ACTORGraphalgo (DPRK)