Malicious Terraform Providers and Go Modules Deliver Go Malware in Developer-Targeting Campaign

· Original article ↗

Summary

Researchers found Go malware distributed through malicious Terraform providers and Go Modules, with Slack and blockchain C2. The activity overlaps with DPRK-linked campaigns using fake developer job offers; the operators’ later actions remain unknown.

Key points

  • Researchers reported malicious Go packages distributed through two Go Modules and two Terraform providers, describing this as the first known abuse of HashiCorp’s centralized repository for malware delivery.
  • The Go malware shares blockchain and Slack infrastructure with a related npm version and collects host and system information.
  • The implant polls Slack and Ethereum smart contracts for encrypted commands that can execute Go or JavaScript code.
  • Researchers recovered the implant but not the later code delivered through its command channels, so the operators’ actions on victims are unknown.
  • The activity overlaps with Graphalgo and other North Korea-linked campaigns that use fake Web3 job offers and coding tasks to target developers.
  • Separately, researchers reported a compromised npm package distributing a loader and warned of related job-interview lures; the Rust project advised contributors to enable MFA and review accounts for unexpected logins.

Article Details

Attack Vectors
  • Malicious Go Modules and Terraform providers distributed Go malware through package registries.
  • Fake Web3 job offers and developer interviews on social platforms and forums lured targets into coding tasks that introduced malicious dependencies through npm or PyPI.
  • A compromised npm package, @dforge-core/dforge-mcp version 0.2.21, distributed the GHAPPIER JavaScript loader; the operator reportedly used stolen developer credentials to write to repositories accessible to the developer.
  • Fake video calls and job or project opportunities were used to persuade targets to install purportedly missing software or execute commands, including commands placed on the clipboard.
Defensive Notes
  • The Rust project urged contributors and crate owners to enable multi-factor authentication and check accounts for unexpected logins.
  • Researchers could not determine the later tasks run by operators because the code delivered through the command channels was not recovered.

Indicators of compromise

TypeIndicatorContext
IPV4193[.]247[.]144[.]38C2 address obtained from an attacker wallet by the second GHAPPIER payload using the NullReceiver technique.

MITRE ATT&CK

People

Threat Actors

Malware

Vendors

Products

Related Articles