Out-of-band Patches for Domain Controllers
Out-of-band Patches for Domain Controllers
Background and Instructions
Synopsis
On March, 22, 2024, Microsoft released out-of-band patches for several server operating systems due to a memory leak negatively impacting domain controllers.
Description
Microsoft released out-of-band patches to address a known issue caused by the earlier 2024-03 patches. Domain controllers may experience a memory leak in the lsass.exe process to where a domain controller would crash and restart. Microsoft does not release out-of-band patches through normal distribution channels, so Tanium Patch" /> cannot deploy these patches as normal. Per Microsoft, "The OOB update will NOT be available through the normal Windows update channels." This article describes how to leverage the Tanium platform to install the out-of-band patch in your environment and stop the memory leak from impacting your domain controllers.
Affected Operating Systems
-
Microsoft Windows Server 2012 R2 (ESU Licensing required. For more information, see Enabling and Delivering Microsoft Extended Security Updates with Tanium)
-
Microsoft Windows Server 2016
-
Microsoft Windows Server 2019
-
Microsoft Windows Server 2022
Instructions
We recommend that customers block the bad patches using a Tanium Patch" /> block list. After blocking the patches, you can decide to either roll back the patch using an uninstall deployment, or use Deploy packages to install the out-of band-patches.
Microsoft recommends to deploy the out-of-band patches rather than roll back the bad patches so that other security CVEs and any other bugs are resolved.
Block List Known Bad Patches
Import the 2024-03KnownBadPatchesforDCs.jsonNo Content found for /db/organizations/tanium/repositories/master/content/documents/knowledge/2024-03KnownBadPatchesforDCs.json file or create a block list containing the following patches in Tanium Patch" /> and enforce the block list on domain controllers (Is DC equals True).
|
Rule Name |
Conditions |
|---|---|
|
KB5035855 - Windows Server 2016 Cumulative Update |
KB Articles equals "KB5035855" |
|
KB5035857 - Windows Server 2022 Cumulative Update |
KB Articles equals "KB5035857" |
|
KB5035849 - Windows Server 2019 Cumulative Update |
KB Articles equals "KB5035849" |
|
KB5035885 - Windows Server 2012 R2 Monthly Rollup |
KB Articles equals "KB5035885" |
For more information, see Exclude patches with block lists.
Roll Back Patches
Microsoft does not recommend rolling back the patch due to other bugs and security fixes that may be addressed. Instead, Microsoft recommends deploying the out-of-band patches. We are providing these instructions if you wish to roll back the patch instead of deploying the out-of-band patches.
From Tanium Patch > Patches, select the four KBs and create an uninstall deployment. To fully roll back the patch, you must restart the patched device.
Deployments to domain controllers should be performed in phases for validation and to reduce outages.
For more information, see Windows: Create a deployment to uninstall patches.
Install Out of Band Patches using Tanium Deploy
Download and unzip 2024-03 OOB Patches.zipNo Content found for /db/organizations/tanium/repositories/master/content/documents/knowledge/2024-03_OOB_Patches.zip, then import the contents into Tanium Deploy. Deploy the packages to domain controllers and ensure that the package instructions include a restart.
Deployments to domain controllers should be performed in phases for validation and to reduce outages.
For more information, see Import a software package and Deploying softwareNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/deploy/deploying_software.dita.
Tanium Interact" /> Inventory Questions
-
Interact Question to get operating systems of domain controllers:
Get Operating System Generation from all machines with Is DC equals true
-
Interact Question to find domain controllers with the bad patch installed:
Get Computer Name and Operating System Generation and Patch - Installation State[Installed Only] having Patch - Installation State:KB Articles matches "^KB50358(49|55|57|85)$" from all machines with ( Patch - Installation State[Installed Only]:KB Articles matches "^KB50358(49|55|57|85)$" and Is DC equals True )
-
Interact Question to get kdcsvc.dll version from domain controllers:
Get Operating System Generation and File Version[%windir%\system32\kdcsvc.dll] from all machines with Is DC equals True
|
Operating System |
kdcsvc.dll Patched Version |
|---|---|
|
Windows Server 2012 R2 |
6.3.9600.21872 |
|
Windows Server 2016 |
10.0.14393.6800 |
|
Windows Server 2019 |
10.0.17763.5579 |
|
Windows Server 2022 |
10.0.20348.2342 |