Detect cryptojacking by watching for sustained high CPU or GPU use with no obvious cause, a hot device with fans running at full speed, slow performance, fast battery drain, and unexplained cloud or electricity bills. Confirm it in Task Manager or Activity Monitor, check for unknown processes and connections to mining pools, then remove the malware, close the entry point, and patch the system.
Key takeaways
- Sustained high CPU use on an idle device is the clearest cryptojacking warning sign.
- Cryptojacking comes in two forms: file-based miners that persist on a device, and browser scripts that stop when you close the tab.
- Treat a miner as proof of a wider intrusion: find how it got in, remove persistence, and patch before you call the job done.
Your laptop is slow, hot, and loud — and you are only reading email. Nothing obvious is running, yet the fan sounds like a hair dryer. That combination is the classic fingerprint of cryptojacking: someone else is using your processor to mine cryptocurrency.
What is cryptojacking?
Cryptojacking is the unauthorized use of your computing power to mine cryptocurrency. An attacker installs mining software on your device, or runs mining code in your browser, and keeps the coins for themselves.
CISA defines it plainly: malicious actors hijack the processing power of victim devices by exploiting vulnerabilities in webpages, software and operating systems to install cryptomining software. They may also infect a website with mining JavaScript, which uses a visitor's processor through the browser. The victim pays in slower performance, heat, electricity and, in the cloud, compute bills.
Mining needs huge amounts of processing power, so attackers prefer Monero and other coins that mine well on ordinary CPUs. They do not need one powerful machine. A thousand hijacked laptops, servers or cloud instances add up to real money, and each victim only notices a slow device.
How does cryptojacking work?
Cryptojacking reaches a device through the same routes as other malware: a phishing attachment, a malicious download, a vulnerable server, a compromised website, or a stolen cloud key. Once in, it mines quietly and tries to stay hidden.
There are two main forms. Persistent cryptojacking installs a program that keeps running after you close the browser and restart the device. Non-persistent cryptojacking runs only while you visit a particular webpage or keep the browser open. CISA draws exactly this distinction, and it matters for detection: a browser miner disappears when you close the tab, while a persistent miner does not.
Attackers spread miners through weaponized mobile apps, botnets, social media and hijacked Wi-Fi hotspots, according to CISA. On servers they often exploit an unpatched internet-facing application, then add persistence so the miner restarts after a reboot. In the cloud, a single leaked API key can fund a mining farm that costs the victim thousands before anyone notices the bill.
What are the signs of cryptojacking?
Cryptojacking is designed to be quiet, but mining is heavy work, and heavy work leaves physical traces. One sign alone may have an innocent cause. Several together should trigger a proper check.
- Sustained high CPU or GPU use. The clearest sign. Use stays high when the device should be idle, or spikes on plain webpages with little media.
- Slow performance and crashes. Ordinary tasks lag, apps freeze, and the device may shut down under the extra load.
- Overheating and loud fans. The device feels hot and the fan runs at full speed during light use.
- Battery drains fast. A laptop or phone loses charge far sooner than usual, even when idle.
- Higher electricity or cloud bills. An unexplained jump in power use, or a cloud bill that suddenly grows, can mean mining at scale.
- Browser stays busy after you close it. High CPU continues with no visible app, or a browser process keeps running in the background.
- Strange processes and slow networks. Unknown processes, new scheduled tasks, or constant outbound traffic to unfamiliar addresses.
- Security tools disabled or changed. New antivirus exclusions, a disabled firewall, or settings you did not change.
- Devices feel slow at the same time. Several machines on one network slowing together points to a shared cause, such as a compromised router or server.
Heat and slowness can also come from a dusty fan, a failing battery, or a legitimate update. The test is persistence: if the symptoms continue after a restart, with no heavy app running, treat it as suspicious. Our guide to how to know if your phone is hacked covers similar checks for mobile devices.
How do I check for cryptojacking on Windows and Mac?
Start with the built-in task monitor. It takes two minutes and catches most cases, because a miner cannot mine without using the CPU.
Windows: Task Manager
Press Ctrl + Shift + Esc, open the Processes tab, and sort by CPU. With no heavy app running, total CPU should usually sit well below 20 percent and fall toward single digits when idle. A single unknown process holding 50 percent or more for minutes is a red flag.
Right-click the suspicious process and choose Open file location. A miner often lives in a temp folder, a user profile folder, or a folder pretending to be a system directory — but outside the real Windows system folders. Note the name and path before you kill it, so you can search for it later.
Mac: Activity Monitor
Open Activity Monitor from Applications, then Utilities, and sort by CPU percent. Look for a process using far more CPU than the app you are using, especially one with a generic or misspelled name. Double-click it to see its file path and parent process.
The browser test
If CPU is high, close the browser completely and watch the number again. If use falls sharply, the miner was probably a script on a website you had open. If it stays high, the miner is installed on the device. Reopen the browser one tab at a time to find the page responsible, and check installed extensions — a compromised extension is a common browser-mining route.
How do you detect cryptojacking on servers and in the cloud?
Servers and cloud accounts need monitoring, not just a glance at a task manager. A miner on a server can run for months because nobody watches its screen.
| Signal | Where to look | What counts as suspicious |
|---|---|---|
| Sustained CPU load | Host metrics, top, Task Manager | High use on a normally quiet server, or at odd hours |
| Unknown processes | Process list, cron, scheduled tasks | Miners named like system files, running from temp folders |
| Mining pool traffic | DNS, proxy and firewall logs | Outbound connections to known mining pools or Stratum ports |
| New persistence | Cron jobs, services, startup items | Entries you did not create that restart a binary |
| Cloud spend spike | Billing alerts, instance list | New instances, new regions, larger instance types |
| Security changes | Antivirus and firewall logs | New exclusions, disabled protection, new admin accounts |
MITRE ATT&CK files this behavior under Resource Hijacking (T1496), and its detection guidance centers on the same joined signals: sustained resource-intensive processes, unusual long-running processes, and connections to mining pools. Baseline what normal looks like first — without a baseline, you cannot tell a spike from a busy day.
In the cloud, set billing alerts at a low threshold and alert on instance creation outside your usual regions. Restrict who can launch compute, and never put a long-lived cloud key in code, a public repository, or a shared document. A leaked key is the fastest route to a five-figure mining bill.
Cryptojacking vs ransomware vs other malware: what's the difference?
Cryptojacking wants your device to keep working, because a dead device mines nothing. Ransomware wants the opposite: it encrypts your files and demands payment to unlock them. That difference shapes how each one behaves and how you respond.
| Cryptojacking | Ransomware | Info-stealing malware | |
|---|---|---|---|
| Goal | Mine cryptocurrency | Extort a ransom | Steal passwords and data |
| Visible to victim | Usually hidden | Very obvious ransom note | Usually hidden |
| Main harm | Slow device, heat, bills | Encrypted files, downtime | Account takeover, fraud |
| Needs your files? | No | Yes, to encrypt them | Yes, to steal them |
| First response | Isolate, find entry point | Isolate, do not pay, restore | Isolate, change passwords |
The danger is assuming a miner is the whole attack. In real intrusions, the miner is often just the most visible part. The same attacker may also have stolen credentials, installed a back door, or mapped the network for a later ransomware attack. Treat a miner as evidence of a breach, not as a standalone nuisance.
What does a real cryptojacking attack look like?
A documented case from CISA and the FBI shows how an ordinary vulnerability becomes a mining operation — and how much else the attackers do once they are in.
In advisory AA22-320A, published in November 2022, CISA and the FBI described Iranian government-sponsored actors inside a US federal civilian agency network. The attackers exploited Log4Shell, a critical flaw in Apache Log4j, on an unpatched VMware Horizon server as early as February 2022. They then installed XMRig, a well-known mining program, disguised as a Windows component called RuntimeBroker.exe, with a scheduled task that ran it daily as SYSTEM.
The miner was not the only problem. The same actors set up remote-access proxies, used credential-dumping tools, created a rogue domain administrator account, and added an antivirus exclusion for the whole C: drive. The lesson for any organization is blunt: if you find a miner, hunt for the rest of the intrusion before you declare the incident over.
Coinhive, an early in-browser mining service, showed the browser side of the same story. Website owners could add its script so visitors mined Monero while reading a page. It was shut down in 2019, but copycat scripts still appear on compromised sites today, which is why a page that makes your fan spin up deserves a second look.
How do I remove cryptojacking malware?
Removal is straightforward, but only if you also close the hole the attacker used. Otherwise the miner comes back on the next reboot — or the next visit to the same site.
- Disconnect the device from the network so the miner cannot reach its pool and the attacker cannot push new commands.
- Run a full scan with up-to-date antivirus, then a second opinion scan from a different reputable tool if the first finds nothing.
- Remove persistence. Delete suspicious scheduled tasks, startup entries, services and browser extensions. Check cron jobs on Linux and Mac.
- Patch and close the entry point. Update the operating system, browser and the application the attacker exploited. Change default passwords on routers and IoT devices.
- Change passwords and revoke keys. Assume credentials on the device may be stolen. Change them from a clean device, and rotate any cloud keys that were on the machine.
- Monitor for two weeks. Watch CPU use and, for businesses, cloud spend. A miner that returns means persistence survived.
On a server you cannot fully trust after a compromise, rebuilding from a known-good image is often safer than cleaning in place. Back up data first, but do not restore executables or configuration files from the compromised system without checking them.
How do you prevent cryptojacking?
Prevention is mostly good hygiene, applied consistently. CISA's defense list is a useful checklist: keep antivirus running and updated, patch software and operating systems, use strong unique passwords, change default credentials, restrict admin rights, use application allow-listing, and monitor for abnormal sustained CPU activity.
For individuals, add three habits. Use a browser extension or built-in setting that blocks known mining scripts, and keep your browser updated. Install software only from official sources, and be wary of free downloads that bundle extra programs. Keep your router firmware updated and change its default admin password — routers and IoT devices are common mining targets because they are rarely patched.
For businesses, the controls are stronger and worth the effort. Block known mining pool domains at the firewall and DNS level, alert on sustained high CPU across endpoints, and require approval for new cloud instances. Our small business cybersecurity checklist covers patching, backups and access control alongside mining defenses.
If your website was the infected page, check its security headers and certificate with our free security headers checker as part of the cleanup. CISA's full defense list is in its guidance on illicit cryptocurrency mining.
The bottom line
Cryptojacking is quiet theft: your processor, your electricity, someone else's profit. The signs are physical — heat, noise, slowness and bills — so trust them when several appear together.
Check CPU use when the device should be idle, close the browser to separate a website script from an installed miner, and treat any miner you find as a breach to investigate, not just a program to delete. Patch, remove persistence, rotate credentials, and monitor for two weeks to be sure it is really gone.
Frequently asked questions
What is cryptojacking in simple terms?
Cryptojacking is the unauthorized use of your computer, phone, server or cloud account to mine cryptocurrency for someone else. The attacker gets the coins; you get the slow device, the heat, and the electricity or cloud bill.
How can I tell if my computer is being used to mine crypto?
Check Task Manager on Windows or Activity Monitor on Mac when the device should be idle. Sustained CPU use above roughly 50 percent with no app running, a hot device, and fans at full speed are strong signs. Close the browser: if use drops sharply, the miner was probably a website script.
Can cryptojacking happen in a web browser?
Yes. Some websites run mining JavaScript in your browser while the page is open. This is called in-browser or drive-by cryptojacking. It usually stops when you close the tab, but it still slows your device and drains the battery while it runs.
Does antivirus detect cryptojacking?
Good antivirus and endpoint protection detect many known miners, but attackers rename files, hide miners as system processes, and add antivirus exclusions. Detection works best when you combine antivirus with CPU monitoring and network checks for mining pool connections.
Can cryptojacking damage my computer?
Yes, over time. Constant high load generates heat, which can shorten the life of batteries, fans and other components, and can cause crashes. CISA lists degraded performance, increased power use, crashes and physical damage from extreme temperatures among the consequences.
Is cryptojacking illegal?
Yes, in most countries. Installing software on a device you do not own, without permission, is unauthorized access and computer misuse. Attackers have been prosecuted for it, including state-sponsored actors whose campaigns CISA and the FBI have documented.
How do I remove cryptojacking malware?
Disconnect the device, run a full antivirus scan, remove unknown programs and browser extensions, delete suspicious scheduled tasks and startup items, change passwords, and patch the software the attacker exploited. On a server or in the cloud, also revoke exposed keys and check for new accounts.
Can cryptojacking affect cloud accounts?
Yes, and cloud cryptojacking is often the most expensive kind. Attackers who steal a cloud API key can spin up many large virtual machines to mine. Watch for sudden spikes in cloud spend, new instances in regions you do not use, and compute running at odd hours.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against CISA guidance on illicit cryptocurrency mining, MITRE ATT&CK T1496, and CISA/FBI advisory AA22-320A.
How we write and fact-check →