Microsoft DCE-RPC denial of service
| Attack ID: | CPAI-2003-11 |
| Publish Date: | |
| Last Update: | |
| Category: | Windows DCE-RPC attacks |
| Vulnerable Systems: | Microsoft Windows 2000 Advanced Server All SPs Microsoft Windows 2000 Datacenter Server All SPs Microsoft Windows 2000 Professional All SPs Microsoft Windows 2000 Server All SPs Microsoft Windows 2000 Terminal Services All SPs Microsoft Windows NT Enterprise Server 4.0 All SPs Microsoft Windows NT Server 4.0 All SPs Microsoft Windows NT Terminal Server 4.0 All SPs Microsoft Windows NT Workstation 4.0 All SPs Microsoft Windows XP 64-bit Edition FCS, SP1 Microsoft Windows XP Home FCS, SP1 Microsoft Windows XP Professional FCS, SP1 |
| Source: | Microsoft Security Bulletin MS03-010 CVE: CAN-2002-1561 Microsoft Security Bulletin MS03-026 CAN-2003-0352 CA-2003-16 |
| Description: | Windows RPC Endpoint Mapper does not properly check message inputs under certain circumstances. An attacker can send a certain type of malformed RPC message after RPC established a connection, which may cause the RPC Endpoint Mapper process on the remote machine to fail. In this case, most of the server services become unavailable and rebooting the machine might be required. A worm known as the W32/Lovsan.worm, MSBlast, Blaster/LovSan, or simply RPC worm is known to exploit this vulnerability. |
| Severity: | |
| A proof of concept code is available on the Internet.
The RPC Endpoint Mapper process is responsible for maintaining the connection information for all of the processes on that machine using RPC. Because the Endpoint Mapper runs within the RPC service itself, exploiting this vulnerability would cause the RPC service to fail, with the attendant loss of any RPC-based services the server offers, as well as potential loss of some COM functions. |
|
| Details: | The failure occurs because of incorrect handling of malformed messages. This particular vulnerability affects the RPC Endpoint Mapper process, which listens on TCP/IP port 135. Once the attacker established a connection (traversing a firewall using allowed services), the attacker would begin the RPC connection negotiation before transmitting a malformed message. At this point, the process on the remote machine would fail. |
| Attack Detection: | Dropped logs with rule number 996 and 998 appear in the log viewer.
(see more details about RPC services and 99x dropped logs is provided in the additional information section) NG with Application Intelligence (R55) will output a drop log with rule number 994 for the Blaser worm. |
| Solution: | NG with Application Intelligence R55 already provides all the protections added in this advisory, as well as further specific Blaster worm protections. Therefore, there is no need to update any file. FireWall-1 inspects DCE-RPC connections. This allows security administrators to specifically define Microsoft based RPC services that need to pass through the firewall. The service definitions are based on RPC service identifiers (UUID) that are unique for each service that is matched by RPC Mapper. As a result, FireWall-1 is performing Stateful Inspection security checks on both the connections and check the packet validity. In case those DCE RPC connections are required to pass the firewall, it is recommended to use specific DCE RPC services in the rule base. (For example: MS Exchange, WINS etc.) Security Administrators should perform the following tasks:
Updated: 28-Jun-04:
Updated: 30-Jun-03: |
| Industry Reference: | |
| Additional Information: | Rules 996, 997, 998, and 999 are dummy rule numbers that appear in DCE RPC specific error logs. They indicate that the initial DCE RPC packets were allowed, but an error occurred later in the TCP stream, which did not conform to the correct DCE RPC flow as FireWall-1, understands
NG with Application Intelligence (R55) will output a drop log with rule number 994 for the Blaser worm. |