Navigation
  • Follow with RSS
  • Breadcrumb

    Lab Field Manual menu

    Lab Field Manual

    Worked examples from the OSCP-like HTB list, organised as a field manual rather than a walkthrough collection. The commands, patterns and methodology are generic pentesting material β€” OSCP is one application of them, not the frame.

    The five layers

    LayerUse it when…Page
    MethodologyYou need the order of operations, a decision gate, or the reporting structurePentesting Methodology
    Command checklistYou know what to do and need the exact command with placeholdersCommand Checklist
    Pattern libraryYou need to recognise a situation and choose a techniquePattern Library
    Machine indexYou want to revise, tick off rooted boxes, or pick a box by techniqueMachine Index
    Machine pagesYou are stuck on a specific box and want the non-obvious stepLinux Β· Windows Β· Active Directory

    How to use this section

    1. New target / new engagement: start with Methodology Phase 0–2, run the pre-flight, and keep the command checklist open.
    2. Stuck mid-box: skim the pattern library phase for your situation (foothold, privesc, AD), then open the matching machine entry.
    3. Revising: use the machine index β€” read the row, explain the path aloud, then check the machine page.
    4. After rooting: add the technique to your notes and update the machine’s Done tick. If you found a new edge case, add it to the machine page under the same structure (Path / Edge cases / Commands / Notes).

    Machine pages at a glance

    PageScopeMachines
    LinuxStandalone Linux boxes39
    WindowsStandalone Windows boxes18
    Active DirectoryAD sets, assumed-breach chains, plus 3 non-AD boxes16 (+3)
    Machine IndexOne-line path + tool/CVE for every box, with study tracks76

    Recurring reflexes

    • Full port scan + UDP before service enumeration β€” footholds hide on 4555, 61616, 22022, 1337, 8765 and 161/udp.
    • Vhosts before directories β€” the IP root is often a decoy; a 403 is a finding.
    • Credential reuse across every service, including DB passwords, configs, .git history and mail.
    • Privilege escalation order: sudo -l β†’ SUID/capabilities β†’ cron/timers β†’ groups β†’ credentials β†’ kernel.
    • Windows: whoami /priv β†’ service ACLs β†’ stored creds β†’ token abuse β†’ LSASS/SAM/NTDS β†’ kernel.
    • AD: any account β†’ BloodHound β†’ Kerberos roast/ACL β†’ delegation/ADCS β†’ DCSync; sync the clock first.
    • Stage payloads when the target is Java/Groovy/PHP-FPM β€” pipes and quotes get mangled.
    • Record the failed path and why; that is what stops you repeating it under time pressure.

    Sources and accuracy

    Each machine entry ends with the writeup(s) used. Research was cross-checked against public writeups (0xdf, Ippsec, HackTricks, HTB official) and local tool versions where possible. Items that could not be verified are marked (unverified). If a box is retired, patched, or you find a better path, update the entry.

    The machine list itself is maintained by Lainkusanagi; these pages annotate the HTB portion for study and general practice.

    Pages