3 minhigh
Graphalgo campaign moves upstream into infrastructure as code
Graphalgo campaign expanded from npm to Terraform providers and Go modules, targeting DevOps engineers with dormant Go malware using Slack and Ethereum C2. Malicious Terraform providers gocommunity-io/dockerd and kreuzwenker/docker were published to the HashiCorp registry, typosquatting a provider with 56M downloads. The Go-compiled malware shares blockchain and Slack C2 infrastructure with the npm Graphalgo campaign. It stays dormant until a hash condition is met, evading sandboxes and automated scans.
Sens:▲ 24hConf:mediumAnalyzed:2026-11-05Z.ai
Authors: John P. Mello Jr.
ActorsGraphalgo
Source:ReversingLabs
Detection / HunterZ.ai
Immediate Actions
- Block gogets[.]dev and gocommunity[.]io at DNS and proxy layers
- Audit Terraform installations for gocommunity-io/dockerd and kreuzwenker/docker providers
- Remove public Terraform registry access from CI/CD build runners
Key Takeaways
- Two fake package ecosystems gogets[.]dev and gocommunity[.]io created to legitimize malicious Go packages.
- kreuzwenker namespace is one character off from legitimate kreunzwerker Docker provider with 56M downloads.
- Malware compiled in Go ships as single binary with no runtime dependencies, evading AV detection.
- 18 unique hostnames observed, indicating narrow targeted operation rather than mass infection.
- C2 channels use both Slack and an Ethereum smart contract for command delivery.
Attack Chain
- Initial Access: Malicious Terraform providers published to HashiCorp Registry with typosquatted namespaces
- Execution: Provider pulled during terraform init and executed on DevOps workstations
- Defense Evasion: Go-compiled malware stays dormant until specific hash condition is met
- C2: Command-and-control traffic routed through Slack and Ethereum smart contract
- Credential Access: Malware accesses cloud credentials and API keys on DevOps workstations
Affected Systems
- HashiCorp Terraform Registry users
- DevOps workstations with cloud credentials
- CI/CD pipelines using Terraform providers
- Go module consumers
- npm and PyPI package consumers
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Terraform provider downloads from typosquatted namespaces or unapproved registries (T1195.002) | Terraform CLI logs, registry access logs | Initial Access | Low — typosquatted namespaces are rare |
| Go binaries spawned from Terraform processes making outbound Slack API or blockchain network calls (T1071.001) | Process execution and network logs | Command and Control | Medium — legitimate DevOps tools may use Slack |
| Dormant processes waiting on hash conditions before activating network communications (T1497.003) | Process behavior, system call traces | Defense Evasion | Low — hash-gated activation is unusual |
Required Log Sources
- Terraform CLI logs
- Package registry access logs
- Process execution logs
- Network DNS logs
- Slack API audit logs
Control Gaps
- Automated scanning cannot detect dormant hash-gated payloads
- Lock file diffs catch typosquats but not malicious behavior
- C2 over Slack and Ethereum blends with legitimate traffic
- Go binary analysis coverage is less mature than other languages
Recommendations
Infrastructure Hardening
- Route Terraform provider installs through internal mirror with approved providers only
- Configure Terraform CLI to exclude public registry from direct installs
- Block Slack API and Ethereum RPC endpoints on build runner networks
User Protection
- Review every new provider source address in .terraform.lock.hcl diffs character by character
- Pin approved Terraform provider versions in CI/CD pipelines
- Restrict production credential access on developer workstations
MITRE ATT&CK Mapping
MITRE ATT&CK Mapping9 techniques
Tactic
Resource Development
Tactic
Initial Access
Tactic
Stealth
Tactic
Credential Access
Tactic
Command and Control
Showing defanged values
- domaingocommunity[.]ioFake package ecosystem for malicious Go packages
- domaingogets[.]devFake package ecosystem for malicious Go packages