मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7797

detecting-aws-cloudtrail-anomalies

यह क्या करती है

यह tool आपके AWS account के API call logs में असामान्य गतिविधियाँ खोजने में मदद करता है। यह उन patterns को देखता है जो बता सकते हैं कि आपके credentials चोरी हो गए हैं या कोई बिना अनुमति resources access कर रहा है।

कब इस्तेमाल करें

  • ✓जब आपको शक हो कि आपके AWS credentials चोरी हो गए हैं।
  • ✓AWS resources पर अनधिकृत access की जाँच करने के लिए।
  • ✓AWS security गतिविधियों के लिए alert system बनाते समय।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-aws-cloudtrail-anomalies/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-aws-cloudtrail-anomalies/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“पिछले 24 घंटों के AWS logs में संदिग्ध गतिविधि खोजो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

tool पहले हाल की सभी AWS API calls इकट्ठा करता है। फिर देखकर सीखता है कि कौन, कहाँ से, क्या और कितनी बार करता है, यानी सामान्य व्यवहार कैसा दिखता है। आखिर में मौजूदा गतिविधियों की तुलना सामान्य व्यवहार से करके जो भी अलग लगे, उसकी रिपोर्ट देता है।

तकनीकी सामग्री (मूल 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 calls' क्या होती हैं?

ये वे commands हैं जो आप या दूसरी services AWS services से बात करने के लिए भेजती हैं, जैसे कोई server बनाना या कोई file store करना।

'baseline' का क्या मतलब है?

baseline सामान्य व्यवहार का रिकॉर्ड है। यह एक profile की तरह है कि क्या आम है, ताकि हम पहचान सकें कि क्या असामान्य है।

यह tool किस तरह की समस्याएँ पकड़ सकता है?

यह चोरी हुए credentials के इस्तेमाल, सामान्य से ज़्यादा permissions पाने की कोशिश (privilege escalation), और अनधिकृत resource access पकड़ सकता है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills