Windows event log ยท Security4770 A Kerberos service ticket was renewed

  • Security
  • 5 fields
  • Security.evtx
  • Microsoft-Windows-Security-Auditing

Fields EvtxECmd extracts

5 columns in the EvtxECmd CSV

  • RemoteHost%ipAddress%:%port%
    • %ipAddress% = /Event/EventData/Data[@Name="IpAddress"]
    • %port% = /Event/EventData/Data[@Name="IpPort"]
  • PayloadData1Target: %TargetUserName%
    • %TargetUserName% = /Event/EventData/Data[@Name="TargetUserName"]
  • PayloadData2ServiceName: %ServiceName%
    • %ServiceName% = /Event/EventData/Data[@Name="ServiceName"]
  • PayloadData3ServiceSid: %ServiceSid%
    • %ServiceSid% = /Event/EventData/Data[@Name="ServiceSid"]
  • PayloadData4TicketEncryptionType: %TicketEncryptionType%
    • %TicketEncryptionType% = /Event/EventData/Data[@Name="TicketEncryptionType"]

Value lookups

Codes that EvtxECmd turns into text

TicketEncryptionType

0x1
DES-CBC-CRC
0x3
DES-CBC-MD5
0x11
AES128-CTS-HMAC-SHA1-96
0x12
AES256-CTS-HMAC-SHA1-96
0x17
RC4-HMAC
0x18
RC4-HMAC-EXP
0xFFFFFFFF
Audit Failure
0xffffffff
Audit Failure

Sample event

Event XML from the map file

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}"/>
    <EventID>4770</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>14337</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2015-08-07T03:26:23.466552900Z"/>
    <EventRecordID>166481</EventRecordID>
    <Correlation/>
    <Execution ProcessID="520" ThreadID="1084"/>
    <Channel>Security</Channel>
    <Computer>DC01.contoso.local</Computer>
    <Security/>
  </System>
  <EventData>
    <Data Name="TargetUserName">WIN2008R2$@CONTOSO.LOCAL</Data>
    <Data Name="TargetDomainName">CONTOSO.LOCAL</Data>
    <Data Name="ServiceName">krbtgt</Data>
    <Data Name="ServiceSid">S-1-5-21-3457937927-2839227994-823803824-502</Data>
    <Data Name="TicketOptions">0x2</Data>
    <Data Name="TicketEncryptionType">0x12</Data>
    <Data Name="IpAddress">::ffff:10.0.0.12</Data>
    <Data Name="IpPort">49964</Data>
  </EventData>
</Event>

References

3 links

Source: evtx/Maps/Security_Microsoft-Windows-Security-Auditing_4770.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)