본문으로 건너뛰기
Skillpedia
에이전트35k · #7817

detecting-cryptomining-in-cloud

하는 일

이 도구는 클라우드 시스템에서 의심스러운 암호화폐 채굴 활동을 찾도록 돕습니다. 예상치 못한 지출, 비정상적인 네트워크 트래픽, 이상한 프로세스 같은 신호를 찾습니다.

사용하는 경우

  • ✓클라우드 청구 비용이 갑자기 늘었을 때.
  • ✓암호화폐 채굴 활동을 나타내는 경고를 받았을 때.
  • ✓접근 자격 증명이 잘못 사용되었는지 조사하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-cryptomining-in-cloud/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-cryptomining-in-cloud/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 클라우드 계정에서 허가되지 않은 암호화폐 채굴이 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

처리 능력과 네트워크 같은 자원 사용량을 모니터링하고, 이를 알려진 채굴 패턴과 비교합니다. 의심스러운 것이 발견되면 알려 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

# 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/monitor-id"],
    "Subscribers": [{"Address": "security@company.com", "Type": "EMAIL"}],
    "Threshold": 50.0,
    "Frequency": "IMMEDIATE"
  }'

# CloudWatch alarm for CPU utilization spike
aws cloudwatch put-metric-alarm \
  --alarm-name HighCPUUtilization \
  --namespace AWS/EC2 \
  --metric-name CPUUtilization \
  --statistic Average \
  --period 300 \
  --threshold 90 \
  --comparison-operator GreaterThanThreshold \
  --evaluation-periods 3 \
  --alarm-actions "arn:aws:sns:us-east-1:123456789012:security-alerts"

Step 2: Monitor GuardDuty CryptoCurrency Findings

Configure alerting for GuardDuty findings specific to cryptocurrency mining activity on EC2, ECS, and EKS workloads.

Key GuardDuty finding types for cryptomining:

  • CryptoCurrency:EC2/BitcoinTool.B - Network connections to crypto-related domains
  • CryptoCurrency:Runtime/BitcoinTool.B - Runtime detection of mining process execution
  • Impact:EC2/BitcoinTool.B - EC2 instance communicating with known Bitcoin mining pools
  • Impact:Runtime/CryptoMinerExecuted - Crypto mining binary execution detected by runtime agent
# EventBridge rule for cryptocurrency findings
aws events put-rule \
  --name CryptoMiningDetection \
  --event-pattern '{
    "source": ["aws.guardduty"],
    "detail-type": ["GuardDuty Finding"],
    "detail": {
      "type": [
        {"prefix": "CryptoCurrency:"},
        {"prefix": "Impact:EC2/BitcoinTool"},
        {"prefix": "Impact:Runtime/CryptoMiner"}
      ]
    }
  }'

# Auto-remediation Lambda for crypto findings
aws events put-targets \
  --rule CryptoMiningDetection \
  --targets '[{
    "Id": "CryptoAutoRemediate",
    "Arn": "arn:aws:lambda:us-east-1:123456789012:function/crypto-remediate"
  }]'

Step 3: Analyze Network Traffic for Mining Pool Connections

Monitor VPC Flow Logs and DNS queries for connections to known cryptocurrency mining pools operating on common ports (3333, 4444, 5555, 8333, 9999, 14444).

// Sentinel KQL query for mining pool connections
AzureNetworkAnalytics_CL
| where TimeGenerated > ago(24h)
| where DestPort_d in (3333, 4444, 5555, 8333, 9999, 14444, 14433, 45700)
| summarize ConnectionCount = count(), BytesSent = sum(BytesSent_d)
            by SrcIP_s, DestIP_s, DestPort_d, bin(TimeGenerated, 1h)
| where ConnectionCount > 10
| project TimeGenerated, SrcIP_s, DestIP_s, DestPort_d, ConnectionCount, BytesSent
# AWS Athena query for VPC Flow Logs mining pool detection
cat << 'EOF' > mining-detection.sql
SELECT srcaddr, dstaddr, dstport, protocol,
       COUNT(*) as connection_count,
       SUM(bytes) as total_bytes
FROM vpc_flow_logs
WHERE dstport IN (3333, 4444, 5555, 8333, 9999, 14444)
  AND action = 'ACCEPT'
  AND start >= date_add('hour', -24, now())
GROUP BY srcaddr, dstaddr, dstport, protocol
HAVING COUNT(*) > 10
ORDER BY connection_count DESC
EOF

Step 4: Detect Mining in Container Environments

…

자주 묻는 질문

암호화폐 채굴이란 무엇인가요?

컴퓨터로 복잡한 문제를 풀어 암호화폐 거래를 검증하는 과정이며, 그 대가로 보상을 받습니다. 하지만 다른 사람의 시스템에서 허가 없이 수행될 수도 있습니다.

허가되지 않은 채굴이 왜 문제인가요?

허락 없이 컴퓨팅 자원(전력, 처리 능력)을 소모해 비용을 늘리고, 시스템을 느리거나 불안정하게 만들 수 있기 때문입니다.

이것을 사용하려면 보안 전문가여야 하나요?

아니요, 이 도구는 깊은 컴퓨터 보안 경험이 없는 사람도 이해하고 사용할 수 있도록 설계되었습니다.

상세 정보

작성자의 원본 설명

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. '

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7817
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬