Module 10 // capability map

Choose by question.

The toolbox is a task map, not a command dump. Start with the smallest tool that answers the current question, preserve its output, and expand only when the evidence calls for it.

discoverywebidentitydebugevidence
Authorized labs only. Tool availability never grants scope. Verify the target and route before active use, read each tool’s help, and keep rates and techniques proportionate to the assigned exercise.

Start with the workstation

pe doctor is the authoritative quick check for the workspace, key lab tools, tunnel, wordlists, architecture helpers and private storage. A missing optional tool is a capability gap, not necessarily a broken environment.

pe doctor
pe status
command -v pe htb-session tmux nmap ffuf nxc openvpn
printf '%s\n' "$PE_WORKROOT" "$PE_WORDLIST_ROOT"
Identity before installation: use type -a and a version command before adding software. Many similarly named utilities exist, especially httpx.

Workspace and shell

ToolUse it forFind or verify
peEncrypted, target-scoped flags, credentials, hosts, ports, notes, VPN profiles and backups.pe help · pe doctor
htb-sessionCreate or reattach the deterministic recon/shell/notes tmux cockpit.command -v htb-session
tmuxKeep lab processes visible and separated without writing session restoration data.tmux -V
fzfInteractive target, credential, flag and cheatsheet selection.fzf --version
rgSearch scan output, notes and source trees quickly.rg --version
jqFilter JSON output from web and API tooling.jq --version
bat, eza, fdReadable files, directory context and fast file discovery. Debian aliases may map batcat/fdfind.type -a bat eza fd

Network and service discovery

QuestionStart withRecord
Which TCP/UDP services answer?scan, fullscan, udpquick, then focused nmap.Nmap -oA sets under nmap/.
What does an HTTP service return?curl headers/body before broader enumeration.Headers, body, URL and hostname under web/.
Which name or realm is authoritative?dig, host, dnsrecon where present.Confirmed names and DNS server in pe host.
What certificate or TLS behavior is exposed?openssl s_client with the correct SNI name.Certificate subject, SANs, issuer and protocol observations.
What speaks on an unknown TCP port?ncat/nc or a focused Nmap version probe.Raw banner plus exact port and transport.

The shell helpers enforce a lab VPN route. Raw tools do not, so run pe vpn route "$IP" before using them directly.

Web surface

ffuf

Controlled content, parameter and virtual-host discovery with explicit wordlists and machine-readable JSON output.

feroxbuster

Recursive content discovery after the baseline and false-positive pattern are understood.

ProjectDiscovery httpx

Probe lists of URLs for status, titles and technologies. Verify that the Go binary—not an unrelated Python command—wins in PATH.

nuclei

Template-driven leads that require template review and manual confirmation.

whatweb

Low-intensity fingerprinting for a single known web endpoint.

Burp Suite

Manual interception, request comparison and replay in a dedicated lab browser profile, when installed.

type -a httpx
httpx -version
ffuf -V
feroxbuster --version
nuclei -version

See the web workflow for sequencing, evidence and rate guidance.

Windows and identity

Tool familyBest questionSensitive output
smbclientWhat shares are visible, and what can the supplied identity access?File names and downloaded artifacts.
nxc / netexecHow does one scoped credential behave across an explicitly permitted service set?Databases, logs, screenshots and credential material.
ImpacketWhich protocol-specific behavior needs a focused Python implementation?Hashes, tickets, secrets and remote-execution output.
ldapsearchWhich directory objects and attributes answer a narrow filter?Identity and group topology.
certipyWhat AD CS authorities, templates and enrollment conditions exist?Keys, certificates and account relationships.
BloodHound collectors/UIWhich relationships form a path that should be manually validated?Domain-wide JSON/ZIP graph data.
evil-winrm / SSHCan an already validated credential use an exposed remote-management service?Command history and transferred files.

Names, DNS and clock come before Kerberos. See AD + Windows for a safe sequence. Start secret-bearing commands with a literal space and keep generated artifacts private.

Binary, exploit and architecture tools

file + strings

Establish format, architecture, linkage and obvious embedded context before launching a binary.

gdb

Native debugging for challenge binaries. Use gdb-multiarch when the target architecture differs.

qemu-x86_64

User-mode execution for an x86-64 challenge binary on ARM64. It is a compatibility aid, not a replacement for a matching lab environment.

msfconsole

A framework for modules that match the authorized objective. Read module options and side effects before use.

uname -m
file ./challenge
command -v gdb gdb-multiarch qemu-x86_64
gdb --version

Prefer native packages on ARM64. Use emulation only for the challenge artifact that requires it, and verify architecture with file first.

Traffic and tunnels

ToolRoleGuardrail
openvpnForeground HTB lab tunnel managed through pe vpn.Use one local VPN/Pwnbox path at a time.
tsharkRepeatable CLI capture and protocol filters.Capture only the authorized interface and protect PCAP files.
WiresharkInteractive packet inspection when installed.Display filters do not reduce what was captured.
tcpdumpSmall targeted captures where available.Set interface, host/port filter and output file explicitly.
pe vpn status
ip -br address
tshark -D
pe vpn route "$IP"

Desktop applications

ApplicationOpen itPurpose
HTB WorkspaceGNOME app search or gtk-launch htb-workspaceLaunch the active target’s tmux cockpit.
AlacrittySuper+Enter or alacrittyRose Pine terminal for the managed Zsh/tmux workflow.
WiresharkGNOME app search or wireshark, when installedInteractive PCAP analysis.
Burp SuiteGNOME app search or burpsuite, when installedLab-only browser proxy and request replay.
BloodHoundUse the installed local client/CE workflowImport and analyze private relationship data.

If an application is absent, confirm whether it is part of the selected Voidwalker install profile before installing another copy.

Discover what is installed

# every matching command and alias/function
type -a httpx nxc netexec bat fd

# isolated Python applications
pipx list

# Go tool location
go env GOPATH GOBIN
for tool in "$HOME/go/bin"/*; do
  [ -f "$tool" ] && basename "$tool"
done

# Debian/Ubuntu package ownership
dpkg-query -S "$(command -v tmux)"
dpkg-query -W tmux openvpn ripgrep 2>/dev/null
  • Use command -v NAME for the executable selected by the current shell.
  • Use type -a NAME to reveal aliases, functions and every path candidate.
  • After installing a command, run rehash in Zsh or open a fresh terminal before concluding it is missing.
  • Prefer one managed copy. Competing apt, pipx and Go installations make versions and updates ambiguous.
  • Record a tool version with evidence when behavior depends on flags, templates or protocol support.

Make output useful

  1. Name the question

    Choose one tool and the least intrusive options that can answer it.

  2. Choose a durable format

    Prefer Nmap XML/normal sets, FFUF JSON, PCAP or plain text over terminal screenshots alone.

  3. Protect artifacts

    Use private directories and umask 077 for output that may contain credentials or topology.

  4. Write interpretation

    Attach concise conclusions to the active target with pe note; preserve raw output separately.

pe note add -t "tool result" -b "Tool, version, command, result and next check"
pe backup