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.
🟥 Post-exploitation · Cycle: 5. Post-exploitation HTB Academy: Password Attacks, Cracking Passwords with Hashcat, Linux Privilege Escalation, Windows Privilege Escalation
Objectives
- Move from limited access to
root/SYSTEM. - Crack passwords (John, Hashcat).
What is privilege escalation?
After exploitation (W7/W9), you often get limited access: a low-privilege account (www-data, a normal user). Privilege escalation (“privesc”) means moving from that limited account to the all-powerful account: root on Linux, SYSTEM/Administrator on Windows. Once you are administrator, you control the whole machine (read every file, create accounts, wipe traces). It is a key post-exploitation step.
Course (1 h 20)
- Linux vectors: SUID, misconfigured sudo, cron, capabilities, kernel exploits.
- Windows vectors: vulnerable services, tokens, UAC, cleartext credentials.
- Hashing: MD5/SHA/NTLM, salt, attacks (dictionary, mask, rules, hybrid).