Glossary
Glossary

What Is Cryptojacking?

By Sazabi Team

Last verified on Nov 8, 2026.

Cryptojacking is the unauthorized use of someone else's computing power to mine cryptocurrency. CISA describes it as malicious actors hijacking the processing power of victim systems, installing cryptomining software by exploiting vulnerabilities, or running mining JavaScript in a website visitor's browser.

Mining needs a lot of processing power, and attackers prefer to spend yours. The victim pays in electricity or cloud spend, and the attacker keeps the coin.

What It Costs You

CISA lists the consequences: degraded system and network performance from monopolized CPU and bandwidth, higher power consumption and crashes, disrupted operations, and financial loss. In cloud environments the cost arrives as a bill. ATT&CK says servers and cloud-based systems are common targets because of the high potential for available resources, and that attackers may consume enough resources to make affected machines unresponsive.

ATT&CK files this under Resource Hijacking (T1496), sub-technique Compute Hijacking (T1496.001). "Cryptojacking" is the common name for the mining case.

How It Gets In

ATT&CK notes that containerized environments are targeted because exposed APIs make deployment easy, and mining can be scaled by running many containers in a cluster. Named examples include TeamTNT, which deployed mining images in Docker and infected Docker containers and Kubernetes clusters. Some mining malware also finds and kills competing malware to keep the resources for itself.

CISA adds that actors spread cryptojacking through weaponized mobile apps, botnets, and exploited flaws in applications and servers.

The entry points are the ones that apply to any intrusion: a vulnerable internet-facing service (check CISA KEV), an exposed management API, default or weak credentials, or a stolen cloud key from account takeover.

Warning Signs in Logs

ATT&CK's detection analytics for compute hijacking name the signals:

SignalWhere it shows
Sustained execution of resource-intensive processes, often started via cron, scheduled tasks, or scriptsHost process data, audit logs
Unusual long-running processes consuming high CPUtop or ps output, host metrics
Connections to known mining pools, or DNS over HTTPS used for evasionDNS, proxy, and flow logs
Ephemeral or unauthorized containers from public images with high CPU shortly after startContainer and Kubernetes events
Unauthorized instance creation in unmonitored or unused regionsCloud audit logs
Bursts of compute-intensive jobs, or sudden resource spikes in legitimate VMsCloud metrics and billing

Here is an illustrative cloud audit event for the unused-region signal, an instance launched in a region the team never uses:

{
  "eventTime": "2026-11-08T03:41:10Z",
  "eventSource": "ec2.amazonaws.com",
  "eventName": "RunInstances",
  "awsRegion": "ap-southeast-3",
  "userIdentity": { "type": "IAMUser", "userName": "ci-deploy" },
  "sourceIPAddress": "203.0.113.50"
}

A launch like that is a signal because of what is missing: no ticket, no deploy, no history in that region. The check is to compare each launch against the regions and identities that normally create compute.

The bill is where the damage shows up first for many teams, and billing data lags, so put a spend alert on the account and watch CPU too. The setup is in cloud spend anomalies. For events that appear once and never again, such as an unexpected process or a new connection target, see novel events.

Prevention and Response

ATT&CK is blunt: this technique cannot be easily mitigated with preventive controls since it is based on the abuse of system features. Prevention narrows the odds, and detection catches the rest. CISA's list includes:

  • Keep software and operating systems patched.
  • Use strong, unique passwords and change default credentials.
  • Check privilege policies so only those who need administrative rights have them.
  • Apply application allow listing so unknown executables cannot launch on their own.
  • Monitor for abnormal, sustained CPU activity and investigate drops in processing speed.
  • Disable unnecessary services and uninstall unused software.

For cloud and containers, add the equivalents: do not expose management APIs, restrict who can launch compute and in which regions, and alert on instance creation outside those.

When you find a miner, killing the process is not the end. It usually means someone got in. Work out how, check for other changes with privilege changes, and rotate any credentials the host could reach.

Watching Compute with Sazabi

Sazabi, an AI-native observability and security platform, ingests logs from your services and cloud accounts, so cloud audit events and host logs can be searched side by side. For where to start, see security issues.

Frequently Asked Questions

What is cryptojacking?

Hijacking someone else's computing power to mine cryptocurrency without permission, either by installing mining software on their systems or by running mining JavaScript in a visitor's browser.

How do I know if I have been cryptojacked?

Sustained high CPU on machines that should be idle, unfamiliar long-running processes or containers, connections to mining pools, instances in regions you do not use, and a jump in your cloud bill.

How does cryptojacking happen in the cloud?

Attackers get in through vulnerable software, exposed interfaces, or stolen credentials, then launch instances or containers that mine. ATT&CK notes container environments are targeted because exposed APIs make deployment easy.

Can cryptojacking be prevented?

Not completely with preventive controls alone, because it abuses ordinary system features. Patching, tight credentials, and restricting what can launch compute reduce the risk, and monitoring catches what gets through.

Sources

  1. CISA (archived 2021): cryptojacking is malicious actors hijacking the processing power of victim systems by installing cryptomining software, or via browser JavaScript; consequences include degraded performance, higher power use, and financial loss; defenses include patching, allowlisting, and monitoring for sustained CPU use (accessed Nov 8, 2026)
  2. ATT&CK T1496.001 Compute Hijacking: co-opted systems used for resource-intensive tasks such as cryptocurrency mining; servers, cloud systems, and containerized environments are common targets; TeamTNT deployed mining images to Docker and Kubernetes; not easily mitigated with preventive controls; detection analytics for sustained CPU use, mining pool connections, ephemeral containers, and unauthorized instances in unused regions (accessed Nov 8, 2026)
  3. T1496 is named Resource Hijacking and has Compute Hijacking, Bandwidth Hijacking, SMS Pumping, and Cloud Service Hijacking sub-techniques (accessed Nov 8, 2026)