Channels ▼

Mike Riley

Dr. Dobb's Bloggers

Hacking VoIP Book Review

November 15, 2008

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

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video