Hello Anant Bera,
Thank you for posting question on Microsoft Windows Forum!
Based on your query of DCOM right removal. Well! In fact, DCOM permissions are not inherently required for Windows Firewall itself. A firewall service account would normally not need DCOM rights merely because it operates a firewall. The permissions may instead be required by the firewall product/agent, its management service, WMI, monitoring software, or another component that runs under that account. On the other hand, WMI uses DCOM for remote connections, and that applications/services performing remote WMI operations can require Remote Launch, Remote Activation, Remote Access, and corresponding WMI namespace permissions.
Regarding the potential impact of removing DCOM permissions. Well! If DCOM permissions are revoked. The firewall might lose the ability to map IP addresses to Active Directory users. This directly affects policy enforcement based on user identity (e.g., "allow only Finance users to access this server"). Palo Alto's agentless User-ID uses WMI transport, which requires DCOM privileges. On the other hand, the firewall components that read security logs from domain controllers (for user mapping or threat detection) will fail. The service account typically needs Event Log Readers in addition to DCOM Users. Also, tools that manage the firewall via WMI or remote COM calls will be unable to connect. You may see errors such as "Access Denied" or DCOM error 1084 (server execution failed). If the firewall uses the service account to authenticate users or perform single sign-on against AD, removing DCOM permissions can cause login failures or force users to re-authenticate manually.
The following are points for recommended pre-checks and precautions:
- To inventory all consumers of the service account by identifying every firewall product, management console, and monitoring tool that uses the account. Check for WMI, RPC, and COM+ dependencies in their documentation and confirm whether the account is a member of the Distributed COM Users group, either directly or via nested groups.
- Monitor DCOM audit logs by enabling DCOM auditing on monitored Domain Controllers to verify whether these specific service accounts are initiating active DCOM calls.
- To conduct a phased rollout by revoking permissions on a single test account or non-critical Domain Controller during a controlled maintenance window and validate the firewall’s active user-mapping table (such as checking show user ip-user-mapping on Palo Alto or equivalent) to confirm session tracking remains intact.
- Having a documented rollback plan by exporting the current DCOM permission configuration via dcomcnfg before making changes. Know exactly how to re-add the account to the Distributed COM Users group and restore any custom launch/activation limits. At the same time, ensure you have a maintenance window and the ability to restart the firewall services or the server itself if needed.
For further reference.
- https://learn.microsoft.com/en-us/windows/win32/wmisdk/securing-a-remote-wmi-connection
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/dcom-machine-access-restrictions-in-security-descriptor-definition-language-sddl-syntax
Hope the above information is helpful!