Course contentsShow
← Security
Lesson 1893 of 3,05238. Cloud Security - Monitoring and IRFree lesson

Cryptomining and Resource Abuse Detection

Recognizing compute resource hijacking, cryptomining indicators, and unauthorized workload deployment.

Cryptomining and Resource Abuse Detection

What you'll learn: How to identify when attackers hijack your cloud compute resources to mine cryptocurrency or run unauthorized workloads.

The Threat

Cryptomining attacks turn your cloud infrastructure into a profit engine—for the attacker. Cybercriminals compromise cloud accounts, spin up unauthorized compute instances, or inject malicious code into existing workloads to mine cryptocurrency (Bitcoin, Monero, etc.) using your compute cycles and your bill. Resource abuse extends beyond mining to include other unauthorized activities: running botnet nodes, hosting phishing sites, or deploying malware distribution servers.

Think of it like someone sneaking into your office at night to run their Bitcoin mining rig plugged into your electricity—except in the cloud, the "electricity" is compute time that costs real money per second.

Key Indicators

Compute resource hijacking shows several telltale signs:

  • Unexpected CPU spikes: Sustained 90%+ CPU usage on instances that normally idle or run light workloads
  • Unusual process names: Programs with cryptomining signatures (e.g., xmrig, minerd) or obfuscated binaries
  • Network anomalies: Connections to known mining pool domains (:3333, :4444 ports common) detected via VPC Flow Logs
  • Billing anomalies: Sudden spikes in EC2/compute costs without corresponding business justification
  • Unauthorized instances: New VM deployments in unusual regions or instance types optimized for mining (GPU-heavy)

Cloud threat detection services (GuardDuty, Defender for Cloud, Security Command Center) use behavioral analytics to flag these patterns—correlating CloudTrail API calls, network traffic, and resource utilization metrics.

Detection Strategy

Layer multiple signals: anomaly detection on billing data, SIEM correlation rules for suspicious process execution, and native cloud threat detection alerts for cryptomining behaviors. Monitor for privilege escalation followed by compute-intensive workload launches.

Key Takeaway: Cryptomining detection relies on spotting abnormal compute usage patterns, suspicious network connections to mining pools, and unauthorized resource provisioning—all visible through integrated cloud monitoring and threat detection tools.