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

detecting-aws-cloudtrail-anomalies

하는 일

이 도구는 AWS 계정의 API 호출 로그에서 이상한 활동을 찾도록 돕습니다. 자격 증명이 침해되었거나 누군가 허가 없이 자원에 접근하고 있음을 나타낼 수 있는 특이한 패턴을 찾습니다.

사용하는 경우

  • ✓AWS 자격 증명이 도난당했다고 의심될 때.
  • ✓AWS 자원에 대한 허가되지 않은 접근을 조사할 때.
  • ✓AWS 보안 활동에 대한 경보 시스템을 구축하는 경우.

스킬 링크

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

AI에게 요청하는 예시

“최근 24시간의 AWS 로그에서 의심스러운 활동을 찾아 주세요.”

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

작동 방식

도구는 먼저 최근의 모든 AWS API 호출을 수집합니다. 그다음 누가, 어디에서, 얼마나 자주 무엇을 하는지 관찰해 정상 행동을 학습합니다. 마지막으로 현재 활동을 정상 행동과 비교해 특이한 것을 찾아 보고합니다.

기술 내용 (원본 SKILL.md)

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

Detecting AWS CloudTrail Anomalies

Overview

AWS CloudTrail records API calls across AWS services. This skill covers querying CloudTrail events with boto3's lookup_events API, building statistical baselines of normal API activity, detecting anomalies such as unusual event sources, geographic anomalies, high-frequency API calls, and first-time API usage patterns that indicate compromised credentials or insider threats.

When to Use

  • When investigating security incidents that require detecting aws cloudtrail anomalies
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.9+ with boto3 library
  • AWS credentials with CloudTrail read permissions (cloudtrail:LookupEvents)
  • Understanding of AWS IAM and common API patterns
  • CloudTrail enabled in target AWS account (management events at minimum)

Steps

Step 1: Query CloudTrail Events

Use boto3 CloudTrail client's lookup_events to retrieve recent API activity with pagination.

Step 2: Build Activity Baseline

Aggregate events by user, source IP, event source, and event name to establish normal behavior patterns.

Step 3: Detect Anomalies

Flag unusual patterns: new event sources per user, first-time API calls, geographic IP changes, high error rates, and sensitive API usage (IAM, KMS, S3 policy changes).

Step 4: Generate Detection Report

Produce a JSON report with anomaly scores, top suspicious users, and recommended investigation actions.

Expected Output

JSON report with event statistics, baseline deviations, anomalous users/IPs, sensitive API calls, and error rate analysis.

자주 묻는 질문

AWS의 'API 호출'이란 무엇인가요?

서버를 만들거나 파일을 저장하는 것처럼, AWS 서비스와 상호작용하기 위해 여러분이나 다른 서비스가 보내는 명령입니다.

'기준선(baseline)'이란 무엇인가요?

정상 행동의 기록입니다. 무엇이 평소적인지 프로필을 만들어 두면 평소와 다른 것을 발견할 수 있습니다.

이 도구는 어떤 문제를 탐지할 수 있나요?

도난된 자격 증명의 사용, 평소보다 더 많은 권한을 얻으려는 시도(권한 상승), 허가되지 않은 자원 접근을 탐지할 수 있습니다.

상세 정보

작성자의 원본 설명

Detect unusual API call patterns in AWS CloudTrail logs using boto3, statistical baselining, and behavioral analysis to identify credential compromise, privilege escalation, and unauthorized resource access.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬