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
~4 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

Cinq attaques en dix minutes : le déclic

Cinq exploits guidés qui marchent en une ligne sur le laboratoire : injection SQL, injection de commande, XSS stocké, contournement d'authentification et cassage de mot de passe. Effet garanti.

Reading time: 11 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

Ingénierie sociale et facteur humain

Comprenez les leviers psychologiques du phishing, menez une campagne simulée en labo isolé, puis apprenez à détecter et bloquer ces attaques.

Reading time: 7 min
Start this lesson

Vulnérabilités web et OWASP Top 10

Exploitez les failles du OWASP Top 10 : injection SQL, XSS, inclusion de fichiers, upload malveillant, injection de commandes et leur remédiation.

Reading time: 8 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 et automatisation de l'exploitation

Industrialisez l'exploitation avec Metasploit : modules, payloads, shells directs et inverses, Meterpreter et scripts d'automatisation en Bash.

Reading time: 6 min
Start this lesson

Post-Exploitation

Escalation, lateral movement, cloud/IoT

Élévation de privilèges sous Linux et Windows

Passez d'un accès limité à root ou SYSTEM : cassage de mots de passe avec John et Hashcat, extraction d'identifiants avec Mimikatz, binaires SUID, règles sudo et services Windows faibles.

Reading time: 8 min
Start this lesson

Mouvements latéraux, pivoting et exfiltration

Rebondissez dans un réseau compromis : pivoting, tunnels SSH, transferts de fichiers, attaques Active Directory et exfiltration discrète de données.

Reading time: 6 min
Start this lesson

Sécurité du cloud, du mobile et de l'IoT

Adaptez vos tests aux surfaces modernes : buckets de stockage exposés, identités cloud mal configurées, applications mobiles et objets connectés.

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 — Chaîne d'exploitation web

Énoncé et grille du deuxième travail noté : construire une chaîne d'exploitation web jusqu'à un accès initial, puis documenter la remédiation.

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