Home Page | Skip to Navigation | Skip to Content | Skip to Search | Skip to Footer

Security Best Practice: SIP Protocol Enforcement

Subscribe

Check Point Reference: SBP-2008-15
Date Published:
Severity:
Source: IPS Research Center
Protection Provided by: Security Gateway
  • R70
VPN-1
  • NGX R65
  • NGX R62
VSX
  • NGX R65
Who is Vulnerable?
SIP VoIP Systems
Vulnerability Description
The Session Initiation Protocol (SIP) is a signaling protocol, widely used for controlling multimedia communication sessions such as voice and video calls over Internet Protocol (IP). The protocol can be used for creating, modifying and terminating two-party (unicast) or multiparty (multicast) sessions consisting of one or several media streams. The modification can involve changing addresses or ports, inviting more participants, adding or deleting media streams, etc. Other feasible application examples include video conferencing, streaming multimedia distribution, instant messaging, presence information and online games.

VoIP opens voice communications to the same kinds of security threats that imperil data communications. Attacks on data communications can come through the IP voice infrastructure and vice versa. Denial of service attacks targeting weak VoIP elements could flood the network with voice traffic, degrading network performance or shutting down both voice and data communications. Hacked-into gateways might be used to make unauthorized free telephone calls. Unprotected voice communications might be intercepted and stolen or corrupted. Voice packets can be sniffed out and listened to in real time. PC-based soft phones are vulnerable to eavesdropping if the PC is infected with a Trojan horse that snoops into LAN traffic. Voicemail can be redirected to "ghost" mailboxes.
Vulnerability Details
Hackers can attack SIP VoIP systems with different denial of service attacks blocking legitimate services, perform a denial of service attack on the entire network, sniff sensitive data and in some cases, even launch IP bounce attacks, traversing traditional security gateways, gaining complete control over the VoIP enabled system as well as the entire network.

The most common threats include:
* Call hijacking. Calls intended for one receiver are redirected to someone else. At best hijacked calls are a disruptive nuisance; at worst they can steal valuable sensitive information.
* Fooled billing. For example, fake BYE and OK messages exchanged over the SIP signaling path appear to terminate a call and billing is stopped, while the media path actually remains open. Undetected, these attacks can rob an organization of considerable revenue.
* Denial of Service attacks. The attacker mimics caller identities and cancels pending SIP INVITE requests. The result: an organization's phone system is effectively shut down.

Protection Overview
IPS/SmartDefense offers several protections against SIP related vulnerabilities.

SIP Protections - This defense protects against Denial of Service attacks, and against penetration attempts such as connection hijacking and connection manipulation. IPS validates the expected usage of the SIP protocol:
* Checks for illegal characters in the packets
* Ensures packets conform to RFC 3261 for SIP over UDP/TCP, for example the use of Basic Authentication is blocked. 

SIP Filtering - IPS filters SIP traffic allowing you to enforce your SIP application policy, for example, to allow video or audio and to block SIP based instant messaging. In addition, IPS enables SIP method filtering and dropping unknown SIP messages.

SIP Custom Properties - When these properties are enabled, IPS blocks SIP traffic according to the following options:
* Block SIP early media
* Block SIP proxy failover
* Block SIP calls that use two different voice connections (RTP) for incoming audio and outgoing audio
* Block calls using a proxy or a redirect server
* SIP user suffix length
* Default proxy registration expiration time period

To configure the defense, select your product from the list below and follow the related protection steps.

Security Gateway R70

How Can I Protect My Network?
1. In the IPS tab, click Protections > By Protocol > Application Intelligence > VoIP > SIP.
2. In the right pane, double-click the following protections:

SIP Protections
SIP Filtering
SIP Custom Properties

3. In the Protection Details window, click on Edit. Choose the protection's Action (Override IPS Policy with: Prevent/Detect), and apply Additional Settings.
4. Install policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

SIP Filtering
Attack Name: SIP content security violation
Attack Information:
Video is not allowed by the security policy
Audio is not allowed by the security policy
Video/Audio is not allowed by the security policy
Instant Messaging is not allowed by the security policy
Whiteboard is not allowed by the security policy
File Transfer is not allowed by the security policy
Application Sharing is not allowed by the security policy
Remote Assistance is not allowed by the security policy
Messenger application is not allowed by the security policy
Unknown SIP message type

SIP Custom Properties
Attack Name: SIP content security violation
Attack Information:
Reinvites exceed the limit
Users are not registered
Message exceeds retransmissions limit

Attack Name: Malformed SIP datagram
Attack Information: Illegal character in packet

VPN-1 NGX R65/R62 & VPN-1 VSX NGX R65

How Can I Protect My Network?
1. In the SmartDefense tab, click Application Intelligence > VoIP > SIP.
2. In the configuration pane, under Settings > Mode, check Active.
3. Install policy on all modules.

How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:

Attack Name: SIP content security violation
Attack Information:
Video is not allowed by the security policy
Audio is not allowed by the security policy
Video/Audio is not allowed by the security policy
Instant Messaging is not allowed by the security policy
Whiteboard is not allowed by the security policy
File Transfer is not allowed by the security policy
Application Sharing is not allowed by the security policy
Remote Assistance is not allowed by the security policy
Messenger application is not allowed by the security policy
Unknown SIP message type
Reinvites exceed the limit
Users are not registered
Message exceeds retransmissions limit

Attack Name: Malformed SIP datagram
Attack Information: Illegal character in packet