Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

11/15/2008
12:00 AM
Commentary
Commentary
Commentary
50%
50%

Hacking VoIP Book Review

Having implemented and customized Asterisk-based VoIP solutions in the past, I was already aware of potential security issues around Voice over IP, especially using SIP.  So it was with great curiosity to read about author Himanshu Dwived's VoIP-hacking investigations.

Having implemented and customized Asterisk-based VoIP solutions in the past, I was already aware of potential security issues around Voice over IP, especially using SIP.  So it was with great curiosity to read about author Himanshu Dwived's VoIP-hacking investigations.
This 10 chapter, 200+ page book opens with setting up a test environment to experiment and understand VoIP attack vectors using the Session Initiated Protocol (SIP), RTP (Real-time Transport Protocol), H.323 and IAX (Inter-Asterisk eXchange) communication mechanisms.  After a brief overview of basic VoIP security measures, the book leads into the first half with a on a deep dive into these VoIP protocols.  SIP is the first protocol brought under scrutiny due to its growing popularity.  With that comes SIP's glaringly weak security standards, so weak that it's rare to find corporate SIP services shared outside a corporate firewalled environment.  The SIP attack vectors demonstrated in the book are somewhat obvious to anyone who has worked with SIP-based services, and sniff and crack tools like Cain & Abel and Wireshark are well-known in network security circles.  The author does uncover a few other more recent SIP vulnerability/testing tools like SIP.Tastic and SiVus and vnak.

H.323 protocol is evaluated next using the same approach as the chapter on SIP.  First, a basic review of how the protocol operates followed by how attacks including username and alias enumeration, hopping, password retrieval, replay attacks, endpoint spoofing and denial of service can be perpetrated.  The next chapter on RTP offers a wrinkle with the ability for an attacker (or legitimate application) to insert and even replace audio into an RTP session using a tool called RTPInject.  Reading this chapter offered insight as to how a product like OrecX works (check out my interview with Bruce Kaskey, cofounder of OrecX, for more about this VoIP recording application.)
Chapter 5 explores the IAX protocol in the same way, detailing dictionary, man-in-the-middle, MD5 downgrade and denial of service attacks.

The second half of the book begins with an assessment of popular VoIP services such as those from Avaya, Cisco, open-source Asterisk-based solutions and even home-based solutions like Vonage and software clients like Google Talk, Skype and Yahoo Messenger.  Unconventional threats such as email phishing attacks, caller ID spoofing, anonymous eavesdropping, VoIP SPAM and SPIT are discussed.  The book concludes with a chapter on auditing VoIP for security best practices presenting a nice three column, 8-page table listing audit topic, questions and results.

With VoIP rapidly proving to be a very cost-effective alternative to closed, proprietary network solutions, it is also shaping up to becoming the next white and black hacker battleground.  Reading Himanshu's book supplies a meaningful education on the positive and negative opportunities that the technology can deliver developers, security professionals and users alike.

 

Author: Himanshu Dwived
Publisher: No Starch Press
ISBN: 978-1-59327-163-3
Price: $44.95 US

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Why Cyber-Risk Is a C-Suite Issue
Marc Wilczek, Digital Strategist & CIO Advisor,  11/12/2019
Black Hat Q&A: Hacking a '90s Sports Car
Black Hat Staff, ,  11/7/2019
The Cold Truth about Cyber Insurance
Chris Kennedy, CISO & VP Customer Success, AttackIQ,  11/7/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-16863
PUBLISHED: 2019-11-14
STMicroelectronics ST33TPHF2ESPI TPM devices before 2019-09-12 allow attackers to extract the ECDSA private key via a side-channel timing attack because ECDSA scalar multiplication is mishandled, aka TPM-FAIL.
CVE-2019-18949
PUBLISHED: 2019-11-14
SnowHaze before 2.6.6 is sometimes too late to honor a per-site JavaScript blocking setting, which leads to unintended JavaScript execution via a chain of webpage redirections targeted to the user's browser configuration.
CVE-2011-1930
PUBLISHED: 2019-11-14
In klibc 1.5.20 and 1.5.21, the DHCP options written by ipconfig to /tmp/net-$DEVICE.conf are not properly escaped. This may allow a remote attacker to send a specially crafted DHCP reply which could execute arbitrary code with the privileges of any process which sources DHCP options.
CVE-2011-1145
PUBLISHED: 2019-11-14
The SQLDriverConnect() function in unixODBC before 2.2.14p2 have a possible buffer overflow condition when specifying a large value for SAVEFILE parameter in the connection string.
CVE-2011-1488
PUBLISHED: 2019-11-14
A memory leak in rsyslog before 5.7.6 was found in the way deamon processed log messages are logged when $RepeatedMsgReduction was enabled. A local attacker could use this flaw to cause a denial of the rsyslogd daemon service by crashing the service via a sequence of repeated log messages sent withi...