Skip to content

Latest commit

 

History

History
70 lines (61 loc) · 9.85 KB

organization-agent.md

File metadata and controls

70 lines (61 loc) · 9.85 KB

HackTricks organization guide

Principles

  • One home per mechanism; link from prerequisite-specific entry points; split by task, not size.
  • Main owns general techniques; Cloud owns provider/IAM; use public URLs.
  • Removed chapters need whole-page redirects and content/link preservation.

Canonical locations and boundaries

  • Board/fault/side-channel/signal → Hardware; firmware/radio separate.
  • Rlogin/Rsh trusted-host → src/network-services-pentesting/pentesting-rlogin.md; Rexec separate.
  • SCMR execution (PsExec, WinExec, SMBExec, SCMExec, SharpMove) → src/windows-hardening/lateral-movement/psexec-and-winexec.md; scheduler/DCOM/WMI/WinRM/RDP separate.
  • POSIX CPU timer TOCTOU/ptrace → src/binary-exploitation/linux-kernel-exploitation/posix-cpu-timers-toctou-cve-2025-38352.md; Linux links to Binary.
  • AI model serving → src/AI/AI-Model-Tools-and-Platforms.md; Burp tools → src/pentesting-web/burp-suite.md, not IDOR.
  • WebRTC media-server DTLS/ICE race DoS → src/network-services-pentesting/webrtc-media-server-dtls-race-dos.md; TURN relay distinct.
  • OT safety → src/industrial-control-systems/README.md; Modbus → src/network-services-pentesting/pentesting-modbus.md; OPC UA/BACnet in Network.
  • Android acquisition/imaging/LiME → src/generic-methodologies-and-resources/basic-forensic-methodology/android-forensics.md; Mobile owns app testing; malware separate.
  • Firmware acquisition/decryption/updates/boot → src/hardware-physical-access/firmware-analysis/README.md; XFlash Carbonara and Synology PAT/SPK stay.
  • Referer leakage and Referrer-Policy → src/pentesting-web/referer-header-and-referrer-policy.md; OAuth links there. Exfiltration overview maps other routes.
  • UTF-16 script and ICO image-width sniffing → src/pentesting-web/xs-search/README.md#content-sniffing-leaks-utf-16-scripts-and-ico-image-widths; XSSI, HTTP headers and exfiltration pages link there. Old Sniff Leak URL redirects; both citations remain.
  • XSS exfiltration script → src/pentesting-web/xss-cross-site-scripting/xss-information-exfiltration-payload.md.
  • Blockchain → top-level Blockchain; Bitcoin P2P stays in Network, DApp tests in Web, cryptocurrency privacy in Privacy.
  • Electron renderer/IPC → src/desktop-application-security/electron-desktop-apps/README.md and siblings; updater and local ASAR/snapshot have separate siblings. OS-local injection stays in OS chapters; 80/443 is a client pivot.
  • VM guest surfaces → src/binary-exploitation/vm-escape-and-hypervisor-exploitation.md, linking QEMU/KVM, VirtualBox and VMware chapters. Slirp allocator stays in libc-heap/ but appears with guest-to-host cases in SUMMARY.
  • SOAP/REST API methodology → src/pentesting-web/web-api-pentesting.md; GraphQL endpoint/security testing → src/pentesting-web/graphql.md beneath it in SUMMARY. 80/443 links to both; Cloud keeps provider APIs.
  • Firebase RTDB rules/REST → src/pentesting-web/firebase-realtime-database.md under Web APIs; buckets stay Cloud; legacy URLs redirect.
  • Go net/http ServeMux CONNECT path canonicalization → src/pentesting-web/403-and-401-bypasses.md#go-nethttp-servemux-connect-path-canonicalization; 80/443 and TiDB link there. This is a method/path authorization mismatch, not a Go product guide.
  • RDPexec → src/network-services-pentesting/pentesting-rdp.md#remote-command-execution-with-an-authenticated-rdp-session; Windows Lateral Movement links directly there, avoiding a procedure-free stub.
  • Python venv and wheel builds → src/generic-methodologies-and-resources/python/basic-python.md#virtual-environments-and-wheel-builds-venv; the Python hub links to this heading, not a thin setup page.
  • 401/403 authorization bypasses → src/pentesting-web/403-and-401-bypasses.md; broader request/response behavior → src/pentesting-web/special-http-headers.md. The 80/443 service overview links to both and retains product discovery; old routes redirect.
  • PHP temp-upload LFI race/crash variant → src/pentesting-web/file-inclusion/lfi2rce-via-temp-file-uploads.md#segmentation-fault-variant-on-php-70-and-72; phpinfo, session progress and filters stay distinct.
  • Chosen-input MD5 suffix/0e search → src/crypto/hashes/README.md#chosen-input-md5-hash-searches; PHP type-juggling/version caveats → network-services-pentesting/pentesting-web/php-tricks-esp/README.md#loose-comparisons-and-type-juggling. Distinct, cross-linked.
  • AI fuzzing/PoV/patching → src/AI/AI-Assisted-Fuzzing-and-Vulnerability-Discovery.md; source/mobile/kernel review → src/AI/AI-Assisted-Source-Review-and-Vulnerability-Validation.md.
  • WSGI/uWSGI, Zabbix, CCTV → Network 80/443; Web/SSRF links to WSGI.
  • Python expression-evaluation probe → src/generic-methodologies-and-resources/python/bypass-python-sandboxes/README.md#python-expression-evaluation-probe; web entry links directly there.
  • Remote MCP testing → src/AI/AI-MCP-Servers.md#remote-mcp-server-testing-workflow; local CLI delivery → src/generic-methodologies-and-resources/phishing-methodology/ai-agent-abuse-local-ai-cli-tools-and-mcp.md.
  • eSIM/eUICC, Java Card and OTA/APDU → src/mobile-pentesting/esim-javacard-exploitation.md; modem/IMS stays in android-app-pentesting/baseband-and-soc-isolation-exploitation.md.
  • Android rooting-framework manager auth bypass (KernelSU/Magisk; rooted app foothold) → src/mobile-pentesting/android-app-pentesting/android-rooting-frameworks-manager-auth-bypass-syscall-hook.md; Linux privesc links directly, kernel exploits remain Binary.
  • vManage local ConfD/REST/import → src/network-services-pentesting/cisco-sd-wan-manager-local-privilege-escalation.md; UDP/12346 separate.
  • macOS AppleDouble/ACL quarantine PoC → src/macos-hardening/macos-security-and-privilege-escalation/macos-security-protections/macos-fs-tricks/macos-appledouble-acl-quarantine-bypass.md; FS Tricks and Gatekeeper link there, while Gatekeeper keeps distinct CVE/application variants.
  • macOS interpreter startup (PHP, Lua, Julia, Octave, R, Ruby, Erlang/Elixir) → src/macos-hardening/macos-security-and-privilege-escalation/macos-proces-abuse/macos-interpreter-startup-file-injection.md; runtime prerequisites stay under headings, distinct from shell/Python/PowerShell.
  • MIFARE Classic balance tampering → src/hardware-physical-access/radio-hacking/pentesting-rfid.md#mifare-classic-offline-stored-value-tampering-broken-crypto1; Proxmark remains tool reference.
  • PostgreSQL lo_import/dblink_connect exfiltration → src/pentesting-web/sql-injection/postgresql-injection/README.md; other dblink tasks remain separate.
  • Legacy PHP safe_mode Windows command-path, fopen, Linux proc_open → src/network-services-pentesting/pentesting-web/php-tricks-esp/php-useful-functions-disable_functions-open_basedir-bypass/legacy-php-safe-mode-bypasses.md; Perl extension stays separate.
  • PHP pcntl_exec → src/network-services-pentesting/pentesting-web/php-tricks-esp/php-useful-functions-disable_functions-open_basedir-bypass/README.md#pcntl_exec-command-execution-with-disabled-functions; Apache mod_cgi stays separate.
  • Recursive CSS @import stays with CSS injection; LESS compilation is distinct.
  • PHAR metadata object injection → src/pentesting-web/deserialization/phar-deserialization.md; File Inclusion keeps its distinct PHAR code-include example and links to the deserialization PoC. Old chapter URL redirects.
  • Format-string arbitrary-write FmtStr template → src/binary-exploitation/format-strings/README.md#pwntools-template; arbitrary-read examples stay separate. Old URL redirects.
  • Rails _json body-parameter collision → src/pentesting-web/parameter-pollution.md#ruby-on-rails-_json-parameter-pollution, not deserialization; context links directly. Keep version caveat and JSON example.
  • Adobe Reader PDF-upload XXE/SOP → src/pentesting-web/file-upload/README.md#pdf-upload-adobe-reader-xxe-and-same-origin-policy-bypass; Web XXE links there.
  • FTP bounce scan → src/network-services-pentesting/pentesting-ftp/ftp-bounce-attack.md; relay/retrieval → src/network-services-pentesting/pentesting-ftp/ftp-bounce-protocol-relay.md. Distinct tasks.
  • Office VBA junk/UserForms → src/generic-methodologies-and-resources/basic-forensic-methodology/specific-software-file-type-tricks/office-file-analysis.md#vba-macro-analysis-junk-code-and-userforms; Revit RFA OLE/ECC → Binary (separate parser task).
  • AD CS overview, enrollment enumeration, PKINIT/Schannel mapping and hardening → src/windows-hardening/active-directory-methodology/ad-certificates.md; ESC exploitation/theft/persistence stay in ad-certificates/ siblings. Duplicate overview URL redirects.
  • Cross-surface tools → src/generic-methodologies-and-resources/third-party-tools-and-resources.md; task pages link there.
  • SQLMap request/detection/flags/--eval/tamper → src/pentesting-web/sql-injection/sqlmap.md; delayed stored-payload workflow → sqlmap/second-order-injection-sqlmap.md. Keep one tool cheatsheet; old nested index redirects.

Researcher lookup terms

  • JSP getContextPath() resource-URL manipulation/XSS → src/pentesting-web/xss-cross-site-scripting/README.md#jsp-context-path-resource-url-manipulation; 80/443 and Tomcat link there. Attribute-context XSS, not a JSP platform guide.

  • Cookie-bomb → Cookies; onerror oracle → XS-Leaks.

  • Same-site leaks (SS-Leaks) → src/pentesting-web/dangling-markup-html-scriptless-injection/README.md#same-site-leaks-ss-leaks, not XS-Leaks; old URL redirects.

  • nosniff/ICO width → XS-Leaks; cross-origin script inclusion → XSSI; in-origin script injection → XSS.

Deferred

  • Audit mixed network-services-pentesting/pentesting-web/ only with clear task homes.
  • Blockchain/Privacy cryptocurrency need a union audit.
  • Windows Security Controls duplicates across authentication-credentials-uac-and-efs.md and its README.md; unique AppLocker/EFS/gMSA/LAPS/CLM require full section/citation union first.