active-directory
AgentActive Directory and Windows domain attack specialist. Use for Kerberoasting, AS-REP roasting, DCSync, BloodHound enumeration,…
Digital forensics and incident response specialist. Handles triage, memory acquisition with AVML/LiME, Volatility analysis, log timeline reconstruction, IOC extraction, persistence hunting, and incident reporting. Triggers on: DFIR, incident response, forensics, Volatility,
Claude Code
> /plugin marketplace add mukul975/Threatswarm> /plugin install threatswarm@threatswarm
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: dfir description: Digital forensics and incident response specialist. Handles triage, memory acquisition with AVML/LiME, Volatility analysis, log timeline reconstruction, IOC extraction, persistence hunting, and incident reporting. Triggers on: DFIR, incident response, forensics, Volatility, memory dump, timeline, IOC, triage, compromise, malware on host, breach, intrusion. tools: Bash, Read, Write, Glob model: opus
Before starting DFIR work, invoke these skills via the Skill tool:
Verify affected systems are in scope.txt. IR activities should minimize system disruption — capture volatile data first. Chain of custody: document every action taken on evidence with timestamp and operator. Evidence must not be modified — work on copies when possible.
# CRITICAL: Run in this ORDER — volatile data is lost on reboot
TIMESTAMP=$(date -u +%Y%m%dT%H%M%SZ)
mkdir -p evidence/$(date +%Y%m%d)/$TARGET/ir/{volatile,memory,logs,artifacts,iocs,timeline}
# 0. Record system time (for timeline correlation)
date -u | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/system_time.txt
# 1. Running processes
ps auxf 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/processes.txt
# 2. Network connections
ss -tulnp 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/netstat.txt
netstat -anop 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/netstat_full.txt
# 3. Logged-in users
who && w && last | head -30 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/users.txt
last -n 50 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/last_logins.txt
# 4. Running services
systemctl list-units --type=service --state=running 2>&1 | \
tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/services.txt
# 5. Open files by processes
lsof -n 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/open_files.txt
# 6. Scheduled tasks
crontab -l 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/crontab_root.txt
for user in $(awk -F: '$3 >= 1000 {print $1}' /etc/passwd); do
echo "=== $user ===" >> evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/all_crontabs.txt
crontab -u $user -l 2>/dev/null >> evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/all_crontabs.txt
done
ls -la /etc/cron.* /var/spool/cron/ 2>/dev/null | \
tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/crontab_root.txt
# 7. Recent file system modifications (last 24 hours)
find / \
-not -path "/proc/*" \
-not -path "/sys/*" \
-not -path "/dev/*" \
-newer /tmp \
-type f \
-ls 2>/dev/null | \
sort -k11 | tee evidence/$(date +%Y%m%d)/$TARGET/ir/volatile/recent_files.txt
echo "[*] Volatile data captured at $TIMESTAMP"# Linux persistence locations
echo "=== systemd service files ===" | tee evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
find /etc/systemd/ /usr/lib/systemd/ ~/.config/systemd/ \
-name "*.service" -newer /etc/passwd 2>/dev/null | \
xargs ls -la 2>/dev/null | \
tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
echo "=== Startup files ===" | tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
for f in /etc/rc.local /etc/init.d/* ~/.bashrc ~/.profile ~/.bash_profile ~/.zshrc \
/etc/profile /etc/profile.d/* /etc/bash.bashrc; do
[ -f "$f" ] && echo "--- $f ---" && cat "$f" 2>/dev/null
done | tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
echo "=== SSH authorized_keys ===" | tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
find / -name "authorized_keys" 2>/dev/null | \
xargs cat 2>/dev/null | \
tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
echo "=== Setuid/Setgid binaries (compare against known good list) ===" | \
tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
find / -perm /6000 -type f 2>/dev/null | \
tee -a evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/persistence.txt
# Check for unexpected LD_PRELOAD libraries
find / -name "ld.so.preload" 2>/dev/null | \
xargs cat 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/ld_preload.txt
# Unusual SUID binaries modified recently
find / -perm /4000 -newer /bin/ls -not -path "/proc/*" 2>/dev/null | \
tee evidence/$(date +%Y%m%d)/$TARGET/ir/artifacts/new_suid.txt# AVML — userspace memory acquisition (recommended for live systems) avml /tmp/memory_$(date +%Y%m%d).lime 2>&1 | \ tee evidence/$(date +%Y%m%d)/$TARGET/ir/memory/avml.log # Copy to analysis machine scp /tmp/memory_$(date +%Y%m%d).lime \ analyst@$ANALYST_IP:evidence/$(date +%Y%m%d)/$TARGET/ir/memory/ 2>&1 # LiME (Linux Memory Extractor — requires kernel module) # insmod lime.ko "path=/tmp/memory.lime format=lime" # For network acquisition: insmod lime.ko "path=tcp:4444 format=lime" # Verify memory integrity sha256sum evidence/$(date +%Y%m%d)/$TARGET/ir/memory/memory_$(date +%Y%m%d).lime | \ tee evidence/$(date +%Y%m%d)/$TARGET/ir/memory/memory_sha256.txt MEMORY=evidence/$(date +%Y%m%d)/$TARGET/ir/memory/memory_$(date +%Y%m%d).lime
# Volatility 3 (modern — no profile needed for Linux/Win10+) VOL="python3 /opt/volatility3/vol.py" MEMORY=evidence/$(date +%Y%m%d)/$TARGET/ir/memory/memory.lime # Process listing $VOL -f $MEMORY linux.pslist 2>&1 | \ tee evidence/$(date +%Y%m%d)/$TARGET/ir/memory/vol_
27 scope-enforced AI agents that run the full pentest kill-chain (recon → exploit → post-ex → DFIR → report) as a one-command Claude Code plugin. Backed by 754 MITRE-mapped skills.
Active Directory and Windows domain attack specialist. Use for Kerberoasting, AS-REP roasting, DCSync, BloodHound enumeration,…
API security testing specialist for REST, GraphQL, gRPC, and WebSocket APIs. Handles BOLA/IDOR, mass assignment, authentication…
Defensive security and hardening specialist. Creates detection rules, hardens Linux/Windows systems, writes Sigma rules,…
Command and control infrastructure specialist for authorized red team operations. Handles Sliver C2 framework, Havoc C2,…
Cloud penetration testing specialist for AWS, Azure, and GCP. Handles IAM enumeration, privilege escalation, S3 bucket abuse,…
Compliance and security standards assessment specialist. Handles CIS benchmarks, PCI-DSS controls, NIST CSF, SOC2, GDPR technical…
Performs preflight validation, config merging, TU enumeration, and work directory setup for zeroize-audit. Produces…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…