How to See Who Changed Active Directory (Event Log Method)
If a user suddenly shows up in Domain Admins, the answer to who did it and when is in the Security event log of your domain controllers. It is only there if the right audit settings were on before it happened. This guide shows how to check that and how to read the log by hand.
Check your audit settings first
Active Directory only records a change if auditing for that kind of change is turned on. Microsoft's description of the Audit Directory Service Changes setting says it reports create, modify, move and undelete operations on directory objects, only on domain controllers, and only for objects whose system access control list (SACL) matches the change. Some objects and properties never produce an event because of settings in the schema.
So the first job is not reading logs. It is confirming that history is being written at all. A missing audit setting looks exactly like a quiet network.
Turn on the subcategories that matter, and where
Microsoft publishes recommended audit settings for Windows Server. In Group Policy the settings live under Computer Configuration, Policies, Windows Settings, Security Settings, Advanced Audit Policy Configuration, Audit Policies, in the Account Management and DS Access categories. Microsoft's Windows baseline lists Success as the recommended state for Audit Directory Service Changes and Success and Failure for Audit Security Group Management. Apply the policy to your domain controllers.
For tracking changes in Active Directory, these subcategories are the ones to look at. Microsoft also notes that every environment is different and says to test the recommended events in your own environment before you create alerts that require an investigation.
- Audit User Account Management: user accounts created, changed, deleted, renamed, disabled, enabled, locked out or unlocked, and password sets or changes
- Audit Security Group Management: security groups created, changed or deleted, and members added or removed
- Audit Computer Account Management: computer accounts created, changed or deleted
- Audit Directory Service Changes, under DS Access: changes to objects in Active Directory Domain Services, with the old and new values where possible
Know the event IDs to read
Each kind of change has its own event ID. Microsoft's list of events to monitor includes these, among others:
- 4728, 4732 and 4756: a member was added to a security-enabled global, local or universal group (4729, 4733 and 4757 are the matching removals)
- 4725 and 4726: a user account was disabled or deleted
- 4738: a user account was changed
- 4740 and 4767: a user account was locked out or unlocked
- 4743: a computer account was deleted
- 5136 to 5139: a directory service object was modified, created, undeleted or moved
Read the log on each domain controller
Audit events for these subcategories are written on domain controllers, so check the Security log on each controller you rely on, using Windows Event Viewer, and filter by the event IDs above. For every event, note the same four things:
- Who made the change (the account named in the event)
- What was changed: the user, group, computer or object
- When it happened
- Which domain controller recorded it
Watch the groups that matter most, on a schedule
Microsoft's guidance lists changes to the properties and membership of the Administrators, Domain Admins, Enterprise Admins and Schema Admins groups among the first things to monitor, together with unauthorized changes to administrator accounts. Its own example of a single event worth investigating at once is a standard user account unexpectedly added to a privileged or sensitive security group.
A simple routine for a small team:
- Weekly: review every group membership event for the four groups above
- Weekly: review account disabled, deleted and lockout events
- After a staff member leaves: confirm their account was disabled
- Monthly: confirm the audit settings are still on, because a policy change can quietly undo them
- Write down the dates and domain controllers you checked, so a gap is visible later
Where DomainTrail fits
DomainTrail is coming soon. It is built to do this routine for you: read the Security event logs of your domain controllers, check that the audit settings above are on, and show who changed what in reports and alerts. It only reads and never changes Active Directory, and its reports show evidence of what the logs show. We have not set a launch date.
Sources
- Microsoft Learn: Appendix L: Events to monitor
- Microsoft Learn: System audit policy recommendations
- Microsoft Learn: Advanced Audit Policy Configuration
- Microsoft Learn: Windows security baseline (system audit policies)
Coming soon: DomainTrail
See who changed what in Active Directory. DomainTrail is a Windows app that reads the Security event logs of your domain controllers and shows who changed what in your on-premises Active Directory: users, groups, membership, computers and Group Policy links. It checks your audit settings, sends alerts and writes reports, and it never changes Active Directory. It is for IT admins at companies that run their own Windows servers.
Get DomainTrail first
Join the list and get 25% off your first purchase when it goes on sale. We email you a discount code on launch day. One code per person, for new customers.
One email when it launches (plus the discount code). No other mail, and you can say stop at any time. See our privacy policy.