← Back to Blog
Cloud Security · 5 min read · September 23, 2026

What Is Cryptojacking and How Do You Detect It in 2026?

Cryptojacking is the unauthorised use of your computing power to mine cryptocurrency — and in 2026 the targets are cloud accounts, containers, and exposed DevOps tooling, not just desktops. Here is how the attacks land, how to confirm a miner on a Linux server or in the cloud, and the hardening steps that close the door.

What Is Cryptojacking?

Cryptojacking is the unauthorised use of your computing power to mine cryptocurrency. Instead of encrypting files or stealing data, the attacker plants a miner and lets your CPU, your electricity, and your cloud bill pay for their profit.

The coin of choice is almost always Monero (XMR), because it is designed for CPU mining and its privacy features make proceeds hard to trace. That economics is why cryptojacking rarely announces itself — no ransom note, no exfiltration, just a server running hot.

Why Cryptojacking Surged in 2026

Three shifts turned resource hijacking from a nuisance into a mainstream cloud threat.

How Attackers Get In

Cryptojacking is rarely an exotic exploit. It is a search-and-scale operation against the most common exposures:

What an Infection Looks Like in the Wild

Once inside, XMRig-family miners are engineered for quiet:

How to Detect Cryptojacking on a Linux Server

Sustained CPU usage you cannot explain is the headline symptom. Confirm it with five checks:

Treat any confirmed miner as a full compromise: the same access can read credentials and move laterally.

How to Detect It in Cloud and Containers

On-host checks miss attackers who never persist visibly to your filesystem. Layer these instead:

How to Prevent Cryptojacking

  1. Never expose the Docker daemon API or a Kubernetes control plane to the internet; bind to a socket or firewall it.
  2. Patch internet-facing applications quickly, prioritising CISA KEV entries.
  3. Enforce least-privilege IAM with short-lived credentials, and scan for hardcoded secrets in code and CI.
  4. Run containers with a restricted security context — no privileged mode, no host paths, resource limits applied.
  5. Keep data egress visible; mining traffic has to reach a pool.
  6. Scan your external attack surface continuously so exposed services are found before they are used.
  7. Have a response plan: isolate the host, capture a disk image, remove the miner and its persistence, rotate every credential it could reach, then rebuild from a clean image.

Resource hijacking is a symptom. The real finding is the exposed service or unpatched application that let the attacker in at all.

Frequently Asked Questions

What is cryptojacking in simple terms?

Cryptojacking is when someone uses your server, computer, or cloud account to mine cryptocurrency without permission. Your hardware does the work and you pay the bill, while the attacker collects the mined coins.

How do I know if my server is being used for cryptojacking?

The clearest sign is sustained, unexplained high CPU or GPU usage with no matching workload. Confirm it by checking for unfamiliar processes, executables dropped in /tmp or /dev/shm, new cron or systemd persistence, and outbound connections to mining pool ports such as 3333 or 5555.

Is cryptojacking dangerous if it only uses my CPU time?

Yes. A miner proves an attacker has code execution on your system, which means they can also read credentials, map your network, and move laterally. It inflates cloud costs and performance loss, and it usually points to an unpatched exposure a ransomware crew could use next.

Which cryptocurrencies do cryptojackers mine?

Monero is the overwhelming favourite, because its RandomX algorithm is efficient on ordinary CPUs and its privacy features complicate tracing. Some campaigns mine other CPU-friendly coins, and browser-based cryptojacking scripts mine directly in a visitor's browser.

Can cryptojacking raise my cloud bill without infecting my own machines?

Yes. With a leaked cloud key or an over-permissive IAM role, an attacker can launch instances or containers inside your account and mine on them. Your own servers may show nothing unusual while your compute spend climbs, which is why cost anomaly alerts matter.

Find out what your infrastructure is exposing

RootCrak's autonomous scanner checks your domains, servers, and public surfaces from the outside — surfacing exposed services, leaked credentials, and misconfigurations before someone turns them into a mining rig.

Get a Free Security Scan