Event ID 4704: A user right was assigned
A user right was assigned.
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- Authorization Policy Change
- Needs a SACL
- No
To have this event
- Enable Authorization Policy Change:
auditpol /set /subcategory:"Authorization Policy Change" /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 that assigned the right |
| SubjectDomainName | Domain of the account |
| SubjectLogonId | Logon ID for correlation |
| TargetSid | SID of the account receiving the right |
| PrivilegeList | User rights that were assigned |
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=4704)]]" -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.
Also relevant, depending on field values
Common questions
- What does Windows event ID 4704 mean?
- A user right was assigned. It is written to the Windows Security log (Security).
- Is event 4704 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "Authorization Policy Change" Advanced Audit Policy subcategory (Policy Change).
- Where is event 4704 recorded?
- In the Security channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderA user right was assigned. Needs the "Authorization Policy Change" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.