1. Resources
  2. Detection sources
  3. Event ID 3053

Event ID 3053: The directory has been configured to block implicit owner privileges

Written by a domain controller when the CVE-2021-42291 implicit owner check is set to enforcement (character 29 of dSHeuristics at 1): the owner of a computer object needs an explicit right to rewrite its security descriptor.

Log source
Directory Service log
Detection value
Context
Volume
Low (estimate)
Last updated
Log
Directory Service log (Microsoft-Windows-ActiveDirectory_DomainService, on by default)
Logged on
Domain controllers only
Event versions
Not published
Detects
Not read by our detection rules yet

When it is written

KB5008383, released with the November 9, 2021 updates for CVE-2021-42291, notes that creators and owners of a computer account could change its security-sensitive attributes after creating it. Its second protection temporarily removes the implicit rights of the owner when a user without domain administrator rights writes the security descriptor of a computer-derived object. Character 29 of the forest-wide dSHeuristics attribute sets its mode: 0 audit mode (the default after the update), 1 enforcement, 2 disabled. Microsoft lists three mode change events written when that character changes: 3053 for enforcement, 3054 for audit mode and 3055 for disabled. 3053 says that the directory now blocks implicit owner privileges when the nTSecurityDescriptor attribute is first set or modified during LDAP add and modify operations, that this is the most secure setting and that no further action is required. Microsoft gives it the event type Informational; the text carries no values.

From then on, a modify request that rewrites the security descriptor of a computer object using only the owner's implicit rights is denied and logged as 3046, instead of allowed and logged as 3049. The protocol specification (MS-ADTS) names the rights that are removed, READ_CONTROL and WRITE_DAC, and refuses a security descriptor supplied in an add request (3045) when the add check of character 28 is enforced as well.

KB5008383 does not say whether every domain controller writes the event when the change replicates to it, or whether it is repeated, for example when the service starts. The event does not name who made the change. Microsoft notes that AD LDS writes 3050, 3051, 3053 and 3054 as well, to its own log, which this library does not cover.

Why a defender reads it next to the events the rules read: the library's rules for computer objects created with unauthorized attributes read the denials 3044 to 3046, the audit events 3047 to 3049 and the switch-off events 3052 and 3055. 3053 marks the moment owner rights stopped being enough, which tells you to expect 3046 rather than 3049 from that domain controller afterwards.

How to turn it on

Microsoft-Windows-ActiveDirectory_DomainService writes the event to the Directory Service log (Event Viewer > Applications and Services Logs > Directory Service), which is on by default. Microsoft

The log needs nothing to be turned on: a domain controller writes it from the moment it is promoted. What Active Directory writes there depends on its diagnostic logging levels, one REG_DWORD value per category under HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics (for example 16 LDAP Interface Events), each from 0 (None) to 5 (Internal). Microsoft's default for every category is 0, which it describes as recording only critical and error events; several warning and information events of this library are nonetheless documented as written at that level (the CVE-2021-42291 events, the daily LDAP summaries). Some events, such as the per-client LDAP signing and channel binding events, are written only at level 2 or higher of their category; their pages say so.

Microsoft recommends keeping the levels at 0 unless you investigate an issue, notes that a higher level adds detail and events, and advises against 3 or more because it costs resources and can slow the server. The levels are set per domain controller, so set them on every domain controller whose events you need. AD LDS instances write the same kind of events to their own instance log, which this library does not cover.

Show the diagnostic logging levels of this domain controller
reg query "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics"
Based on vendor documentation.
Show the log's settings (size and retention)
wevtutil gl "Directory Service"
Based on vendor documentation.

The event is written by domain controllers with the November 9, 2021 or later updates; nothing else needs to be turned on. To see the current state of the forest, read dSHeuristics (read only, Active Directory module); character 29 at 1 is the state this event announces:

Get-ADObject -Identity ("CN=Directory Service,CN=Windows NT,CN=Services," + (Get-ADRootDSE).configurationNamingContext) -Properties dSHeuristics | Select-Object -ExpandProperty dSHeuristics

MS-ADTS now also lists a value 3 for character 29 (Windows 11, version 26H1 and later) and treats any character other than 0 to 3 as 1; KB5008383 documents no mode change event for 3. To learn who changed the attribute, the domain controller that received the write logs event 5136 with the old and new string when an audit entry (SACL) on the CN=Directory Service object covers writes to dSHeuristics, and Audit Directory Service Changes is on.

Fields

The template of this event is not part of client Windows and Microsoft does not publish its XML field names, so the fields are named by the labels of Microsoft’s documentation.

FieldWhat it holds
Event TextFixed text with no inserted values: the directory blocks implicit owner privileges when the nTSecurityDescriptor attribute is first set or modified during LDAP add and modify operations, this is the most secure setting, and no further action is required. It does not say who changed the setting or when; read that from event 5136 on the dSHeuristics attribute.

Values to know

Event Text

ValueMeaningSignal
to block implicit owner privilegesEvent 3053, this event: enforcement, character 29 is 1Microsoft calls it the most secure setting.Expected
Warning events will be logged, but no requests will be blockedEvent 3054: audit mode, character 29 is 0 or not set (the default after the update)Worth knowing
No events will be logged, and no requests will be blockedEvent 3055: the check and its events are off, character 29 is 2Microsoft: not secure, only as a temporary troubleshooting step.Attack signal

Volume and noise

The event belongs to a planned change: the forest moves from audit mode to enforcement once the audit events show no unexpected privileges, as Microsoft recommends. It should be rare and match a change record.

Keeping it manageable

  • Keep every mode change event (3050 to 3055): they are rare, and each one changes what the CVE-2021-42291 events of that domain controller mean.
  • Pair it with event 5136 on dSHeuristics to see who made the change and from which session.
  • After 3053, a process that changes the permissions of the computer objects it owns shows up as 3046. Microsoft's guidance is to grant it the specific permission it needs on a dedicated organizational unit, not to lower the setting or to add the account to Domain Admins.

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

What does event 3053 mean?

Character 29 of the forest's dSHeuristics attribute is now 1. The CVE-2021-42291 protection is enforced: a user without domain administrator rights who owns a computer object can no longer rewrite its security descriptor through the owner's implicit rights, and needs a permission granted by an access control entry instead.

Do I need to do anything after event 3053?

Microsoft's event text says no further action is required. Watch event 3046 afterwards: a process that changed the permissions of computer objects it created is now refused, and Microsoft advises granting the specific permission it needs rather than turning enforcement off.

Does event 3053 also affect LDAP add operations?

Its text names add and modify operations. KB5008383 describes the implicit owner check for modify requests (3046 and 3049); the protocol specification also refuses a security descriptor supplied in an add request (3045) when implicit owner rights are blocked and the add check of character 28 is enforced.

References