Event ID 4774: An account was mapped for logon
An account was mapped for logon (typically Kerberos).
- Channel
- Security
- Logged by default
- On domain controllers
- Written on
- Any host
- Volume
- Moderate
- Audit subcategory
- Credential Validation
- Needs a SACL
- No
To have this event
- Enable Credential Validation:
auditpol /set /subcategory:"Credential Validation" /success:enable /failure:enable
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| TargetUserName | Account name that was mapped |
| TargetDomainName | Domain of the account |
| SubjectUserName | Account that performed the mapping |
| SubjectDomainName | Domain of the mapping account |
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4774)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Common questions
- What does Windows event ID 4774 mean?
- An account was mapped for logon (typically Kerberos). It is written to the Windows Security log (Security).
- Is event 4774 logged by default?
- Only on domain controllers, where the default domain controller policy turns the subcategory on. Elsewhere it must be enabled. It is controlled by the "Credential Validation" Advanced Audit Policy subcategory (Account Logon).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderAn account was mapped for logon (typically Kerberos). Needs the "Credential Validation" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.