Cryptocurrency hijacking is unauthorised use of a device, server, or cloud workload to mine cryptocurrency for an attacker. It usually relies on stolen credentials, exposed management interfaces, malicious code, or vulnerable containers, and it consumes CPU, memory, power, and cloud spend while hiding behind legitimate infrastructure.
How Cryptocurrency Hijacking Works
Cryptocurrency hijacking, often called cryptojacking, is not a standalone malware family so much as an abuse pattern. Attackers try to turn a normal server, endpoint, or cloud workload into an income stream by quietly running mining software, usually while blending into legitimate processing and maintenance activity.
The technique matters because it exploits ordinary compute capacity rather than stealing data first. That makes it attractive in environments where the defender watches for exfiltration but not for abnormal CPU saturation, bursty container activity, or unexplained cloud spend. It can also persist longer than many other compromises because the main signal is resource drain, not obvious business disruption.
In practice, cryptocurrency hijacking commonly begins with exposed management interfaces, weak or stolen credentials, unpatched software, or malicious code inside a container or script. Once the attacker has execution, the workload does the mining on their behalf and the environment pays the operational cost.
Why It Is Dangerous in Cloud and Server Environments
On a single machine, the immediate effect may look like performance degradation. At scale, the impact can become a capacity and cost problem, especially in cloud environments where every stolen cycle translates into billed consumption. That makes the technique a blend of security abuse and financial abuse.
It is also dangerous because it can signal a wider compromise. If an attacker can run miners, they may also be able to move laterally, plant persistence, or reuse the same access path for more destructive activity. The mining process itself can be a low-noise foothold that helps the intruder stay present.
Defenders should treat the term as broader than “unexpected mining.” The underlying issue is unauthorised compute use, which can ride on stolen secrets, weak access controls, exposed orchestration APIs, or an insecure image and container supply chain.
How Organisations Check Exposure and Contain It
Exposure checks start with inventory: which hosts, clusters, and cloud accounts are authorised to run code, which are internet-facing, and which administrative interfaces are reachable from outside or from overly broad networks. From there, organisations review vendor advisories, container images, workload permissions, and recent authentication activity for signs that access was obtained through a known weakness or a reused secret.
Where workloads are involved, the question is not only whether a system is patched, but whether it can still accept unsigned code, arbitrary containers, or unaudited remote administration. A hardened environment reduces the attacker’s ability to convert initial access into continuous mining.
Useful discovery also includes looking for hidden load patterns, such as sustained high CPU with little business traffic, unexplained outbound connections to mining pools, or new binaries and scheduled tasks on systems that should not be compiling, rendering, or processing long-running jobs.
Remediation, Detection, and Recovery After Suspected Mining
Once cryptojacking is suspected, remediation usually has two tracks: stop the mining activity and remove the access path that enabled it. That means isolating the affected asset, revoking compromised credentials or keys, removing malicious persistence, and closing the exposed service, container, or management path that was abused.
Detection should look for resource abuse as well as compromise indicators. Mining traffic, unusual process trees, abnormal container restarts, new cron jobs or services, and unexplained peaks in power or cloud usage can all be useful clues. After cleanup, organisations should review whether the attacker touched adjacent systems, because a miner is often only one symptom of a broader intrusion.
When exploitation is confirmed, post-incident review should include whether credentials, API keys, session tokens, or service account secrets need rotation. If the attacker used them to gain and keep access, leaving those secrets in place can allow the compromise to recur.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Cryptojacking often exploits exposed or weakly hardened systems. |
| CIS-5 — Account Management | Stolen or misused credentials are a common entry path for cryptojacking. | |
| CIS-12 — Network Infrastructure Management | Mining traffic and exposed services are network-level indicators and attack paths. | |
| Recommendation — Harden hosts, containers, and management interfaces to reduce unauthorized mining footholds. Review and revoke unnecessary accounts and access paths that could enable unauthorized execution. Segment and restrict external access to management planes and detect suspicious outbound mining traffic. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Limiting execution and administrative privilege constrains misuse for mining. |
| IA-5 — Authenticator Management | Credential theft and reuse frequently enable cryptojacking activity. | |
| SI-4 — System Monitoring | Detection depends on identifying abnormal resource use and suspicious execution patterns. | |
| Recommendation — Constrain workloads and administrators to the minimum permissions needed. Rotate and protect authenticators, keys, and tokens that could be abused for unauthorized access. Monitor hosts and cloud workloads for CPU abuse, mining indicators, and unusual process activity. | ||
Practitioner Guidance
Why practitioners should care: Cryptocurrency hijacking is best treated as a control-gap signal, not just a billing problem. If an environment can be quietly turned into mining infrastructure, it may also be weak on access control, workload isolation, and monitoring.
What to watch for: Track abnormal compute utilisation, internet exposure of admin interfaces, and unexpected outbound connections from systems that should have stable, explainable workloads. In cloud and container estates, those patterns are often more useful than a single malware signature.
Practitioner takeaway: The fastest way to reduce cryptojacking risk is to remove the attacker’s cheapest path to execution and to make resource abuse visible early.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org