/akira:redteamfrom akira
Guides APT-level red team operations including post-exploitation, lateral movement, credential harvesting, Active Directory attacks, C2 tradecraft, defense evasion, and cloud APT techniques.
Ships in akira. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
APT simulation is not about running a tool and reporting output. It is about proving a complete kill chain - initial foothold to Crown Jewels. Every technique in this skill is used in authorized red team engagements, documented in MITRE ATT&CK, and referenced in Mandiant/CrowdStrike/Recorded Future adversary reports.
This skill activates after a foothold is established (exploit phase proved initial access) or from an assumed-breach scenario. Every technique requires written authorization scope.
source ~/.claude/skills/_shared/phase0.sh
source ~/.claude/skills/_shared/signals.sh
p0_init_vars "$1"
p0_state_gate || exit 0
p0_read_relay exploit secrets recon cloud_audit
p0_read_memory
TECH_STACK=$(jq -r '.intel.technologies[]?' "$SESSION" 2>/dev/null | tr '\n' ',')
echo "=== REDTEAM SMART INTAKE: $TARGET ==="
echo "State: $STATE | Tech: $TECH_STACK"
echo "Confirmed vulns: $(echo "$CONFIRMED_VULNS" | grep -c .)"
echo "Internal IPs reachable: $(echo "$INTERNAL_IPS" | grep -c .)"
echo "Verified creds: $(echo "$VERIFIED_CREDS" | grep -c .)"
echo "Auth bypass confirmed: $VERIFIED_AUTH_BYPASS"
echo "ATW flagged (skip): $ATW_FLAGGED"
Intake-to-technique priority:
| Signal available | Prioritize |
|---|---|
| Internal IPs + SSRF vector | C2 setup -> lateral movement |
| AD/LDAP/Kerberos in tech stack | BloodHound -> Kerberoast -> DCSync |
| AWS keys in secrets relay | Assumed-role lateral movement -> S3/RDS |
| Azure AD hint | Device Code phishing -> Pass-the-PRT -> ADFS |
| Confirmed auth bypass | Assumed breach - skip initial access |
| Windows hosts reachable | Credential harvesting -> Pass-the-Hash |
| Linux pivot available | SUID/sudo -> cron hijack -> kernel exploits |
MANIFEST_ITEMS="[]"
[ "$VERIFIED_AUTH_BYPASS" = "false" ] && \
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt01","tool":"initial_access","priority":"MUST","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt02","tool":"c2_setup","priority":"MUST","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt03","tool":"cred_harvest","priority":"MUST","status":"pending"}]')
echo "$TECH_STACK" | grep -qi "ldap\|kerberos\|active.directory\|domain" && \
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt04","tool":"ad_attacks","priority":"MUST","status":"pending"}]')
[ -n "$INTERNAL_IPS" ] && \
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt05","tool":"lateral_movement","priority":"MUST","status":"pending"}]')
echo "$TECH_STACK" | grep -qi "aws\|azure\|gcp\|cloud" && \
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt06","tool":"cloud_apt","priority":"MUST","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt07","tool":"persistence","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt08","tool":"defense_evasion","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt09","tool":"data_exfil","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt10","tool":"opsec","priority":"IF_TIME","status":"pending"}]')
p0_manifest_write "redteam" "$MANIFEST_ITEMS"
Read ONLY the technique files that match your active manifest items.
Use the Read tool: ~/.claude/skills/redteam/tech/<filename>
| Manifest ID / focus flag | Technique file | Load when |
|---|---|---|
| rt01 - initial access | initial-access.md | no auth bypass confirmed |
| rt02 - C2 framework | c2.md | always |
| rt03 - cred harvest | creds.md | always |
| rt04 - AD attacks | ad-core.md | AD/LDAP/Kerberos in tech |
| rt04 (ADCS) | adcs.md | AD confirmed + ADCS endpoint found |
| rt04 (delegation) | delegation.md | AD confirmed + delegation flags found |
| rt04 (GPO/ACL) | gpo-acl.md | BloodHound path involves GPO/ACL |
| rt05 - lateral movement | lateral.md | internal IPs reachable |
| rt05 (LotL) | lotl.md | Windows hosts confirmed |
| rt06 - cloud APT | cloud-apt.md | cloud hints in tech stack |
| rt07 - persistence | persistence.md | foothold established |
| rt08 - defense evasion | evasion.md | AV/EDR present |
| rt09 - data exfil | exfil.md | Crown Jewels located |
| rt10 - OPSEC | opsec.md | all IF_TIME |
Focus flag routing (--focus=ad etc.):
| Focus flag | Load these files |
|---|---|
--focus=ad | ad-core.md, adcs.md, delegation.md, gpo-acl.md |
--focus=cloud | cloud-apt.md |
--focus=evasion | evasion.md, c2.md |
--focus=initial | initial-access.md |
--focus=lateral | lateral.md, lotl.md, creds.md |
Available technique files in redteam/tech/:
| File | Covers |
|---|---|
initial-access.md | HTML smuggling, macro-less Office, LNK/ISO, drive-by, fake CAPTCHA |
c2.md | Cobalt Strike malleable profiles, Havoc, Sliver, domain fronting |
lotl.md | LOLBins, LOLDrivers, LSASS without Mimikatz, certutil/mshta/regsvr32 |
creds.md | LSASS dump, DCSync, SAM, DPAPI, Kerberos ticket extraction |
ad-core.md | BloodHound, Kerberoasting, AS-REP, PTH, PTT, Golden/Silver tickets |
adcs.md | ADCS ESC1-ESC8, certipy workflow, certificate-based persistence |
delegation.md | Constrained/unconstrained delegation, RBCD, S4U2Self/S4U2Proxy |
gpo-acl.md | GPO abuse (T1484.001), ACL abuse chains (T1222), DCShadow |
lateral.md | WMI exec, PSExec, DCOM, WinRM, SMB relay, MSSQL xp_cmdshell |
persistence.md | Registry Run keys, WMI subscriptions, scheduled tasks, DLL hijack |
evasion.md | AMSI/ETW bypass, process hollowing, reflective DLL, indirect syscalls |
cloud-apt.md | Azure Device Code phishing, Pass-the-PRT, ADFS Golden SAML, AWS/GCP lateral |
exfil.md | DNS exfil, HTTPS beaconing, cloud storage staging, encrypted channels |
opsec.md | PPID spoofing, timestomping, log clearing, network noise reduction |
p0_mark_done rt0X.report_draft.findings[] and emit signal.p0_completion_gate || echo "GATE BLOCKED"Phase-End - Intel Relay write + interesting_redteam.md:
# Write intel relay
jq --arg dacreds "${DA_CREDENTIALS:-}" \
--arg killchain "${CONFIRMED_KILL_CHAIN:-}" \
--argjson pthhosts "$(echo "${LATERAL_TARGETS:-}" | tr ',' '\n' | jq -R . | jq -s .)" \
'.intel_relay.from_redteam = {
"da_credentials_obtained": ($dacreds != ""),
"da_credentials": $dacreds,
"lateral_movement_hosts": $pthhosts,
"kill_chain": $killchain,
"privesc_confirmed": true,
"persistence_confirmed": true,
"techniques_used": [.report_draft.findings[] | select(.phase=="redteam") | .technique],
"evasion_techniques": [],
"exfil_confirmed": false
}' $SESSION > /tmp/s.json && mv /tmp/s.json $SESSION
# Write interesting_redteam.md
cat > $RESULTS/interesting_redteam.md << EOF
# Red Team Findings: $TARGET
Generated: $(date +%Y-%m-%d)
## Kill Chain
${CONFIRMED_KILL_CHAIN:-TBD}
## Techniques Confirmed
$(jq -r '.report_draft.findings[] | select(.phase=="redteam") | "- [\(.severity)] \(.title)"' $SESSION 2>/dev/null)
## DA Credentials
$(jq -r '.intel_relay.from_redteam.da_credentials // "none"' $SESSION 2>/dev/null)
## Lateral Movement Hosts
$(jq -r '.intel_relay.from_redteam.lateral_movement_hosts[]?' $SESSION 2>/dev/null)
## Evidence
$(ls $LOOT/ 2>/dev/null | head -20)
EOF
echo "Next: /triage $TARGET"
| Technique | Windows Tool | Linux/Remote Tool | MITRE ID |
|---|---|---|---|
| BloodHound collection | SharpHound.exe | bloodhound-python | T1482 |
| Kerberoasting | Rubeus kerberoast | GetUserSPNs.py | T1558.003 |
| AS-REP Roasting | Rubeus asreproast | GetNPUsers.py | T1558.004 |
| DCSync | mimikatz dcsync | secretsdump.py | T1003.006 |
| Pass-the-Hash | mimikatz sekurlsa::pth | crackmapexec -H | T1550.002 |
| Golden Ticket | mimikatz kerberos::golden | ticketer.py | T1558.001 |
| ADCS ESC1 | Certify.exe | certipy req | T1649 |
| LSASS dump | comsvcs MiniDump | procdump | T1003.001 |
| Lateral WMI | Invoke-WmiMethod | wmiexec.py | T1047 |
| Lateral WinRM | Enter-PSSession | evil-winrm | T1021.006 |
| AMSI bypass | memory patch PS | N/A | T1562.001 |
| Process hollow | C# CreateProcess | N/A | T1055.012 |
| DNS exfil | dnscat2 client | dnscat2 server | T1071.004 |
| Device Code phish | N/A | device_code_phish.py | T1528 |
| ADFS Golden SAML | AADInternals | shimit | T1606.002 |
tech/ad-core.md (opens in a new tab)tech/adcs.md (opens in a new tab)tech/c2.md (opens in a new tab)tech/cloud-apt.md (opens in a new tab)tech/creds.md (opens in a new tab)tech/delegation.md (opens in a new tab)tech/evasion.md (opens in a new tab)tech/exfil.md (opens in a new tab)tech/gpo-acl.md (opens in a new tab)tech/initial-access.md (opens in a new tab)tech/lateral.md (opens in a new tab)tech/lotl.md (opens in a new tab)tech/opsec.md (opens in a new tab)tech/persistence.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./", skills.8: Invalid string: must start with "./", skills.9: Invalid string: must start with "./", skills.10: Invalid string: must start with "./", skills.11: Invalid string: must start with "./", skills.12: Invalid string: must start with "./", skills.13: Invalid string: must start with "./", skills.14: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./", skills.8: Invalid string: must start with "./", skills.9: Invalid string: must start with "./", skills.10: Invalid string: must start with "./", skills.11: Invalid string: must start with "./", skills.12: Invalid string: must start with "./", skills.13: Invalid string: must start with "./", skills.14: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
16 skills in this plugin
/403-bypassUse when encountering HTTP 403 Forbidden responses during pentests or bug bounty hunting, testing access control bypasses, trying to reach restricted endpoints, admin panels, or protected API routes. Also trigger when the user says "403 bypass", "bypass forbidden", "access denied bypass", "forbidden page bypass", or "trying to access restricted endpoint". Use this whenever a 403 needs to be tested - not just blindly accepted./ad-attacksUse when attacking Active Directory environments, hunting Kerberoastable accounts, AS-REP roasting, DCSync, Pass-the-Hash, Pass-the-Ticket, BloodHound path analysis, LDAP enumeration, GPO abuse, ACL abuse, or full AD domain compromise chains. Also use when the user says "attack AD", "domain compromise", "Kerberoast", "DCSync", "BloodHound", or "lateral movement"./cloud-auditUse when auditing cloud infrastructure for misconfigurations, testing AWS IAM privilege escalation, enumerating exposed S3 buckets, attacking GCP service accounts, testing Azure RBAC misconfigs, hunting for exposed Kubernetes API servers, or finding cloud credential leaks in metadata services. Also use when the user says "cloud audit", "AWS pentest", "GCP attack", "K8s attack", "S3 exposed", "metadata service", or "cloud misconfiguration"./compactUse when context is running long during a pentest engagement, at phase boundaries after completing a full phase, or when the user says "compact", "compress context", "trim context", or "save tokens". Compresses completed phase outputs while keeping session.json as the authoritative source of truth./ctfUse when working on CTF (Capture the Flag) challenges, HackTheBox machines, TryHackMe rooms, pwn challenges, reverse engineering, cryptography puzzles, forensics, web exploitation CTF tasks, OSINT challenges, or steganography. Also use when the user says "CTF", "HackTheBox", "HTB", "TryHackMe", "THM", "pwn this", "reverse this binary", "solve this crypto", or "find the flag"./exploitUse when running exploitation phase of a pentest, testing for SQL injection, XSS, SSRF, JWT confusion, deserialization, prototype pollution, HTTP smuggling, cache poisoning, SSTI, XXE, GraphQL, SAML, LFI, file upload bypass, CORS, WebSocket hijacking, IDOR, mass assignment, account takeover chains, 2FA bypass, or any class of web/API vulnerability. Also use when the user says "run exploit", "phase 3", "start exploitation", "test for XSS/SQLi/SSRF", or names any specific vuln class.Other plugins' skills for the same job