Files
Anthropic-Cybersecurity-Skills/skills/exploiting-aws-with-pacu/references/api-reference.md
T
mukul975 8cae0648ec Add 55 new skills across 3 new domains + 6 undercovered areas (762 -> 817)
Demand-driven expansion targeting the fastest-growing 2025-2026 threat and
skills categories (ISC2/WEF/CrowdStrike/Mandiant signals):

- AI Security (NEW domain, 12 skills): LLM red-teaming with garak/PyRIT,
  prompt injection (direct/indirect/RAG), MCP tool-poisoning, agentic tool
  invocation, guardrails, model/data poisoning, system-prompt leakage,
  embedding/vector weaknesses, model extraction, continuous red-teaming
- Supply Chain Security (NEW domain, 5 skills): SBOMs, dependency confusion,
  malicious-npm triage, typosquatting, SLSA/Sigstore provenance
- Hardware & Firmware Security (NEW domain, 4 skills): CHIPSEC/UEFI audit,
  Secure Boot bypass, TPM measured-boot attestation, ESP bootkit hunting
- Identity (10): Entra ID/ROADtools, GraphRunner, AADInternals, ADCS/Certipy,
  shadow credentials, coercion, BloodHound CE, device-code phishing, SSO abuse
- Cloud-native (8): Stratus, Pacu, CloudFox, container escape, K8s RBAC,
  Falco, Trivy, kube-bench
- Offensive C2 (6): Sliver, Havoc, NetExec, DPAPI, NTLM relay ESC8, redirectors
- DFIR (6): Hayabusa, Chainsaw, KAPE, Velociraptor, EZ Tools, Plaso
- Backfill (4): OpenCTI, MISP, honeytokens, post-quantum crypto migration

Each skill follows the repo taxonomy (SKILL.md + references/{standards,api-reference}.md
+ scripts/agent.py + LICENSE), with researched real tool commands (no placeholders),
complete frontmatter, and ATT&CK/ATLAS + NIST CSF mappings. Updates README domain
table, skill count, and index.json.
2026-06-22 19:08:16 +02:00

2.5 KiB

Pacu — Command and Module Reference

Console Commands

Command Description
set_keys Add/update AWS keys for the active session
swap_keys Switch between stored key sets in the session
import_keys <profile> Import keys from ~/.aws/credentials (use --all for every profile)
whoami Show the active principal and key details
ls / list List available modules
search <term> Search modules by name/keyword
help <module> Show a module's help and arguments
run <module> [args] Execute a module (alias: exec)
data <service|all> Query enumerated data from the session DB
services List services with collected data
regions Show / set in-scope AWS regions (set_regions)
sessions / swap_session Manage multiple engagement sessions
exit / quit Leave the console

Non-Interactive (shell) Flags

Flag Description
--session <name> Select/create the session
--module-name <module> Module to run
--module-args "<args>" Arguments passed to the module
--exec Run the module immediately and exit
--set-regions <r1 r2> Constrain regions

Key Modules

Module Category Purpose
iam__enum_users_roles_policies_groups Recon Enumerate all IAM principals/policies
iam__enum_permissions Recon Resolve current principal's effective permissions
iam__privesc_scan Privesc Detect/exploit privilege-escalation paths
iam__backdoor_users_keys Persistence Create backdoor access key on a user
iam__backdoor_assume_role Persistence Add attacker trust to a role
ec2__enum Recon Enumerate EC2 instances/volumes/snapshots
ec2__startup_shell_script Exec Inject user-data startup script
s3__download_bucket Exfil Download S3 bucket objects
secrets__enum Credential Access Enumerate Secrets Manager / SSM secrets
lambda__enum Recon Enumerate Lambda functions and configs

Common privesc primitives checked by iam__privesc_scan

iam:CreatePolicyVersion, iam:SetDefaultPolicyVersion, iam:AttachUserPolicy, iam:AttachGroupPolicy, iam:AttachRolePolicy, iam:PutUserPolicy, iam:CreateAccessKey, iam:UpdateLoginProfile, iam:PassRole + lambda:CreateFunction, iam:PassRole + ec2:RunInstances, sts:AssumeRole, glue:CreateDevEndpoint, cloudformation:CreateStack + iam:PassRole.