Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is Cryptojacking?

Cryptojacking is the unauthorised use of someone else’s computing power to mine cryptocurrency, turning stolen CPU time, electricity, and cloud spend into coins for the attacker.

Illustration for the cybersecurity term Cryptojacking
Home / Blog / Cybersecurity Terms / What Is Cryptojacking?
17 November 2026

What Is Cryptojacking?

What Is Cryptojacking?

Cryptojacking is the unauthorised use of someone else’s computing resources to mine cryptocurrency. The attacker gains execution on a machine, a container, or a cloud account, installs a mining program, and collects the proceeds while the victim pays for the processor time, the electricity, and — increasingly the largest line — the cloud bill. MITRE ATT&CK records it as T1496, Resource Hijacking.

Almost all of it targets Monero. Its RandomX algorithm is designed to run well on ordinary processors rather than specialised hardware, and its privacy features make the proceeds hard to trace. The near-universal mining binary is XMRig, an open source project that is entirely legitimate and routinely repackaged by criminals.

Why Attackers Choose Mining

Mining is the low-effort monetisation of access. Ransomware requires negotiation and attracts law enforcement attention; data theft requires a buyer. A miner needs no interaction and produces income from the first minute. Where a ransomware operator picks targets carefully, a cryptojacking operator sprays exploits at the whole internet and keeps whatever answers.

Two developments made it attractive at scale. Browser mining through Coinhive, launched in 2017, let any site owner — or anyone who could inject script into a site — mine with visitors’ processors; it closed in March 2019 when Monero’s value and a protocol change made it unprofitable. Cloud computing then replaced it, because stolen cloud capacity is elastic, and a compromised account can spin up far more compute than any physical estate.

Common Routes In

The Tesla incident reported by RedLock in 2018 remains a clean illustration: an unauthenticated Kubernetes console led to cloud credentials, which led to mining inside the company’s own cloud environment, with the attackers throttling CPU use and hiding pool traffic behind a content delivery network to avoid the obvious detections.

The Real Cost

Treating cryptojacking as a nuisance underestimates it in two ways. First, the direct cost can be severe: compromised cloud accounts have produced bills in the hundreds of thousands of pounds within days, and providers do not generally refund them. Second, and more important, a miner is proof that someone else can run arbitrary code in your environment. The same access would support data theft or ransomware; mining is simply what this particular operator chose to do with it.

Detection

Prevention

Nothing here is specific to mining, which is the point. Patch internet-facing software promptly, never expose container runtime or orchestration APIs, enforce multi-factor authentication on cloud consoles, use short-lived federated credentials instead of static keys, scan repositories for secrets, apply egress filtering so build agents and servers cannot reach arbitrary hosts, and set billing anomaly alerts that reach a human.

If unexplained compute appears in your environment, our cloud security services can establish how it got there and what else the same access touched.

FAQ – Frequently Asked Questions

How Can I Tell If a Server Is Being Used to Mine?

Look for sustained processor load with no matching application workload, processes running from temporary or user-writable directories, and outbound connections to mining pools over Stratum ports. On cloud platforms, unexpected spend, new regions, and GPU instance types are often the first signal. Billing anomaly alerts frequently detect cryptojacking before any security tool does.

Is Browser-Based Cryptojacking Still Common?

Much less so than in 2017 and 2018. Coinhive, which drove the trend, shut down in March 2019 after a Monero protocol change and falling value made it unprofitable, and browsers and extensions now block mining scripts. Attackers moved to servers, containers, and cloud accounts, where the available compute per compromise is orders of magnitude larger.

Is Cryptojacking Really Serious if Nothing Is Stolen?

Yes, for two reasons. The direct cost can be very large in cloud environments, where attackers scale up quickly and providers rarely refund the bill. More importantly, a miner proves that an unauthorised party can execute code in your environment. Investigate it as a compromise, because the same access supports data theft or ransomware just as easily.

What Stops Cloud Cryptojacking Specifically?

Enforce multi-factor authentication on all console and privileged access, replace long-lived access keys with short-lived federated credentials, scan code repositories and build logs for leaked secrets, restrict which regions and instance types accounts may use through policy, and set billing anomaly alerts. Also review identity permissions regularly, since most cloud mining follows an over-privileged credential.

Related Terms

You May Be Interested In These

What Happened in the Kaseya VSA Attack?

Cybersecurity Terms

17 November 2026

What Happened in the Kaseya VSA Attack?

Read More
What Are Adversarial Examples?

Cybersecurity Terms

17 November 2026

What Are Adversarial Examples?

Read More