How to learn hacking from hack the box
Learning hacking through Hack The Box (HTB) is a great way to build practical cybersecurity skills in a hands-on, legal environment. Here’s a step-by-step guide to get started and make the most out of the platform:
Create an account. HTB used to have an invite-only system, but now registration is open.
Choose your learning path: “Beginner” if you're new to hacking.
You’ll need a virtual machine (VM) to safely run tools:
Install VirtualBox or VMware
Download Kali Linux (the most popular Linux distro for hacking)
Alternatively, use Parrot OS or the HTB Pwnbox (browser-based VM)
Before jumping into machines, go to HTB Academy:
Start the "Starting Point" or "Intro to HTB" path
Recommended beginner modules:
Linux Fundamentals
Windows Fundamentals
Networking Basics
Introduction to Web Applications
Enumeration & Exploitation
This gives you the theory and command-line basics you'll need.
Go to the “Starting Point” machines on the main HTB site
These are intentionally designed for beginners
Follow the walkthroughs and take notes
Once comfortable:
Solve easy and medium boxes in the “Machines” section
Categories to focus on:
Web
Windows/Linux
Enumeration
Privilege Escalation
Read the write-ups (after trying) to learn different methods
You’ll use tools like:
nmap
– port scanning
dirbuster
,
gobuster
– web directory brute forcing
nikto
– web vulnerability scanner
hydra
– brute-force login credentials
Burp Suite
– web application testing
john
/
hashcat
– password cracking
Keep notes of every box: steps, tools, commands, exploits
Use Markdown, Obsidian, Notion, or Joplin
Revisit old machines to test new skills
HTB Discord, Reddit r/hackthebox, and forums are great places to get hints
Don’t ask for flags—ask for help understanding concepts
Try “Pro Labs” or “Challenges” (crypto, reversing, forensics)
Earn rankings and badges by completing boxes and modules
Prepare for certifications like OSCP, using HTB as a training ground
Learn how to learn – Google is your best friend
Don’t just copy — understand why something works
Be patient — you’ll get stuck often, and that’s part of the learning
If you’d like, I can recommend specific beginner-friendly machines or create a study plan based on your goals (e.g., OSCP prep, bug bounty hunting, red teaming). Want that?