Skip to content

Instantly share code, notes, and snippets.

@cybergavin
Last active June 25, 2021 04:14
Show Gist options
  • Select an option

  • Save cybergavin/b0e4a4a27058c8fc2a7f73f8efa16c53 to your computer and use it in GitHub Desktop.

Select an option

Save cybergavin/b0e4a4a27058c8fc2a7f73f8efa16c53 to your computer and use it in GitHub Desktop.
Kerberos Ticket encryption
Logging
  • Enable Audit Kerberos Service Ticket Operations under Account Logon
  • Enabling this audit category on Domain Controllers will result in two interesting event ids being logged
  1. 4769: A Kerberos service ticket (TGS) was requested
  2. 4770: A Kerberos service ticket was renewed
Kerberos Encryption

"In practical terms, a Windows computer starts a Kerberos conversation sending a list of supported encryption types (ETypes). The KDC responds to the list with the most secure encryption type they both support."

RC4 encryption makes Kerberos vulnerable to Kerberoasting.

get-aduser test.svc -Properties KerberosEncryptionType | select KerberosEncryptionType

KerberosEncryptionType
----------------------
{AES256}
References
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment