| name | post-exploitation |
| description | Post-exploitation techniques — lateral movement, privilege escalation, Active Directory attacks, credential harvesting, persistence, and data exfiltration. Use when shell access or valid credentials are already obtained on the target. |
| license | MIT |
| compatibility | Requires filesystem-based agent with bash, Python 3, and post-exploitation tools (Impacket, BloodHound, Mimikatz). |
| allowed-tools | Bash Read Write Edit Glob Grep |
| metadata | {"user-invocable":"true","argument-hint":"<phase or target-OS>"} |
Post-Exploitation
Situational Awareness
uname -a && cat /etc/os-release 2>/dev/null
[ -d /etc/krb5.conf ] && cat /etc/krb5.conf
ip a && ip route && arp -a
id && sudo -l 2>/dev/null
cat /etc/passwd | grep -E '/bin/(bash|sh)'
Document Map
| Phase | Document |
|---|
| PsExec, WMI, WinRM, RDP, pass-the-hash/ticket, DCOM, SSH forwarding | Lateral Movement |
| Linux sudo/SUID/cron/kernel, Windows Potato/UAC/services/DLL hijack | Privilege Escalation |
| BloodHound, kerberoasting, DCSync, golden/silver ticket, ADCS, GPO abuse | Active Directory |
Quick Linux Privesc
find / -perm -4000 -type f 2>/dev/null
sudo -l
find /etc/cron* -writable -type f 2>/dev/null
getcap -r / 2>/dev/null
ss -tlnp
Quick Windows Privesc
whoami /priv
whoami /groups
sc query state= all | findstr "SERVICE_NAME"
icacls "C:\Program Files\*" | findstr "(F)"
schtasks /query /fo LIST /v
reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated