detecting-cryptomining-in-cloud

Featured

This skill teaches security teams how to detect and respond to unauthorized cryptocurrency mining operations in cloud environments. It covers identifying cryptomining indicators through compute usage anomalies, network traffic patterns to mining pools, GuardDuty CryptoCurrency findings, and runtime process monitoring on EC2, ECS, EKS, and Azure Automation workloads.

DevOps & Infrastructure 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Detecting Cryptomining in Cloud ## When to Use - When cloud billing alerts indicate unexpected compute cost spikes - When GuardDuty generates CryptoCurrency or Impact finding types - When investigating compromised IAM credentials that may be used to launch mining instances - When monitoring container workloads for unauthorized process execution - When establishing proactive detection controls against resource hijacking attacks **Do not use** for legitimate cryptocurrency mining operations, for non-cloud mining detection on physical hardware, or for general malware analysis unrelated to mining activity. ## Prerequisites - Amazon GuardDuty enabled with Runtime Monitoring for EC2, ECS, and EKS - CloudWatch or Azure Monitor configured for compute utilization alerting - VPC Flow Logs enabled for network traffic analysis to mining pool IPs - AWS Cost Anomaly Detection or Azure Cost Management alerts configured ## Workflow ### Step 1: Establish Detection Through Multiple Signals Deploy detection across four signal categories: cost anomalies, compute utilization, network traffic, and runtime processes. ```bash # AWS Cost Anomaly Detection aws ce create-anomaly-monitor \ --anomaly-monitor '{ "MonitorName": "EC2CostSpike", "MonitorType": "DIMENSIONAL", "MonitorDimension": "SERVICE" }' aws ce create-anomaly-subscription \ --anomaly-subscription '{ "SubscriptionName": "CryptoMiningAlert", "MonitorArnList": ["arn:aws:ce::123456789012:anomalymonitor/mo...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category