--- title: "HTB Attack Flow Playbook" description: "Pentest attack-flow reference for htb attack flow playbook in an authorised engagement." category: pentest-workflow subcategory: "Pentest Attack Flow" order: 18 tags: ["methodology", "attack-flow", "kill-chain", "htb", "enumeration", "activedirectory", "adcs", "privilege-escalation", "pivoting", "pentest-workflow"] tools: ["rustscan", "nmap", "ffuf", "netexec", "enum4linux-ng", "ldapsearch", "bloodhound-ce-python", "bloodyAD", "certipy", "impacket", "rubeus", "hashcat", "evil-winrm", "mimikatz", "ligolo-ng"] difficulty: intermediate updated: "2026-08-27" source: "vault:Pentest Attack Flow/HTB-Attack-Flow-Playbook.md" --- # HTB Attack Flow Playbook > [!abstract] About this guide > The complete workflow now lives in 17 focused notes: **passive recon → host discovery → web and service enumeration → foothold → AD and Kerberos → ACL and ADCS abuse → credentials → privilege escalation → lateral movement and pivoting → reporting**. This file remains the stable entry point so its aliases and inbound links continue to work. > [!dashboard] Open the workspace > [Open the HTB Pentest Attack Flow dashboard](/sheets/pentest-workflow/attack-flow-dashboard) > > The dashboard tracks all 17 notes without sharing the folder’s name, avoiding Make.md’s folder-note collision. > [!warning] Authorized targets only > Use this playbook only on systems and networks where you have explicit permission. Keep scope, evidence, timestamps, credentials, target changes, and rollback actions documented throughout the engagement. ## Engagement Setup > [!note] Set these once > The stage notes use these variables to keep commands readable. Replace every placeholder and confirm the active target before running anything. ```bash export IP="10.10.11.x" export TARGET="$IP" export DOMAIN="domain.htb" export DC="dc01.$DOMAIN" export LHOST="$(ip -br address show tun0 | awk '{print $3}' | cut -d/ -f1)" export U="user" export P="password" ``` ```bash printf '%s\t%s %s %s\n' \ "$IP" "$DOMAIN" "$DC" "${DC%%.*}" | sudo tee -a /etc/hosts ``` > [!tip] Kerberos clock skew > If authentication returns `KRB_AP_ERR_SKEW`, compare your clock with the domain controller before changing tactics. See faketime-cheatsheet for the lab workflow. ## Kill Chain
Engagement kill chainTD
0. PASSIVE RECONcrt.sh · Shodan · dorks · git SETUPhosts · realm · clock 1. RECONRustScan → Nmap Attack surface? 2. WEBffuf · Burp · app testing 3. SERVICESNetExec · enum4linux-ng 4. AD ENUMLDAP · BloodHound FOOTHOLD TOOLKITStransfer · payload · shell 5. KERBEROSroast · AS-REP · tickets Foothold or credentials 6. ACL ABUSEBloodHound edges 8. CREDENTIALShunt · spray · crack 7. ADCSCertipy 9. PRIVESCLinux / Windows 10. LATERAL / PIVOT / LOOT Domain Admin TRUSTSdomain · forest 11. REPORTevidence · findings · retest 80/443 445/139 · 135 389/88
> [!tip] How to use the flow > Treat each stage as a question, not a mandatory sequence. New credentials, routes, hostnames, or privileges should send you back to the lowest-noise relevant enumeration stage. On an HTB box you may begin at Stage 01; a real engagement or CPTS-style assessment usually begins at Stage 00 and ends only after Stage 11. ## Linked Table of Contents | # | Note | Use it when | |---:|---|---| | 00 | [Attack Flow Dashboard](/sheets/pentest-workflow/attack-flow-dashboard) | You want the workspace, progress view, or start page. | | 01 | [Stage 00 — Passive External Recon](/sheets/pentest-workflow/passive-external-recon) | You need external assets, identities, DNS, or leaked-source clues. | | 02 | [Stage 01 — Recon and Host Discovery](/sheets/pentest-workflow/recon-and-host-discovery) | You need live hosts, ports, services, names, and priorities. | | 03 | [Stage 02 — Web Enumeration and Exploitation](/sheets/pentest-workflow/web-enumeration-and-exploitation) | HTTP or HTTPS is part of the attack surface. | | 04 | [Foothold Toolkit — File Transfers](/sheets/pentest-workflow/foothold-file-transfers) | You need to move tools, payloads, or evidence. | | 05 | [Foothold Toolkit — Shells, Payloads, and Metasploit](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) | You need to establish or stabilize a foothold. | | 06 | [Stage 03 — Service Enumeration](/sheets/pentest-workflow/service-enumeration) | SMB, RPC, LDAP, DNS, databases, or another exposed service needs depth. | | 07 | [Stage 04 — Active Directory Enumeration](/sheets/pentest-workflow/active-directory-enumeration) | You have domain context or credentials and need the privilege graph. | | 08 | [Stage 05 — Kerberos Attacks](/sheets/pentest-workflow/kerberos-attacks) | Kerberos configuration or tickets expose an attack path. | | 09 | [Stage 06 — ACL and Object Abuse](/sheets/pentest-workflow/acl-and-object-abuse) | BloodHound or LDAP shows delegated object rights. | | 10 | [Stage 07 — ADCS and Certificate Abuse](/sheets/pentest-workflow/adcs-and-certificate-abuse) | A certificate authority or enrollment service is present. | | 11 | [Stage 08 — Password Attacks and Credential Hunting](/sheets/pentest-workflow/password-attacks-and-credential-hunting) | You need to locate, validate, spray, or crack credential material. | | 12 | [Stage 09 — Privilege Escalation](/sheets/pentest-workflow/privilege-escalation) | A Linux or Windows foothold needs local escalation. | | 13 | [Stage 10 — Lateral Movement, Pivoting, and Loot](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) | You need remote execution, routes, tunnels, packet capture, or evidence collection. | | 14 | [Domain Trusts and Cross-Forest](/sheets/pentest-workflow/domain-trusts-and-cross-forest) | The attack graph crosses a domain or forest boundary. | | 15 | [Stage 11 — Documentation and Reporting](/sheets/pentest-workflow/documentation-and-reporting) | You need logs, evidence, findings, cleanup, or retest structure. | | 16 | [Appendix — Worked Chains](/sheets/pentest-workflow/worked-chains) | You want compact end-to-end examples. | | 17 | [Tool Index](/sheets/pentest-workflow/tool-index) | You know the tool and need its place in the workflow. | ## Companion Notes - [Attack-Flow-Guide](/sheets/pentest-workflow/attack-flow-guide) — phased decision trees. - [Most-Used-Commands](/sheets/pentest-workflow/most-used-commands) — compact raw syntax. - AD_Pentest_Tools_Cheat_Sheet — Active Directory tooling index. - Nmap Cheatsheet 2026 — scan design and Nmap reference. - Credential Hunting — focused credential-discovery workflow. - Attacking Enterprise Networks — the whole playbook run end to end against INLANEFREIGHT. --- > [!navigation] Begin > **Dashboard:** [HTB Pentest Attack Flow](/sheets/pentest-workflow/attack-flow-dashboard) > > **Next:** [Stage 00 — Passive External Recon](/sheets/pentest-workflow/passive-external-recon)