A named pipes filtering feature was introduced in Windows XP SP2 and Windows Server 2003 SP1.
Named pipes filtering can be dynamically enabled (without requiring a reboot) by adding and setting the following registry value to 1:
Key: HKLM\SYSTEM\CCS\Services\lanmanserver\Parameters\ Value: PipeFirewallActive (REG_DWORD) Content: 1 to enable named pipe filteringThe list of allowed named pipes can then be dynamically configured (named pipes can be added or removed without requiring a reboot) in the following registry value:
Key: HKLM\SYSTEM\CCS\Services\lanmanserver\Parameters\ Value: AllowedPipes (REG_MULTI_SZ) Content: list of allowed named pipes
When PipeFirewallActive is set to 1 and AllowedPipes is empty, accesses to any named pipe is refused, both for unauthenticated and authenticated sessions.