Kerberos is the default authentication protocol in Active Directory environments, running on TCP and UDP port 88. Nmap identifies it as kerberos-sec. It handles ticket-based authentication between clients, services, and the Key Distribution Center (KDC) on domain controllers.
Kerberos is a prime target in AD pentesting. AS-REP Roasting extracts hashes for accounts that do not require pre-authentication. Kerberoasting requests service tickets and cracks them offline to recover service account passwords. Ticket forgery attacks (Golden Ticket, Silver Ticket) grant persistent, elevated access.
Enumerate user accounts and SPNs with tools like kerbrute, GetUserSPNs.py, and GetNPUsers.py from Impacket. Finding Kerberos on a target confirms an Active Directory domain and identifies the domain controller, which shapes the rest of the engagement.
Enumeration
Valid users, SPNs, AS-REP targets, realm and KDC discovery guides
Kerberos realm and KDC discovery
Kerberos SPN enumeration
Enumerate Service Principal Names (SPNs) via Kerberos to identify service accounts, enabling targeted Kerberoasting attacks against AD environments.
Kerberos Valid User Enumeration
Enumerate valid AD usernames via Kerberos pre-auth errors using tools like Kerbrute, exploiting AS-REQ responses to identify existing accounts without authentication.
Vulnerability Discovery
Find AS-REP roastable and Kerberoastable accounts via key tools
Kerberoastable Service Accounts
Identify service accounts with SPNs vulnerable to Kerberoasting by extracting and cracking TGS tickets offline to compromise Active Directory credentials.
Kerberos Pre-Authentication Not Required
Identifies accounts with DONT_REQUIRE_PREAUTH set, enabling AS-REP roasting attacks to capture and offline-crack Kerberos hashes without credentials.
Exploitation
Kerberos attacks: roasting, ticket forging, and delegation abuse
AS-REP Roasting – Pre-Auth Disabled Hash Cracking
Exploit accounts with Kerberos pre-authentication disabled to capture AS-REP hashes offline, then crack them to recover plaintext credentials.
Kerberoasting – TGS Hash Extraction and Cracking
Lateral Movement
Reuse ccache files and keytabs on Linux to move laterally in AD
Kerberos Ticket Reuse from Linux
Exploiting cached Kerberos tickets on Linux via ccache files and keytabs to authenticate as other users and move laterally across AD environments.