15 weeks · Intermediate to advanced level

Penetration Testing and Offensive Security

Run a complete pentest engagement, from legal planning to the final report. Isolated Docker lab, four vulnerable targets, and a professional methodology.

What you will learn

This course reproduces a real penetration testing engagement, just as an offensive security consultant would run it for a client. You plan within legal bounds, map the target, exploit vulnerabilities, escalate privileges, and document everything — then you write the report, the deliverable that matters to the client.

You'll work with the tools of the trade — Nmap, Burp Suite, Metasploit, John, Hashcat, Mimikatz — on an isolated lab that you can set up in under an hour with Docker. Three hands-on labs structure the path, and a final CTF-style mission validates everything you've learned.

26 lessons
~3 hours of reading
Intermediate to Advanced
Docker lab included
Penetration testing environment: Kali Linux facing vulnerable targets

Course lessons

Course Introduction and GitHub Repositories

The lab map: clone it now, come back to it later

The Complete Lab: 10 Projects to Master Pentesting

A map of the labo-pentest GitHub repository: ten Docker projects and two platform guides. Clone it today, then come back to it with every chapter.

Reading time: 5 min
Start this lesson

Getting Started

The lab, the framework, the platforms

Offensive Security Course Overview

Overview of the offensive security course: 15 penetration testing steps, an isolated Docker lab, hands-on labs, and the legal framework.

Reading time: 14 min
Start this lesson

Set Up Your Pentest Lab with Docker

Build an isolated pentest lab in under an hour: Kali Linux as the attacker machine and vulnerable targets launched with Docker.

Reading time: 18 min
Start this lesson

Five attacks in ten minutes: the click

Five guided exploits that work in one line on the lab: SQL injection, command injection, stored XSS, authentication bypass, and password cracking. Guaranteed effect.

Reading time: 10 min
Start this lesson

Choosing Your Lab Platform: HTB Academy or TryHackMe

Compare HackTheBox Academy and TryHackMe for legal hands-on practice: VPN access, the CPTS path, and concrete benchmarks to help you choose a platform.

Reading time: 11 min
Start this lesson

Framework and Methodology

Kali environment and rules of engagement

Work Environment and Career Overview

Discover the pentester profession, black, grey, and white box tests, and red and blue teams, then get hands-on with Kali Linux and the Linux shell.

Reading time: 20 min
Start this lesson

Penetration Testing Methodology and Rules of Engagement

Structure a penetration testing engagement: pentest phases, scope definition, written authorizations, and drafting the rules of engagement.

Reading time: 18 min
Start this lesson

Reconnaissance

OSINT, network scanning, and vulnerability prioritization

Open Source Intelligence (OSINT) Gathering

Map an organization's attack surface without ever touching it: Google dorking, DNS, WHOIS, data leaks, and OSINT tools.

Reading time: 6 min
Start this lesson

Active Reconnaissance and Network Scanning with Nmap

Scan ports and services with Nmap: version detection, OS fingerprinting, share enumeration, and how to read the results correctly.

Reading time: 9 min
Start this lesson

Vulnerability Research and Prioritization

Turn discovered services into exploitable flaws: CVE and NVD databases, CVSS scores, automated scanners, and risk prioritization.

Reading time: 8 min
Start this lesson

Exploitation

Web, social engineering, Metasploit, midterm review

Social engineering and the human factor

Understand the psychological levers of phishing, run a simulated campaign in an isolated lab, then learn how to detect and block these attacks.

Reading time: 6 min
Start this lesson

Web vulnerabilities and the OWASP Top 10

Exploit OWASP Top 10 flaws: SQL injection, XSS, file inclusion, malicious upload, command injection, and their remediation.

Reading time: 7 min
Start this lesson

Midpoint Review: Test What You've Learned

Review the first seven steps and gauge your level: a revision quiz, a timed hands-on challenge against a lab target, and a self-assessment grid.

Reading time: 5 min
Start this lesson

Metasploit and exploitation automation

Industrialize exploitation with Metasploit: modules, payloads, bind and reverse shells, Meterpreter, and Bash automation scripts.

Reading time: 5 min
Start this lesson

Post-Exploitation

Escalation, lateral movement, cloud/IoT

Privilege escalation on Linux and Windows

Move from limited access to root or SYSTEM: password cracking with John and Hashcat, credential extraction with Mimikatz, SUID binaries, sudo rules, and weak Windows services.

Reading time: 7 min
Start this lesson

Lateral movement, pivoting, and exfiltration

Hop through a compromised network: pivoting, SSH tunnels, file transfers, Active Directory attacks, and discreet data exfiltration.

Reading time: 5 min
Start this lesson

Cloud, mobile, and IoT security

Adapt your tests to modern surfaces: exposed storage buckets, misconfigured cloud identities, mobile apps, and connected devices.

Reading time: 6 min
Start this lesson

Reporting

Report, code analysis, and final mission

Writing the Report and Recommendations

Write a professional pentest report: expected structure, evidence, impact rating, and prioritized recommendations for the client.

Reading time: 5 min
Start this lesson

Analyzing Offensive Code and Tools

Read and understand offensive scripts before running them: Bash and Python code analysis, spotting booby-trapped code, and best practices.

Reading time: 5 min
Start this lesson

Final Mission: A Complete Pentest in CTF Mode

Run an end-to-end engagement as a mini-CTF, from reconnaissance to report delivery, and measure how far you've come since the first step.

Reading time: 5 min
Start this lesson

Labs and Appendices

Graded labs, CTF kit, ethics charter, HTB path

Lab 1 — Full Target Reconnaissance

Assignment and grading rubric for the first graded lab: produce a complete reconnaissance dossier on an authorized target, with no exploitation whatsoever.

Reading time: 5 min
Start this lesson

TP2 — Web exploit chain

Brief and grading rubric for the second graded assignment: build a web exploit chain through to initial access, then document the remediation.

Reading time: 5 min
Start this lesson

TP3 — Professional Engagement Report

Assignment and grading rubric for the final graded project: produce the engagement report that consolidates reconnaissance, exploitation, and client recommendations.

Reading time: 5 min
Start this lesson

Ethics Charter and Legal Framework

Charter to sign before any access to targets: authorized scope, prohibited actions, data handling, and penalties for violations.

Reading time: 6 min
Start this lesson

Kit for Running an Internal CTF

Run a classroom capture the flag: CTF types, flag format, scoring scale, Docker infrastructure, and a complete session plan.

Reading time: 5 min
Start this lesson

HTB Academy Path and Modules by Week

Mapping of the 28 modules in the HTB Academy Penetration Tester path to the course's 15 weeks, with a direct link for each module.

Reading time: 5 min
Start this lesson