When it is written
Windows writes 4907 when the system access control list (SACL) of an object such as a file, a folder or a registry key changes. Microsoft's subcategory page says SACL change auditing happens when a SACL changes and the Policy Change category is configured: 4907 is one of the four events of Audit Policy Change that need that subcategory on for Success. The object needs no SACL of its own for the event to be written. Microsoft states that it is not generated for Active Directory objects.
Object Type and Object Name say which object changed (a Key as \REGISTRY\MACHINE\..., a File as its full path), Original Security Descriptor and New Security Descriptor hold the SACL before and after in SDDL, and Process Name shows the program used. Reading or setting a SACL requires the Manage auditing and security log privilege (SeSecurityPrivilege) to be enabled in the caller's token.
How to turn it on
Advanced audit policy subcategory Audit Audit Policy Change, Success. Set it in a Group Policy object linked to the computers that write the event:
Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Policy Change > Audit Audit Policy Change| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success | Microsoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case. |
| Member servers | Success | Microsoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case. |
| Workstations | Success | Microsoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case. |
auditpol /get /subcategory:"Audit Policy Change"auditpol /set /subcategory:"Audit Policy Change" /success:enableauditpol /get /subcategory:"{0CCE922F-69AE-11D9-BED3-505054503030}"Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference
Fields
In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.
| Field | What it holds | Since |
|---|---|---|
Security IDSubjectUserSidSubject | SID of the account that changed the object's auditing settings. Event Viewer shows it resolved to an account name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of that account. | v0 |
Account DomainSubjectDomainNameSubject | Domain of the account, usually as a NetBIOS name, the computer name for a local account, or NT AUTHORITY for well-known principals. | v0 |
Logon IDSubjectLogonIdSubject | Hexadecimal ID of the logon session that made the change. It matches the Logon ID of the 4624 event on the same computer. | v0 |
Object ServerObjectServerObject | Always Security for this event, according to Microsoft. | v0 |
Object TypeObjectTypeObject | Kind of object whose SACL changed, such as Key for a registry key or File for a file or folder. Microsoft lists the common object types, including Process, Token and SC_MANAGER OBJECT. | v0 |
Object NameObjectNameObject | Full name of the object. A registry key in the kernel's form (\REGISTRY\MACHINE... for HKEY_LOCAL_MACHINE, \REGISTRY\USER\ followed by a SID for a user's hive), a file or folder as its full path. | v0 |
Handle IDHandleIdObject | Hexadecimal handle to the object, which links this event to the 4656 handle request for the same object. 0x0 when it was not captured. | v0 |
Process IDProcessIdProcess Information | Hexadecimal ID of the process that changed the SACL. It matches New Process ID in the 4688 event that started that process; process IDs are reused, so match within a short time on the same computer. | v0 |
Process NameProcessNameProcess Information | Full path of the executable of that process. | v0 |
Original Security DescriptorOldSdAuditing Settings | The object's SACL before the change, in SDDL (shown as Original Security Descriptor). S marks the SACL; each audit entry is (AU;flags;rights;;;SID). | v0 |
New Security DescriptorNewSdAuditing Settings | The SACL after the change, in the same form (shown as New Security Descriptor). Compare it with OldSd to see which audit entries were added or removed. | v0 |
Values to know
New Security Descriptor NewSd
| Value | Meaning | Signal |
|---|---|---|
Fewer audit entries (AU) than OldSd, or S: with no entries | Auditing was removed from the objectAccess the removed entry audited is no longer logged. On a key or folder you watch, find out who removed it and why. | Attack signal |
An audit entry (AU) added | Auditing was added to the objectIn an entry such as (AU;CISA;KW;;;WD), SA audits success, FA failure, CI and OI pass it on to child objects, and the last part is the account audited (WD Everyone). | Expected |
Object Type ObjectType
| Value | Meaning | Signal |
|---|---|---|
Key | A registry keyObjectName is in the form \REGISTRY\MACHINE\path for HKEY_LOCAL_MACHINE. | Worth knowing |
File | A file or a folderObjectName is the full path. | Worth knowing |
Logon ID SubjectLogonId
| Value | Meaning | Signal |
|---|---|---|
Any value | The logon session that changed the SACLMatch it with the Logon ID of the 4624 event on the same computer to see how and from where the account logged on. | Worth knowing |
Volume and noise
Low in general: Microsoft rates Audit Policy Change Low. The number of 4907 events follows how often auditing settings are set on the computer, for example by setup programs or by administrators preparing object auditing. A server whose auditing settings are stable writes few. Microsoft gives the event a potential criticality of Medium in its list of Active Directory events to monitor.
Keeping it manageable
- Collect 4907 from domain controllers and Tier 0 servers. Microsoft suggests filtering on
ObjectType(for exampleFileorKey) and onObjectNamefor the files, folders and registry keys whose auditing matters to you. - Start with the registry keys whose SACLs your other detections depend on, such as the keys that make Windows write 4657: a 4907 that empties their SACL stops those events without any change to the audit policy.
- Use
ProcessName, andProcessIdmatched with New Process ID in 4688, to see which program changed the SACL;HandleIdlinks to the 4656 handle request when Audit Registry or Audit File System records it. - Turn on Audit Policy Change for Success, as Microsoft recommends on every role. Without it, a SACL can be changed or removed with no record.
Sample event
Version 0, with made-up values.
<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>4907</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Security</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1105</Data>
<Data Name="SubjectUserName">adm-alice</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x5a3c21</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">Key</Data>
<Data Name="ObjectName">\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Kdc</Data>
<Data Name="HandleId">0x2f4</Data>
<Data Name="OldSd">S:ARAI(AU;CISA;KW;;;WD)</Data>
<Data Name="NewSd">S:AI</Data>
<Data Name="ProcessId">0x1a3c</Data>
<Data Name="ProcessName">C:\Windows\regedit.exe</Data>
</EventData>
</Event>Attacks this event reveals
No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).
Frequently asked questions
Does event 4907 need a SACL on the object?
No. Microsoft says SACL changes are audited when a SACL changes and the Policy Change category is configured, so 4907 depends on Audit Policy Change (Success) only. A SACL is what other events, such as 4657 for registry values, need in order to be written.
Is 4907 written when the auditing of an Active Directory object changes?
No. Microsoft states that 4907 is not generated for Active Directory objects. Changes to directory objects are recorded by the directory service events, such as 5136, when the object's SACL audits them.
How do I tell whether auditing was added or removed?
Compare Original Security Descriptor with New Security Descriptor. The SACL part starts with S, and each audit entry is written as (AU;flags;rights;;;SID). An entry that is in the old string and missing from the new one was removed.
What is the difference between 4907 and 4715?
4907 records the auditing settings of an object such as a file or a registry key. 4715, despite its title, records the security descriptor of the audit policy itself, which decides who may change the audit policy.