Security issiues in VOIP Applications

INTRODUCTION    Virtual private networks are one of the basic
       The evolution in the networks &forms of security mechanisms. Here, the
internet has increased different types of applications.communicating parties establish a sort of association
One such application is VOIP which has become anwith each other using tunnels & the end points are
alternative to traditional telephone network (publicconnected through layer 2 techniques like
switched telephone network, or PSTN) offeringFrame-Relay, ATM or MPLS.
versatile, flexible & economical speech   With the end-to-end encryption, communicating
communication. The PSTN of course, is notentities initially exchange a secret key pair which they
invulnerable to security breaches. Some of the earliestwill be using to encrypt the data. This key exchange
hackers were "phone phreakers", who specialized incould be carried out in multiple ways including manually
making unauthorized long distance calls.sending the key or through a complex key exchange
      Today, the threat caused by hackers to IPprotocol. After the key exchange process, all the data
networks goes far beyond the cost of unauthorizedbetween the communicating nodes will be encrypted.
long-distance calls. An attack could take down theEven if an attacker gets access to the datagram’s,
network (and thus the company's phone service) forhe/she will not be able decode the data immediately.
hours or days, and the content of calls intercepted,As the encryption algorithm becomes complex, it
divulging trade secrets,becomes harder for the attacker to decode the data
1. confidential client information and more. That makeswithin the encrypted datagram.
security a very important issue .Here we are going to     The most likely widespread solution to the
discuss the the attacks and the   relevant counternetwork address translation is UDP encapsulation of
measure to provide appropriate levels of security forIPsec. This implementation is supported by the IETF
VOIP networks.and effectively allows all ESP traffic to traverse the
VOIP (Voice Over Internet Protocol)NAT. In tunnel mode, this model wraps the encrypted
     The first experiment on telephony networksIPsec packet in a UDP packet with a new IP header
were conducted by the researchers at MIT in 1970sand a new UDP header, usually using port 500.
& the internet protocol specification RFC741 for Problems arising from VOIPsec
“Network Voice Protocol “ was published in the      There are certain issues associated with
year 1977.VOIP uses packet switching which sendsVOIP that are not applicable to normal data traffic.
digitized  data packets over the internet using manyChief among them are latency, jitter, and packet loss.
possible paths. These packets are reassembled at theThese issues are introduced into the VOIP
destination to generate voice signals.environment because it is a real time media transfer. In
Before any voice can be sent, a call must be placed. Instandard data transfer over TCP, if a packet is lost, it
an ordinary phone system, this process involves dialingcan be resent by request. In VOIP, there is no time to
the digits of the called number, which are thendo this. Packets must arrive at their destination and
processed by the telephone company’s system tothey must arrive fast.
ring the called number. With VOIP, the user must enter Solutions to VOIPsec issues
the dialed number, which can take the form of a    Latency: When an end to end encryption is
number dialed on a telephone keypad or the selectionperformed in VOIP it (cryptographic engine) introduces
of a Universal Resource Indicator (URI).The telephonethe studies reveals that cryptographic engine as a
number or URI must be linked with an IP address tobottleneck for voice traffic transmitted over IPsec.
reach the called party.             One proposed solution to the
      A number of protocols are involved inbottlenecking at the routers due to the encryption
determining the IP address that corresponds to theissues is to handle encryption/decryption solely at the
called party’s telephone number. This process isendpoints in the VOIP network [33]. One consideration
shown in fig.1. VOIP is increasingly popular because it iswith this method is that the endpoints must be
cheaper than traditional phone service and in somecomputationally powerful enough to handle the
cases free. Organizations can run their own VOIPencryption mechanism. But typically endpoints are less
service using products from vendors such as Cisco.powerful than gateways, which can leverage
For consumers, companies including Packet8 andhardware acceleration across multiple clients. Though
Vonage offer an actual phone that plugs into aideally encryption should be maintained at every hop in
broadband connection, while others including Skypea VOIP packet’s lifetime, this may not be feasible
offer software that runs on a PC. Most popular instantwith simple IP phones with little in the way of software
messaging applications also have VOIP capabilities. or computational power.
What are the threats?       In such cases, it may be preferable for the
Some of the security issues that affect VOIP are thedata be encrypted between the endpoint and the
same ones that affect any IP network, and some arerouter (or vice versa) but unencrypted traffic on the
unique to voice communications. The threats include:LAN is slightly less damaging than unencrypted traffic
- A virus or worm can be introduced to the networkacross the Internet. Fortunately, the increased
and crash the VoIP servers/gatewaysprocessing power of newer phones is making endpoint
- A denial of service attack can overwhelm theencryption less of an issue. In addition, SRTP and
network and bring it downMIKEY are future protocols for media encryption and
- A hacker can access the call server to listen in to,key management enabling secure interworking
record, or disrupt callsbetween H.323 and SIP based clients.
- A hacker can give himself/herself or others access Secure Real Time Protocol (SRTP)
to services that are supposed to be restricted Jitter: refers to non-uniform packet delays. Jitter can
- Hackers can access the trunk gateway to the PSTNcause packets to arrive and be processed out of
and make unauthorized toll callssequence. RTP, the protocol used to transport voice
- A hacker who accesses the call server can registermedia, is based on UDP so packets out of order are
"rogue" IP phones, which can then use the company'snot reassembled at the protocol level. However, RTP
VoIP servicesallows applications to do the reordering using the
A different but related problem with VoIP is thesequence number and timestamp fields. The overhead
possibility of receiving SPIT (Spam over IP Telephony).in reassembling these packets is non-trivial, especially
Another is the phenomenon is VoIP Phishing.when dealing with the tight time constraints of VOIP.
Security Issues of Voip Applications       RTP (Real-time Transport Protocol) is
     With the introduction of VOIP, the need forcommonly used for the transmission of real-time audio
security is compounded because now we mustvideo data in Internet telephony applications. Without
protect two invaluable assets, our data and our voice.protection RTP is considered insecure, as a telephone
For example, when ordering merchandise over theconversation over IP can easily be eavesdropped.
phone, most people will read their credit card numberAdditionally, manipulation and replay of RTP data could
to the person on the other end. The numbers arelead to poor voice quality due to jamming of the audio
transmitted without encryption to the seller. In contrast,video stream. Modified RTCP (Real-time Transport
the risk of sending unencrypted data across theControl Protocol) data could even lead to an
Internet is more significant. Packets sent from aunauthorized change of negotiated quality of service
user’s home computer to an online retailer mayand disrupt the processing of the RTP stream.
pass through 15-20 systems that are not under the       The Secure Real-time Protocol is a profile
control of the user’s ISP or the retailer.of the Real-time Transport Protocol (RTP) offering not
      Because digits are transmitted using aonly confidentiality, but also message authentication,
standard for transmitting digits out of band as specialand replay protection for the RTP traffic as well as
messages, anyone with access to these systemsRTCP (Real-time Transport Control Protocol). SRTP
could install software that scans packets for creditwas being standardized at the IETF in the AVT
card information. For this reason, online retailers useworking group. It was released as RFC 3711 in March
encryption software to protect a user’s information2004.
and credit card number. Hence, we are to transmitSRTP provides a framework for encryption and
voice over the Internet Protocol, and specifically acrossmessage authentication of RTP and RTCP streams.
the Internet, similar security measures must be applied.SRTP can achieve high throughput and low packet
The current Internet architecture does not provide theexpansion.
same physical wire security as the phone lines. The Packet Loss
key to securing VOIP is to use the security         VOIP is exceptionally intolerant of
mechanisms like those deployed in data networkspacket loss. Packet loss can result from excess
(firewalls, encryption, etc.).latency, where a group of packets arrives late and
      The vulnerabilities in VOIP encompass notmust be discarded in favor of newer ones. It can also
only the flaws inherent within the VOIP application itself,be the result of jitter, that is, when a packet arrives
but also in the underlying operating systems,after its surrounding packets have been flushed from
applications, and protocols that VOIP depends on. Thethe buffer, making the received packet useless.
complexity of VOIP creates a high number ofDespite the infeasibility of using a guaranteed delivery
vulnerabilities that affect the three classic areas ofprotocol such as TCP, there are some remedies for
information security: confidentiality, integrity, andthe packet loss problem.
availability.          One cannot guarantee all packets
     A virus is a piece of malicious code loadedare delivered, but if bandwidth is available, sending
onto the computer systems without your knowledgeredundant information can probabilistically annul the
and runs against your wishes. As VoIP applicationschance of loss. Such bandwidth is not always
move beyond simply handling voice calls to runningaccessible and the redundant information will have to
different applications, the virus risk is likely to increasebe processed, introducing even more latency to the
because all VoIP applications have their own IPsystem and ironically, possibly producing even greater
address like the computer systems on IP networks.packet loss. Newer codecs such as internet Low
Thus, a virus attack could bevery effective against theBit-rate Codec (iLBC) are also being developed that
VoIP applications. One of the common examples isoffer roughly the voice quality and computational
that virus injects small replication code through stackcomplexity of G.729A, while providing increased
overflow to damage the VoIP applications or eventolerance to packet loss.
bring down the IP networks. To tackle this scenario,Better Scheduling Schemes
VoIP applications should provide a security mechanism      The incorporation of AES or some other
to verify received data packet size to avoid exceedspeedy encryption algorithm could help temporarily
bounds of available memory on stack. In summary,alleviate the bottleneck, but this is not a scalable
virus attacks could generate security threats tosolution because it does not address the highest
integrity and availability.degree cause of the slowdown. Without a way for
      Denial of Service (DoS) attacks alwaysthe crypto-engine to prioritize packets, the engine will
refer to the prevention of access to a networkstill be susceptible to DoS attacks and starvation from
service by bombarding servers, proxy servers ordata traffic impeding the time-urgent VOIP traffic. A
voice-gateway servers with malicious packets. Anfew large packets can clog the queue long enough to
incident in which a user is deprived of the services ormake the VOIP packets over 150 ms late (sometimes
resource they would normally expect to have.called head-of-line blocking), effectively destroying the
Intruders can launch the full spectrum of DoS attackscall. Ideally, the crypto-engine would implement QoS
(e.g., unauthenticated call control packets) against VoIPscheduling to favor the voice packets, but this is not a
application’s underlying networks and protocols likerealistic scenario due to speed and compactness
traditional PBX. For example, voicemail and shortconstraints on the crypto-engine.
messaging services in IP telephony systems can      One solution implemented in the latest
become the targets of message flooding attacks. Therouters is to schedule the packets with QoS in mind
result may prevent legitimate attempts to leave aprior to the encryption phase. Although this heuristic
subscriber a message.solves the problem for all packet poised to enter the
      Man in the Middle attacks always refer to ancrypto engine at a given time, it does not address the
intruder who is able to read, and modify at will,problem of VOIP packets arriving at a
messages between two parties without either partycrypto–engine queue that is already saturated with
knowing that the link between them has beenpreviously scheduled data packets.
compromised. The most common man in the middle     QoS prioritizing can also be done after the
attack usually involves Address Resolution Protocolencryption process provided your encryption
(ARP), which can cause an VoIP application to redirectprocedures preserve the ToS bits from the original IP
its traffic to the attack computer system. Then theheader in the new IPsec header. This functionality is
attack computer system can gain complete controlnot guaranteed and is dependent on one’s network
over that VoIP application’s sessions, which can behardware and software, but if it is implemented it
altered, dropped, or recorded. For example, anallows for QoS scheduling to be used at every hop
attacker can inject speech, noise or delay (e.g., silentthe encrypted packets encounter.
gaps) into a conversation .In general, there are three      There are security concerns any time
types of vulnerabilities:(1) Eavesdropping: Unauthorizedinformation on the contents of a packet is left in the
 interception of voice data packets orclear, including this ToS-forwarding scheme, but with
    Real-Time Transport Protocol (RTP) mediathe sending and receiving addresses concealed, this is
stream and decoding of signaling messages; (2)not as egregious as a cursory glance would make it
Packet Spoofing: Intercept a call by impersonatingseem. Still neither the pre-encryption or post-encryption
voice packets or transmitting information; and (3)schemes actually implement QoS or any other
Replay: Retransmit genuine sessions so that the VoIPprioritizing scheme to enhance the crypto-engine’s
applications will reprocess the information.FIFO scheduler. Speed and compactness constraints
    To tackle all these types of vulnerabilities, VoIPon this device may not allow such algorithms to be
applications can adopt the Public Key Infrastructureapplied for some time.
(PKI) a security mechanism to ensure confidentiality of CONCLUSION
all transmitted data, and to verify and authenticate the         This paper has discussed on VOIP
validity of each party in the context of public andarchitecture, security issues & security
private key. Without proper encryption, anyone canmechanisms followed in the VOIP architecture. The
sniff any voice data packets transmitted over IPgeneric problems & the solution for the VOIP
networks that make security threats to confidentialitysystem are discussed. Future work may include
and integrity. In summary, Man in the Middle attackssoftware attacks prevention through solid security
create security threats to confidentiality and integritypolicies and their enforcement.
because this type of attack may release the voice REFERENCES
data packets to authorized parties or modify the 1.W.C. Hardy, QoS Measurement and Evaluation of
content of conversations.Telecommunications Quality of Service, John Wiley
 Security in IPsec& Sons, 2001.
    IP network is prone to maximum number of 2.W.C. Hardy, VOIP Service Quality: Measuring and
security breaches. Hence a lot of network protocolsEvaluating Packet-Switched Voice, McGraw-Hill, 2003.
are developed to protect IP networks. Voice Over IP 3.International Telecommunications Union. ITU-T
is vulnerable towards the same attack as the normalRecommendation G.114 (1998): "Delay".
data traffic. Here the attacker can directly enter the 4.P. Mehta and S. Udani, “Overview of Voice
network to disrupt the service or he could generateover IP”. Technical Report MS-CIS-01-31,
excess traffic to disrupt the service.Department of Computer Information Science,
    IPsec is the preferred form of VPN tunnelingUniversity of Pennsylvania, February 2001.
across the Internet. There are two basic protocols 5.B. Goode, “Voice Over Internet Protocol
defined in IPsec: Encapsulating Security Payload (ESP)(VOIP)”. Proceedings of thee IEEE, VOL. 90, NO. 9,
and Authentication Header (AH). Both schemesSept. 2002.
provide connectionless integrity, source authentication, 6.R. Barbieri, D. Bruschi, E Rosti, “Voice over IPsec:
and an anti-replay service.Analysis and Solutions”. Proceedings of the 18th
     IPsec also supports two modes of delivery:Annual Computer Security Applications
Transport and Tunnel. Transport mode encrypts theConference,2002.
payload (data) and upper layer headers in the IP7.Anonymous, “Voice Over IP Via Virtual Private
packet. The IP header and the new IPsec header areNetworks: An Overview”. White Paper, AVAYA
left in plain sight. So if an attacker were to intercept anCommunication, Feb. 2001.
IPsec packet in transport mode, they could not8.R. Sinden, “Comparison of Voice over IP with
determine what it contained; but they could tell where itcircuit switching techniques”.  Department of
was headed, allowing rudimentary traffic analysis. On aelectronics and Computer Science, Southampton
network entirely devoted to VOIP, this would equate toUniversity, UK,  Jan. 2002.
logging which parties were calling each other, when,9.K. Percy and M. Hommer, “Tips from the trenches
and for how long. Tunnel mode encrypts the entire IPon VOIP”. Network World Fusion, Jan. 2003
datagram and places it in a new IP Packet. Both the10.Anti-phishing working group. Online:
payload and the IP header are encrypted. The IPsec11. Blau, J., 2005. Cabir worm wriggles into U.S. mobile
header and the new IP Header for this encapsulatingphones. PC World. Online:
packet are the only information left in the clear. Usually12.Chen, X. and Heidemann, J., 2002. Flash crowd
each “tunnel” is between two network elementsmitigation via adaptive admission control based on
such as a router or a gateway..application-level measurement. Technical Report
         The IP addresses of these nodes areISI-TR-557, UniversityofSouthernCalifornia. Online:
used as the unencrypted IP address at each hop.13.Defense Information Systems Agency (DISA), 2004.
Hence, at no point is a plain IP header sent outVoice Over Internet Protocol (VOIP), SecurityTechnical
containing both the source and destination IP. Thus ifImplementation Guide, Version 1, Release 1, 13.
an attacker were to intercept such packets, they14.Demers, S., et al., 1989. Analysis and simulation of a
would be unable to discern the packet contents or thefair queuing algorithm. Proc. Special Interest Group on
origin and destination. Note that some traffic analysis isData Communication (SIGCOMM), Austin, USA.
possible even in tunnel mode, because gateway15.Gregory, P.H., 2004. Microsoft ignoring the biggest
addresses are readable. If a gateway is usedsource of security threats? Computerworld, February
exclusively by a particular organization, an attacker can16.online:
determine the identity of one or both communicating17.Hensell, L., 2003. The new security risk of VoIP.
organizations from the gateway addresses. IPsecE-Commerce Times, October 2. Online article:
allows nodes in the network to negotiate not only a18.Ioannidis, J. and Bellovin, S.M., 2002. Router-based
security policy, which defines the security protocol anddefense against DDoS attacks. Proc. Network and
transport mode as described previously, but also aDistributed System Security Symposium (NDSS), San
security association defining the encryption algorithm.Diego, USA.
 Security mechanisms for VOIP19.Jung, J., et al., 2002. Flash crowds and denial of
       The prominent security mechanisms usedservice attacks: Characterization and implications for
along with voice traffic include virtual private networksCDNs and Web sites. Proc. of the 11th International
(VPN), end-to-end encryption and address translation.World Wide Web Conference, Honolulu, USA.