Wiz Threat Research has uncovered a stealthy cryptojacking operation exploiting misconfigured DevOps environments. Dubbed “JINX-0132”, the campaign abuses public-facing servicesβincluding HashiCorp Nomad and Consul, Docker APIs, and Giteaβto deploy Monero-mining payloads across enterprise-grade infrastructure.
This campaign represents the first publicly documented abuse of misconfigured Nomad deployments for real-world exploitation. According to Wiz researchers, βa fundamental Nomad featureβ¦ effectively means that unrestricted access to the server API can be tantamount to remote code execution (RCE) capabilities on the server itself and all connected nodes.β
Rather than relying on sophisticated malware or custom-built payloads, JINX-0132 exemplifies the living-off-the-land approachβ”they download tools directly from public GitHub repositoriesβ and βrely on standard release versions of XMRig rather than custom malware.β This methodology makes attribution difficult and weakens traditional defenses dependent on Indicators of Compromise (IOCs).
JINX-0132 exploits common misconfigurations in widely used infrastructure components:
- Nomad: Wiz found attackers exploiting the default open configuration of Nomadβs job scheduling API to execute malicious mining tasks. Using seemingly random job names but a consistent task group (“NIGNOG”), attackers remotely deployed XMRig miners via shell commands executed within Nomad jobs.
- Consul: Consul’s default behavior enables service registration with embedded shell-based health checks. βUnless ACLs have been configured or security features… enabled, any user with remote access… can abuse this functionality for remote code execution,β the report warns. JINX-0132 injected health checks that ran XMRig payloads, leveraging this default configuration for cryptomining.
- Gitea: Older Gitea versions and misconfigured newer instances were another foothold. If DISABLE_GIT_HOOKS=false, attackers could create post-receive git hooks for RCE. Moreover, βthe short-lived 1.4.0 release is affected by an unauthenticated RCEβ that enabled attackers to forge admin sessions and execute code.
- Docker API: The campaign also leveraged exposed Docker APIs bound to 0.0.0.0. As the report explains, βa single unauthenticated API call can spin up malicious containers or mount the host filesystem,β giving attackers root-like access to execute XMRig miners or pivot to adjacent cloud resources.
Some of the compromised servers had βcompute power… that would cost tens of thousands of dollars per month,β highlighting how even large organizations are vulnerable when DevOps security hygiene is lacking.
Wizβs internal telemetry reveals that:
- 25% of cloud environments run at least one of the targeted tools
- 5% expose these services to the internet
- 30% of those exposed deployments are misconfigured
Thousands of vulnerable Nomad and Consul instances are searchable via Shodanβwith many hosted on AWS, Azure, and GCP.
Wiz emphasizes that many of these tools are not secure-by-default. Defensive recommendations include:
- Enabling ACLs and job security in Nomad
- Restricting health check scripts and API exposure in Consul
- Disabling git hooks in Gitea and locking down installations
- Never exposing Docker APIs to public networks
As Wiz puts it, βmisconfiguration abuse by threat actors can often go under defendersβ radar, especially if the affected application isnβt well known as an attack vector.β
Related Posts:
- Evolving Cryptojacking Campaign Targets Misconfigured Kubernetes Clusters
- New Phishing Campaign Targets AWS Accounts: Security Experts Warn
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.