Event ID 4770
Event ID 4770: Kerberos Ticket Renewed
A Kerberos service ticket was renewed
- Log source
- Security
- How to enable it
- Account Logon > Audit Kerberos Service Ticket Operations (Success)
- Category
- Kerberos
- Priority
- Low
- Typical volume
- High
- MITRE ATT&CK
What Event ID 4770 means
4770 is logged on a domain controller when a client extends a ticket that is about to expire. By default a TGT lasts ten hours and can be renewed for up to seven days, so an ordinary user who signs out every evening produces few renewals.
Renewal keeps access alive without the password. A thief who holds a copied TGT can extend it repeatedly from their own machine, and each extension leaves this event with their address. It is one of the few traces of ticket theft on the controller after the initial use.
The signal is continuity and place. Servers and kiosks renew for days because they never sign out. A named person whose ticket is renewed at 04:00, from an address other than the one that requested it, is a different matter.
Key fields to inspect
| Field | Meaning | Suspicious when |
|---|---|---|
TargetUserName | Account whose ticket was renewed, as user@REALM. | A privileged user who is off duty. |
ServiceName | Service of the ticket. krbtgt for a TGT. | krbtgt renewals from an address that never requested the TGT. |
IpAddress | Client address. | An address different from the one in 4768. |
TicketOptions | Request flags in hexadecimal. | 0x2 and 0x50800002 forms with the renew bit are expected here. |
TicketEncryptionType | Cipher of the ticket. | 0x17 in an AES domain, which can accompany forged tickets. |
TargetDomainName | Kerberos realm of the account. | A name in an unexpected form, such as a short name where the full one is usual. |
Detection queries
Find ticket renewals from an address that did not request a ticket for that user in the past week. Adjust names and thresholds to your environment. About these queries.
Splunk SPL
index=windows source="XmlWinEventLog:Security" (EventCode=4768 OR EventCode=4770) earliest=-7d
| eval user=lower(mvindex(split(TargetUserName, "@"), 0))
| where NOT match(user, "\$$")
| stats values(EventCode) AS codes earliest(_time) AS first BY user IpAddress
| where isnull(mvfind(codes, "4768")) Microsoft Sentinel KQL
let issued = SecurityEvent
| where TimeGenerated > ago(8d) and EventID == 4768
| project User = tolower(TargetUserName), IpAddress
| distinct User, IpAddress;
SecurityEvent
| where TimeGenerated > ago(1d) and EventID == 4770
| extend User = tolower(tostring(split(TargetUserName, "@")[0]))
| where User !endswith "$"
| join kind=leftanti issued on User, IpAddress
| project TimeGenerated, User, IpAddress, ServiceName PowerShell
Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4770; StartTime = (Get-Date).AddDays(-1) } |
ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
Where-Object { $_.TargetUserName -notlike '*$@*' } |
Select-Object Time, TargetUserName, ServiceName, IpAddress, TicketEncryptionType | Format-Table -AutoSize Attack scenarios
Stolen ticket kept alive
A TGT extracted from memory is loaded on the attacker's machine and renewed before each expiry. The controller sees a renewal for the victim from a second address, possibly while the victim's own computer is switched off.
Forged ticket with a long lifetime
Golden tickets are often made with a lifetime of years and never renewed. An account that requests services for days with neither 4768 nor 4770 is therefore also abnormal.
Investigation checklist
- Find the 4768 that began the chain and compare the two addresses.
- Check whether the user's own computer was on at the time of renewal.
- List 4769 requests from the renewing address.
- If theft is confirmed, reset the password and sign out all of the user's sessions.
Common benign causes
- Servers, kiosks and users who lock instead of signing out.
- Address changes as laptops move between office, wireless and VPN.
- Linux hosts and services that renew from a keytab on a schedule.
Event ID 4770 FAQ
How long can a Kerberos ticket be renewed?
By default a TGT is valid for 10 hours and renewable for 7 days. Both are set in the domain's Kerberos policy. Members of Protected Users are limited to 4 hours with no renewal.
Is event 4770 worth collecting?
Alone it has modest value. With 4768 and 4769 it completes the life of a ticket, which helps to investigate pass-the-ticket. Collect it where storage allows.
Does changing a password stop ticket renewal?
A ticket that was already issued can keep working until it expires. Domain controllers check the account when a TGT is renewed, so disabling the account prevents renewal.