Cryptojacking turns someone else’s infrastructure into unpaid mining capacity. On endpoints, it can slow systems, consume power, and hide alongside other malware. In cloud accounts, attackers may burn through compute, increase costs, and use stolen secrets to expand access. The practical failure is not just performance loss. It is uncontrolled resource consumption combined with credential exposure that can widen the incident.
Why cryptojacking breaks cloud economics faster than it breaks performance
Cloud cryptojacking fails in a distinctive way: the attacker is not trying to steal data first, but to convert your quota, budget, and autoscaling capacity into mining throughput. That means the visible symptom may be an invoice spike, throttled workloads, or noisy performance degradation long before anyone sees an explicit security alert.
In practice, the damage comes from consumption paths that are designed to be elastic and legitimate. Compute, memory, storage I/O, and network egress can all be consumed while the attacker keeps the workload looking ordinary enough to blend into normal resource churn.
How exposed endpoints turn cryptojacking into a wider compromise
An exposed endpoint gives the miner an easier foothold, but the endpoint is often only the first stage. Once code runs, the same host can be used to persist, drop additional tooling, or search for secrets that unlock cloud consoles, metadata services, CI pipelines, or other adjacent systems.
That is why cryptojacking is not just a “slow machine” event. On a compromised endpoint, the mining payload may coexist with credential theft, lateral movement, or proxying, which makes the endpoint both a resource sink and a launch point for broader access.
What actually fails inside the environment
The most important failure is loss of control over resource consumption. In cloud environments, that can mean runaway compute bills, degraded service levels, and quota exhaustion that affects legitimate workloads. In endpoint fleets, it often means unstable user experience, reduced battery life, and hidden contention with other security or productivity software.
Another failure is trust. If the attacker has obtained secrets, even a small foothold can become repeatable access. At that point, the incident is no longer just about one mining process, it is about unauthorized use of identity-bound access paths that can be reused, expanded, or sold.
Risk and Threat Considerations
Cryptojacking is dangerous because it combines two loss modes at once: direct resource burn and the possibility that the same foothold was obtained through exposed credentials or weakly protected access. Once an attacker can run code or use cloud permissions, they can keep consuming capacity, hide in ordinary operational noise, and move toward more valuable targets.
Failure mechanism: Attackers abuse exposed endpoints, stolen secrets, or overly permissive cloud access to launch mining activity that blends into legitimate scaling, batch work, or admin activity.
Impact: Organisations see higher spend, degraded availability, and a larger blast radius if the same access path is used for reconnaissance, persistence, or additional compromise.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1496 — Resource Hijacking | Cryptojacking is resource hijacking that consumes compute for attacker benefit. |
| Recommendation — Map miner activity to resource-hijacking detections and alert on abnormal consumption patterns. | ||
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Stolen secrets can let miners expand from one foothold to cloud access abuse. |
| NHI-05 — Overprivileged NHI | Excessive machine or service permissions let a foothold consume more cloud resources. | |
| NHI-07 — Long-Lived Secrets | Long-lived access material makes reused footholds and repeat compromise more likely. | |
| Recommendation — Rotate exposed secrets and validate that leaked credentials cannot reopen cloud access. Reduce service and workload privileges to the minimum required for operation. Replace persistent secrets with short-lived credentials and enforced rotation. | ||
| NIST SP 800-53 Rev 5 | SC-44 — Detonation Chambers | Cloud cryptojacking benefits from isolation gaps and uncontrolled execution paths. |
| Recommendation — Isolate suspicious workloads so untrusted code cannot spread or consume shared resources. | ||
| CIS Controls v8 | CIS-5 — Account Management | Abused accounts and exposed credentials are central to cloud cryptojacking expansion. |
| Recommendation — Audit and disable exposed or unused accounts that could support attacker persistence. | ||
Practitioner Guidance
What to prioritise: Treat unexplained spend growth, sustained CPU saturation, and unusual API activity as a resource-control incident, not just a malware event. If cloud costs are rising alongside new access tokens, newly created instances, or unfamiliar outbound traffic, assume the issue may already involve credential misuse.
What to verify: Confirm whether the mining process is using a single compromised host or a reusable access path. The deciding question is whether the attacker has only consumed resources, or whether they can re-enter through exposed secrets, open management ports, or permissive identities.
Practitioner takeaway: The core judgement is to separate “unwanted workload” from “compromised access”, because the second condition is what turns cryptojacking from an expense problem into an incident with persistence and expansion risk.