[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A8WMNFC6R81B9QE73VCDHY":3,"skill-same:01M7A8WMNFC6R81B9QE73VCDHY":144},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7A8WMNFC6R81B9QE73VCDHY","guardduty-finding-investigator",null,"Investigates Amazon GuardDuty findings through a finding-type-driven diagnostic tree covering Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, and Exfiltration families. Walks each finding to root cause by collecting evidence from CloudTrail (API actor, source IP, user-agent), VPC Flow Logs (egress patterns, foreign IPs), and CloudWatch (runtime metrics). Identifies false positives (authorized scanners, SaaS CIDR ranges, deployment pipelines), applies suppression rules via create-filter, and recommends auto-remediation via EventBridge to Lambda (isolate EC2, revoke IAM credentials, snapshot volumes for Malware Protection). Covers severity triage Low\u002FMedium\u002FHigh, Runtime Monitoring for ECS\u002FEKS, EKS Protection, and Malware Protection chains. Emits ROOT_CAUSE_FOUND with the specific threat layer, NEED_MORE_INFO, or ESCALATE. Use when triaging a GuardDuty finding for security diagnosis, false-positive filtering, or containment decisions.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: guardduty-finding-investigator\ndescription: Investigates Amazon GuardDuty findings through a finding-type-driven diagnostic tree covering Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, and Exfiltration families. Walks each finding to root cause by collecting evidence from CloudTrail (API actor, source IP, user-agent), VPC Flow Logs (egress patterns, foreign IPs), and CloudWatch (runtime metrics). Identifies false positives (authorized scanners, SaaS CIDR ranges, deployment pipelines), applies suppression rules via create-filter, and recommends auto-remediation via EventBridge to Lambda (isolate EC2, revoke IAM credentials, snapshot volumes for Malware Protection). Covers severity triage Low\u002FMedium\u002FHigh, Runtime Monitoring for ECS\u002FEKS, EKS Protection, and Malware Protection chains. Emits ROOT_CAUSE_FOUND with the specific threat layer, NEED_MORE_INFO, or ESCALATE. Use when triaging a GuardDuty finding for security diagnosis, false-positive filtering, or containment decisions.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). Offline investigation works from pasted finding JSON or ASFF. Live-account investigation uses aws guardduty list-findings, get-findings, get-findings-statistics, aws cloudtrail lookup-events, aws ec2 describe-flow-logs, aws logs filter-log-events\u002Fget-query-results, aws ec2 describe-instances, aws iam get-access-key-last-used, aws s3api get-bucket-acl, and aws malware-scan (AWS CLI v2, SSO or key-based).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Security\n  task_type: troubleshoot\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\n  when_to_use: Investigating a GuardDuty finding (single finding JSON, finding ID, or a list of findings from list-findings) for root cause, walking the finding-type family to the specific threat layer (credential abuse, crypto mining, SSH brute force, IAM persistence, S3 exfiltration, runtime process anomaly), collecting corroborating CloudTrail, VPC Flow Log, and CloudWatch evidence, identifying false positives (authorized scanners, known-safe SaaS CIDRs, deployment pipelines), applying suppression via create-filter, or recommending auto-remediation (isolate EC2, revoke IAM credentials, trigger Malware Protection scan). Diagnoses runtime threats — not config posture.\n  when_not_to_use: Posture audits of GuardDuty configuration (use guardduty-finding-severity-triage for numeric severity classification, or the auditor family for detector enablement, trusted IP list, and org-level coverage). Non-GuardDuty detections (Inspector, Macie, Detective) use their own skills. Forensic chain of custody and disk imaging belong to incident-response-automator.\n  activation_triggers: GuardDuty finding, GuardDuty alert, investigate GuardDuty, Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, Exfiltration, GuardDuty Runtime Monitoring, EKS Protection finding, Malware Protection scan, GuardDuty false positive, GuardDuty suppression filter, isolate EC2 from GuardDuty\n  invocation_schema: 'Input: either (a) a GuardDuty finding JSON (or finding ID + detector ID for live lookup), optionally paired with correlated CloudTrail, VPC Flow Log, or CloudWatch evidence; OR (b) a finding-type family and resource ARN for live-account investigation. Output: a deterministic FINDING\u002FVERDICT\u002FREASON\u002FLAYER\u002FEVIDENCE\u002FSUPPRESSION\u002F REMEDIATION block where VERDICT in {ROOT_CAUSE_FOUND, NEED_MORE_INFO, ESCALATE} and LAYER in {CREDENTIAL_ABUSE, CRYPTO_MINING, SSH_BRUTE_FORCE, IAM_PERSISTENCE, POLICY_CHANGE, DATA_EXFILTRATION, RUNTIME_ANOMALY, FALSE_POSITIVE, SUPPRESSED, AWS_SIDE, UNKNOWN}.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: GuardDuty, finding, threat detection, Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, Exfiltration, Runtime Monitoring, EKS Protection, Malware Protection, CloudTrail, VPC Flow Logs, false positive, suppression, auto-remediation, EventBridge, incident response\n  tags: guardduty, security, threat-detection, incident-response, cloudtrail, vpc-flow-logs, troubleshooting, malware-protection, runtime-monitoring\n---\n\n# GuardDuty Finding Investigator\n\n## What this skill does\n\nWalks an Amazon GuardDuty finding from raw JSON to a confirmed root\ncause with positive evidence. The diagnostic tree is\n**finding-type-family driven** (Recon, UnauthorizedAccess, Backdoor,\nCryptoCurrency, Persistence, Policy, Exfiltration, Runtime). Each branch\ncollects specific corroborating evidence from CloudTrail (actor, source\nIP), VPC Flow Logs (egress to suspicious CIDRs), and CloudWatch (runtime\nmetrics). The skill distinguishes true positives from common\nfalse-positive patterns (authorized scanners, SaaS CIDR ranges, broken\ndeployment jobs) and emits a verdict with either a containment action or\na suppression rule.\n\n## Mindset\n\nA GuardDuty finding is a **signal**, not a conclusion. The detector saw\nan anomaly; the operator must prove whether the anomaly is a threat, a\nmisclassified benign activity, or a noisy detector that needs\nsuppression. Senior GuardDuty engineers verify every finding against at\nleast one independent evidence source (CloudTrail for IAM, VPC Flow Logs\nfor network, CloudWatch for runtime) before recommending containment.\nA finding without corroborating evidence is a hypothesis, not a root\ncause.\n\n## STRICT output contract\n\nEvery investigation MUST emit exactly one diagnostic block per finding:\n\n```text\nFINDING: \u003Cfinding-id or finding-type:resource>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nREASON: \u003C1-2 sentences naming the threat layer and the corroborating evidence>\nLAYER: \u003CCREDENTIAL_ABUSE | CRYPTO_MINING | SSH_BRUTE_FORCE | IAM_PERSISTENCE |\n        POLICY_CHANGE | DATA_EXFILTRATION | RUNTIME_ANOMALY | FALSE_POSITIVE |\n        SUPPRESSED | AWS_SIDE | UNKNOWN>\nSEVERITY: \u003CLOW | MEDIUM | HIGH>\nEVIDENCE:\n  - \u003CGuardDuty finding summary — type, resource, actor, severity>\n  - \u003Ccorroborating probe — CloudTrail event \u002F VPC Flow record \u002F CloudWatch metric>\n  - \u003Cfalse-positive ruled out — name the FP class tested and why it does not apply>\nSUPPRESSION:\n  - \u003Cif FALSE_POSITIVE: create-filter JSON for archive rule>\n  - \u003Cotherwise: \"Not applicable — true positive\">\nREMEDIATION:\n  1. \u003Ccontainment action with CLI command>\n  2. \u003Cverification command after containment>\nCONFIRM: Before any state-changing CLI (isolate instance, revoke keys,\n  create suppression filter, trigger malware scan), emit and await operator\n  approval: \"CONFIRM: About to \u003Caction> on \u003Cresource>. Proceed? (yes\u002Fno)\"\n```\n\nA block without EVIDENCE containing at least one GuardDuty field AND one\ncorroborating probe is a contract violation. ROOT_CAUSE_FOUND on a true\npositive requires threat evidence; on a FALSE_POSITIVE layer, it\nrequires benign-context evidence.\n\n## Quick navigation\n\n| If the finding type is... | Go to | First corroborating probe |\n|---|---|---|\n| `Recon:EC2\u002FPortProbe` \u002F `Recon:IAMUser\u002FPortProbe` | Step 2a | `sourceIp` vs trusted IP list |\n| `Recon:IAMUser\u002FUserPermissions` | Step 2b | CloudTrail `List*` \u002F `GetCallerIdentity` burst |\n| `UnauthorizedAccess:IAMUser\u002FConsoleLogin` (new geo) | Step 3a | CloudTrail `ConsoleLogin`, `sourceIpAddress`, MFAUsed |\n| `UnauthorizedAccess:EC2\u002FSSHBruteForce` \u002F `RDPBruteForce` | Step 3b | VPC Flow Logs `dstport=22|3389`, src IP concentration |\n| `Backdoor:EC2\u002FSpambot` \u002F `Backdoor:EC2\u002FC&CActivity.B` | Step 4 | VPC Flow Logs egress to known-bad CIDRs |\n| `CryptoCurrency:EC2\u002FBitcoinTool.B` \u002F `BitcoinTool.B!DNS` | Step 5 | VPC Flow Logs + CloudWatch CPU + Route 53 Resolver |\n| `Persistence:IAMUser\u002FUserCreation` \u002F `IAMUser anomaly` | Step 6 | CloudTrail `CreateUser`, `CreateAccessKey`, `AttachRolePolicy` |\n| `Policy:IAMUser\u002FS3BucketAnonymousGranted` \u002F `RootCredentialUsage` | Step 7 | CloudTrail `PutBucketAcl`, `sourceUserId=Root` |\n| `Exfiltration:S3\u002FAnomalousBehavior.S3` \u002F `EC2\u002FPortSweep` | Step 8 | VPC Flow Logs egress + S3 access logs |\n| `Runtime:EC2\u002FECS\u002FEKS\u002FProcessA` | Step 9 | CloudWatch Container Insights + GuardDuty Runtime evidence |\n| Malware Protection scan needed | Step 10 | `aws malware-scan start-malware-scan` |\n\nFor the finding-type catalogue, severity bands, and suppression\npatterns, see `references\u002Ffinding-types-and-suppression.md`.\n\n## Pre-flight: gather finding metadata\n\nBefore running any finding-type-specific probe, gather the canonical\nfinding metadata. A misread finding type (e.g., confusing\n`UnauthorizedAccess:IAMUser\u002FConsoleLogin` with\n`UnauthorizedAccess:EC2\u002FSSHBruteForce`) routes the investigation to the\nwrong layer.\n\n### Account-wide pre-flight commands\n\nAccount-wide pre-flight command listing moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Account-wide pre-flight commands\n\n### Finding-shape short-circuit\n\n| Field | Value | Effect on investigation |\n|---|---|---|\n| `service.action` | `NETWORK_CONNECTION` \u002F `DNS_REQUEST` \u002F `PORT_PROBE` | Network-layer finding. VPC Flow Logs + Route 53 Resolver logs are the corroborating surface. |\n| `service.action` | `AWS_API_CALL` | IAM-layer finding. CloudTrail is the corroborating surface. |\n| `service.action` | `RDS_LOGIN` \u002F `KINESIS_STREAM` | Service-specific finding. Service-level logs are the corroborating surface. |\n| `service.runtimeData` | present | Runtime Monitoring finding. CloudWatch Container Insights + GuardDuty Runtime evidence are the corroborating surface. |\n| `service.additionalInfo.threatListName` | present | GuardDuty matched a ThreatintelSet — high signal, treat as true positive until disproven. |\n| `severity` | `0.1-1.9` Low \u002F `2.0-6.9` Medium \u002F `7.0-8.9` High | Drives escalation SLA, not the verdict. A Low finding can still be ROOT_CAUSE_FOUND if evidence is positive. |\n| `resource.resourceType` | `Instance` \u002F `AccessKey` \u002F `S3Bucket` \u002F `EksCluster` \u002F `Container` | Determines which resource-specific probe applies. |\n\n### Missing-context NEED_MORE_INFO\n\nIf the input is missing the finding JSON, finding ID, detector ID, or\nsufficient resource context, emit a NEED_MORE_INFO block listing the\nspecific missing fields (finding ID, detector ID, time window) and the\nnext probe to run once available.\n\n## Process — finding-type-driven decision tree\n\nPick the entry point based on the finding-type family, then walk the\ntype-specific probes in order. Each branch ends with either a positive\nroot-cause confirmation (corroborating evidence that matches the\nfinding) or a pass that moves to the next plausible layer. **Never emit\nROOT_CAUSE_FOUND without corroborating evidence from an independent\nsource.**\n\n### Step 0: Non-obvious behaviours that change the diagnosis\n\nStep 0 non-obvious behaviours moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Step 0: Non-obvious behaviours that change the diagnosis\n\n### Step 1: Symptom entry — pick the diagnostic branch\n\nMap the finding-type family to a branch. If the type is ambiguous,\nfirst fetch the finding JSON: `aws guardduty get-findings --detector-id\n\u003Cdetector-id> --finding-ids \u003Cfinding-id>` and inspect `service.action`\n— the highest-signal classifier names the observed behaviour\n(`NETWORK_CONNECTION`, `AWS_API_CALL`, `DNS_REQUEST`, `PORT_PROBE`,\n`RDS_LOGIN`).\n\n| Finding family | Meaning | Branch |\n|---|---|---|\n| **Recon:IAMUser*** \u002F **Recon:EC2*** | Reconnaissance — port probes, permission discovery | Step 2 |\n| **UnauthorizedAccess:IAMUser\u002FConsoleLogin** \u002F **UnauthorizedAccess:EC2\u002FSSH\u002FRDP*** | Unauthorized access — credential or brute force | Step 3 |\n| **Backdoor:EC2*** | Instance communicating with known C&C or spambot infrastructure | Step 4 |\n| **CryptoCurrency:EC2*** | Crypto-currency mining activity (DNS or binary) | Step 5 |\n| **Persistence:IAMUser*** | Anomalous IAM changes that establish persistence | Step 6 |\n| **Policy:IAMUser*** | Suspicious policy or ACL grants (anonymous S3, root credential) | Step 7 |\n| **Exfiltration:S3*** \u002F **Exfiltration:EC2*** | Data leaving the account in an anomalous pattern | Step 8 |\n| **Runtime:EC2*** \u002F **Runtime:ECS*** \u002F **Runtime:EKS*** | Runtime Monitoring detected malicious process behaviour | Step 9 |\n| `aws malware-scan` requested or Malware Protection scan pending | Scan trigger needed | Step 10 |\n\n### Step 2: Recon:IAMUser \u002F Recon:EC2 — reconnaissance\n\nSymptom: a resource is probing AWS API permissions or scanning network\nports. Most Recon findings are Low severity and frequently false\npositives.\n\n#### 2a: Port probe findings (`Recon:EC2\u002FPortProbe` or `Recon:IAMUser\u002FPortProbe`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 2a: Recon — port probe commands\n\n**Verdict signals:**\n- Source IP matches a known scanner (authorised security scanner, AWS\n  Config aggregator, SaaS posture manager CIDR) → **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`. Add the scanner CIDR to the trusted IP list\n  (preferred) or archive via `create-filter`.\n- AWS Config aggregator calling ListBuckets → known GuardDuty noise.\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Suppress on\n  `awsApiCallAction.api = ListBuckets` AND principalId containing\n  `AWSServiceRoleForConfig`.\n- Source IP unknown, ASN ties to a hosting provider, multiple ports\n  probed → corroborate with VPC Flow Logs and treat as **Step 4**\n  (Backdoor \u002F C&C candidate).\n\n#### 2b: IAM permission discovery (`Recon:IAMUser\u002FUserPermissions`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 2b: Recon — IAM permission discovery commands\n\n**Verdict signals:**\n- API calls match a known automation (Terraform plan, AWS Config,\n  IAM Access Analyzer) on a CI host → **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`.\n- API calls originate from an unfamiliar region or user-agent with a\n  burst of `List*` calls — suspicious enumeration.\n  **ROOT_CAUSE_FOUND**, `LAYER: CREDENTIAL_ABUSE`. Move to IAM\n  containment (Step 6).\n\n### Step 3: UnauthorizedAccess — credential abuse or brute force\n\n#### 3a: ConsoleLogin from a new geography or account (`UnauthorizedAccess:IAMUser\u002FConsoleLogin`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 3a: UnauthorizedAccess — ConsoleLogin commands\n\n**Verdict signals:**\n- `additionalEventData.MFAUsed == Yes`, source IP in the user's\n  corporate egress CIDR, `userIdentity.sessionContext` shows a known\n  SSO provider → **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Add the\n  corporate egress CIDR to the trusted IP list or suppress.\n- MFA not used, source IP from an unexpected country, user has not\n  logged in for > 30 days → **ROOT_CAUSE_FOUND**,\n  `LAYER: CREDENTIAL_ABUSE`. Disable the user, revoke active sessions,\n  rotate credentials (Step 6 containment).\n\n#### 3b: SSH\u002FRDP brute force (`UnauthorizedAccess:EC2\u002FSSHBruteForce` or `RDPBruteForce`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 3b: UnauthorizedAccess — SSH\u002FRDP brute force commands\n\n**Verdict signals:**\n- Many distinct source IPs attempting port 22 over a short window,\n  instance SG allows 0.0.0.0\u002F0 on port 22 → **ROOT_CAUSE_FOUND**,\n  `LAYER: SSH_BRUTE_FORCE`. Containment: tighten the SG to corporate\n  CIDR, install fail2ban or use EC2 Instance Connect, investigate\n  whether any login succeeded (auth.log).\n- Single source IP, low attempt count — likely a single misconfigured\n  client, NOT a brute force. **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`.\n\n### Step 4: Backdoor:EC2 — C&C or spambot communication\n\nSymptom: instance is communicating with known C&C infrastructure\n(GuardDuty ThreatintelSet match) or exhibiting spambot behaviour.\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 4: Backdoor:EC2 — C&C \u002F spambot commands\n\n**Verdict signals:**\n- Sustained outbound to a ThreatintelSet-matched IP on non-standard\n  ports → **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY` (treat as\n  compromised). Containment: isolate the EC2 SG, snapshot EBS for\n  Malware Protection scan, do NOT terminate (forensic state).\n- Single short-lived connection, no other indicators →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE` (drive-by scan,\n  misconfigured app). Monitor but do not isolate.\n\n### Step 5: CryptoCurrency:EC2 — crypto mining\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 5: CryptoCurrency:EC2 — crypto mining commands\n\n**Verdict signals:**\n- DNS mining-pool domain AND sustained high CPU (> 80% across the\n  finding window) AND outbound traffic on mining-pool ports →\n  **ROOT_CAUSE_FOUND**, `LAYER: CRYPTO_MINING`. Containment: isolate\n  the instance, snapshot for Malware Protection scan, investigate the\n  compromise vector (over-permissive IAM role, vulnerable app, leaked\n  SSH key).\n- DNS hit only, CPU flat, no outbound mining-pool traffic — likely a\n  domain that resolves to a mining-pool IP but is not used for mining\n  (CDN edge, parked domain, drive-by DNS). **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`. Suppress if the application legitimately\n  uses the domain.\n\n### Step 6: Persistence:IAMUser — anomalous IAM changes\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 6: Persistence:IAMUser — anomalous IAM change commands\n\n**Verdict signals:**\n- CreateUser \u002F CreateAccessKey from an authorised CI\u002FCD pipeline\n  (`userIdentity.arn` contains the deployment role, source IP is the\n  build host) and the new user matches a Terraform plan →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Suppress on the\n  deployment role.\n- CreateUser from an unexpected actor, new user has\n  AdministratorAccess, and the access key was used from an unfamiliar\n  IP within minutes → **ROOT_CAUSE_FOUND**, `LAYER: IAM_PERSISTENCE`.\n  Containment: delete the rogue user, revoke the access key, rotate\n  the actor's credential, scope blast radius with CloudTrail.\n\n### Step 7: Policy:IAMUser — suspicious policy grants\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 7: Policy:IAMUser — suspicious policy grant commands\n\n**Verdict signals:**\n- PutBucketAcl from a known deployment role, bucket is a documented\n  public CloudFront origin (change ticket linked) →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`.\n- Anonymous grant from an unexpected actor, or root credential used\n  outside the documented break-glass procedure → **ROOT_CAUSE_FOUND**,\n  `LAYER: POLICY_CHANGE` (treat as malicious). Revert the policy,\n  investigate the actor's session context, rotate root credentials.\n\n### Step 8: Exfiltration — data leaving the account\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 8: Exfiltration — data-leaving-account commands\n\n**Verdict signals:**\n- Outbound bytes 10x baseline to an unfamiliar ASN, GetObject burst on\n  a sensitive bucket → **ROOT_CAUSE_FOUND**,\n  `LAYER: DATA_EXFILTRATION`. Containment: revoke the credential,\n  isolate the instance, contact the data owner, engage legal if PII\n  involved.\n- Outbound spike matches a known daily batch job (corporate data\n  warehouse load, scheduled backup to S3 in another account) →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Baseline the\n  legitimate pattern; consider suppression.\n\n### Step 9: Runtime Monitoring findings (`Runtime:EC2\u002FECS\u002FEKS\u002FProcessA`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 9: Runtime Monitoring findings commands\n\n**Verdict signals:**\n- `processDetails.name` matches a known malicious binary (e.g.,\n  `xmrig`, `kinsing`, `kdevtmpfsi`), parent process is a web server or\n  container entrypoint → **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY`\n  (treat as compromised). Containment: isolate the EC2 instance or\n  terminate the compromised pod (`kubectl delete pod`), snapshot for\n  Malware Protection scan, scope the entry vector.\n- Process name matches a known false positive (CI runner named `agent`,\n  APM sidecar named `collector`, Cron DaemonSet) and the parent process\n  is the container entrypoint with a documented image →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Add the process path\n  to the GuardDuty suppression filter scoped to the workload.\n\n### Step 10: Malware Protection scan\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 10: Malware Protection scan commands\n\n**Verdict signals:**\n- Scan returns `INFECTED` with a named malware family →\n  **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY` (confirmed malware).\n  Continue containment and IR.\n- Scan returns `CLEAN` → no malware on the snapshot. The runtime\n  finding may still be valid (in-memory-only payload, fileless\n  malware, scan timing). Do NOT downgrade to FALSE_POSITIVE on a clean\n  scan alone — corroborate with VPC Flow Logs and process evidence.\n\n### Step 11: Suppression rules — when and how\n\nApply suppression (archive filter) only after a finding is confirmed\nFALSE_POSITIVE. The filter criterion should be **specific** (scoped to\nthe resource, actor, or API) — never blanket-suppress a finding family.\n\n```bash\naws guardduty create-filter --detector-id \u003Cdetector-id> \\\n  --name \u003Cfilter-name> --action ARCHIVED \\\n  --finding-criteria '\u003Cjson-criteria>' \\\n  --description \"Suppress \u003CFP reason>\" --rank 1\n```\n\n**Suppression patterns by FP class** (full criteria JSON in\n`references\u002Ffinding-types-and-suppression.md`):\n\nSuppression-pattern bullets moved to references.\n→ [references\u002Ffinding-types-and-suppression.md](references\u002Ffinding-types-and-suppression.md) § Suppression patterns by FP class\n\n### Step 12: Auto-remediation via EventBridge → Lambda\n\nFor High-severity true positives, recommend an EventBridge rule\n(`source: aws.guardduty`, severity filter `[5,6,7,8]`) triggering a\nLambda for automated containment: EC2 → isolate SG (quarantine SG); IAM\n→ deactivate access key + attach Deny-all policy; S3 → revert public\nACL; Runtime → trigger `aws malware-scan` on snapshot. Always post to\nSOC chat — NEVER auto-terminate the resource.\n\n### Step 13: Escalate or NEED_MORE_INFO\n\nIf no probe produced a positive root-cause match, OR the finding\nindicates an AWS-side issue (region event, detector bug), emit:\n\n- **ESCALATE** — AWS-side incident or threat beyond the operator's\n  scope (APT indicators, regulated-data exfil, multi-account\n  compromise). Surface the AWS Health event ARN, finding ID, and AWS\n  Support case recommendation.\n- **NEED_MORE_INFO** — A probe requires operator input (VPC Flow Logs\n  not enabled, CloudTrail data events off, agent missing). List the\n  missing pieces and the next probe to run once available.\n\n## NEVER (top 5)\n\n- **NEVER declare ROOT_CAUSE_FOUND without corroborating evidence from\n  an independent source.** A GuardDuty finding is a hypothesis, not a\n  root cause. CloudTrail for IAM, VPC Flow Logs for network, CloudWatch\n  for runtime — at least one must independently confirm.\n\n- **NEVER auto-terminate an EC2 instance as containment.** Termination\n  destroys forensic state. The correct containment is SG isolation\n  (quarantine SG with no in\u002Fout rules), then snapshot for Malware\n  Protection scan and forensic analysis.\n\n- **NEVER suppress a finding family with a blanket rule.** Suppressing\n  all `CryptoCurrency:EC2*` or all `Recon:IAMUser*` hides real threats.\n  Always scope suppression to a specific resource, actor, or source IP\n  via create-filter; prefer the trusted IP list for known-benign\n  sources.\n\n- **NEVER assume a Low-severity finding is a false positive.** Severity\n  is GuardDuty's confidence, not the operator's. A Low-severity\n  ConsoleLogin from a new country may be the first indicator of a\n  credential compromise. Verify with CloudTrail before suppressing.\n\n- **NEVER downgrade a finding to FALSE_POSITIVE based on a clean\n  Malware Protection scan alone.** Fileless malware, in-memory\n  payloads, and scan-timing races can all produce clean results.\n  Corroborate with VPC Flow Logs and process evidence first.\n\n## Expert heuristic\n\nExpert heuristic deep dive moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Expert heuristic\n\n## Output format\n\nSee **STRICT output contract** above. Every investigation emits exactly\none diagnostic block per finding. A CONFIRMATION gate precedes any\nstate-changing CLI.\n\n### Worked example — CryptoCurrency:EC2\u002FBitcoinTool.B!DNS\n\n```text\nFINDING: a1b2c3d4 (CryptoCurrency:EC2\u002FBitcoinTool.B!DNS on i-app-1)\nVERDICT: ROOT_CAUSE_FOUND\nREASON: i-app-1 queried a known mining-pool domain (miningpool.example)\n  with sustained 95% CPUUtilization for the 90 minutes preceding the\n  finding, plus outbound VPC Flow traffic on port 3333 to a Stratum pool\n  endpoint (Step 5).\nLAYER: CRYPTO_MINING\nSEVERITY: HIGH\nEVIDENCE:\n  - GuardDuty finding: service.action.dnsRequestAction.domain =\n    \"miningpool.example\", resource.instanceDetails.instanceId = i-app-1,\n    severity = 7.5.\n  - CloudWatch CPUUtilization on i-app-1: Average 95.2%, Maximum 99.8%\n    across the 90-minute window preceding the finding.\n  - VPC Flow Logs: sustained outbound from \u003Cinstance-private-ip> to\n    203.0.113.55 on dstPort=3333, 2.1 MB total egress in the window.\n  - FP ruled out: app on i-app-1 is a Node.js API server with no DNS\n    dependency on miningpool.example; the domain is not in the\n    application's dependencies or code repository.\nSUPPRESSION: Not applicable — true positive.\nREMEDIATION:\n  1. Isolate i-app-1 by attaching sg-quarantine (no in\u002Fout rules):\n     aws ec2 modify-instance-attribute --instance-id i-app-1\n       --groups sg-quarantine --profile \u003Cp>\n  2. Snapshot the root EBS volume for Malware Protection scan:\n     aws ec2 create-snapshots --instance-specification InstanceId=i-app-1\n     aws malware-scan start-malware-scan --resource-arn \u003Csnapshot-arn>\n  3. Investigate the compromise vector: IAM role on i-app-1, recent\n     deployments, exposed credentials.\n  4. Verify: describe-instances shows sg-quarantine; VPC Flow Logs show\n     no further outbound traffic.\nCONFIRM: \"CONFIRM: About to modify-instance-attribute on i-app-1\n  (isolate to sg-quarantine). This disconnects the app. Proceed? (yes\u002Fno)\"\n```\n\n### Worked example — Recon:IAMUser\u002FPortProbe (authorised scanner FP)\n\nFull worked example moved to references.\n→ [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § Worked example — Recon:IAMUser\u002FPortProbe (authorised scanner FP)\n\n## References (load on demand)\n\nConsult these only when the corresponding topic comes up:\n\n- [references\u002Ffinding-types-and-suppression.md](references\u002Ffinding-types-and-suppression.md) — finding-type catalogue, severity bands, suppression criteria, and the FP-class suppression patterns (moved from Step 11)\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — account-wide pre-flight commands and every per-step probe command listing (moved from Pre-flight and Steps 2-10)\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — the authorised-scanner false-positive worked example (moved from § Output format)\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviours, the three-question expert heuristic, and recent AWS features (moved verbatim)\n## Domain\n\nAWS CloudOps \u002F Amazon GuardDuty Threat Investigation, CloudTrail\nForensics, VPC Flow Log Analysis, Runtime Threat Diagnosis, and\nIncident Containment.\n\n## Recent AWS features (2024-2026)\n\n2024-2026 GuardDuty feature notes moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Recent AWS features (2024-2026)\n\n## AWS documentation\n\n- **GuardDuty User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002F\n- **GuardDuty finding types** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Fguardduty_finding-types.html\n- **Runtime Monitoring \u002F EKS Protection \u002F Malware Protection** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Fruntime-monitoring.html\n- **GuardDuty suppression rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Ffindings_suppression-rule-types.html\n- **AWS CLI GuardDuty reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fguardduty\u002F\n- **CloudTrail lookup-events** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fawscloudtrail\u002Flatest\u002Fuserguide\u002Fview-cloudtrail-events-cli.html\n","# GuardDuty Finding Investigator\n\n## What this skill does\n\nWalks an Amazon GuardDuty finding from raw JSON to a confirmed root\ncause with positive evidence. The diagnostic tree is\n**finding-type-family driven** (Recon, UnauthorizedAccess, Backdoor,\nCryptoCurrency, Persistence, Policy, Exfiltration, Runtime). Each branch\ncollects specific corroborating evidence from CloudTrail (actor, source\nIP), VPC Flow Logs (egress to suspicious CIDRs), and CloudWatch (runtime\nmetrics). The skill distinguishes true positives from common\nfalse-positive patterns (authorized scanners, SaaS CIDR ranges, broken\ndeployment jobs) and emits a verdict with either a containment action or\na suppression rule.\n\n## Mindset\n\nA GuardDuty finding is a **signal**, not a conclusion. The detector saw\nan anomaly; the operator must prove whether the anomaly is a threat, a\nmisclassified benign activity, or a noisy detector that needs\nsuppression. Senior GuardDuty engineers verify every finding against at\nleast one independent evidence source (CloudTrail for IAM, VPC Flow Logs\nfor network, CloudWatch for runtime) before recommending containment.\nA finding without corroborating evidence is a hypothesis, not a root\ncause.\n\n## STRICT output contract\n\nEvery investigation MUST emit exactly one diagnostic block per finding:\n\n```text\nFINDING: \u003Cfinding-id or finding-type:resource>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nREASON: \u003C1-2 sentences naming the threat layer and the corroborating evidence>\nLAYER: \u003CCREDENTIAL_ABUSE | CRYPTO_MINING | SSH_BRUTE_FORCE | IAM_PERSISTENCE |\n        POLICY_CHANGE | DATA_EXFILTRATION | RUNTIME_ANOMALY | FALSE_POSITIVE |\n        SUPPRESSED | AWS_SIDE | UNKNOWN>\nSEVERITY: \u003CLOW | MEDIUM | HIGH>\nEVIDENCE:\n  - \u003CGuardDuty finding summary — type, resource, actor, severity>\n  - \u003Ccorroborating probe — CloudTrail event \u002F VPC Flow record \u002F CloudWatch metric>\n  - \u003Cfalse-positive ruled out — name the FP class tested and why it does not apply>\nSUPPRESSION:\n  - \u003Cif FALSE_POSITIVE: create-filter JSON for archive rule>\n  - \u003Cotherwise: \"Not applicable — true positive\">\nREMEDIATION:\n  1. \u003Ccontainment action with CLI command>\n  2. \u003Cverification command after containment>\nCONFIRM: Before any state-changing CLI (isolate instance, revoke keys,\n  create suppression filter, trigger malware scan), emit and await operator\n  approval: \"CONFIRM: About to \u003Caction> on \u003Cresource>. Proceed? (yes\u002Fno)\"\n```\n\nA block without EVIDENCE containing at least one GuardDuty field AND one\ncorroborating probe is a contract violation. ROOT_CAUSE_FOUND on a true\npositive requires threat evidence; on a FALSE_POSITIVE layer, it\nrequires benign-context evidence.\n\n## Quick navigation\n\n| If the finding type is... | Go to | First corroborating probe |\n|---|---|---|\n| `Recon:EC2\u002FPortProbe` \u002F `Recon:IAMUser\u002FPortProbe` | Step 2a | `sourceIp` vs trusted IP list |\n| `Recon:IAMUser\u002FUserPermissions` | Step 2b | CloudTrail `List*` \u002F `GetCallerIdentity` burst |\n| `UnauthorizedAccess:IAMUser\u002FConsoleLogin` (new geo) | Step 3a | CloudTrail `ConsoleLogin`, `sourceIpAddress`, MFAUsed |\n| `UnauthorizedAccess:EC2\u002FSSHBruteForce` \u002F `RDPBruteForce` | Step 3b | VPC Flow Logs `dstport=22|3389`, src IP concentration |\n| `Backdoor:EC2\u002FSpambot` \u002F `Backdoor:EC2\u002FC&CActivity.B` | Step 4 | VPC Flow Logs egress to known-bad CIDRs |\n| `CryptoCurrency:EC2\u002FBitcoinTool.B` \u002F `BitcoinTool.B!DNS` | Step 5 | VPC Flow Logs + CloudWatch CPU + Route 53 Resolver |\n| `Persistence:IAMUser\u002FUserCreation` \u002F `IAMUser anomaly` | Step 6 | CloudTrail `CreateUser`, `CreateAccessKey`, `AttachRolePolicy` |\n| `Policy:IAMUser\u002FS3BucketAnonymousGranted` \u002F `RootCredentialUsage` | Step 7 | CloudTrail `PutBucketAcl`, `sourceUserId=Root` |\n| `Exfiltration:S3\u002FAnomalousBehavior.S3` \u002F `EC2\u002FPortSweep` | Step 8 | VPC Flow Logs egress + S3 access logs |\n| `Runtime:EC2\u002FECS\u002FEKS\u002FProcessA` | Step 9 | CloudWatch Container Insights + GuardDuty Runtime evidence |\n| Malware Protection scan needed | Step 10 | `aws malware-scan start-malware-scan` |\n\nFor the finding-type catalogue, severity bands, and suppression\npatterns, see `references\u002Ffinding-types-and-suppression.md`.\n\n## Pre-flight: gather finding metadata\n\nBefore running any finding-type-specific probe, gather the canonical\nfinding metadata. A misread finding type (e.g., confusing\n`UnauthorizedAccess:IAMUser\u002FConsoleLogin` with\n`UnauthorizedAccess:EC2\u002FSSHBruteForce`) routes the investigation to the\nwrong layer.\n\n### Account-wide pre-flight commands\n\nAccount-wide pre-flight command listing moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Account-wide pre-flight commands\n\n### Finding-shape short-circuit\n\n| Field | Value | Effect on investigation |\n|---|---|---|\n| `service.action` | `NETWORK_CONNECTION` \u002F `DNS_REQUEST` \u002F `PORT_PROBE` | Network-layer finding. VPC Flow Logs + Route 53 Resolver logs are the corroborating surface. |\n| `service.action` | `AWS_API_CALL` | IAM-layer finding. CloudTrail is the corroborating surface. |\n| `service.action` | `RDS_LOGIN` \u002F `KINESIS_STREAM` | Service-specific finding. Service-level logs are the corroborating surface. |\n| `service.runtimeData` | present | Runtime Monitoring finding. CloudWatch Container Insights + GuardDuty Runtime evidence are the corroborating surface. |\n| `service.additionalInfo.threatListName` | present | GuardDuty matched a ThreatintelSet — high signal, treat as true positive until disproven. |\n| `severity` | `0.1-1.9` Low \u002F `2.0-6.9` Medium \u002F `7.0-8.9` High | Drives escalation SLA, not the verdict. A Low finding can still be ROOT_CAUSE_FOUND if evidence is positive. |\n| `resource.resourceType` | `Instance` \u002F `AccessKey` \u002F `S3Bucket` \u002F `EksCluster` \u002F `Container` | Determines which resource-specific probe applies. |\n\n### Missing-context NEED_MORE_INFO\n\nIf the input is missing the finding JSON, finding ID, detector ID, or\nsufficient resource context, emit a NEED_MORE_INFO block listing the\nspecific missing fields (finding ID, detector ID, time window) and the\nnext probe to run once available.\n\n## Process — finding-type-driven decision tree\n\nPick the entry point based on the finding-type family, then walk the\ntype-specific probes in order. Each branch ends with either a positive\nroot-cause confirmation (corroborating evidence that matches the\nfinding) or a pass that moves to the next plausible layer. **Never emit\nROOT_CAUSE_FOUND without corroborating evidence from an independent\nsource.**\n\n### Step 0: Non-obvious behaviours that change the diagnosis\n\nStep 0 non-obvious behaviours moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Step 0: Non-obvious behaviours that change the diagnosis\n\n### Step 1: Symptom entry — pick the diagnostic branch\n\nMap the finding-type family to a branch. If the type is ambiguous,\nfirst fetch the finding JSON: `aws guardduty get-findings --detector-id\n\u003Cdetector-id> --finding-ids \u003Cfinding-id>` and inspect `service.action`\n— the highest-signal classifier names the observed behaviour\n(`NETWORK_CONNECTION`, `AWS_API_CALL`, `DNS_REQUEST`, `PORT_PROBE`,\n`RDS_LOGIN`).\n\n| Finding family | Meaning | Branch |\n|---|---|---|\n| **Recon:IAMUser*** \u002F **Recon:EC2*** | Reconnaissance — port probes, permission discovery | Step 2 |\n| **UnauthorizedAccess:IAMUser\u002FConsoleLogin** \u002F **UnauthorizedAccess:EC2\u002FSSH\u002FRDP*** | Unauthorized access — credential or brute force | Step 3 |\n| **Backdoor:EC2*** | Instance communicating with known C&C or spambot infrastructure | Step 4 |\n| **CryptoCurrency:EC2*** | Crypto-currency mining activity (DNS or binary) | Step 5 |\n| **Persistence:IAMUser*** | Anomalous IAM changes that establish persistence | Step 6 |\n| **Policy:IAMUser*** | Suspicious policy or ACL grants (anonymous S3, root credential) | Step 7 |\n| **Exfiltration:S3*** \u002F **Exfiltration:EC2*** | Data leaving the account in an anomalous pattern | Step 8 |\n| **Runtime:EC2*** \u002F **Runtime:ECS*** \u002F **Runtime:EKS*** | Runtime Monitoring detected malicious process behaviour | Step 9 |\n| `aws malware-scan` requested or Malware Protection scan pending | Scan trigger needed | Step 10 |\n\n### Step 2: Recon:IAMUser \u002F Recon:EC2 — reconnaissance\n\nSymptom: a resource is probing AWS API permissions or scanning network\nports. Most Recon findings are Low severity and frequently false\npositives.\n\n#### 2a: Port probe findings (`Recon:EC2\u002FPortProbe` or `Recon:IAMUser\u002FPortProbe`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 2a: Recon — port probe commands\n\n**Verdict signals:**\n- Source IP matches a known scanner (authorised security scanner, AWS\n  Config aggregator, SaaS posture manager CIDR) → **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`. Add the scanner CIDR to the trusted IP list\n  (preferred) or archive via `create-filter`.\n- AWS Config aggregator calling ListBuckets → known GuardDuty noise.\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Suppress on\n  `awsApiCallAction.api = ListBuckets` AND principalId containing\n  `AWSServiceRoleForConfig`.\n- Source IP unknown, ASN ties to a hosting provider, multiple ports\n  probed → corroborate with VPC Flow Logs and treat as **Step 4**\n  (Backdoor \u002F C&C candidate).\n\n#### 2b: IAM permission discovery (`Recon:IAMUser\u002FUserPermissions`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 2b: Recon — IAM permission discovery commands\n\n**Verdict signals:**\n- API calls match a known automation (Terraform plan, AWS Config,\n  IAM Access Analyzer) on a CI host → **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`.\n- API calls originate from an unfamiliar region or user-agent with a\n  burst of `List*` calls — suspicious enumeration.\n  **ROOT_CAUSE_FOUND**, `LAYER: CREDENTIAL_ABUSE`. Move to IAM\n  containment (Step 6).\n\n### Step 3: UnauthorizedAccess — credential abuse or brute force\n\n#### 3a: ConsoleLogin from a new geography or account (`UnauthorizedAccess:IAMUser\u002FConsoleLogin`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 3a: UnauthorizedAccess — ConsoleLogin commands\n\n**Verdict signals:**\n- `additionalEventData.MFAUsed == Yes`, source IP in the user's\n  corporate egress CIDR, `userIdentity.sessionContext` shows a known\n  SSO provider → **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Add the\n  corporate egress CIDR to the trusted IP list or suppress.\n- MFA not used, source IP from an unexpected country, user has not\n  logged in for > 30 days → **ROOT_CAUSE_FOUND**,\n  `LAYER: CREDENTIAL_ABUSE`. Disable the user, revoke active sessions,\n  rotate credentials (Step 6 containment).\n\n#### 3b: SSH\u002FRDP brute force (`UnauthorizedAccess:EC2\u002FSSHBruteForce` or `RDPBruteForce`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 3b: UnauthorizedAccess — SSH\u002FRDP brute force commands\n\n**Verdict signals:**\n- Many distinct source IPs attempting port 22 over a short window,\n  instance SG allows 0.0.0.0\u002F0 on port 22 → **ROOT_CAUSE_FOUND**,\n  `LAYER: SSH_BRUTE_FORCE`. Containment: tighten the SG to corporate\n  CIDR, install fail2ban or use EC2 Instance Connect, investigate\n  whether any login succeeded (auth.log).\n- Single source IP, low attempt count — likely a single misconfigured\n  client, NOT a brute force. **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`.\n\n### Step 4: Backdoor:EC2 — C&C or spambot communication\n\nSymptom: instance is communicating with known C&C infrastructure\n(GuardDuty ThreatintelSet match) or exhibiting spambot behaviour.\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 4: Backdoor:EC2 — C&C \u002F spambot commands\n\n**Verdict signals:**\n- Sustained outbound to a ThreatintelSet-matched IP on non-standard\n  ports → **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY` (treat as\n  compromised). Containment: isolate the EC2 SG, snapshot EBS for\n  Malware Protection scan, do NOT terminate (forensic state).\n- Single short-lived connection, no other indicators →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE` (drive-by scan,\n  misconfigured app). Monitor but do not isolate.\n\n### Step 5: CryptoCurrency:EC2 — crypto mining\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 5: CryptoCurrency:EC2 — crypto mining commands\n\n**Verdict signals:**\n- DNS mining-pool domain AND sustained high CPU (> 80% across the\n  finding window) AND outbound traffic on mining-pool ports →\n  **ROOT_CAUSE_FOUND**, `LAYER: CRYPTO_MINING`. Containment: isolate\n  the instance, snapshot for Malware Protection scan, investigate the\n  compromise vector (over-permissive IAM role, vulnerable app, leaked\n  SSH key).\n- DNS hit only, CPU flat, no outbound mining-pool traffic — likely a\n  domain that resolves to a mining-pool IP but is not used for mining\n  (CDN edge, parked domain, drive-by DNS). **ROOT_CAUSE_FOUND**,\n  `LAYER: FALSE_POSITIVE`. Suppress if the application legitimately\n  uses the domain.\n\n### Step 6: Persistence:IAMUser — anomalous IAM changes\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 6: Persistence:IAMUser — anomalous IAM change commands\n\n**Verdict signals:**\n- CreateUser \u002F CreateAccessKey from an authorised CI\u002FCD pipeline\n  (`userIdentity.arn` contains the deployment role, source IP is the\n  build host) and the new user matches a Terraform plan →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Suppress on the\n  deployment role.\n- CreateUser from an unexpected actor, new user has\n  AdministratorAccess, and the access key was used from an unfamiliar\n  IP within minutes → **ROOT_CAUSE_FOUND**, `LAYER: IAM_PERSISTENCE`.\n  Containment: delete the rogue user, revoke the access key, rotate\n  the actor's credential, scope blast radius with CloudTrail.\n\n### Step 7: Policy:IAMUser — suspicious policy grants\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 7: Policy:IAMUser — suspicious policy grant commands\n\n**Verdict signals:**\n- PutBucketAcl from a known deployment role, bucket is a documented\n  public CloudFront origin (change ticket linked) →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`.\n- Anonymous grant from an unexpected actor, or root credential used\n  outside the documented break-glass procedure → **ROOT_CAUSE_FOUND**,\n  `LAYER: POLICY_CHANGE` (treat as malicious). Revert the policy,\n  investigate the actor's session context, rotate root credentials.\n\n### Step 8: Exfiltration — data leaving the account\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 8: Exfiltration — data-leaving-account commands\n\n**Verdict signals:**\n- Outbound bytes 10x baseline to an unfamiliar ASN, GetObject burst on\n  a sensitive bucket → **ROOT_CAUSE_FOUND**,\n  `LAYER: DATA_EXFILTRATION`. Containment: revoke the credential,\n  isolate the instance, contact the data owner, engage legal if PII\n  involved.\n- Outbound spike matches a known daily batch job (corporate data\n  warehouse load, scheduled backup to S3 in another account) →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Baseline the\n  legitimate pattern; consider suppression.\n\n### Step 9: Runtime Monitoring findings (`Runtime:EC2\u002FECS\u002FEKS\u002FProcessA`)\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 9: Runtime Monitoring findings commands\n\n**Verdict signals:**\n- `processDetails.name` matches a known malicious binary (e.g.,\n  `xmrig`, `kinsing`, `kdevtmpfsi`), parent process is a web server or\n  container entrypoint → **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY`\n  (treat as compromised). Containment: isolate the EC2 instance or\n  terminate the compromised pod (`kubectl delete pod`), snapshot for\n  Malware Protection scan, scope the entry vector.\n- Process name matches a known false positive (CI runner named `agent`,\n  APM sidecar named `collector`, Cron DaemonSet) and the parent process\n  is the container entrypoint with a documented image →\n  **ROOT_CAUSE_FOUND**, `LAYER: FALSE_POSITIVE`. Add the process path\n  to the GuardDuty suppression filter scoped to the workload.\n\n### Step 10: Malware Protection scan\n\nProbe commands moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Step 10: Malware Protection scan commands\n\n**Verdict signals:**\n- Scan returns `INFECTED` with a named malware family →\n  **ROOT_CAUSE_FOUND**, `LAYER: RUNTIME_ANOMALY` (confirmed malware).\n  Continue containment and IR.\n- Scan returns `CLEAN` → no malware on the snapshot. The runtime\n  finding may still be valid (in-memory-only payload, fileless\n  malware, scan timing). Do NOT downgrade to FALSE_POSITIVE on a clean\n  scan alone — corroborate with VPC Flow Logs and process evidence.\n\n### Step 11: Suppression rules — when and how\n\nApply suppression (archive filter) only after a finding is confirmed\nFALSE_POSITIVE. The filter criterion should be **specific** (scoped to\nthe resource, actor, or API) — never blanket-suppress a finding family.\n\n```bash\naws guardduty create-filter --detector-id \u003Cdetector-id> \\\n  --name \u003Cfilter-name> --action ARCHIVED \\\n  --finding-criteria '\u003Cjson-criteria>' \\\n  --description \"Suppress \u003CFP reason>\" --rank 1\n```\n\n**Suppression patterns by FP class** (full criteria JSON in\n`references\u002Ffinding-types-and-suppression.md`):\n\nSuppression-pattern bullets moved to references.\n→ [references\u002Ffinding-types-and-suppression.md](references\u002Ffinding-types-and-suppression.md) § Suppression patterns by FP class\n\n### Step 12: Auto-remediation via EventBridge → Lambda\n\nFor High-severity true positives, recommend an EventBridge rule\n(`source: aws.guardduty`, severity filter `[5,6,7,8]`) triggering a\nLambda for automated containment: EC2 → isolate SG (quarantine SG); IAM\n→ deactivate access key + attach Deny-all policy; S3 → revert public\nACL; Runtime → trigger `aws malware-scan` on snapshot. Always post to\nSOC chat — NEVER auto-terminate the resource.\n\n### Step 13: Escalate or NEED_MORE_INFO\n\nIf no probe produced a positive root-cause match, OR the finding\nindicates an AWS-side issue (region event, detector bug), emit:\n\n- **ESCALATE** — AWS-side incident or threat beyond the operator's\n  scope (APT indicators, regulated-data exfil, multi-account\n  compromise). Surface the AWS Health event ARN, finding ID, and AWS\n  Support case recommendation.\n- **NEED_MORE_INFO** — A probe requires operator input (VPC Flow Logs\n  not enabled, CloudTrail data events off, agent missing). List the\n  missing pieces and the next probe to run once available.\n\n## NEVER (top 5)\n\n- **NEVER declare ROOT_CAUSE_FOUND without corroborating evidence from\n  an independent source.** A GuardDuty finding is a hypothesis, not a\n  root cause. CloudTrail for IAM, VPC Flow Logs for network, CloudWatch\n  for runtime — at least one must independently confirm.\n\n- **NEVER auto-terminate an EC2 instance as containment.** Termination\n  destroys forensic state. The correct containment is SG isolation\n  (quarantine SG with no in\u002Fout rules), then snapshot for Malware\n  Protection scan and forensic analysis.\n\n- **NEVER suppress a finding family with a blanket rule.** Suppressing\n  all `CryptoCurrency:EC2*` or all `Recon:IAMUser*` hides real threats.\n  Always scope suppression to a specific resource, actor, or source IP\n  via create-filter; prefer the trusted IP list for known-benign\n  sources.\n\n- **NEVER assume a Low-severity finding is a false positive.** Severity\n  is GuardDuty's confidence, not the operator's. A Low-severity\n  ConsoleLogin from a new country may be the first indicator of a\n  credential compromise. Verify with CloudTrail before suppressing.\n\n- **NEVER downgrade a finding to FALSE_POSITIVE based on a clean\n  Malware Protection scan alone.** Fileless malware, in-memory\n  payloads, and scan-timing races can all produce clean results.\n  Corroborate with VPC Flow Logs and process evidence first.\n\n## Expert heuristic\n\nExpert heuristic deep dive moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Expert heuristic\n\n## Output format\n\nSee **STRICT output contract** above. Every investigation emits exactly\none diagnostic block per finding. A CONFIRMATION gate precedes any\nstate-changing CLI.\n\n### Worked example — CryptoCurrency:EC2\u002FBitcoinTool.B!DNS\n\n```text\nFINDING: a1b2c3d4 (CryptoCurrency:EC2\u002FBitcoinTool.B!DNS on i-app-1)\nVERDICT: ROOT_CAUSE_FOUND\nREASON: i-app-1 queried a known mining-pool domain (miningpool.example)\n  with sustained 95% CPUUtilization for the 90 minutes preceding the\n  finding, plus outbound VPC Flow traffic on port 3333 to a Stratum pool\n  endpoint (Step 5).\nLAYER: CRYPTO_MINING\nSEVERITY: HIGH\nEVIDENCE:\n  - GuardDuty finding: service.action.dnsRequestAction.domain =\n    \"miningpool.example\", resource.instanceDetails.instanceId = i-app-1,\n    severity = 7.5.\n  - CloudWatch CPUUtilization on i-app-1: Average 95.2%, Maximum 99.8%\n    across the 90-minute window preceding the finding.\n  - VPC Flow Logs: sustained outbound from \u003Cinstance-private-ip> to\n    203.0.113.55 on dstPort=3333, 2.1 MB total egress in the window.\n  - FP ruled out: app on i-app-1 is a Node.js API server with no DNS\n    dependency on miningpool.example; the domain is not in the\n    application's dependencies or code repository.\nSUPPRESSION: Not applicable — true positive.\nREMEDIATION:\n  1. Isolate i-app-1 by attaching sg-quarantine (no in\u002Fout rules):\n     aws ec2 modify-instance-attribute --instance-id i-app-1\n       --groups sg-quarantine --profile \u003Cp>\n  2. Snapshot the root EBS volume for Malware Protection scan:\n     aws ec2 create-snapshots --instance-specification InstanceId=i-app-1\n     aws malware-scan start-malware-scan --resource-arn \u003Csnapshot-arn>\n  3. Investigate the compromise vector: IAM role on i-app-1, recent\n     deployments, exposed credentials.\n  4. Verify: describe-instances shows sg-quarantine; VPC Flow Logs show\n     no further outbound traffic.\nCONFIRM: \"CONFIRM: About to modify-instance-attribute on i-app-1\n  (isolate to sg-quarantine). This disconnects the app. Proceed? (yes\u002Fno)\"\n```\n\n### Worked example — Recon:IAMUser\u002FPortProbe (authorised scanner FP)\n\nFull worked example moved to references.\n→ [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § Worked example — Recon:IAMUser\u002FPortProbe (authorised scanner FP)\n\n## References (load on demand)\n\nConsult these only when the corresponding topic comes up:\n\n- [references\u002Ffinding-types-and-suppression.md](references\u002Ffinding-types-and-suppression.md) — finding-type catalogue, severity bands, suppression criteria, and the FP-class suppression patterns (moved from Step 11)\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — account-wide pre-flight commands and every per-step probe command listing (moved from Pre-flight and Steps 2-10)\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — the authorised-scanner false-positive worked example (moved from § Output format)\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviours, the three-question expert heuristic, and recent AWS features (moved verbatim)\n## Domain\n\nAWS CloudOps \u002F Amazon GuardDuty Threat Investigation, CloudTrail\nForensics, VPC Flow Log Analysis, Runtime Threat Diagnosis, and\nIncident Containment.\n\n## Recent AWS features (2024-2026)\n\n2024-2026 GuardDuty feature notes moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Recent AWS features (2024-2026)\n\n## AWS documentation\n\n- **GuardDuty User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002F\n- **GuardDuty finding types** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Fguardduty_finding-types.html\n- **Runtime Monitoring \u002F EKS Protection \u002F Malware Protection** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Fruntime-monitoring.html\n- **GuardDuty suppression rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fguardduty\u002Flatest\u002Fug\u002Ffindings_suppression-rule-types.html\n- **AWS CLI GuardDuty reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fguardduty\u002F\n- **CloudTrail lookup-events** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fawscloudtrail\u002Flatest\u002Fuserguide\u002Fview-cloudtrail-events-cli.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"requires_llm":37,"verdict_shape":38,"when_not_to_use":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":37,"activation_triggers":42},"guardduty, security, threat-detection, incident-response, cloudtrail, vpc-flow-logs, troubleshooting, malware-protection, runtime-monitoring","2","Jacky Chan — AWS Community Builder","aws-cloudops","Security","0.1.0","GuardDuty, finding, threat detection, Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, Exfiltration, Runtime Monitoring, EKS Protection, Malware Protection, CloudTrail, VPC Flow Logs, false positive, suppression, auto-remediation, EventBridge, incident response","troubleshoot","high","false","capability","Investigating a GuardDuty finding (single finding JSON, finding ID, or a list of findings from list-findings) for root cause, walking the finding-type family to the specific threat layer (credential abuse, crypto mining, SSH brute force, IAM persistence, S3 exfiltration, runtime process anomaly), collecting corroborating CloudTrail, VPC Flow Log, and CloudWatch evidence, identifying false positives (authorized scanners, known-safe SaaS CIDRs, deployment pipelines), applying suppression via create-filter, or recommending auto-remediation (isolate EC2, revoke IAM credentials, trigger Malware Protection scan). Diagnoses runtime threats — not config posture.","true","ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE","Posture audits of GuardDuty configuration (use guardduty-finding-severity-triage for numeric severity classification, or the auditor family for detector enablement, trusted IP list, and org-level coverage). Non-GuardDuty detections (Inspector, Macie, Detective) use their own skills. Forensic chain of custody and disk imaging belong to incident-response-automator.","active","Input: either (a) a GuardDuty finding JSON (or finding ID + detector ID for live lookup), optionally paired with correlated CloudTrail, VPC Flow Log, or CloudWatch evidence; OR (b) a finding-type family and resource ARN for live-account investigation. Output: a deterministic FINDING\u002FVERDICT\u002FREASON\u002FLAYER\u002FEVIDENCE\u002FSUPPRESSION\u002F REMEDIATION block where VERDICT in {ROOT_CAUSE_FOUND, NEED_MORE_INFO, ESCALATE} and LAYER in {CREDENTIAL_ABUSE, CRYPTO_MINING, SSH_BRUTE_FORCE, IAM_PERSISTENCE, POLICY_CHANGE, DATA_EXFILTRATION, RUNTIME_ANOMALY, FALSE_POSITIVE, SUPPRESSED, AWS_SIDE, UNKNOWN}.","GuardDuty finding, GuardDuty alert, investigate GuardDuty, Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, Exfiltration, GuardDuty Runtime Monitoring, EKS Protection finding, Malware Protection scan, GuardDuty false positive, GuardDuty suppression filter, isolate EC2 from GuardDuty","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). Offline investigation works from pasted finding JSON or ASFF. Live-account investigation uses aws guardduty list-findings, get-findings, get-findings-statistics, aws cloudtrail lookup-events, aws ec2 describe-flow-logs, aws logs filter-log-events\u002Fget-query-results, aws ec2 describe-instances, aws iam get-access-key-last-used, aws s3api get-bucket-acl, and aws malware-scan (AWS CLI v2, SSO or key-based).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fguardduty-finding-investigator",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill guardduty-finding-investigator",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill guardduty-finding-investigator",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill guardduty-finding-investigator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",11169,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fconsolelogin-credential-abuse.md",731,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fbaselines\u002Fconsolelogin-credential-abuse.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fcryptocurrency-ec2-true-positive.md",764,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fbaselines\u002Fcryptocurrency-ec2-true-positive.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fexfiltration-s3-needs-logs.md",733,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fbaselines\u002Fexfiltration-s3-needs-logs.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Frecon-portprobe-authorized-scanner.md",753,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fbaselines\u002Frecon-portprobe-authorized-scanner.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fruntime-eks-process-anomaly.md",639,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fbaselines\u002Fruntime-eks-process-anomaly.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",2004,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",5050,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fconsolelogin-credential-abuse.md",1549,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fprompts\u002Fconsolelogin-credential-abuse.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fcryptocurrency-ec2-true-positive.md",1197,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fprompts\u002Fcryptocurrency-ec2-true-positive.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fexfiltration-s3-needs-logs.md",1656,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fprompts\u002Fexfiltration-s3-needs-logs.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Frecon-portprobe-authorized-scanner.md",1293,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fprompts\u002Frecon-portprobe-authorized-scanner.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fruntime-eks-process-anomaly.md",1624,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fevals\u002Fprompts\u002Fruntime-eks-process-anomaly.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"example\u002FREADME.md",6094,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fexample\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",4837,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fdiagnostic-commands.md",8034,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Freferences\u002Fdiagnostic-commands.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Ffinding-types-and-suppression.md",9321,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Freferences\u002Ffinding-types-and-suppression.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fworked-examples.md",874,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Freferences\u002Fworked-examples.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"skill.usf.yaml",4585,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguardduty-finding-investigator\u002Fskill.usf.yaml",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]