Skip to content

About

πŸ›‘οΈ Hands-on hacking labs, CTF writeups & platform guides for beginners β€” covering TryHackMe, HackTheBox, PortSwigger, PicoCTF, VulnHub & more. | hackproofhacks.com

Resources

Stars

63 stars

Watchers

2 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

πŸ›‘οΈ Hacking Labs β€” by @th3hash

A curated collection of hands-on hacking labs, writeups, and platform guides for beginners and intermediate security enthusiasts.

Website GitHub YouTube Instagram


πŸ‘‹ Welcome

Hey! I'm th3hash β€” a cybersecurity enthusiast sharing practical, beginner-friendly hacking labs, platform walkthroughs, and CTF writeups to help you build real skills in ethical hacking and penetration testing.

This repo covers everything from structured platforms like TryHackMe and HackTheBox to live CTF competitions β€” all in one place.

🌐 Visit my website for articles, writeups & more: hackproofhacks.com πŸ“Ί Watch video walkthroughs on YouTube @trickyhash


⚠️ Legal Disclaimer

All labs and techniques in this repository are strictly for educational purposes. Only practice on systems you own or have explicit written permission to test. Unauthorized hacking is illegal and can result in criminal charges. The author takes no responsibility for misuse of any content in this repo.


πŸ“š Table of Contents


πŸš€ Getting Started

If you're brand new to ethical hacking, here's where to start:

  1. Set up a safe lab environment β†’ see Setting Up Your Lab Environment
  2. Start with TryHackMe β†’ structured paths, browser-based, zero setup
  3. Try a beginner CTF β†’ PicoCTF or OverTheWire Bandit
  4. Move to HackTheBox β†’ once you're comfortable with the basics
  5. Watch walkthroughs on YouTube @trickyhash when you're stuck
  6. Read writeups & articles at hackproofhacks.com

🧰 Prerequisites

You don't need to be an expert, but these basics will help a lot:

Topic Why It Matters
Basic Linux commands Most tools & targets run on Linux
Networking fundamentals Understanding IPs, ports, protocols, DNS
How the web works HTTP, requests, responses, cookies, headers
Basic scripting (Python/Bash) Automating tasks, modifying exploits

New to Linux? β†’ Start with OverTheWire: Bandit β€” it's free and perfect for absolute beginners.


🧩 Platform Guides & Writeups

This repo contains notes, hints, and full writeups organized by platform. Each platform folder has its own README.md explaining how to get started there.


🟩 TryHackMe

Best for: Absolute beginners β€” guided, structured, browser-based

TryHackMe is the most beginner-friendly platform. You get guided "rooms" with tasks, hints, and a browser-based AttackBox so you don't even need to install anything.

πŸ“ Folder: tryhackme/

Room Difficulty Category Writeup
Pre-Security Path ⭐ Beginner Networking, Linux, Web basics View
Introduction to Cybersecurity ⭐ Beginner Concepts & careers View
Jr Penetration Tester Path ⭐⭐ Intermediate Full pentesting methodology View
Blue ⭐ Beginner EternalBlue, MS17-010 View
Ice ⭐ Beginner Windows exploitation, Icecast View
Pickle Rick ⭐ Beginner Web + Linux basics View
Mr Robot CTF ⭐⭐ Intermediate Web, Brute force, Privesc View
Advent of Cyber ⭐ Beginner Annual beginner event (December) View
RootMe ⭐ Beginner Web exploitation, Privesc View
Brooklyn Nine Nine ⭐ Beginner FTP, SSH, Privesc View

How to get started on TryHackMe:

  1. Sign up free at tryhackme.com
  2. Start with the Pre-Security learning path
  3. Use the browser-based AttackBox (no install needed) or connect via VPN
  4. Follow my video guides on YouTube @trickyhash

πŸŸ₯ HackTheBox

Best for: Intermediate to advanced β€” realistic, less guided, more rewarding

HackTheBox has realistic machines that mimic real-world pentesting. Less hand-holding than TryHackMe β€” you'll need to think for yourself.

πŸ“ Folder: hackthebox/

Machine OS Difficulty Category Writeup
Lame Linux ⭐ Easy SMB exploitation View
Legacy Windows ⭐ Easy MS08-067, MS17-010 View
Blue Windows ⭐ Easy EternalBlue View
Jerry Windows ⭐ Easy Tomcat default creds View
Bashed Linux ⭐ Easy Web shell, Privesc View
Nibbles Linux ⭐ Easy Web exploitation View
Beep Linux ⭐ Easy Elastix, LFI View
Shocker Linux ⭐ Easy Shellshock View
Valentine Linux ⭐ Easy Heartbleed View
Grandpa Windows ⭐ Easy WebDAV, IIS exploitation View

How to get started on HackTheBox:

  1. Sign up at hackthebox.com (free tier available)
  2. Download the VPN pack and connect: sudo openvpn your.ovpn
  3. Start with Easy rated retired machines (free with account)
  4. Check HackTheBox Academy for guided learning modules

πŸ’‘ Important: Writeups for active (non-retired) machines are against HackTheBox rules. All writeups in this repo are for retired machines only.


🏁 CTF Competitions

Best for: Applying skills, competing, learning fast under pressure

CTF (Capture The Flag) competitions are timed hacking events where you solve challenges to capture "flags" β€” secret strings that prove you pwned the target. They're one of the fastest ways to level up.

πŸ“ Folder: ctf/

What is a CTF?

CTFs usually have challenge categories like:

Category What You Do
Web XSS, SQLi, SSRF, deserialization exploits
Pwn Binary exploitation, buffer overflows
Crypto Breaking weak cryptography
Forensics Analyzing files, network captures, memory dumps
Reverse Engineering Disassembling and understanding binaries
OSINT Finding information from public sources
Misc Steganography, programming, trivia

CTF Writeups in This Repo

CTF Event Year My Writeups Difficulty
PicoCTF 2024 View ⭐ Beginner
CTFLearn Challenges Ongoing View ⭐ Beginner
HackTheBox CTF 2024 View ⭐⭐ Intermediate
TryHackMe CTF Events Ongoing View ⭐ Beginner
NahamCon CTF 2024 View ⭐⭐ Intermediate
CyberApocalypse CTF 2024 View ⭐⭐ Intermediate

Where to Find Live CTFs

  • CTFtime.org β€” The definitive worldwide calendar of upcoming CTF events
  • PicoCTF β€” Always-on beginner CTF by Carnegie Mellon University
  • CTFLearn β€” Beginner-friendly individual challenges, no time pressure

πŸ•·οΈ PortSwigger Web Academy

Best for: Web application hacking β€” completely free, world-class content

PortSwigger Web Security Academy is arguably the best free web hacking resource ever made. Created by the makers of Burp Suite β€” it covers every major web vulnerability with interactive labs.

πŸ“ Folder: portswigger/

Topic Labs Writeup
SQL Injection 18 labs View
Cross-Site Scripting (XSS) 30 labs View
CSRF 12 labs View
SSRF 7 labs View
XXE Injection 9 labs View
Insecure Deserialization 10 labs View
Authentication Vulnerabilities 14 labs View
Access Control 13 labs View
File Upload Vulnerabilities 7 labs View
JWT Attacks 8 labs View
Business Logic Vulnerabilities 12 labs View
HTTP Request Smuggling 20 labs View

How to get started:

  1. Go to portswigger.net/web-security β€” 100% free, no credit card
  2. Download Burp Suite Community Edition
  3. Start with SQL Injection β†’ XSS β†’ Authentication

🐚 OverTheWire

Best for: Linux skills and command line mastery β€” free, no account needed

OverTheWire wargames teach Linux, networking, and exploitation through progressively harder SSH-based challenges. Perfect for total beginners to Linux.

πŸ“ Folder: overthewire/

Wargame Levels What You Learn Writeup
Bandit 34 levels Linux basics, file permissions, networking View
Natas 34 levels Web security basics (PHP, SQLi, LFI) View
Leviathan 8 levels Linux privilege escalation basics View
Krypton 7 levels Cryptography & classical ciphers View
Narnia 9 levels Binary exploitation introduction View
Behemoth 8 levels Intermediate binary exploitation View

How to play β€” no setup needed:

# Start Bandit Level 0 (the very beginning)
ssh bandit0@bandit.labs.overthewire.org -p 2220
# Password: bandit0

🟦 PicoCTF

Best for: Students and beginners β€” free, always available, well-explained

PicoCTF is run by Carnegie Mellon University. Challenges stay live year-round and are perfect for complete beginners with no prior experience.

πŸ“ Folder: picoctf/

Category What You Practice Writeup
General Skills Terminal basics, encoding, file tools View
Web Exploitation SQLi, XSS, cookies, path traversal View
Cryptography Caesar, Vigenère, RSA basics View
Forensics File analysis, steganography, PCAP View
Reverse Engineering Basic disassembly, Ghidra intro View
Binary Exploitation Buffer overflow basics View

πŸ“¦ VulnHub

Best for: Offline practice β€” download vulnerable VMs and hack them locally

VulnHub provides free downloadable vulnerable virtual machines you can hack completely offline, with no internet connection required after download.

πŸ“ Folder: vulnhub/

Machine Difficulty Topics Writeup
Mr-Robot: 1 ⭐⭐ Intermediate Web, WordPress, Privesc View
DC: 1 ⭐ Beginner Drupal, SUID exploitation View
Kioptrix Level 1 ⭐ Beginner Samba, Apache exploitation View
Basic Pentesting: 1 ⭐ Beginner FTP, SSH, Privilege escalation View
SickOs 1.1 ⭐⭐ Intermediate Proxy abuse, Shellshock View
FristiLeaks 1.3 ⭐⭐ Intermediate Web, Python-based Privesc View

How to use VulnHub:

  1. Download a VM from vulnhub.com
  2. Import into VirtualBox or VMware
  3. Set both your Kali VM and the target to Host-Only networking
  4. Scan for the target: sudo netdiscover or nmap -sn 192.168.56.0/24

πŸ’€ DVWA & Local Labs

Best for: Safe, repeatable, offline web practice on your own machine

These are intentionally vulnerable applications you run locally β€” great for learning specific techniques without worrying about rules or timeouts.

πŸ“ Folder: local-labs/

App What You Practice Setup Guide
DVWA (Damn Vulnerable Web App) SQLi, XSS, CSRF, File Upload, Command Injection View
bWAPP 100+ web vulnerability types View
OWASP WebGoat Interactive Java-based web lessons View
Metasploitable 2 Network & service exploitation View
Vulhub Docker-based real-world CVE labs View
HackMe Bank Banking application attacks View

Quick DVWA setup with Docker:

docker run -d -p 80:80 vulnerables/web-dvwa
# Open browser β†’ http://localhost
# Login: admin / password
# Click: Setup / Reset DB β†’ then start hacking

🌐 Root-Me

Best for: Huge variety of challenges β€” 500+ across all categories

Root-Me has over 500 challenges across web, network, cryptography, forensics, reverse engineering, and more. Great for steady, ongoing skill-building.

πŸ“ Folder: root-me/

Category Topics Writeup
Web - Client Side XSS, CSRF, CORS exploitation View
Web - Server Side SQLi, LFI, RFI, SSTI View
Network Packet capture analysis, protocols View
Cryptography Classical ciphers, RSA, hashing View
Forensics File carving, steganography View
App - Script Python, PHP, JS code analysis View

πŸ”΅ Blue Team Labs Online

Best for: Defensive security β€” detection, analysis, incident response

Not all security is about attacking. Blue Team Labs Online teaches the defensive side: log analysis, threat hunting, malware analysis, and incident response. Essential if you want to understand the full picture.

πŸ“ Folder: blueteam/

Lab Skill Writeup
The Report Log analysis & SIEM View
Phishing Analysis Email forensics View
Network Analysis - Ransomware Wireshark & PCAP analysis View
Malware Analysis - Strings Static malware analysis View
Disgruntled Insider threat hunting View

πŸ”¬ Custom Hacking Labs

Self-contained labs built and hosted in this repo. Each includes a Docker setup, clear objective, hints, and a solution folder.

πŸ“ Folder: custom-labs/

🌐 Web Application Labs

Lab Difficulty Topics Covered
web/01-sql-injection ⭐ Beginner SQLi basics, UNION attacks
web/02-xss ⭐ Beginner Reflected & Stored XSS
web/03-file-upload ⭐⭐ Intermediate Unrestricted upload, MIME bypass
web/04-idor ⭐ Beginner Insecure Direct Object Reference
web/05-command-injection ⭐⭐ Intermediate OS command injection, filter bypass
web/06-ssrf ⭐⭐ Intermediate Server-Side Request Forgery

πŸ–₯️ Network Labs

Lab Difficulty Topics Covered
network/01-nmap-basics ⭐ Beginner Port scanning, service detection
network/02-ftp-smb ⭐ Beginner Anonymous FTP, SMB enumeration
network/03-metasploit-intro ⭐⭐ Intermediate Metasploit framework basics
network/04-pivoting ⭐⭐⭐ Advanced Tunneling, internal network access

🐚 Linux Privilege Escalation

Lab Difficulty Topics Covered
privesc/01-suid-binaries ⭐⭐ Intermediate SUID abuse, GTFOBins
privesc/02-cron-jobs ⭐⭐ Intermediate Writable cron scripts
privesc/03-kernel-exploits ⭐⭐⭐ Advanced Dirty COW, kernel CVEs
privesc/04-sudo-misconfig ⭐ Beginner Sudo -l, LD_PRELOAD

πŸͺŸ Windows Privilege Escalation

Lab Difficulty Topics Covered
windows/01-service-misconfig ⭐⭐ Intermediate Unquoted service paths
windows/02-registry-abuse ⭐⭐ Intermediate Writable registry keys
windows/03-mimikatz-basics ⭐⭐ Intermediate Credential dumping

πŸ” Password & Authentication

Lab Difficulty Topics Covered
auth/01-hydra-brute ⭐ Beginner Brute force with Hydra
auth/02-hash-cracking ⭐ Beginner Hashcat, John the Ripper
auth/03-jwt-attacks ⭐⭐ Intermediate JWT manipulation, algorithm confusion

Run any custom lab instantly:

git clone https://github.com/th3hash/hacking-labs.git
cd hacking-labs/custom-labs/web/01-sql-injection
docker-compose up -d
# Target running at http://localhost:8080

πŸ› οΈ Recommended Tools

Reconnaissance

Tool Use
Nmap Port scanning, service/version detection
Gobuster / Feroxbuster Directory and file brute forcing
Subfinder / Amass Subdomain enumeration
Shodan Internet-connected device search engine
theHarvester Email, domain, IP OSINT gathering

Web Testing

Tool Use
Burp Suite Community Intercept, modify, replay HTTP requests
SQLMap Automated SQL injection
ffuf Fast web fuzzer for directories & parameters
Nikto Web server vulnerability scanner
WhatWeb Web technology fingerprinting

Exploitation

Tool Use
Metasploit Framework Exploit modules, payloads, post-exploitation
Searchsploit Offline ExploitDB search
Hydra / Medusa Brute force login portals
CrackMapExec Network pentesting (SMB, WinRM, LDAP)

Post-Exploitation

Tool Use
LinPEAS / WinPEAS Automated privilege escalation enumeration
GTFOBins Unix binary abuse for privesc
Mimikatz Windows credential dumping
BloodHound Active Directory attack path visualization

Utility

Tool Use
Netcat / Ncat Catching reverse shells
Python3 Scripting, quick HTTP servers, exploit mods
tmux Terminal multiplexer β€” run multiple sessions
Wireshark Packet capture and network analysis

πŸ–₯️ Setting Up Your Lab Environment

⚠️ Never practice on live/real systems without permission. Always use a controlled environment.

Option 1: Kali Linux (Recommended for Beginners)

The industry-standard pentesting distro with 600+ tools pre-installed.

# After installing Kali, update everything first
sudo apt update && sudo apt upgrade -y

# Install some extra goodies
sudo apt install -y gobuster feroxbuster ffuf seclists

Download at kali.org/get-kali β†’ import into VirtualBox or VMware β†’ set network to Host-Only or NAT

Option 2: Parrot OS

Lighter and privacy-focused. Great for older hardware. Download at parrotsec.org

Option 3: Docker Labs (Fastest Setup)

git clone https://github.com/th3hash/hacking-labs.git
cd hacking-labs/custom-labs/web/01-sql-injection
docker-compose up -d
# That's it. Target is live at http://localhost:8080

Option 4: Online Platforms (Zero Setup)

Platform Free? Best For
TryHackMe βœ… Free tier Absolute beginners, guided paths
HackTheBox βœ… Free tier Intermediate, realistic machines
PicoCTF βœ… Free CTF challenges, students
OverTheWire βœ… Free Linux skills, no account needed
PortSwigger Academy βœ… Free Web hacking, best in class
Root-Me βœ… Free 500+ challenges, all categories
Blue Team Labs Online βœ… Free tier Defensive/blue team skills
CTFtime βœ… Free Live CTF competition calendar
VulnHub βœ… Free Offline VM-based practice
CTFLearn βœ… Free Beginner CTF challenges

πŸ—ΊοΈ Learning Roadmap

ABSOLUTE BEGINNER
      β”‚
      β–Ό
 🐚 Linux Basics
 └─ OverTheWire: Bandit (Levels 0–15)
      β”‚
      β–Ό
 🌐 Networking 101
 └─ TCP/IP, DNS, HTTP, Wireshark basics
 └─ TryHackMe: Pre-Security Path
      β”‚
      β–Ό
 πŸ” Recon & Scanning
 └─ custom-labs: network/01-nmap-basics
 └─ TryHackMe: Nmap room
      β”‚
      β–Ό
 🌐 Web Hacking Fundamentals
 └─ PortSwigger: SQL Injection β†’ XSS β†’ Auth
 └─ TryHackMe: OWASP Top 10 room
 └─ custom-labs: web/01 β†’ web/04
      β”‚
      β–Ό
 πŸ” Password Attacks
 └─ custom-labs: auth/01-hydra-brute
 └─ custom-labs: auth/02-hash-cracking
      β”‚
      β–Ό
 🐚 Linux Privilege Escalation
 └─ TryHackMe: Linux PrivEsc room
 └─ custom-labs: privesc/04 β†’ privesc/01
      β”‚
      β–Ό
 🏁 First CTF
 └─ PicoCTF General Skills & Web
 └─ TryHackMe: Pickle Rick, Blue
 └─ CTFLearn beginner challenges
      β”‚
      β–Ό
 πŸ“¦ Full Machines (Beginner)
 └─ HackTheBox: Lame, Legacy, Blue
 └─ VulnHub: Kioptrix Level 1, DC: 1
      β”‚
      β–Ό
 πŸ“¦ Full Machines (Intermediate)
 └─ HackTheBox: Bashed, Nibbles, Shocker
 └─ VulnHub: Mr-Robot: 1
 └─ TryHackMe: Mr Robot CTF, Jr Pentester Path
      β”‚
      β–Ό
    INTERMEDIATE βœ…
      β”‚
      β–Ό
 πŸ”΅ Specialise: AD / Web / Pwn / RE / Blue Team
      β”‚
      β–Ό
    ADVANCED πŸ”₯

πŸ“– Useful Resources

My Content

Cheat Sheets & References

  • GTFOBins β€” Unix binary abuse for privilege escalation
  • LOLBAS β€” Windows living-off-the-land binaries
  • PayloadsAllTheThings β€” Comprehensive payload reference
  • HackTricks β€” Pentesting notes for everything
  • RevShells β€” Reverse shell one-liner generator
  • CyberChef β€” Encoding, decoding, decryption tool

Must-Read

Books

  • The Web Application Hacker's Handbook β€” Stuttard & Pinto
  • Hacking: The Art of Exploitation β€” Jon Erickson
  • Penetration Testing β€” Georgia Weidman
  • The Hacker Playbook 3 β€” Peter Kim

YouTube Channels

  • πŸ“Ί @trickyhash β€” That's me! Walkthroughs & labs πŸ˜„
  • IppSec β€” HackTheBox machine walkthroughs (legendary)
  • John Hammond β€” CTF & malware analysis
  • NetworkChuck β€” Beginner-friendly networking & hacking
  • LiveOverflow β€” Deep-dive binary exploitation & CTF

🀝 Contributing

Want to add a writeup, fix something, or contribute a lab? You're welcome!

  1. Fork this repository
  2. Create a branch: git checkout -b writeup/platform-machine-name
  3. Add your content with a proper README.md
  4. Submit a Pull Request with a clear description

Writeup folder structure:

platform/machine-name/
β”œβ”€β”€ README.md        # Objective, approach, step-by-step solution
β”œβ”€β”€ screenshots/     # Evidence of exploitation
└── files/           # Scripts, payloads, or supporting files

Contribution rules:

  • βœ… Writeups for retired HackTheBox machines only
  • βœ… CTF writeups allowed after the event ends
  • βœ… Educational content only
  • ❌ No writeups for currently active HackTheBox machines
  • ❌ No malware, live exploits, or illegal content

🌟 Star This Repo

If this helped you learn something new, drop a ⭐ star β€” it helps others discover the repo!


πŸ“² Connect With Me

Platform Link
🌐 Website hackproofhacks.com
πŸ™ GitHub @th3hash
πŸ“Ί YouTube @trickyhash
πŸ“Έ Instagram @trickyhash

"The best way to learn hacking is to hack (legally)." β€” th3hash


Made with ❀️ by th3hash  ·  hackproofhacks.com  ·  @trickyhash

About

πŸ›‘οΈ Hands-on hacking labs, CTF writeups & platform guides for beginners β€” covering TryHackMe, HackTheBox, PortSwigger, PicoCTF, VulnHub & more. | hackproofhacks.com

Resources

Stars

63 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors