Kerberos Impacket Cheatsheet
Kerberos
Cheatsheet : https://gist.github.com/TarlogicSecurity/2f221924fef8c14a1d8e29f3cb5c5c4a KRB5CONF : https://gist.github.com/kaluche/ba69e701624c2e44e3d1f60c5370cebe
General & Theory
# Kerberos is just SSO, it's like SAML or OpenID.
# Authentication to a trusted source (KDC)
# KDC delegates access
# KDC = Key Distribution Center
# AS = Authentication Service
# TGT= Ticket Granting Ticket
# TGS = Ticket Graning Service
# In network, protocol used is KRB5
# TGS are for resources, not hosts
# Authentication Process
# - Authenticate to AS with a password → Get a TGT
# - Request access to resource from TGS → Show TGT
# - Valid TGT → Get TGS
# - Show TGS to resource → resource accepts TGS → Log in
# Each resource can check for valid TGS → Privileged Attribute Certificate (PAC) → Addition to Kerberos
# NTLM Authentication
# - chall/response using NT hash
# - NTLMSSP
# Communication with DC over NetLogon (RPC)
NTLM vs NTLMv1/v2 vs Net-NTLMv1/v2
Kerbrute
Impacket
Technical tips
NTLM Auth Disabled
Password Bruteforcing
Service Principal Names (SPN)
ASREP Roasting
Kerberoasting
Speaking Kerberos from Linux
Extracting tickets from rubeus dump
Last updated