Commit 68c197d
Improve Kerberoast Module
On a test where --kerberoast would not return a ticket for a user I knew was kerberoastable. After some digging I changed the LDAP query in ldap.py to be just "(&(servicePrincipalName=*)(!(objectCategory=computer)))". This removes the check for accounts locked out/inactive and this returned the ticket I was able to see with powerview.
Personally would still like to get tickets for users that are disabled/locked out in order to attempt to crack their password and see if the password is reused.
I also changed the error for Bypassing disabled account {sAMAccountName} to be highlight as I thought this is nice to have.
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>1 parent a4cbd5b commit 68c197d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
| |||
0 commit comments