This post first appeared on the ET Ducky blog. I build ET Ducky, an RMM that reads ETW on Windows and eBPF on Linux.
Event ID 10036 is a DCOM error that Windows writes to the System log of the server when a client tries to activate a DCOM server below the authentication level the server now requires. The message reads as follows.
The server-side authentication level policy does not allow the user %1\%2 SID (%3) from address %4 to activate DCOM server. Please raise the activation authentication level at least to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in client application.
In the logged event, %1 is the domain, %2 is the user name, %3 is the user's SID, and %4 is the IP address of the client.
What it means
The server refused a DCOM activation because the client asked for an authentication level lower than RPC_C_AUTHN_LEVEL_PKT_INTEGRITY. Microsoft added this check to fix CVE-2021-26414 and released it in three phases. The final phase, released March 14, 2023, keeps the hardening on with no ability to disable it.
The 10036 message includes the account and the IP address of the client. The application that made the call appears only on the client, in event 10037 or 10038 in its System log. Anonymous activation at RPC_C_AUTHN_LEVEL_NONE isn't affected by the hardening, so a DCOM server that allows anonymous activation still allows it.
How to find the cause
- List the refusals on the server with the time and message of each.
Get-WinEvent -FilterHashtable @{ LogName='System'; ID=10036 } -MaxEvents 50 | Select-Object TimeCreated,Message
- Note the address in each message, then sign in to that client and list its DCOM client events.
Get-WinEvent -FilterHashtable @{ LogName='System'; ID=10037,10038 } -MaxEvents 50 | Select-Object TimeCreated,Id,Message
- Read the application path, PID, CLSID, and authentication level in each client event. Event 10037 means the application set the authentication level explicitly. Event 10038 means it used the default activation authentication level.
- Check the date of the newest cumulative update on the client. Microsoft states that clients with the cumulative security updates from January 2023 or later have the auto-elevate patch fully enabled, which raises non-anonymous activation requests from Windows DCOM clients to
RPC_C_AUTHN_LEVEL_PKT_INTEGRITY. - When the DCOM server is a certificate authority, reproduce the call from the client and check for a new 10036 on the CA at the same minute.
certutil -config "CAserver\CA Name" -ping
KB5004442 lists the Windows versions that write these events, from Windows Server 2012 R2 and Windows 8.1 through Windows Server 2022 and Windows 11 22H2.
Fixes
Install the current cumulative update on any Windows client that logged event 10038 and is behind January 2023. The auto-elevate patch is included in every later cumulative update.
Contact the vendor of any application that logged event 10037 or 10038 on an up-to-date client, and ask for a version that requests RPC_C_AUTHN_LEVEL_PKT_INTEGRITY or higher. The event text itself says "To raise the activation authentication level, please contact the application vendor."
Don't plan on the registry value RequireIntegrityActivationAuthenticationLevel under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\AppCompat. Microsoft documents it for the phases when the hardening could be turned on or off. The final phase removed the ability to disable it.
Related events
- Event 10037 is the client-side event for an application that explicitly set an authentication level below the required level.
- Event 10038 is the client-side event for an application that used the default activation authentication level below the required level.
Where ET Ducky shows it
I build ET Ducky. Beyond the fifteen built-in behavioral rules, you can create custom rules using a rule builder to monitor for events that are unique in your environment. Automations can be configured around alerts. A Live Session on a managed Windows server runs an AI-driven investigation where the AI picks the ETW providers to capture in each round, and only counts-only summaries leave the host.
One Windows or Linux server costs $5 a month with no query subscription. Pricing is at https://etducky.com/pricing.
Top comments (0)