Author: Andrew Rathbun
Description: Kerberos policy was changed
EventId: 4713
Channel: Security
Provider: Microsoft-Windows-Security-Auditing
Maps:
  -
    Property: UserName
    PropertyValue: "%domain%\\%user%"
    Values:
      -
        Name: domain
        Value: "/Event/UserData/LogFileCleared/SubjectDomainName"
      -
        Name: user
        Value: "/Event/UserData/LogFileCleared/SubjectUserName"
  -
    Property: PayloadData1
    PropertyValue: "SID: (%SubjectUserSid%)"
    Values:
      -
        Name: SubjectUserSid
        Value: "/Event/UserData/LogFileCleared/SubjectUserSid"
  -
    Property: PayloadData2
    PropertyValue: "KerberosPolicyChange: (%KerberosPolicyChange%)"
    Values:
      -
        Name: KerberosPolicyChange
        Value: "/Event/UserData/LogFileCleared/KerberosPolicyChange"

# Documentation:
# https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4713
# https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4713
# https://github.com/nasbench/EVTX-ETW-Resources/blob/main/ETWProvidersCSVs/Internal/Microsoft-Windows-Security-Auditing.csv
# https://www.socinvestigation.com/threat-hunting-using-windows-security-log/
#
# <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>4713</EventID>
# <Version>0</Version>
# <Level>0</Level>
# <Task>13569</Task>
# <Opcode>0</Opcode>
# <Keywords>0x8020000000000000</Keywords>
# <TimeCreated SystemTime="2015-10-01T23:15:50.811774300Z" />
# <EventRecordID>1049772</EventRecordID>
# <Correlation />
# <Execution ProcessID="500" ThreadID="4116" />
# <Channel>Security</Channel>
# <Computer>DC01.contoso.local</Computer>
# <Security />
# </System>
# <EventData>
# <Data Name="SubjectUserSid">S-1-5-18</Data>
# <Data Name="SubjectUserName">DC01$</Data>
# <Data Name="SubjectDomainName">CONTOSO</Data>
# <Data Name="SubjectLogonId">0x3e7</Data>
# <Data Name="KerberosPolicyChange">KerMaxT: 0x10c388d000 (0x861c46800); KerMaxR: 0x19254d38000 (0xc92a69c000);</Data>
# </EventData>
# </Event>
