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.


12:00 AM

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
Newest First  |  Oldest First  |  Threaded View
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-04-17
The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivile...
PUBLISHED: 2021-04-17
Shiftfs, an out-of-tree stacking file system included in Ubuntu Linux kernels, did not properly handle faults occurring during copy_from_user() correctly. These could lead to either a double-free situation or memory not being freed at all. An attacker could use this to cause a denial of service (ker...
PUBLISHED: 2021-04-17
A command injection vulnerability has been reported to affect QTS and QuTS hero. If exploited, this vulnerability allows attackers to execute arbitrary commands in a compromised application. We have already fixed this vulnerability in the following versions: QTS Build 20210202 and later Q...
PUBLISHED: 2021-04-17
An SQL injection vulnerability has been reported to affect QNAP NAS running Multimedia Console or the Media Streaming add-on. If exploited, the vulnerability allows remote attackers to obtain application information. QNAP has already fixed this vulnerability in the following versions of Multimedia C...
PUBLISHED: 2021-04-16
jose-node-esm-runtime is an npm package which provides a number of cryptographic functions. In versions prior to 3.11.4 the AES_CBC_HMAC_SHA2 Algorithm (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) decryption would always execute both HMAC tag verification and CBC decryption, if either failed `JWEDe...