<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1"><metaname="color-scheme"content="light"><metaname="theme-color"content="#faf4ed"><metaname="description"content="End-to-end Hack The Box lab workflow."><title>Voidwalker Field Manual // HTB workflow</title><linkrel="stylesheet"href="assets/style.css?v=2"><scriptsrc="assets/app.js?v=2"defer></script></head>
<body><aclass="skip-link"href="#content">Skip to content</a>
<headerclass="site-header"><divclass="header-inner"><aclass="brand"href="index.html"><spanclass="brand-mark"aria-hidden="true">V</span><span>Voidwalker<small>offline field manual</small></span></a><buttonclass="nav-toggle"type="button"aria-expanded="false"aria-controls="site-nav">menu</button><navclass="site-nav"id="site-nav"aria-label="Handbook"><ahref="index.html">Setup</a><ahref="tmux.html">tmux</a><ahref="pe.html">pe</a><ahref="htb-workflow.html">HTB</a><ahref="zsh-terminal.html">Shell</a><ahref="recon.html">Recon</a><ahref="web.html">Web</a><ahref="ad-windows.html">AD</a><ahref="privesc.html">PrivEsc</a><ahref="transfer.html">Transfer</a><ahref="toolbox.html">Tools</a></nav></div></header>
<divclass="page-shell"><mainid="content"><sectionclass="hero"><pclass="eyebrow">Module 03 // lab runbook</p><h1>HTB <spanclass="accent">runbook.</span></h1><pclass="lede">A repeatable path from health check and VPN connection to evidence capture, backup and clean disconnect.</p><divclass="hero-meta"><spanclass="tag">scope-first</span><spanclass="tag">route-aware</span><spanclass="tag">target-scoped</span><spanclass="tag">repeatable</span></div></section>
<divclass="notice"><div><strong>Authorized labs only.</strong> Confirm the scope, target and route before active testing. Examples use placeholders; replace them only with values from your permitted lab.</div></div>
<divclass="search-box"><labelfor="page-search">Filter this page</label><inputid="page-search"data-page-searchtype="search"placeholder="Type a tool, command or topic…"autocomplete="off"><spanclass="search-hint"><kbd>/</kbd> focus · <kbd>Esc</kbd> clear</span></div><pclass="filter-summary"data-filter-summaryaria-live="polite"></p>
<sectionid="preflight"data-search-itemdata-search="preflight doctor scope health tools"><h2>Preflight</h2><pre><code>pe doctor
pe vpn ls
pe status</code></pre><ulclass="checklist"><li>Read the HTB machine or lab scope and allowed techniques.</li><li>Confirm you are using either the local VPN or Pwnbox, never both simultaneously.</li><li>Check time, free disk space and the tool paths reported by <code>pe doctor</code>.</li></ul></section>
<sectionid="connect"data-search-itemdata-search="VPN import connect route tun openvpn"><h2>Connect and prove the route</h2><pre><code># one-time import
pe vpn import ~/Downloads/lab.ovpn lab
# foreground connection; keep this terminal open
pe vpn up lab
# from another terminal
pe vpn status
ip route get 10.10.10.10</code></pre><p>The route output should name a lab interface such as <code>tun0</code>. An interface existing does not prove that a particular target uses it.</p></section>
<sectionid="target"data-search-itemdata-search="target newbox active IP workspace useip"><h2>Register the target</h2><pre><code>newbox keeper 10.10.11.227 htb
useip
pe status
pe vpn route "$IP"</code></pre><p><code>newbox</code> adds and activates the target, creates a private directory, and changes into it. For an existing record use <code>pe target use keeper</code>. <code>useip</code> exports both <code>IP</code> and <code>RHOST</code>.</p></section>
<sectionid="workspace"data-search-itemdata-search="tmux htb-session directories recon shell notes"><h2>Launch the workspace</h2><pre><code>htb-session
# or
pe session keeper</code></pre><preclass="tree"><code>~/htb/keeper/
├── nmap/ # Nmap -oA sets
├── scans/ # other scanner output
├── web/ # web evidence
├── exploit/ # lab-only working files
├── loot/ # collected artifacts; keep private
└── notes/
└── notes.md</code></pre><p>The tmux session is <code>htb-keeper</code> with recon, shell and notes windows. Inside tmux, prefix + <kbd>P</kbd> returns to the active workspace; prefix + <kbd>V</kbd> opens a foreground VPN window.</p></section>
<sectionid="enumerate"data-search-itemdata-search="recon scan fullscan udpquick webenum nmap evidence"><h2>Enumerate in layers</h2><pre><code>scan
fullscan
udpquick
webenum 'http://10.10.11.227/FUZZ'</code></pre><p>These helpers write evidence beneath the target directory and refuse to scan unless the route traverses <code>tun</code>, <code>tap</code> or <code>wg</code>. Review results before moving from broad discovery to a service-specific page: <ahref="recon.html">recon</a>, <ahref="web.html">web</a>, or <ahref="ad-windows.html">AD/Windows</a>.</p></section>
<sectionid="record"data-search-itemdata-search="record notes hosts ports credentials flags findings"><h2>Record as you go</h2><pre><code>pe note add -t "initial surface" -b "22/ssh, 80/http"
pe host add --ip "$IP" --hostname keeper.htb --os linux
pe host port 1 80 --service http
pe cred add -u USER -s 'SECRET' -S ssh
pe flag add user FLAG_VALUE --notes "user.txt"</code></pre><p>The leading space before the credential command invokes Zsh history suppression. Verify IDs and active target before attaching evidence.</p></section>
<sectionid="close"data-search-itemdata-search="close cleanup backup disconnect clipboard history"><h2>Close cleanly</h2><olclass="step-list"><li><div><h3>Save findings</h3><p>Update <code>notes/notes.md</code>, add structured <code>pe</code> records, and hash important evidence.</p></div></li><li><div><h3>Back up</h3><pre><code>pe backup</code></pre></div></li><li><div><h3>End processes</h3><p>Stop listeners, servers and tunnels; press <kbd>Ctrl-C</kbd> in the OpenVPN window.</p></div></li><li><div><h3>Clear transient secrets</h3><p>Clear the desktop clipboard and close panes holding credentials. Tmux disk persistence is off, but live scrollback remains until the pane/server ends.</p></div></li></ol></section><pclass="empty-state"data-empty-statehidden>No entry matches. Press <kbd>Esc</kbd> to reset.</p><navclass="page-nav"aria-label="Adjacent pages"><ahref="pe.html">← pe command center</a><ahref="zsh-terminal.html">Zsh + terminal →</a></nav></main><asideclass="toc"aria-label="On this page"><strong>On this page</strong><ul><li><ahref="#preflight">Preflight</a></li><li><ahref="#connect">Connect</a></li><li><ahref="#target">Target</a></li><li><ahref="#workspace">Workspace</a></li><li><ahref="#enumerate">Enumerate</a></li><li><ahref="#record">Record</a></li><li><ahref="#close">Close</a></li></ul></aside></div><footerclass="site-footer"><strong>VOIDWALKER // HTB RUNBOOK</strong><br>Rose Pine Dawn · offline · authorized lab use</footer></body></html>