我试图使用以下powershell代码检索远程计算机上的WMI对象:
Get-WmiObject -ComputerName mymachine -class Win32_operatingSystem -Authentication PacketIntegrity但是,当我的计算机(RequireIntegrityActivationAuthenticationLevel注册表项被设置为1时,KB5004442(https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c)被安装和激活,我将得到一个“拒绝访问”错误。
在服务器端的事件查看器中,我可以看到相关的错误10036: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
从我的观点来看,将"PacketIntegrity“指定为身份验证级别应该可以做到这一点(我一直尝试使用PacketPrivacy级别)。
当禁用KB (将RequireIntegrityActivationAuthenticationLevel设置为0并重新启动)时,该命令运行良好。
我一直试图使用VBscript进行这个调用,结果与GetObject("winmgmts:authenticationLevel=packetIntegrity}!\\mymachine\Root\CIMv2")相同
我在这里的目标是在2023年3月14日之后能够继续请求WMI对象,那时将不可能禁用KB5004442。
发布于 2022-10-18 06:56:38
事实上,在微软开了一张事故票后,似乎没有问题。
在我的配置中,客户端没有更新到最新的修补程序级别,因此无法工作。即客户端和服务器都必须部署修补程序(至少KB5006714或Windows8.1和Windows 2012,请参阅https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c)
因此,正如Microsoft中没有明确解释的那样,在应用kb5004442补丁之后,不需要做任何事情让DCOM继续工作,只需升级您的系统就行了!
发布于 2023-01-03 20:28:31
有些事情似乎有问题,即使您禁用了它,例如,我们安装了RDS集群的脚本出现了问题。我们能让它工作的唯一方法是在所有参与部署的机器上将安全性设置为“数据包完整性”。
https://serverfault.com/questions/1111075
复制相似问题