[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EC322KWXCEWVMB0E2FKNXT":3,"skill-same:01M7EC322KWXCEWVMB0E2FKNXT":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":6,"ownerHtmlUrl":75,"ownerBlogUrl":6,"ownerDescription":76,"updatedAt":77,"install":78,"resources":91},"01M7EC322KWXCEWVMB0E2FKNXT","detecting-aws-cloudtrail-anomalies",null,"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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fdetecting-aws-cloudtrail-anomalies\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: detecting-aws-cloudtrail-anomalies\ndescription: Detect unusual API call patterns in AWS CloudTrail logs using boto3,\n  statistical baselining, and behavioral analysis to identify credential compromise,\n  privilege escalation, and unauthorized resource access.\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cloud-security\n- aws\n- cloudtrail\n- anomaly-detection\n- threat-detection\n- boto3\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1580\n- T1538\n- T1098.001\n- T1526\nmitre_f3:\n  version: '1.1'\n  tactics:\n  - initial-access\n  - positioning\n  - defense-impairment\n  techniques:\n  - id: F1006.001\n    name: 'Account Takeover: Exposed API Key'\n    tactic: initial-access\n    source: f3\n  - id: T1586.003\n    name: 'Compromise Accounts: Cloud Accounts'\n    tactic: resource-development\n    source: attack\n  - id: F1005\n    name: Account Manipulation\n    tactic: positioning\n    source: f3\n  - id: F1005.002\n    name: 'Account Manipulation: Add Authorized User'\n    tactic: positioning\n    source: f3\n  - id: F1005.001\n    name: 'Account Manipulation: Account Linking'\n    tactic: defense-impairment\n    source: f3\n---\n# Detecting AWS CloudTrail Anomalies\n\n## Overview\n\nAWS 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.\n\n\n## When to Use\n\n- When investigating security incidents that require detecting aws cloudtrail anomalies\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `boto3` library\n- AWS credentials with CloudTrail read permissions (cloudtrail:LookupEvents)\n- Understanding of AWS IAM and common API patterns\n- CloudTrail enabled in target AWS account (management events at minimum)\n\n## Steps\n\n### Step 1: Query CloudTrail Events\nUse boto3 CloudTrail client's lookup_events to retrieve recent API activity with pagination.\n\n### Step 2: Build Activity Baseline\nAggregate events by user, source IP, event source, and event name to establish normal behavior patterns.\n\n### Step 3: Detect Anomalies\nFlag 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).\n\n### Step 4: Generate Detection Report\nProduce a JSON report with anomaly scores, top suspicious users, and recommended investigation actions.\n\n## Expected Output\n\nJSON report with event statistics, baseline deviations, anomalous users\u002FIPs, sensitive API calls, and error rate analysis.\n","# Detecting AWS CloudTrail Anomalies\n\n## Overview\n\nAWS 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.\n\n\n## When to Use\n\n- When investigating security incidents that require detecting aws cloudtrail anomalies\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `boto3` library\n- AWS credentials with CloudTrail read permissions (cloudtrail:LookupEvents)\n- Understanding of AWS IAM and common API patterns\n- CloudTrail enabled in target AWS account (management events at minimum)\n\n## Steps\n\n### Step 1: Query CloudTrail Events\nUse boto3 CloudTrail client's lookup_events to retrieve recent API activity with pagination.\n\n### Step 2: Build Activity Baseline\nAggregate events by user, source IP, event source, and event name to establish normal behavior patterns.\n\n### Step 3: Detect Anomalies\nFlag 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).\n\n### Step 4: Generate Detection Report\nProduce a JSON report with anomaly scores, top suspicious users, and recommended investigation actions.\n\n## Expected Output\n\nJSON report with event statistics, baseline deviations, anomalous users\u002FIPs, sensitive API calls, and error rate analysis.\n",{"name":5,"tags":24,"author":31,"domain":32,"license":15,"version":33,"mitre_f3":34,"nist_csf":59,"subdomain":25,"description":7,"mitre_attack":64},[25,26,27,28,29,30],"cloud-security","aws","cloudtrail","anomaly-detection","threat-detection","boto3","mahipal","cybersecurity","1.0",{"tactics":35,"version":39,"techniques":40},[36,37,38],"initial-access","positioning","defense-impairment","1.1",[41,45,50,53,56],{"id":42,"name":43,"source":44,"tactic":36},"F1006.001","Account Takeover: Exposed API Key","f3",{"id":46,"name":47,"source":48,"tactic":49},"T1586.003","Compromise Accounts: Cloud Accounts","attack","resource-development",{"id":51,"name":52,"source":44,"tactic":37},"F1005","Account Manipulation",{"id":54,"name":55,"source":44,"tactic":37},"F1005.002","Account Manipulation: Add Authorized User",{"id":57,"name":58,"source":44,"tactic":38},"F1005.001","Account Manipulation: Account Linking",[60,61,62,63],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01",[65,66,67,68,69],"T1078.004","T1580","T1538","T1098.001","T1526","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fdetecting-aws-cloudtrail-anomalies",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":79,"prompt":89,"zipAvailable":90},[80,83,86],{"tool":81,"command":82},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-aws-cloudtrail-anomalies",{"tool":84,"command":85},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-aws-cloudtrail-anomalies",{"tool":87,"command":88},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-aws-cloudtrail-anomalies","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fdetecting-aws-cloudtrail-anomalies\u002FSKILL.md",true,[92],{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fapi-reference.md","REFERENCE","参考文档",2110,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fdetecting-aws-cloudtrail-anomalies\u002Freferences\u002Fapi-reference.md",[99,108,113,120,127,134],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":109,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":107},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":107},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":107},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":107},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":107},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]