<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Voice of VOIPSA &#187; SIP</title>
	<atom:link href="http://voipsa.org/blog/category/sip/feed/" rel="self" type="application/rss+xml" />
	<link>http://voipsa.org/blog</link>
	<description>Collective thoughts and musings on the state of VoIP security today.</description>
	<lastBuildDate>Thu, 26 Aug 2010 18:32:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<cloud domain='voipsa.org' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>VoIP on the iPhone and iPod Touch &#8211; a security warning</title>
		<link>http://voipsa.org/blog/2009/09/28/voip-on-the-iphone-and-ipod-touch-a-security-warning/</link>
		<comments>http://voipsa.org/blog/2009/09/28/voip-on-the-iphone-and-ipod-touch-a-security-warning/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:40:11 +0000</pubDate>
		<dc:creator>Ruben Olsen</dc:creator>
				<category><![CDATA[Platform Security]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[VoIP Security]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=807</guid>
		<description><![CDATA[At first sight, using any VoIP client on the iPhone or the iPod Touch (a.k.a. iDevices) may seem like a uninteresting thing. The reason for this is that Apple does not allow 3rd party applications to run in the background. So when a user close down his iVoIP Client he will not be able to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.open-voip.com/blogs/media/blogs/vip/iVoIPclients.jpg" alt="iVoIP clients" width="217" height="259" align="left" />At first sight, using any VoIP client on the iPhone or the iPod Touch (a.k.a. iDevices) may seem like a uninteresting thing. The reason for this is that Apple does not allow 3rd party applications to run in the background. So when a user close down his iVoIP Client he will not be able to receive any calls at all, thus defeating the reason for using VoIP on these devices in the first place.</p>
<p>However, if we take <a href="http://www.open-voip.com/blogs/blog1/2009/09/27/voip-on-the-iphone-and-ipod-touch-a-comp" target="_new">a look at some of the VoIP clients offerings available</a> we notice that a few of these clients have the ability to receive incoming calls, even when the software it self is not running.</p>
<p>At first sight this seems to be a Good Thing &#8211; however, there are severe security implications by doing this. Users will in fact willingly, put them self under a man-in-the-middle attack.</p>
<p><span id="more-807"></span></p>
<h3>3rd party proxies</h3>
<p>Before continuing, let me use two pretty well known mobile applications as an example: Fring and Nimbuzz. Both applications support a whole slew of different means of communication &#8211; but if we take a closer look at the physical size of these program it become quite apparent that these applications does not have all the code for all the various services they let the user access.</p>
<p>The general rule is that these client providers will act as a proxy between the users client and the users service provider. Basically, when setting up your Nimbuzz client for SIP usage &#8211; it is not the client that will connect to your SIP server, but a server in the Nimbuzz network.</p>
<p>So in effect, Nimbuzz and Fring does keep a copy of your SIP credentials. It is unclear if they store the credential when the users client is not online.</p>
<h3>SIP and the Apple Push Notification Service (APNS)</h3>
<p>This is the new kid on the block. For quite some time now, the iDevices have had the ability to receive <em>Push Notifications</em>. This is something that could be of great use, and Apple has on numerous occasions stated how this technology can be used.</p>
<p>In practice a service provider can use the APNS to send out notifications to a specific iDevice. As far as I know, Apple has put no restriction on the content of such notifications.</p>
<p>What is happening behind the scene, is that SIP credentials stored in the iVoIP Client are transferred over to the client providers infrastructure (CPI). A server in the CPI will then re-register itself as a SIP client to your SIP server, with your SIP credentials.</p>
<p>When an incoming calls are present, the SIP signaling will be sent to the server in the CPI &#8211; and this server will then send out a <em>Push Notification</em> over the APNS netowrk, ending up in your iDevice. When the device receive the notification, it will display some information to the user. If the user confirm the notification &#8211; the VoIP Client is started, registering to your SIP server and will then accept the call.</p>
<p>In my opinion, giving away your SIP credentials to a 3rd party you have no control of, seems like a very bad idea. I also suspect that most service providers Acceptable End User Policy prohibit a user to give away his SIP credentials.</p>
<p>None of the companies providing 3rd party proxy solutions as their core business have, as far as I have found, publicly shown any documentation from a 3rd party stating that they do have a well funded security policy that is being upheld.</p>
<p>I do suspect that these companies are prime target for Black Hat telecom hackers. Just getting access to thousands of thousands SIP accounts which can be resold <strong>IS</strong> a tempting target.</p>
<h3>Possible solutions</h3>
<p>The easiest way out of this mess if of course not to enable the client to use the APNS network. However, this defeat using a iVoIP Client efficiently.</p>
<p>A much better solution would be for the CPI to offer a WebService solution.</p>
<p>When a call comes into the switch/PBX, the switch could then do a WebService call to the CPI, and the CPI would then issue the Push Notification message over the APNS.</p>
<p>This is a clean and efficient solution that will have the same result for the end user, without compromising security: A Push Notification message of a incoming call &#8211; enabling the iDevice to start up the iVoIP Client and let the client handle the call.</p>
<p>Another solution could be to let companies with their own APNS agreement, send out their own Push Notifications. I have not spent too much time with the rules that Apple have for the APNS, so I can not say if this is in fact possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2009/09/28/voip-on-the-iphone-and-ipod-touch-a-security-warning/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tricking SIP Endpoints Into Divulging Authentication Credentials</title>
		<link>http://voipsa.org/blog/2009/03/31/tricking-sip-endpoints-into-divulging-authentication-credentials/</link>
		<comments>http://voipsa.org/blog/2009/03/31/tricking-sip-endpoints-into-divulging-authentication-credentials/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 19:23:16 +0000</pubDate>
		<dc:creator>Dustin D. Trammell</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[VoIP Security Research]]></category>
		<category><![CDATA[VoIP Security Tools]]></category>
		<category><![CDATA[VoIP Vulnerabilities]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=605</guid>
		<description><![CDATA[This is a neat trick. By doing a little up-front scanning and/or guesswork, an attacker can send an INVITE directly to a SIP user agent, causing the device to ring.  Then, when the user agent issues the BYE message to hang-up, the attacker can respond with a 407 Proxy authorization required message, causing the endpoint [...]]]></description>
			<content:encoded><![CDATA[<p><a title="SIP-BYE-AUTH-ATTACK" href="http://www.usken.no/2009/03/26/get-the-password-from-any-sip-device-its-fully-possible/" target="_blank">This is a neat trick.</a> By doing a little up-front scanning and/or guesswork, an attacker can send an INVITE directly to a SIP user agent, causing the device to ring.  Then, when the user agent issues the BYE message to hang-up, the attacker can respond with a 407 Proxy authorization required message, causing the endpoint to then respond with it&#8217;s authentication credentials, essentially handing them directly to the attacker.</p>
<p>The page linked above indicates that this attack is currently implemented in the VoIP Pack for CANVAS, so it&#8217;s essentially packaged and ready to use for you CANVAS users.  You can see a video of this being used in CANVAS <a title="SIP-ATTACK-VIDEO" href="http://vimeo.com/3642600" target="_blank">here</a>.  I would expect to see this credential-harvesting attack in other exploitation frameworks or stand-alone tools shortly&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2009/03/31/tricking-sip-endpoints-into-divulging-authentication-credentials/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;SIP Trunking And Security&#8221; workshop coming up at ITEXPO on February 3, 2009</title>
		<link>http://voipsa.org/blog/2009/01/23/sip-trunking-and-security-workshop-coming-up-at-itexpo-on-february-3-2009/</link>
		<comments>http://voipsa.org/blog/2009/01/23/sip-trunking-and-security-workshop-coming-up-at-itexpo-on-february-3-2009/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 13:48:37 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VOIPSA]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[Ingate]]></category>
		<category><![CDATA[ITEXPO]]></category>
		<category><![CDATA[SIPTrunking]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=587</guid>
		<description><![CDATA[If you will be in Miami at ITEXPO February 2-4 you are welcome to attend a free &#8220;SIP Trunking And Security&#8221; session I (Dan York) will be doing as part of Ingate Systems&#8217; SIP Trunking Workshops. The SIP trunking workshops are free to all attendees even if you only register for an exhibit pass. My [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tmcnet.com/voip/conference/"><img src="http://voipsa.org/blog/wp-content/uploads/itexpo-east-logo-2.jpg" alt="ITEXPO-East-logo-2.jpg" border="0" width="265" height="94" align="right" /></a>If you will be in Miami <a href="http://www.tmcnet.com/voip/conference/">at ITEXPO February 2-4</a> you are welcome to attend a free  &#8220;<em>SIP Trunking And Security</em>&#8221; session I (Dan York) will be doing as part of Ingate Systems&#8217; <a href="http://www.tmcnet.com/voip/conference/east-09/ingate-sip-trunking-workshop.htm">SIP Trunking Workshops</a>. The SIP trunking workshops are free to all attendees even if you only register for an exhibit pass.
<p>My session will be 11:15-12:30 on Wednesday, February 3rd, and if you do attend please feel free to come up and introduce yourself (or <a href="mailto:dyork@voxeo.com?subject=ITEXPO%20SIP%20Trunking%20workshop">drop me a note</a> in advance to let me know to look out for you). I&#8217;ll be bringing my recording gear, too, and the talk will eventually go out in my <a href="http://www.blueboxpodcast.com/">Blue Box Podcast</a> feed so you will be able to hear it later.</p>
<p>P.S. If you are attending ITEXPO and your company makes a product or provides a service related to VoIP security, please feel free to <a href="mailto:dyork@voxeo.com?subject=ITEXPO%20SIP%20Trunking%20workshop">let me know</a> and perhaps we can schedule an interview to go out as a Blue Box Special Edition.</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/danyork" rel="tag">danyork</a>, <a href="http://technorati.com/tag/itexpo" rel="tag">itexpo</a>, <a href="http://technorati.com/tag/miami" rel="tag">miami</a>, <a href="http://technorati.com/tag/voipsa" rel="tag">voipsa</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>, <a href="http://technorati.com/tag/sip%20trunking" rel="tag">sip trunking</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/sip%20security" rel="tag">sip security</a>, <a href="http://technorati.com/tag/security" rel="tag">security</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2009/01/23/sip-trunking-and-security-workshop-coming-up-at-itexpo-on-february-3-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video demo of &#8220;sipautohack&#8221; tool</title>
		<link>http://voipsa.org/blog/2008/12/30/video-demo-of-sipautohack-tool/</link>
		<comments>http://voipsa.org/blog/2008/12/30/video-demo-of-sipautohack-tool/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 19:01:17 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[VoIP Security Tools]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=565</guid>
		<description><![CDATA[Over in the VOIPSEC mailing list, Shawn Merdinger recently pointed out a video produced by the folks at Enable Security to highlight one of their new tools, &#8220;sipautohack&#8221;, that they sell as part of one of their packages of tools called &#8220;VOIPPack&#8221;. From their description page, VOIPPack includes: sipscan &#8211; Scans the network for SIP [...]]]></description>
			<content:encoded><![CDATA[<p>Over in <a href="http://www.voipsa.org/VOIPSEC/">the VOIPSEC mailing list</a>, Shawn Merdinger recently <a href="http://enablesecurity.com/2008/12/17/demontration-of-sipautohack/">pointed out a video</a> produced by the folks at Enable Security to highlight one of their new tools, &#8220;sipautohack&#8221;, that they sell as part of one of their packages of tools called &#8220;VOIPPack&#8221;. From <a href="http://enablesecurity.com/products/enablesecurity-voippack/">their description page</a>, VOIPPack includes:</p>
<ul>
<li>sipscan &#8211; Scans the network for SIP devices and identifies the user-agent and if the device is a PBX
<li>sipenumerate &#8211; Enumerates extensions on a PBX server
<li>sipcrack &#8211; Launches password attacks on the PBX server
<li>sipautohack &#8211; Given a target network, this module will scan for SIP devices, enumerate any extensions on all PBX servers found and try to guess their password
</ul>
<p>This video, then, is <a href="http://enablesecurity.com/2008/12/17/demontration-of-sipautohack/">a demonstration of the last of the listed tools</a>:</p>
<p><object width="400" height="250"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2524735&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2524735&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="250"></embed></object><br /><a href="http://vimeo.com/2524735">Demonstrating sipautohack</a> from <a href="http://vimeo.com/user665968">Sandro Gauci</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>We here at VOIPSA have no connection to this tool or vendor and cannot say anything positive or negative about the tool or company&#8230; it&#8217;s just another entry in the very long list of VoIP security tools out there (see <a href="http://www.voipsa.org/Resources/tools.php">our Tools list</a>).  I just think it&#8217;s great to see video screencasts out there showing what tools like this can do.  (And if you have a screencast related to VoIP security out there you&#8217;d like us to mention, feel free to <a href="mailto:dan.york@voipsa.org">contact me</a>.)</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/voipsecurity" rel="tag">voipsecurity</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/screencasts" rel="tag">screencasts</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/12/30/video-demo-of-sipautohack-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5th Emergency Services Workshop to be held Oct 21-23 in Vienna</title>
		<link>http://voipsa.org/blog/2008/10/07/5th-emergency-services-workshop-to-be-held-oct-21-23-in-vienna/</link>
		<comments>http://voipsa.org/blog/2008/10/07/5th-emergency-services-workshop-to-be-held-oct-21-23-in-vienna/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 11:32:37 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[IETF]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[VoIP Security]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=525</guid>
		<description><![CDATA[How does an emergency call to 9-1-1 or 1-1-2 (or whatever your local emergency number may be) work in a world of voice-over-IP? It&#8217;s not a topic we cover hardly at all here on this blog, yet it&#8217;s definitely one of the security and social/cultural aspects of our migration to IP that we definitely have [...]]]></description>
			<content:encoded><![CDATA[<p>How does an emergency call to 9-1-1 or 1-1-2 (or whatever your local emergency number may be) work in a world of voice-over-IP?</p>
<p>It&#8217;s not a topic we cover hardly at all here on this blog, yet it&#8217;s definitely one of the security and social/cultural aspects of our migration to IP that we definitely have to get right.  If we as an industry don&#8217;t, people can die. (Or the migration to VoIP will be significantly delayed.)</p>
<p>To that end, a number of emergency services experts are meeting to discuss ongoing work on IP-based emergency services <em>in Vienna, Austria on 21st to 23rd October 2008</em>. The first workshop day is focusing on tutorials to help those interested in the classical 1-1-2 (or 9-1-1) emergency call to get up-to-speed with architectures and standards developed for next generation emergency calling. During the second day various recent activities of standardization organizations around the world will be presented. The third workshop day is dedicated to early warning standardization efforts and the outlook to future emergency services activities.</p>
<p>Participation from those working in standardization organizations as well as persons with interest into the subject is highly appreciated. The event is open to the public and anyone may attend.<br />
For socializing an evening program has been organized. There is a nominal fee of 120 Euros charged to cover the facilities cost, food, drinks, etc.  Arrangements are also being made for participants to join remotely.</p>
<p>More information about the workshop can be found behind the following link:</p>
<blockquote><p><em><a href="http://www.emergency-services-coordination.info/esw5.html">http://www.emergency-services-coordination.info/esw5.html</a></em></p></blockquote>
<p>This page also points to previous workshops that took place in New York, Washington, Brussels and Atlanta.</p>
<p><em>(Thanks to Hannes Tschofenig for providing the majority of this text.)</em></p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/emergency" rel="tag">emergency</a>, <a href="http://technorati.com/tag/911" rel="tag">911</a>, <a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/standards" rel="tag">standards</a>, <a href="http://technorati.com/tag/ietf" rel="tag">ietf</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/10/07/5th-emergency-services-workshop-to-be-held-oct-21-23-in-vienna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides: SIP Trunking and Security in an Enterprise Network</title>
		<link>http://voipsa.org/blog/2008/09/30/slides-sip-trunking-and-security-in-an-enterprise-network/</link>
		<comments>http://voipsa.org/blog/2008/09/30/slides-sip-trunking-and-security-in-an-enterprise-network/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:44:00 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=521</guid>
		<description><![CDATA[Earlier this month out at ITEXPO in Los Angeles, I participated in the Ingate SIP Trunking seminars as I have been doing for the last year or so. My talk was &#8220;SIP Trunking and Security in an Enterprise Network&#8220;. The slides are available for viewing or download from my SlideShare account and I&#8217;ll also embed [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this month out at ITEXPO in Los Angeles, I participated in the Ingate SIP Trunking seminars as I have been doing for the last year or so. My talk was &#8220;<em>SIP Trunking and Security in an Enterprise Network</em>&#8220;.  <a href="http://www.slideshare.net/danyork/sip-trunking-security-in-an-enterprise-network-presentation/">The slides are available for viewing or download</a> from my SlideShare account and I&#8217;ll also embed them here in this post.</p>
<p>I did record the presentation in both audio and video and hope to be making that available as a <a href="http://www.blueboxpodcast.com/">Blue Box podcast</a> some time soon. I&#8217;ll then sync the slides to the audio. Meanwhile&#8230; enjoy the slides!</p>
<div style="width:425px;text-align:left" id="__ss_625408"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/danyork/sip-trunking-security-in-an-enterprise-network-presentation?type=powerpoint" title="SIP Trunking &amp; Security  in an Enterprise Network">SIP Trunking &amp; Security  in an Enterprise Network</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=ingatesiptrunkingsipsecurity20080917-1222724390066408-9&#038;stripped_title=sip-trunking-security-in-an-enterprise-network-presentation" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=ingatesiptrunkingsipsecurity20080917-1222724390066408-9&#038;stripped_title=sip-trunking-security-in-an-enterprise-network-presentation" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View SlideShare <a style="text-decoration:underline;" href="http://www.slideshare.net/danyork/sip-trunking-security-in-an-enterprise-network-presentation?type=powerpoint" title="View SIP Trunking &amp; Security  in an Enterprise Network on SlideShare">presentation</a> or <a style="text-decoration:underline;" href="http://www.slideshare.net/upload?type=powerpoint">Upload</a> your own. (tags: <a style="text-decoration:underline;" href="http://slideshare.net/tag/telephony">telephony</a> <a style="text-decoration:underline;" href="http://slideshare.net/tag/danyork">danyork</a>)</div>
</div>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/sip%20security" rel="tag">sip security</a>, <a href="http://technorati.com/tag/voice" rel="tag">voice</a>, <a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/dan%20york" rel="tag">dan york</a>, <a href="http://technorati.com/tag/itexpo" rel="tag">itexpo</a>, <a href="http://technorati.com/tag/commdev" rel="tag">commdev</a>, <a href="http://technorati.com/tag/voipsa" rel="tag">voipsa</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/09/30/slides-sip-trunking-and-security-in-an-enterprise-network/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mark Collier and SecureLogix release new VoIP security tools</title>
		<link>http://voipsa.org/blog/2008/09/22/mark-collier-and-securelogix-release-new-voip-security-tools/</link>
		<comments>http://voipsa.org/blog/2008/09/22/mark-collier-and-securelogix-release-new-voip-security-tools/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 14:30:15 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[VoIP Security Tools]]></category>
		<category><![CDATA[VoIPsecurity tools]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=497</guid>
		<description><![CDATA[In a message to the VOIPSEC mailing list over the weekend, Mark Collier announced the release of a new suite of VoIP security test tools. Mark, as you may recall, is the co-author with (VOIPSA Chair) David Endler of the book &#8220;Hacking Exposed: VoIP&#8221; and as part of the book publication he and Dave made [...]]]></description>
			<content:encoded><![CDATA[<p>In<a href="http://voipsa.org/pipermail/voipsec_voipsa.org/2008-September/002768.html"> a message to the VOIPSEC mailing list</a> over the weekend, Mark Collier announced the release of a new suite of VoIP security test tools. Mark, as you may recall, is the co-author with (VOIPSA Chair) David Endler of the book &#8220;Hacking Exposed: VoIP&#8221; and as part of the book publication he and Dave made available a series of voip security tools through their <a href="http://www.hackingvoip.com/">hackingvoip.com</a> website.</p>
<p>Now, Mark&#8217;s back with a second version of those VoIP security tools. He describes the new tools <a href="http://voipsecurityblog.typepad.com/marks_voip_security_blog/2008/09/over-the-past-5.html">in one blog post</a> on his VoIP security blog and announces their availability <a href="http://voipsecurityblog.typepad.com/marks_voip_security_blog/2008/09/voip-security-v.html">in a second blog post</a>. Here&#8217;s his description of new tools:</p>
<blockquote><p><em>We also built several new tools:</p>
<p> &#8211; Several new flood-based DoS tools, which generate floods using different SIP requests, including byeflood, optionsflood, regflood, and subflood. The regflood tool is certainly the most potent of the group.</p>
<p> &#8211; dirsniff and dirsortmerge – a passive scanner that builds a directory of valid SIP phone addresses. By using the dirsortmerge tool, you can manage results from this tool, as well as output from the dirscan active scanner.</p>
<p> &#8211; Call Monitor and sipsniffer – this tool provides a GUI that shows active SIP calls. The tool allows you to select a call and terminate it (via teardown) or insert/mix in audio (via rtpinsertsound or rtpmixsound). The tool allows you to define up to 10 sound files, that can be inserted/mixed in on command. The tool also streams the call audio to the XMMS player, so you can listen in and “time” when you affect the call.</p>
<p>The Call Monitor tool is particularly interesting. It makes using the rtpinsertsound/rtpmixsound tools a lot easier and more effective. It makes real audio manipulation possible.</em></p></blockquote>
<p>Interestingly, the tools are <em>not</em> being made available through Hackingvoip.com but rather <a href="http://www.securelogix.com/voipscanner/index.htm">directly from SecureLogix&#8217;s web site</a>, where you have to register first to download the tools.</p>
<p>Mark also <a href="http://voipsecurityblog.typepad.com/marks_voip_security_blog/2008/09/some-info-on-ca.html">provides a PowerPoint presentation about the &#8220;Call Monitor&#8221; tool</a> he mentions here. He&#8217;d mentioned this tool to me once before when we met at one of the conferences&#8230;. basically it provides a &#8220;point-and-click&#8221; interface to allow you to inject or mix in new audio into existing audio streams. Making it this easy is definitely a scary prospect (and another good argument for why you should be using SRTP to encrypt audio streams).</p>
<p>Anyway, the new tools are now out there if you want to try them out. (Joining <a href="http://www.voipsa.org/Resources/tools.php">the long list of <em>existing</em> VoIP security tools</a>.)</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>, <a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/sip%20security" rel="tag">sip security</a>, <a href="http://technorati.com/tag/securelogix" rel="tag">securelogix</a>, <a href="http://technorati.com/tag/mark%20collier" rel="tag">mark collier</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/09/22/mark-collier-and-securelogix-release-new-voip-security-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Webinar on SIP Security on Thurs, Sept 11, by Audiocodes and Interactive Intelligence</title>
		<link>http://voipsa.org/blog/2008/09/08/webinar-on-sip-security-on-thurs-sept-11-by-audiocodes-and-interactive-intelligence/</link>
		<comments>http://voipsa.org/blog/2008/09/08/webinar-on-sip-security-on-thurs-sept-11-by-audiocodes-and-interactive-intelligence/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 19:18:07 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[Webcast]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=491</guid>
		<description><![CDATA[Many of you may have received this in your email inbox &#8211; Audiocodes and Interactive Intelligence are jointly sponsoring a TMCnet webinar on Thursday, September 11, 2008, at 12noon US Eastern time called &#8220;Do You Know Who is Listening? – The Truth of Enterprise SIP Security The abstract is here: Session Initiation Protocol (SIP) has [...]]]></description>
			<content:encoded><![CDATA[<p>Many of you may have received this in your email inbox &#8211; Audiocodes and Interactive Intelligence are jointly sponsoring a TMCnet webinar on Thursday, September 11, 2008, at 12noon US Eastern time called &#8220;<em>Do You Know Who is Listening? – The Truth of Enterprise SIP Security </em> The abstract is here:</p>
<blockquote><p><em>Session Initiation Protocol (SIP) has emerged as the predominant protocol for VoIP deployments. While SIP is gaining headway in the IP communications market, any new technology brings with it some inherent security challenges. In this webinar, we discuss these challenges, the misconceptions surrounding SIP Security, and examine the tools available to counter them. This session will also explore robust solutions that not only tackle security threats, but also empower businesses to proactively protect their networks from current and future attacks. Included in this webinar, we will examine the Interactive Intelligence suite of products as a communications platform case study that empowers businesses to tackle security threats while maintaining affordability and performance. </em></p></blockquote>
<p>Obviously it is a vendor presentation with the associated perspective, but for those wishing to attend, <a href="http://www.tmcnet.com/enews/content/webinar/2008/08/audiocodes-inin-webinar-promo-do-you-know-who-is-listening-the-truth-of-sip-enterprise-security.htm">you can register online</a>.</p>
<hr />
<p><em>[VOIPSA is a vendor-neutral organization and we do not endorse or recommend solutions from any particular vendors.  However, as our interest is in elevating the level of discussion about VoIP security issues in general, we are glad to post notices here about upcoming vendor presentations.]</em></p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>, <a href="http://technorati.com/tag/sip%20security" rel="tag">sip security</a>, <a href="http://technorati.com/tag/audiocodes" rel="tag">audiocodes</a>, <a href="http://technorati.com/tag/interactive%20intelligence" rel="tag">interactive intelligence</a>, <a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/09/08/webinar-on-sip-security-on-thurs-sept-11-by-audiocodes-and-interactive-intelligence/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How Aircell is (probably) blocking VoIP phone calls on planes (hint&#8230; VoIP Whack-A-Mole)</title>
		<link>http://voipsa.org/blog/2008/08/26/how-aircell-is-probably-blocking-voip-phone-calls-on-planes-hint-voip-whack-a-mole/</link>
		<comments>http://voipsa.org/blog/2008/08/26/how-aircell-is-probably-blocking-voip-phone-calls-on-planes-hint-voip-whack-a-mole/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 12:17:48 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VoIP Security]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=461</guid>
		<description><![CDATA[How is Aircell blocking VoIP phone calls from systems like Skype, SightSpeed and Gizmo? (And how did Andy get through with Phweet?) Ever since last week&#8217;s announcement of the &#8220;Gogo Inflight Internet Service&#8221; provided to American Airlines by a company called Aircell &#8211; and the ensuing coverage in the blogosphere &#8211; I&#8217;ve been getting asked [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://voipsa.org/blog/wp-content/uploads/aircell-gogo-logo.jpg" alt="aircell-gogo-logo.jpg" border="0" width="140" height="89" align="right" />How is Aircell blocking VoIP phone calls from systems like Skype, SightSpeed and Gizmo? (And how did Andy get through with Phweet?)</p>
<p>Ever since <a href="http://www.reuters.com/article/internetNews/idUSN1930895220080820">last week&#8217;s announcement</a> of the &#8220;Gogo Inflight Internet Service&#8221; provided to American Airlines by a company called Aircell &#8211; <a href="http://www.techmeme.com/080820/p41#a080820p41">and the ensuing coverage in the blogosphere</a> &#8211; I&#8217;ve been getting asked about <em>how exactly Aircell is blocking VoIP calls.</em>  Especially after <a href="http://www.techmeme.com/080822/p12#a080822p12">Andy Abramson was able to make a call using Phweet</a>.  Aircell is very clear <a href="http://www.gogoinflight.com/jahia/Jahia/site/gogo/terms#term2">in the Gogo terms of service</a> that no voice calls are allowed:<br />
<blockquote><strong>No Voice Applications.</strong> You will not use any type of voice application (including, without limitation, voice over Internet protocol) without written permission from Aircell. </p></blockquote>
<p>And early users of the system who tried VoIP calls reported that indeed after about 5 seconds or so, their VoIP conversation was terminated.  Repeatedly.  <a href="http://share.skype.com/sites/us/2008/08/skype_calls_may_be_verboten.html">They could use Skype, for instance, for IM, but not for voice</a>.</p>
<p>So how is Aircell blocking VoIP? (And how did Andy get through with Phweet?)</p>
<p>Unfortunately, <a href="http://www.disruptivetelephony.com/2008/08/an-extraordinar.html">I was a wee bit busy last week</a> when all this was breaking, so it&#8217;s taken me until now to come up for air enough to write about <em>how</em> Aircell could be blocking VoIP calls on the planes.</p>
<p><strong>THE BIG CAVEAT</strong></p>
<p>First, I should state up front &#8211; <em>I have absolutely NO connection to Aircell, Gogo, American Airlines, etc.</em>. I don&#8217;t know <em>exactly</em> how they are blocking VoIP calls but am laying out here how they <em>could</em> be blocking VoIP calls.</p>
<p>[I also feel compelled to say that I personally think it's silly of Aircell to block VoIP because there will inevitably be people who figure out ways to route around the blocking.  I think Aircell's excuse that they want to block people from talking loudly is also rather lame. I've been on long flights where I was trying to sleep and I've had two people talking very loudly in the seat behind me or next to me. (And yes, sometimes I've asked them to please speak quieter.) Other times I've had babies screaming and crying for most of the flight... or other "energetic" children carrying on. No, I don't really want my neighbor to be in an involved VoIP call but my point is that there are disruptions already. Part of me wonders if there aren't really more technological issues with doing streaming audio/video, but anyway... that's their policy and if you want to use their service, you have to agree. You don't (yet) have a choice in services to use, and you probably won't.]</p>
<p><strong>LET&#8217;S PLAY &#8220;SPOT THE VOIP PHONE CALL&#8221;</strong></p>
<p>Given that Skype conversations in particular are encrypted, I&#8217;ve had several people ask me if this means that Aircell can decrypt Skype calls. How else, they ask, can Aircell differentiate between Skype text chat and Skype voice chat?  It&#8217;s simple really:</p>
<blockquote><p><em>Pattern recognition.</em></p></blockquote>
<p>A VoIP call in progress has a distinct profile from a network packet point-of-view.  In general, the <em>audio streams</em> of VoIP calls (as compared to the call control/signalling channels) have the following characteristics:</p>
<ol>
<li>there are a zillion small packets</p>
<li>the packets are sent over UDP versus TCP
<li>the packets are sent using the Real-time Transport Protocol (RTP) over UDP
</ol>
<p>Now with Skype&#8217;s encryption, network software can&#8217;t know about the <em>contents</em> of the audio stream, so the software can&#8217;t know about my #3 here, but the software can recognize the pattern based on the first two. For other non-encrypted services, the software can very simply look for RTP streams.</p>
<p>Now, <em>why do VoIP systems use a zillion small packets?</em>  Typically, a VoIP system will sample the speaker&#8217;s voice at an interval of every 10, 20 or 30 milliseconds. Most I&#8217;m familiar with seem to go for a 20ms rate.  So 20ms of audio is captured, encoded digitally and sent off in an IP packet.  The exact size of the IP packet will vary depending upon what codec is used to encode the audio.  The standard G.711 packets will be at one size and G.729 will be much smaller.  Many of the VoIP streams I&#8217;ve captured in network traces have a total packet length of somewhere between 35-70 bytes.</p>
<p>To put that in perspective, understand that an Ethernet packet can have typically a max size of <em>1500</em> bytes. And packets sent by various protocols can be even larger and will be &#8220;<em>fragmented</em>&#8221; into smaller pieces (for instance, 1500-byte pieces) to be moved across the network. <em>[Network geeks: Please give me some poetic license here... I realize I could be more precise, but I'm trying not to completely bore the readers.]</em></p>
<p>The point is that voice packets are typically <em>tiny</em> in comparison to other packets &#8211; and there are <em>a lot</em> of them.</p>
<p>How many?  Well, if you take a 20ms sampling rate, that means that you are sampling the audio voice 50 times each second&#8230; so that&#8217;s <em>50 packets <strong>per second</strong></em> for <em>one</em> audio stream. Almost every voice conversation involves <em>two</em> audio streams (one from the caller, one from the recipient) and so you are looking at <em>100 packets per second</em> for a typical two-way VoIP conversation.</p>
<p>The reason for this is relatively simple. In a file transfer, you are looking to move a file across the network as fast as possible &#8211; but you aren&#8217;t necessarily in &#8220;real-time&#8221;. So you generally will stuff the packets with as much info as you can and push them across the network.  With voice, we are making use of the fact that the human ear will deal with <em>some</em> lost audio, and so we are chopping up the audio up into a zillion tiny pieces, tossing them in unreliable UDP packets and hoping that enough get there so that the listener can make sense of the conversation.</p>
<p>Put another way, if I wanted to send you this blog post via snail-mail, I could print it out, stick it in an envelope and mail it to you. That&#8217;s file transfer.  On the other hand, if I were to chop this blog post up and write each <em>word</em> on a post card and stick them in the snail-mail to you, odds are that enough would arrive at the other end that you could assemble them into something like this post. (With luck, maybe you could even make the post shorter!)</p>
<p>That&#8217;s VoIP.</p>
<p>So once you know the pattern, it&#8217;s fairly easy to spot the calls. For instance, where&#8217;s the VoIP call in this network trace?</p>
<div style="text-align:center;"><img src="http://voipsa.org/blog/wp-content/uploads/voipcall-wiresharktrace-raw-1.jpg" alt="voipcall-wiresharktrace-raw-1.jpg" border="0" width="300" height="114" /></div>
<p>Do you see it?  How about this trace with a filter turned on to show UDP in red?
<div style="text-align:center;"><img src="http://voipsa.org/blog/wp-content/uploads/voipcall-wireshare-udpred-1.jpg" alt="voipcall-wireshare-udpred-1.jpg" border="0" width="300" height="113" /></div>
<p>Ta da&#8230; there&#8217;s your VoIP call!</p>
<p>Let&#8217;s look at this one in a bit more detail:</p>
<div style="text-align:center;"><img src="http://voipsa.org/blog/wp-content/uploads/voipcall-wireshark-udponly.jpg" alt="voipcall-wireshark-udponly.jpg" border="0" width="300" height="114" /></div>
<p>There it is&#8230; all in UDP&#8230; and coming in at about 100 packets per second.  And if I look at the actual Wireshark traces, I can see that these 100 packets per second are all very tiny sizes. Many of them are between 37 and 50 bytes.</p>
<p><em>And this is an encrypted <strong>Skype</strong> call!</em></p>
<p>No need to decrypt it.  Just see that it&#8217;s a steady stream of 100 very small packets per second (50 packets per second each way) all over UDP.</p>
<p>Kill the stream. Block it. Conversation dead. No more VoIP on the plane.</p>
<p>It&#8217;s basically the network security version of <em><a href="http://en.wikipedia.org/wiki/Whack-a-mole">Whack-A-Mole</a></em>.  See a VoIP stream start up&#8230; block it.  See another one&#8230; block it.  See yet another&#8230; block it.  Whenever anything pops up that meets the profile, stomp on it.</p>
<p>This explains, too, why people could talk for a few seconds and then had their conversations terminated.  The pattern has to appear in the network monitoring software. The software has to be <em>sure</em> it&#8217;s a VoIP stream and not something else&#8230; and then the software can block it.</p>
<p>Now I don&#8217;t know for a fact that this is <em>how</em> Aircell is blocking VoIP, but it would be easy enough to do it this way.</p>
<p><strong>GETTING MORE SOPHISTICATED</strong></p>
<p>There are, of course, easier ways to kill the conversations.  If the VoIP calls use <em>unencrypted</em> audio streams then it&#8217;s incredibly trivial to block.  Just block the RTP protocol. Period. End-of-story.  Now this does involve a hair more packet inspection in that the software has to look farther into the packet headers to see the protocol type, but again this is easy to do.  All RTP is <em>typically</em> used for is streaming audio or video&#8230; block it and the &#8220;problem&#8221; goes away.</p>
<p>They could of course go even further into packets and see if they are Session Initiation Protocol (SIP) packets and if so, what the packets are asking to do.  If one endpoint sends a SIP INVITE packet to another endpoint and indicates that an audio conversation is to start, the software could again simply block the impending audio stream. (Of course this couldn&#8217;t be done if the SIP was encrypted&#8230;)</p>
<p>The software could also simply block ports. Block any usage of port 5060 or 5061 and you would probably kill off most &#8220;regular&#8221; SIP conversations. (Yes, SIP endpoints <em>can</em> make connections on non-standard ports, but the majority of clients probably wouldn&#8217;t.)  The challenge here is that some SIP endpoints also would use SIP to set up non-audio communication channels like text chat, so blocking all SIP would also block SIP-based text chat which is probably not desirable.</p>
<p>The software could also block on a service level&#8230; if it knew, for instance, the host names or IP addresses for the media servers and consumer services (through which the audio would be sent), the software could block all connections to those media servers.</p>
<p>There&#8217;s a whole range of additional layers the network monitoring software could use. Any good system will have a &#8220;defense in depth&#8221; strategy and make use of many of these different algorithms. </p>
<p>Of course, adding on these layers does require more computing power and will undoubtedly add some latency (even on a microscopic level).  It may be that for right now they can simply do the pattern recognition approach and shut down VoIP calls.</p>
<p><strong>SO HOW DID ANDY DO IT?</strong></p>
<p>Okay, so how did <a href="http://andyabramson.blogs.com/voipwatch/2008/08/who-says-you-ca.html">Andy make a call using Phweet</a>?  Given that this post has already gone on this long, I&#8217;ll publish my guess in a subsequent post.  The text above should give you enough clues, though&#8230; any pattern recognition system is inherently fragile because it depends upon <em>recognizing patterns</em>. So what if the audio packets you are sending don&#8217;t match any known patterns?  What if (hint) the folks at Aircell forgot to watch all protocols?</p>
<p>Stay tuned for some more network charts in my next post&#8230; <img src='http://voipsa.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em>P.S. This is, by the way, why I think that these type of systems trying to block VoIP calls are inherently doomed&#8230; someone will inevitably find a way to &#8220;cloak&#8221; their VoIP calls so that they are unrecognizable or indistinguishable from other data traffic&#8230; it&#8217;s a cat and mouse game and inevitably people will find ways to get around the watchers&#8230;</em></p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/skype" rel="tag">skype</a>, <a href="http://technorati.com/tag/aircell" rel="tag">aircell</a>, <a href="http://technorati.com/tag/gogo" rel="tag">gogo</a>, <a href="http://technorati.com/tag/american%20airlines" rel="tag">american airlines</a>, <a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>
</p>
<p><!-- Technorati Tags End --></p>
<hr/>
<p><em>Dan York is Best Practices Chair for the VoIP Security Alliance and writes here and at <a href="http://www.disruptivetelephony.com/">DisruptiveTelephony</a>. You can follow him on Twi<a href="http://twitter.com/danyork"></a>tter or <a href="http://identi.ca/danyork">identi.ca</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/08/26/how-aircell-is-probably-blocking-voip-phone-calls-on-planes-hint-voip-whack-a-mole/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Asterisk &#8220;hack&#8221; to show blocked Caller-ID points to larger trust issues with SIP</title>
		<link>http://voipsa.org/blog/2008/07/23/asterisk-hack-to-show-blocked-caller-id-points-to-larger-trust-issues-with-sip/</link>
		<comments>http://voipsa.org/blog/2008/07/23/asterisk-hack-to-show-blocked-caller-id-points-to-larger-trust-issues-with-sip/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 01:05:32 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
				<category><![CDATA[SIP]]></category>
		<category><![CDATA[VoIP Attacks in the News]]></category>
		<category><![CDATA[VoIP Security]]></category>

		<guid isPermaLink="false">http://voipsa.org/blog/?p=411</guid>
		<description><![CDATA[Can Asterisk really be used to &#8220;unmask&#8221;blocked Caller-ID and show the private number? Well, yes&#8230; but it really has less to do with Asterisk then it does with not respecting the signaling sent to you by a SIP trunking provider. It&#8217;s conceivable that any IP-PBX could be configured to allow you to do this&#8230; and [...]]]></description>
			<content:encoded><![CDATA[<p>Can <a href="http://www.asterisk.org/">Asterisk</a> really be used to &#8220;unmask&#8221;blocked Caller-ID and show the private number?</p>
<p>Well, <em>yes</em>&#8230;  but it really has less to do with Asterisk then it does with not respecting the signaling sent to you by a SIP trunking provider.  It&#8217;s conceivable that <em>any</em> IP-PBX could be configured to allow you to do this&#8230; and points to a larger issue with trust boundaries between SIP Service Providers (a.k.a. Internet Telephony Service Providers or ITSPs) and their customers.</p>
<p><strong>THE &#8220;HACK&#8221;</strong></p>
<p>Let&#8217;s take a step back first and explain&#8230; over the weekend FierceVoIP <a href="http://www.fiercevoip.com/story/last-hope-launches-security-season/2008-07-20?utm_medium=rss&#038;utm_source=rss&#038;cmp-id=OTC-RSS-FV0">ran a piece about VoIP security talks</a> at the &#8220;Last Hope&#8221; conference that referenced a demonstration by Kevin Mitnick of how you could use Asterisk to show Caller ID information for someone calling even if the caller&#8217;s ID is set to &#8220;private&#8221;.  Someone (&#8220;phant0msignal&#8221;) recorded a video of the demonstration (and yes, if you listen, the audio cuts in and out) and <a href="http://www.youtube.com/watch?v=q3S0RjrXhw0">posted the video to YouTube</a> and <a href="http://phant0msignal.blogspot.com/2008/07/holy-crap.html">the code to his blog</a>.  This might have gone somewhat unnoticed except that <a href="http://www.engadget.com/2008/07/21/how-to-reveal-blocked-caller-id-info-a-video-guide-to-risky-beh/">it got picked up by Engadget</a>, which naturally garnered a good bit of attention. Here&#8217;s the video:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/q3S0RjrXhw0&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/q3S0RjrXhw0&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><strong>THE EXPLANATION</strong></p>
<p>So was this really a big &#8220;hack&#8221; that exposed private information?</p>
<p>Not really&#8230; although it may be a clever use of scripting within Asterisk. </p>
<p>Here&#8217;s the thing:<br />
<blockquote><em>Asterisk received this information as a natural part of SIP communication because the SIP Service Provider TRUSTED Asterisk to &#8220;do the right thing&#8221; and NOT display the information.</em></p></blockquote>
<p>Which, normally, would be the case. Asterisk would respect the SIP privacy headers and <em>not</em> display the Caller ID. However, in this case Asterisk was modified to <em>NOT</em> respect the privacy headers and display the information that was requested to be private.</p>
<p>To understand this, we need to look at one of the ways that &#8220;Caller ID&#8221; is usually handled within the world of SIP communication. <a href="http://tools.ietf.org/rfcmarkup?doc=rfc3325">RFC 3325</a> defines a SIP header called &#8220;P-Asserted-Identity&#8221; that is inserted typically by the first SIP proxy that is interacting with the SIP endpoint. The result, <em>within a trusted administrative domain</em>, is the inclusion of one or more headers that look like:<br />
<blockquote>
<pre>P-Asserted-Identity: "Dan York" &lt;sip:dyork@example.com&gt;
P-Asserted-Identity: tel:+14155551212</pre>
</blockquote>
<p>The P-Asserted-Identity header, often referred to as P-A-I for short, includes this identity information that can be used by the proxy for the recipient of the call to display &#8220;Caller ID&#8221; on the recipient&#8217;s SIP endpoint (phone, softphone, etc.). </p>
<p>Now, when a call is to be private, there is an additional SIP header included. <a href="http://tools.ietf.org/rfcmarkup?doc=rfc3323">RFC 3323</a> defines the &#8220;Privacy&#8221; SIP header and section 9.3 of RFC 3325 adds an &#8220;id&#8221; value to the Privacy header. So the resulting SIP headers look like:<br />
<blockquote>
<pre>P-Asserted-Identity: "Dan York" &lt;sip:dyork@example.com&gt;
P-Asserted-Identity: tel:+14155551212
Privacy: id</pre>
</blockquote>
<p>Per RFC 3325 Section 7, this Privacy header indicates to the SIP proxy that the P-A-I information <em>MUST</em> be stripped off before the SIP headers are sent to an &#8220;untrusted&#8221; entity. From the RFC:</p>
<blockquote><p><em>   Parties who wish to request the removal of P-Asserted-Identity header<br />
   fields before they are transmitted to an element that is not trusted<br />
   may add the &#8220;id&#8221; privacy token defined in this document to the<br />
   Privacy header field.  The Privacy header field is defined in [6].<br />
   If this token is present, proxies MUST remove all the P-Asserted-<br />
   Identity header fields before forwarding messages to elements that<br />
   are not trusted. </em></p></blockquote>
<p>So the &#8220;hack&#8221; in this case was that Asterisk&#8217;s SIP handling was modified to <em>NOT</em> respect the Privacy header and instead pass along the P-A-I information to, in this case, the endpoint.</p>
<p><strong>THE LARGER PROBLEM</strong></p>
<p>The larger problem/issue is really this:</p>
<blockquote><p><em>Why did the SIP Service Provider send the P-A-I information down to Asterisk box in the first place?</em></p></blockquote>
<p>The answer, of course, is simply this:</p>
<blockquote><p><em>The SIP Service Provider assumed that it could trust the SIP server with which it was communicating.</em></p></blockquote>
<p><P>The Service Provider extended its &#8220;trust boundary&#8221; out to encompass the SIP network of its customers.  As far as the Service Provider was concerned, the customer was just another SIP network and should be trusted. The Service Provider did not apparently care whether the customer was another carrier &#8211; or just someone running Asterisk on a home system. They were simply glad to provide connectivity to the customer.</p>
<p>The problem is:<br />
<blockquote><em>The trust boundary <strong>of the PSTN</strong> was then extended out to the customer system.</em></p></blockquote>
<p>and there was an implicit assumption that PSTN privacy requests would be respected.</p>
<p><strong>NO EASY ANSWERS</strong></p>
<p>One obvious reaction is &#8220;So the Service Provider shouldn&#8217;t send that information to the customer&#8217;s SIP server!&#8221;  Perhaps.  Perhaps the Service Provider should not trust any of its customers with that information.  (And I Am Not A Lawyer so I don&#8217;t know if in this case there <em>are</em> actual legal issues here.)</p>
<p>But I&#8217;m not sure it&#8217;s that simple.</p>
<p>You see, there&#8217;s a bit of a &#8220;Wild West&#8221; going on right now in the world of SIP trunking.  Basically, anyone and their brother, mother, father, sister (and&#8230;) can get into the world of providing SIP trunks simply by setting up a SIP server (which could be done with Asterisk) and buying some upstream SIP connectivity from a larger SIP Service Provider&#8230; ta da&#8230; &#8220;ZZZZZ VoIP Services&#8221; is born.  Simple. Easy.</p>
<p>If you are a larger SIP Service Provider, you will sell to smaller Service Providers and naturally extend your &#8220;trust boundary&#8221; to them.  They will sell to others&#8230; and so on&#8230; and so on&#8230; until some final system is connected to some endpoints.</p>
<p>SIP clouds connected to SIP clouds connected to more SIP clouds.</p>
<p>Where do you appropriately define the &#8220;trust boundary&#8221;?  Is it perhaps the &#8220;top tier&#8221; SIP Service Providers?  Is it &#8220;the carriers who run the PSTN&#8221;? Should it have been stripped off at a gateway coming in from the PSTN?  </p>
<p>We&#8217;re building this massive &#8220;interconnect&#8221; of SIP clouds&#8230; and this is just one of the many issues that it is not entirely clear that we have a consensus on.  Sure, <a href="http://tools.ietf.org/rfcmarkup?doc=rfc3325">RFC 3325</a> defines what should happen on a <em>technical</em> level&#8230; but what about on a <em>policy</em> level?  Who gets to be part of the &#8220;trusted&#8221; community? (FYI, I would strongly recommend reading <a href="http://tools.ietf.org/rfcmarkup?doc=rfc3325">RFC 3325</a> for a better understanding of the issue.)</p>
<p>In the meantime, it&#8217;s fairly safe to assume that if you are &#8220;blocking&#8221; your Caller ID, there is no actual guarantee that it won&#8217;t be seen by the recipient.  In the vast majority of cases, sure, that privacy will be respected.  But there&#8217;s no guarantee.</p>
<p>Welcome to new world of VoIP&#8230;</p>
<p><em>P.S. And yes, if you were reading this and thinking &#8220;Gee, so can&#8217;t the &#8216;Caller-ID&#8217; be easily spoofed just by modifying the SIP headers?&#8221; you are absolutely right. That&#8217;s why there&#8217;s a good amount of work going on right now in the IETF around the whole area of &#8220;strong identity&#8221;&#8230; but that&#8217;s a topic for another blog post some time&#8230;</em></p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/voip" rel="tag">voip</a>, <a href="http://technorati.com/tag/security" rel="tag">security</a>, <a href="http://technorati.com/tag/voip%20security" rel="tag">voip security</a>, <a href="http://technorati.com/tag/caller%20id" rel="tag">caller id</a>, <a href="http://technorati.com/tag/callerid" rel="tag">callerid</a>, <a href="http://technorati.com/tag/telephony" rel="tag">telephony</a>, <a href="http://technorati.com/tag/telecommunications" rel="tag">telecommunications</a>, <a href="http://technorati.com/tag/kevin%20mitnick" rel="tag">kevin mitnick</a>, <a href="http://technorati.com/tag/SIP" rel="tag">SIP</a>, <a href="http://technorati.com/tag/SIP%20security" rel="tag">SIP security</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://voipsa.org/blog/2008/07/23/asterisk-hack-to-show-blocked-caller-id-points-to-larger-trust-issues-with-sip/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
