跳到正文
FunCoding

exploitation-phase

Exploitation phase — prove impact safely. Router to web-* skills plus network, credential and wireless exploitation. Use when the current phase is EXPLOITATION.

Star
1,278
分类
安全
许可证
MIT
最近提交
2026年11月30日

skills/phases/exploitation/SKILL.md

在 GitHub 上查看

Exploitation — Prove Impact, Don't Break Things

Golden rule: the goal is a DEMONSTRATED impact for the report, not maximum damage. Prefer the least destructive proof (file read > RCE > data exfil).

Web → load the matching web-* skill

SQLi (web-sqli), SSTI (web-ssti), SSRF (web-ssrf), LFI (web-lfi-traversal), upload RCE (web-upload-rce), XXE (web-xxe), auth bypass/IDOR (web-auth-bypass-idor), deserialization (web-deserialization). Router + payload index: playbook-webapp.

  • sqlmap --batch --level 3 --risk 2 only after a manual injection point is confirmed.
  • Public PoC for a known CVE: fetch, READ IT, adapt to the exact version — never blind-run exploit binaries.

Network

  • Capture: tcpdump -i eth0 -w cap.pcap 'host X' / Wireshark — creds in cleartext protocols (FTP, HTTP basic, SNMP) are findings on their own.
  • MITM/relay: ARP spoofing only on flat L2 segments with authorization; NTLM relay requires SMB signing disabled (checked in enumeration).
  • Responder + ntlmrelayx are the standard authorized chain: LLMNR/NBT-NS poison → relay to SMB/ADCS/LDAP.
  • Impacket suite covers the rest: GetNPUsers.py (AS-REP), GetUserSPNs.py (kerberoast), secretsdump.py, psexec.py/wmiexec.py (lateral).

Credential attacks — lockout-aware ALWAYS

# Spray: ONE password across MANY users, never the reverse
nxc smb DC -u users.txt -p 'Summer2024!' --continue-on-success
hydra -L users.txt -p 'CommonPass1!' target https-post-form '/login:user=^PASS^:F=invalid'
  • Respect lockout policy (enumerate it via netexec ... --pass-pol first). A locked-out user base = failed test.
  • Cracking offline: hashcat -m 1000 (NTLM), -m 18200 (AS-REP), -m 13100 (TGS), -m 22000 (WPA). John as fallback. Rockyou + rules; custom wordlist from client context (org name, products, local slang).

Wireless

  • Monitor-mode capture → aircrack-ng -w rockyou cap.cap (WPA2 handshake) or PMKID (hcxdumptool).
  • Evil twin / deauth = disruptive; ONLY with written authorization, never on client production SSIDs during business hours.

Exploitation hygiene

  • Verify scope (scope_check) before launching any exploit — payload callbacks to out-of-scope infra are a RoE breach.
  • One shell per host is enough; unstable public PoCs → prefer manual exploitation for reliability.
  • Log the exact command + timestamp as evidence at success time.
  • If a chain caused unexpected impact (crash, data corruption): STOP, note it, disclose in report. Never hide it.

相似的 Skill

agent-security-hardening

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

精选

ponytail-audit

审计整个代码库,找出 bug、安全漏洞和性能瓶颈,获得按重要性排序的通俗报告。

DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star

gstack

GAgarrytan/gstack143k近 7 天新增 524 个 star

精选

security-and-hardening

按 OWASP Top 10 检查输入处理、登录和依赖,加固代码。

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

doubt-driven-development

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

ruview-rvagent

RUruvnet/RuView106k近 7 天新增 596 个 star