Skip to main content

Wolfcore Cyber Security

Windows Event ID 4662: what it logs and what to watch

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 25 November 2026. Part of Detection, monitoring and response.

In one sentence: Event 4662 is a line in a domain controller’s Security log that says someone read, changed or deleted something stored in Active Directory, the directory that holds your staff accounts, groups and computers.

What it is

Active Directory (AD) is the database that decides who can log in to your Windows network and what they can reach. Event 4662 is Microsoft’s record of an operation on an object in that database. An object might be a user, a group, a computer or the domain itself.

Microsoft’s documentation says the event is generated every time an operation is performed on an AD object, but only if a matching auditing rule, called a SACL, has been set on that object. If the operation fails, a failure event is written. You get one 4662 for each type of operation performed. It sits under the audit subcategory Audit Directory Service Access, and it only exists on domain controllers.

That second point catches many small businesses out. A quiet log does not mean nothing happened. It may mean nobody switched the auditing on.

How it works

  1. An account asks a domain controller to do something to an AD object, for example read a property or change a permission.
  2. The domain controller checks whether the object has a SACL that covers that action. If it does not, nothing is written.
  3. If it does, the controller writes event 4662 to the Security log, with the account, the object and the type of access.
  4. Your log tool or SIEM (a central place that collects logs) can then search and alert on it.

The fields that matter are the account that asked (Subject), the Object Type (such as user, group or domainDNS), the Object Name, the Accesses and Access Mask, and the Properties. The Properties field holds GUIDs, long identifiers that stand for classes or property sets. Microsoft explains how to translate a GUID by searching the AD schema with its LDP.exe tool. The Handle ID and Logon ID let you link the event to related events such as 4661 and 4624.

How event 4662 is producedAccountasks to read orchange an AD objectDomain controllerchecks the objectauditing rule (SACL)Security logwrites event 4662if the rule matchesSIEM or analystsearches and alertson the eventWithout a SACL on the object, step 2 writes nothing.

Who it affects and how badly

Any business that runs on-premises Active Directory has domain controllers that can produce this event: accountancy and legal practices, manufacturers, schools, councils and MSPs managing client domains in the UK, EU, US and Armenia. A business that uses only Microsoft 365 and Entra ID (the cloud directory) with no domain controller does not produce 4662.

Worst cases, as illustrations:

  • Sole trader to 10 staff: usually no domain controller, so no issue.
  • 10 to 50 staff: one or two domain controllers, auditing never configured. A change to group membership leaves no trace, and an investigation after a breach has little to work with.
  • 250 plus or regulated: auditing is enabled but noisy, so alerts are ignored. A regulator asking who changed a privileged group cannot be answered quickly.

Real examples

Event 4662 is a logging feature, not an incident, so there is no single named victim to cite. Microsoft’s own page is the reference, and it recommends specific objects to watch, listed below. We do not cite a client or partner case.

What we check on a test

On an internal engagement we look at the audit side as well as the attack side. Method, not findings:

  • Whether Audit Directory Service Access is switched on for success and failure on the domain controllers.
  • Whether SACLs exist on high-value objects such as the domain root, privileged groups and the AdminSDHolder object.
  • Whether the events leave the domain controller, and whether anyone reads them.
  • Whether our own test actions appear in the log, so we can tell you what your monitoring would and would not have seen.

How to detect it

Microsoft’s recommendations for this event:

  • Watch the domainDNS class, which is the domain object.
  • Watch specific objects such as CN=AdminSDHolder,CN=System in your domain.
  • Prioritise access types Write Property, Control Access, DELETE, WRITE_DAC and WRITE_OWNER.
  • Watch specific property GUIDs where you know which ones matter.
  • Alert on failures as well as successes.

Free starting points: Event Viewer on the domain controller (Windows Logs, Security, filter on 4662), and Windows Event Forwarding to a collector server. Expect volume. Filter rather than alert on everything.

How to fix or prevent it

  1. Enable Audit Directory Service Access (success and failure) by Group Policy on domain controllers.
  2. Set SACLs only on the high-value objects above, so volume stays manageable.
  3. Forward domain controller Security logs to a central place with enough retention to investigate.
  4. Write down which GUIDs and objects you alert on, and test the alert yearly.
  5. Review membership of privileged groups regularly, so a 4662 on them is rare and meaningful.

Illustration: a small business

An illustration, not a real case. A 45-person accountancy has two domain controllers and has never set up directory auditing. A departing administrator changes permissions on a shared group the week before leaving. Months later the partners ask who did it and when. The log has nothing, because no SACL was ever set. Setting SACLs on privileged groups and forwarding the events would have answered the question in minutes.

Frequently asked questions

Why do I see no 4662 events? Microsoft says the event only generates if a SACL is set on the object and the operation matches it.

Does 4662 mean an attack? No. It records any matching operation, so it needs filtering to objects and access types that matter.

Which machines produce it? Active Directory domain controllers, from Windows Server 2008 onwards.

Related terms

DCSync Attack Explained: How It Works and How to Detect It, Windows Event ID 4672 (special privileges assigned to new logon): what it means and what to watch, Windows Event ID 4719: Audit Policy Changed, What It Means, Event ID 4768 and 4769: Kerberos Tickets Explained, Port 389 (LDAP): How It Is Attacked and Secured See also: Windows Event ID 5136: Directory Object Modified, Explained.

How Wolfcore helps

Wolfcore’s vulnerability management and SOC monitoring keep watch for this after the test is over. See wolfcore.co.uk/services/soc-siem-monitoring. To see whether an attacker could use this in your environment, see our penetration testing service.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call