How it works
Stolen access is used to run sustained high-resource workloads that earn the operator money, or propagation is embedded into the payload so exploitation and credential abuse spread without operator involvement.
The quiet one and the fast one
These two behaviours sit together because they are what an attacker does with access when the goal is neither theft nor extortion. One is deliberately quiet and open-ended; the other is deliberately fast and indiscriminate.
Cryptojacking wants to remain undetected indefinitely, because revenue accrues with time. Worms want to reach as many systems as possible before anyone reacts, because reach is the objective.
Both are frequently treated as lesser incidents — no data was taken, nothing was encrypted. That reading is a mistake for the same reason in each case: the access that permitted them permits anything else too.
Cryptojacking is a credential alarm
In cloud environments cryptojacking is usually the visible symptom of leaked credentials. The bill is the detection mechanism, which is a poor one — it arrives late and lands with finance rather than security.
The right response is to treat compute abuse as evidence of credential compromise rather than as a cost problem. Someone had enough access to create resources; mining is simply what they chose to do with it, and it is the least damaging option available to them.
Detection worth having: alerting on spend rate and on resource creation outside deployment workflows, both as security signals with an owner. Instances appearing in unused regions is a particularly reliable indicator, because legitimate deployments rarely wander.
On endpoints the equivalent signal is sustained maximum utilisation with no corresponding user activity, often throttling when a user is present specifically to avoid notice.
Worms and the speed problem
Self-propagating malware embeds spread into the payload: each compromised host scans, exploits or authenticates onward automatically. Growth is exponential and operator-independent, which means it continues even if the operator does nothing.
The defining constraint is time. A human-driven response cannot outpace automated propagation across a flat network, so containment must be automatic — EDR-driven isolation that quarantines a host on detection without waiting for a decision.
Segmentation is the structural control. Propagation requires reachability, and a network where every host can reach every other host on administrative ports is a network built for this. Disabling unnecessary lateral services is frequently more effective than patching faster, because it removes the path rather than one vulnerability in it.
Also known as
What defenders may observe
- Unexplained CPU, GPU or cloud cost growth
- Mining pool or unfamiliar workload traffic
- Short-lived compute resources created outside deployment workflows
- East-west scanning surges from one host
- Similar failures appearing across many hosts in a short window
Prevention and mitigation
- Alert on cloud spend and compute anomalies as security signals
- Allow-list workloads and monitor runtime behaviour
- Rotate any exposed cloud credential immediately
- Segment networks and disable unnecessary lateral services
- Patch rapidly on internet-facing and lateral-movement paths
- Automate host isolation so spread is contained without waiting for a human
Initial response priorities
- Isolate affected systems without destroying volatile evidence.
- Activate the incident-response and continuity plans.
- Scope initial access, persistence, lateral movement and affected identities before recovery.
Use your approved incident-response plan and adapt decisions to your environment. This is educational guidance, not a substitute for live incident leadership.