What Is Cryptojacking and How Do You Detect and Stop It?

Your cloud bill climbs 40 percent in one month. Your servers run hot at 3 a.m. No one deployed anything new. Someone is mining cryptocurrency on your infrastructure, and you are paying for it. This is cryptojacking, and it feeds on the compute you already own.
Cryptojacking means the unauthorized use of your devices to mine cryptocurrency. An attacker plants mining code on your laptops, servers, or cloud workloads. The code solves the proof-of-work puzzles behind coins like Monero. The attacker keeps the rewards. You keep the electricity bill, the worn hardware, and the slowdown.
Why attackers choose mining over a louder attack
Ransomware screams for attention. Cryptojacking whispers. A miner wants to stay hidden for months, because every hour of stolen compute pays out. GreyNoise reported cryptojacking activity climbed around 20 percent through 2025, with personal devices and internet-facing edge systems drawing more of the attacks. The money stays quiet and steady, which suits a patient intruder.
The Canadian Centre for Cyber Security describes this threat as crypto-malware in its guidance ITSAP.00.650. Attackers deploy it through phishing messages and malicious web ads, and the code then uses your device resources to mine. The CCCS tells you to monitor device and network activity for abnormalities, because a quiet miner shows up as a pattern change, not a dramatic alert.
The three places cryptojacking hides
Browser-based mining runs inside a tab. You open a compromised site, a script starts, and your processor spikes until you close the page. Host-based mining installs a binary on the machine and survives reboots. Cloud-based mining is the expensive one. An attacker steals an access key or exploits a misconfigured service, spins up costly compute, and mines until your invoice exposes the theft.
Cloud cryptojacking hurts most because elastic resources scale on demand. Attackers abuse your autoscaling to run large instances around the clock. Research across 2025 found roughly one in four enterprises faced cryptojacking attempts in cloud environments. The bill arrives before the alert in many of these cases.
How to detect a miner on your systems
Start with resource baselines. A miner pins processor or GPU usage near 100 percent for long stretches, often outside business hours. Fans run loud. Batteries drain fast. Cloud spend rises with no matching workload. Build a normal profile for each host and each account, then alert on sustained deviation.
Network signals help too. Mining software reaches out to mining pools over known ports and domains. Watch outbound connections to pool addresses and block them at the firewall and DNS layer. A trained analyst reads these signals in context, which is the work behind the Mile2 Certified Cybersecurity Analyst path. Detection without analysis produces noise, not answers.
Endpoint detection and response tools flag the behaviours a miner shows, from unusual child processes to steady outbound traffic. Centralized logging ties host alerts to cloud billing spikes, so one view shows the whole story. The CCCS points you toward continuous monitoring in ITSG-33, and this discipline turns a slow, hidden drain into an alert you act on the same day.
How to stop cryptojacking and keep it out
Treat a miner as a breach, not a nuisance. Its presence proves someone reached your systems and ran code. The Certified Incident Handling Engineer process applies here. Isolate the host, kill the process, remove the persistence mechanism, rotate exposed keys, and find the entry point. A miner on one server often marks a wider foothold.
Prevention follows the CCCS Baseline Cyber Security Controls and ITSG-33. Patch internet-facing services, because many mining campaigns exploit known flaws in web apps and edge devices. Enforce least privilege on cloud identities, so one stolen key opens little. Shut down default credentials. The CCCS guidance also recommends antivirus software, current operating systems, strong passwords, and anti-crypto-mining browser extensions with ad-blockers to cut browser-based scripts.
Understanding the attacker view sharpens every defence. The Certified Professional Ethical Hacker program teaches how intruders gain the access a miner needs, from exposed services to stolen tokens. Leaders who own the controls and the reporting rely on the Certified Information Systems Security Officer track to tie detection, response, and governance into one program aligned with Canadian frameworks.
The real cost of ignoring it
Cryptojacking looks harmless next to ransomware. It is not. You pay in cloud charges, shortened hardware life, higher power use, and degraded performance for staff and customers. The deeper cost is the open door. An attacker mining today holds access to sell or escalate tomorrow. Under Canadian breach rules, unauthorized access to systems holding personal information triggers reporting duties, so a quiet miner reaches your compliance posture, not only your budget.
Build the skills to see it early and shut it down fast. Baseline your systems. Watch your cloud spend as a security signal. Train your people to read the quiet anomalies, because the loudest alarm is the invoice you never meant to pay.
