PetitPotam Suspicious Kerberos TGT Request
Description
The following analytic detects a suspicious Kerberos Ticket Granting Ticket (TGT) request, identified by Event Code 4768. This detection leverages Windows Security Event Logs to identify TGT requests with unusual fields, which may indicate the use of tools like Rubeus following the exploitation of CVE-2021-36942 (PetitPotam). This activity is significant as it can signal an attacker leveraging a compromised certificate to request Kerberos tickets, potentially leading to unauthorized access. If confirmed malicious, this could allow attackers to escalate privileges and persist within the environment, posing a severe security risk.
Query · spl
`wineventlog_security`
EventCode=4768
src!="::1"
TargetUserName=*$
CertThumbprint!=""
PreAuthType=2
| stats count min(_time) as firstTime
max(_time) as lastTime
BY dest TargetUserName PreAuthType CertThumbprint src action
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `petitpotam_suspicious_kerberos_tgt_request_filter`
Implementation guide
The following analytic requires Event Code 4768. Ensure that it is logging no Domain Controllers and appearing in Splunk.
Known false positives
- False positives are possible if the environment is using certificates for authentication, since PreAuthType 2 can appear on some initial or fallback authentication flows alongside a populated certificate field. Tune further based on observed authentication patterns in the environment.
Analyst notes
Known false positives: False positives are possible if the environment is using certificates for authentication, since PreAuthType 2 can appear on some initial or fallback authentication flows alongside a populated certificate field. Tune further based on observed authentication patterns in the environment.