Event ID 4627: Group membership information
Group membership information provided when an account successfully logs on.
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- High
- Audit subcategory
- Group Membership
- Needs a SACL
- No
To have this event
- Enable Group Membership:
auditpol /set /subcategory:"Group Membership" /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 |
|---|---|
| SubjectUserName | Account used in the logon |
| SubjectDomainName | Domain of the account |
| SubjectLogonId | Logon ID for correlation |
| GroupMembership | List of group SIDs for the logged on 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=4627)]]" -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 4627 mean?
- Group membership information provided when an account successfully logs on. It is written to the Windows Security log (Security).
- Is event 4627 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "Group Membership" Advanced Audit Policy subcategory (Logon/Logoff).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderGroup membership information provided when an account successfully logs on. Needs the "Group Membership" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.