<?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>Intrepidus Group - Insight</title>
	<atom:link href="http://intrepidusgroup.com/insight/feed/" rel="self" type="application/rss+xml" />
	<link>http://intrepidusgroup.com/insight</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:53:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changes to Apple MDM for iOS 5.x</title>
		<link>http://intrepidusgroup.com/insight/2012/01/changes-to-apple-mdm-for-ios-5-x/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/changes-to-apple-mdm-for-ios-5-x/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:11:25 +0000</pubDate>
		<dc:creator>dschuetz</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[MDM]]></category>
		<category><![CDATA[Mobile Device Management]]></category>
		<category><![CDATA[Mobile Security]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2831</guid>
		<description><![CDATA[Last Saturday (January 28), I presented an updated talk on Apple&#8217;s iOS MDM system at ShmooCon 8. I had a great time, and really enjoyed all the questions and nice comments I received afterwards. I thought I&#8217;d mention a couple of the changes that iOS 5 provide. First, the devices support some additional restrictions and [...]]]></description>
			<content:encoded><![CDATA[<p>Last Saturday (January 28), I presented an updated talk on Apple&#8217;s iOS MDM system at <a href="http://www.shmoocon.org/speakers#inside">ShmooCon 8</a>. I had a great time, and really enjoyed all the questions and nice comments I received afterwards. I thought I&#8217;d mention a couple of the changes that iOS 5 provide. </p>
<p>First, the devices support some additional restrictions and controls. These controls should be available in most commercial MDM solutions, and can also be found in the <a href="http://support.apple.com/kb/DL1465">iPhone Configuration Utility</a> (IPCU). Among these new controls are the ability to:</p>
<ul>
<li>Disable Siri</li>
<li>Selectively disable iCloud features: Backup, Document Sync, Photo Stream</li>
<li>Reject SSL sites with untrusted certificates</li>
<li>Prevent moving messages out of an email account into another</li>
<li>Prevent use of an email account from 3rd party applications</li>
</ul>
<p>Additions to the MDM service as a whole include:</p>
<ul>
<li>Ability to ask a device to &#8220;Check Out&#8221; when removed from MDM</li>
<li>Installing and removing applications (custom and App Store apps)</li>
<li>Listing managed applications</li>
<li>Configuration of some settings (Voice and Data Roaming)</li>
<li>Applying iTunes redemption codes to installation of apps (for Volume Purchase Plan)</li>
</ul>
<p>I&#8217;ve updated my experimental MDM server to support most of these features. I&#8217;ve also added some better documentation for the server code, and scripts to help create the necessary server and CA certificates. </p>
<p>Slides from the presentation, as well as the code and the Black Hat white paper and slides, are all available at <a href="https://github.com/intrepidusgroup/imdmtools">Github.</a>  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/changes-to-apple-mdm-for-ios-5-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubertooth: Bluetooth Address Breakdown</title>
		<link>http://intrepidusgroup.com/insight/2012/01/ubertooth-bluetooth-address-breakdown/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/ubertooth-bluetooth-address-breakdown/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 19:03:44 +0000</pubDate>
		<dc:creator>mxs</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2811</guid>
		<description><![CDATA[The IG crew is just heading back from ShmooCon, which reminds me of last year&#8217;s awesome talk on the Ubertooth One. Intrepidus backed the kickstarter project and, as promised, got 2 Ubertooths. We recently started playing with it, and have a couple of tips and a supplementary script. We originally followed the post here to get the Ubertooth [...]]]></description>
			<content:encoded><![CDATA[<p>The IG crew is just heading back from ShmooCon, which reminds me of last year&#8217;s awesome talk on the <a href="http://ubertooth.sourceforge.net/hardware/one/">Ubertooth One</a>. Intrepidus backed the kickstarter project and, as promised, got 2 Ubertooths. We recently started playing with it, and have a couple of tips and a supplementary script.</p>
<p>We originally followed the post <a href="http://www.hackfromacave.com/articles_and_adventures/ubertooth_bt5.html">here</a> to get the Ubertooth set up on BackTrack 5, but then had some trouble keeping the device connected and sniffing reliably (similar to our experience with the Proxmark III &#8212; sensing a trend here <img src='http://intrepidusgroup.com/insight/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) After updating the firmware and setting this up on an Ubuntu host, the device works flawlessly. I honestly don&#8217;t remember if these are my comments in the commands below or if I found it somewhere on the internetz. I apologize if I stole your commands:</p>
<p><pre><code>cd ubertooth/trunk/host/bluetooth_rxtx/
./ubertooth-util -f #puts the device in flash mode. lights should blink prettily.
cd ../usb_dfu/
./ubertooth-dfu write /path/to/firmware/bluetooth_rxtx.bin #this is the standard firmware. there are other special ones. suit yourself.
../bluetooth_rxtx/ubertooth-util detach</code></pre></p>
<p>The &#8220;<a href="http://ubertooth.sourceforge.net/usage/start/">Getting Started</a>&#8221; section of the Ubertooth site gives a pretty good idea of what the device can do. We found that the Ubertooth sits on one <a href="http://en.wikipedia.org/wiki/Bluetooth#Air_interface">Bluetooth channel</a> (out of the 87) and sniffs the LAP out of the Bluetooth packets. A little bit on Bluetooth address breakdown (This image is from section 3.2 of this <a href="http://www.usenix.org/event/woot07/tech/full_papers/spill/spill_html/">paper</a>):</p>
<div class="wp-caption aligncenter" style="width: 496px"><img title="Bluetooth Address Diagram" src="http://www.usenix.org/event/woot07/tech/full_papers/spill/spill_html/BDADDRFields2.png" alt="" width="486" height="121" /><p class="wp-caption-text">Bluetooth address breakdown</p></div>
<p>Bluetooth MAC addresses are comprised of 3 pieces: the Lower Address Part (LAP), Upper Address Part (UAP), and the Non-significant Address Part (NAP). The picture above illustrates this nicely. The Ubertooth can sniff the LAP out of the air, and use the error checking field in the Bluetooth packets to figure out the UAP (ubertooth-lap and ubertooth-nap, respectively).</p>
<p>The NAP (and UAP) are assigned on a per-vendor bases by the <a href="http://standards.ieee.org/develop/regauth/oui/oui.txt">IEEE</a>. That means the UAP is available through both the Ubertooth and the IEEE database of NAP+UAP addresses. Using both these resources (and matching up the UAP from both), we can figure out the first 2 NAP bytes pretty quickly! Of course it&#8217;s also possible to figure it out if we haven&#8217;t calculated the NAP (by appending the LAP to everything we can pull from the IEEE database and ping each one sequentially).</p>
<p>Automating stuff is fun. Here&#8217;s my (sloppy) script to figure out the NAP using first the short method, then the long if that one fails: <a href="https://github.com/intrepidusgroup/napfinder">https://github.com/intrepidusgroup/napfinder</a></p>
<div>&#8211; Max</div>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/ubertooth-bluetooth-address-breakdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shmootime: Shmoocon 2012</title>
		<link>http://intrepidusgroup.com/insight/2012/01/shmootime-shmoocon-2012/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/shmootime-shmoocon-2012/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 23:05:20 +0000</pubDate>
		<dc:creator>benn</dc:creator>
				<category><![CDATA[Conferences]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2804</guid>
		<description><![CDATA[It&#8217;s time for one of our favorite security conference, Shmoocon. The Intrepidus Group will be there both on stage and in the booth (&#8230;and maybe in the hotel bar from time to time). If you&#8217;ve got a barcode, please drop by and say hello. The team has busy putting together a fairly crazy, yet shmooball [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time for one of our favorite security conference, <a href="http://www.shmoocon.org">Shmoocon</a>. The Intrepidus Group will be there both on stage and in the booth (&#8230;and maybe in the hotel bar from time to time). If you&#8217;ve got a barcode, please drop by and say hello. The team has busy putting together a fairly crazy, yet shmooball free, booth for this year (apologies in advance to our neighbors). Just looking for the punching bag. We also plan to setup a tent and camp out in the <a href="http://www.shmoocon.org/schedule">Break It</a> track where you can catch some of us (past and present) speaking.</p>
<div id="attachment_2808" class="wp-caption alignnone" style="width: 235px"><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/ShmooconTime.jpg"><img class="size-medium wp-image-2808" title="ShmooconTime" src="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/ShmooconTime-225x300.jpg" alt="Say hello to our booth babe at Intrepidus Group" width="225" height="300" /></a><p class="wp-caption-text">Say hello to our booth babe</p></div>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/shmootime-shmoocon-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excuse me, your clouds are leaking</title>
		<link>http://intrepidusgroup.com/insight/2012/01/gliffy-cloud-leaking-confidential-privacy/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/gliffy-cloud-leaking-confidential-privacy/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:31:42 +0000</pubDate>
		<dc:creator>jeremy.allen</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2789</guid>
		<description><![CDATA[I recently started playing around with Gliffy, a nice online diagramming tool that has become quite popular. Gliffy makes sharing your diagrams with the world easy. Unfortunately, many Gliffy users do not realize that they are sharing their diagrams with the entire world. Some quick Google searches revealed a number of entertaining diagrams. This data [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started playing around with <a href="http://www.gliffy.com/">Gliffy</a>, a nice online diagramming tool that has become quite popular. Gliffy makes sharing your diagrams with the world easy. Unfortunately, many Gliffy users do not realize that they are sharing their diagrams with the entire world. Some quick Google searches revealed a number of entertaining diagrams.</p>
<p>This data ranges from boring to concerning. I held back a few that I felt were not responsible to disclose. At any rate, this highlights the dangers of using &#8220;cloud services&#8221; and not educating employees about the inherent risks this involves. Also, some of this is just plain laziness from those who probably know better.</p>
<p>After assuring <a href="http://www.google.com">Google</a> I was indeed a human about a dozen times, here are the highlights:</p>
<ul>
<li><a href="http://www.gliffy.com/publish/2601980/">A GitHub Migration Map &#8212; Author Unknown</a></li>
<li><a href="http://www.gliffy.com/publish/1482015/">&#8220;esecurity&#8221; flow chart</a></li>
<li><a href="http://www.gliffy.com/publish/2316166/">An org chart with salary information</a></li>
<li><a href="http://www.gliffy.com/publish/2119456/">The &#8220;melvyn&#8221; flow chart</a></li>
<li><a href="http://www.gliffy.com/publish/1553201/">A single sign on app flow</a></li>
<li><a href="http://www.gliffy.com/publish/2531599/">I don&#8217;t even know</a></li>
<li><a href="http://www.gliffy.com/publish/1429262/">qwest.com current architecture solution</a></li>
<li><a href="http://www.gliffy.com/publish/1606001/">Lubricant Supply Chain</a></li>
<li><a href="http://www.gliffy.com/publish/2788630/">&#8220;Confidential&#8221; Application Design Docs</a></li>
<li><a href="http://www.gliffy.com/publish/2755578/">Another Org Chart</a></li>
<li><a href="http://www.gliffy.com/publish/2096363/">A Networking Diagram with Passwords</a></li>
<li><a href="http://www.gliffy.com/publish/2577156/">UI Mockups</a></li>
<li><a href="http://www.gliffy.com/publish/1358027/">MyBook General Photo Album Confidential API</a></li>
<li><a href="http://www.gliffy.com/publish/2945123/">A Really Detailed Internal Business Process</a></li>
<li><a href="http://www.gliffy.com/publish/2525465/">Marketing Plan With $ Figures</a></li>
<li><a href="http://www.gliffy.com/publish/2973459/">Some Sort of Business Plan</a></li>
<li><a href="http://www.gliffy.com/publish/2795327/">Music Studio SEO Strategy</a></li>
<li><a href="http://www.gliffy.com/publish/2541379/">Facebook Ad Campaign Results</a></li>
<li><a href="http://www.gliffy.com/publish/1713006/">Fax Numbers in a Payroll Process</a></li>
<li><a href="http://www.gliffy.com/publish/1713008/">Payroll Email Process &#8211; Info Disclose</a></li>
<li><a href="http://www.gliffy.com/publish/2604621/">Another Org Chart</a></li>
<li><a href="http://www.gliffy.com/publish/2167531/">Another Internal Network Diagram</a></li>
<li><a href="http://www.gliffy.com/publish/2946649/">ATM Vendor Proprietary Information</a></li>
<li><a href="http://www.gliffy.com/publish/1772969/">DoD Stuff</a></li>
<li><a href="http://www.gliffy.com/publish/2607840/">More DoD Stuff</a></li>
<li><a href="http://www.gliffy.com/publish/2229945/">Even More DoD Stuff (I hope this stuff isn&#8217;t classified)</a></li>
<li><a href="http://www.gliffy.com/publish/2249869/">Another Internal/External Network Diagram</a></li>
<li><a href="http://www.gliffy.com/publish/1476641/">Hot Sexy Text Chat Mockup</a></li>
<li><a href="http://www.gliffy.com/publish/2913942/">Zombie Attack Flow Chart</a></li>
</ul>
<p>Also, <a href="http://en.wikipedia.org/wiki/Stop_Online_Piracy_Act">SOPA</a> and <a href="http://en.wikipedia.org/wiki/PROTECT_IP_Act">PIPA</a> are bad. Please let your representatives know. See: <a href="http://www.reddit.com">reddit.com</a> for a nice write up.</p>
<p><a href="http://twitter.com/bitexploder">@bitexploder</a>, <a href="http://twitter.com/sorcerer13">@sorcerer13</a> and <a href="http://twitter.com/rossja">@rossja</a></p>
<p><a href="http://www.gliffy.com/publish/1482015/"><br />
</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/gliffy-cloud-leaking-confidential-privacy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>&#8220;Voight-Kampff&#8217;ing The BlackBerry PlayBook&#8221; at INFILTRATE 2012</title>
		<link>http://intrepidusgroup.com/insight/2012/01/voight-kampffing-the-blackberry-playbook-at-infiltrate-2012/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/voight-kampffing-the-blackberry-playbook-at-infiltrate-2012/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 16:43:16 +0000</pubDate>
		<dc:creator>quine</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[infiltrate]]></category>
		<category><![CDATA[playbook]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2774</guid>
		<description><![CDATA[Last week, we gave a talk at Immunity&#8217;s awesome INFILTRATE conference in Miami Beach, FL. Our presentation, &#8220;Voight-Kampff&#8217;ing The BlackBerry PlayBook&#8221;, discussed some of the black-box style, independent research we performed on the BlackBerry PlayBook. Although some content was similar to our PlayBook talk at SecTor 2011, there were some very notable additions. In particular, we [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/dvkm.jpg"><img class="alignleft  wp-image-2776" title="dvkm" src="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/dvkm.jpg" alt="" width="461" height="259" /></a></p>
<p>Last week, we gave a talk at Immunity&#8217;s awesome <a href="http://www.infiltratecon.com/">INFILTRATE</a> conference in Miami Beach, FL. Our presentation, &#8220;Voight-Kampff&#8217;ing The BlackBerry PlayBook&#8221;, discussed some of the black-box style, independent research we performed on the BlackBerry PlayBook. Although some content was similar to our PlayBook talk at <a href="http://sector.ca/">SecTor 2011</a>, there were some <em>very</em> notable additions. In particular, we discussed reverse engineering of PlayBook firmware images; flaws in authorization of AppWorld downloads; and exposure of an authorization token used for BlackBerry Bridge (the PlayBook&#8217;s PIM and email sync component).</p>
<p>The lattermost point has stirred up a bit of press post-INFILTRATE, so we&#8217;d like to clarify a few things:</p>
<p>1. The exposure of the authorization token is facilitated by a bug in the Persistent Publish/Subscribe (PPS) facility of the QNX operating system. This bug causes the contents of otherwise-inaccessible files to be readable from a special file in the same directory. RIM was made aware of this PPS bug as a result of our SecTor talk, as well as notification from others, and again by us prior to INFILTRATE (with special emphasis on disclosure of the Bridge token) &#8212; they have fixed this PPS bug in Tablet OS 2.0 (beta).</p>
<p>2. This token exposure effectively renders the BlackBerry handset password moot. The exposed authorization token is accessible <em>after</em> the user has &#8220;unlocked&#8221; BlackBerry Bridge (where &#8220;unlocking&#8221; would entail entering the paired BlackBerry device&#8217;s password <strong><em>if</em></strong> one is set). Unlocking Bridge is an <strong>expected behavior/process</strong> for Bridge users. After all, if you&#8217;re using Bridge on your device, <strong>you&#8217;re going to do this</strong>. In the case where a BB handset password has <em>not</em> been set, a malicious actor could just request this token from the Bridge service directly.</p>
<p>3. This isn&#8217;t &#8220;sniffing&#8221;. Some highly misinformed comments on news articles have suggested things like &#8220;a bad guy would have to be within 10 meters to exploit this.&#8221; This issue is not, I repeat <strong><span style="text-decoration: underline;">not</span></strong> related to Bluetooth (which is used by BlackBerry Bridge). As an aside, despite the <a href="http://threatpost.com/en_us/blogs/researchers-find-way-sniff-corporate-email-blackberry-playbook-011212">title of the article</a>, threatpost has one of the best (press) write-ups so far.</p>
<p>4. The pervasiveness of malicious mobile applications exacerbates this flaw. Unless you&#8217;ve been living under a rock, you know that even &#8220;savvy&#8221; users are frequently duped by seemingly legitimate applications which later turn out to be doing Bad Things. The downplaying of this as an attack vector is nonsense, and the &#8220;if dumb users install malicious apps, they deserve whatever&#8217;s coming to them&#8221; argument is silly. Note that client-side browser or document reader vulnerability could even render <em>this</em> vector moot in the end.</p>
<p>In upcoming posts, we&#8217;ll dive a bit deeper into the meat of our research, so stay tuned. For those interested, we have <a href="http://www.slideshare.net/quineslideshare/voightkampffing-the-blackberry-playbook">posted the slides at SlideShare</a>, and uploaded some initial code to the <a href="https://github.com/intrepidusgroup/">Intrepidus Group GitHub page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/voight-kampffing-the-blackberry-playbook-at-infiltrate-2012/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Android Backdoor Fail &#8211; The Kindle Fire Easter Egg</title>
		<link>http://intrepidusgroup.com/insight/2012/01/android-backdoor-fail-the-kindle-fire-easter-egg/</link>
		<comments>http://intrepidusgroup.com/insight/2012/01/android-backdoor-fail-the-kindle-fire-easter-egg/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 15:09:07 +0000</pubDate>
		<dc:creator>benn</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[Reverse Engineering]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2753</guid>
		<description><![CDATA[Happy New Year! And for all you Kindle Fire owners, happy early Easter as well. TeamAndIRC released their code and write-up for BurritoRoot which restores root level ADB access on the Kindle Fire. There were other ways to root the Fire before the latest update from Amazon, but this one is attention deserving because of [...]]]></description>
			<content:encoded><![CDATA[<p>Happy New Year! And for all you <a href="http://www.fudzilla.com/home/item/25382-amazon-selling-1-million-kindle-fire-tablets-per-week" target="_blank">Kindle Fire owners</a>, happy early Easter as well. <a href="http://twitter.com/TeamAndIRC" target="_blank">TeamAndIRC </a>released their code and write-up for <a href="https://github.com/CunningLogic/BurritoRoot/" target="_blank">BurritoRoot</a> which restores root level ADB access on the Kindle Fire. There were other ways to root the Fire before the latest update from Amazon, but this one is attention deserving because of how blatantly the developers left this back door wide open.</p>
<p>You can follow along even without a Fire by grabbing the <a href="http://www.amazon.com/gp/help/customer/display.html?nodeId=200790620#download" target="_blank">6.2.1 software update</a> from Amazon&#8217;s site. Download the &#8220;bin&#8221; file, extract it, then find the &#8220;service.jar&#8221; framework file. This jar will be in the Android format, so to view this in <a href="http://java.decompiler.free.fr/?q=jdgui" target="_blank">jd-gui</a>, you&#8217;ll want to convert it first (<a href="http://code.google.com/p/dex2jar/" target="_blank">dex2jar</a> works well).</p>
<p>Besides the standard com.android.server package you would expect to see in the service framework file, you&#8217;ll also notice there&#8217;s a &#8220;com.lab126.services&#8221; package (<a href="http://www.lab126.com/index.htm" target="_blank">Lab126</a> appears to have done work for a number of Kindle releases). At that point, it&#8217;s pretty hard to ignore a class called &#8220;EasterEggReceiver&#8221;.  There&#8217;s not much to this class and nothing has been obfuscated to make it hard to follow. Any application which broadcasts an intent message to the &#8220;com.amazon.internal.E_COMMAND&#8221; service with the correct extra data can enable the ADB daemon to restart as root. No permissions are needed to send that intent and there are no checks in the framework to see who sent the intent message (like maybe try to limit this to only apps with a certain signature) &#8212; simply any Android app on the device can call this backdoor feature.</p>
<div id="attachment_2756" class="wp-caption alignnone" style="width: 310px"><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/KFire-EasterEggReceiver.png"><img class="size-medium wp-image-2756" title="KFire-EasterEggReceiver" src="http://intrepidusgroup.com/insight/wp-content/uploads/2012/01/KFire-EasterEggReceiver-300x134.png" alt="Easter Egg" width="300" height="134" /></a><p class="wp-caption-text">Dex2Jar view of Kindle Fire&#39;s Services framework file</p></div>
<p>The means of data passing and the severity of this &#8220;feature&#8221; are different from the <a href="http://www.androidpolice.com/2011/10/01/massive-security-vulnerability-in-htc-android-devices-evo-3d-4g-thunderbolt-others-exposes-phone-numbers-gps-sms-emails-addresses-much-more/">HTCLoggers.apk issue</a> from October of last year, but I think they are both signs of the same trend. Mobile developers writing any sort of inter-process communication call or service need to ensure they are communicating only with other trusted apps. Android already gives you <a href="http://developer.android.com/guide/topics/security/security.html#manifest" target="_blank">a way to do this</a>, if your apps are signed with the same certificate. I&#8217;m a fan of Easter Eggs, but sometimes you want to make sure to limit who can walk away with your tasty burrito.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2012/01/android-backdoor-fail-the-kindle-fire-easter-egg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Man-in-the-Middle (MiTM) and certificate setup on Android 4.0</title>
		<link>http://intrepidusgroup.com/insight/2011/12/mit/</link>
		<comments>http://intrepidusgroup.com/insight/2011/12/mit/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 16:50:20 +0000</pubDate>
		<dc:creator>benn</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Mallory]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2732</guid>
		<description><![CDATA[The Nexus Galaxy and Android&#8217;s Ice Cream Sandwich (ICS) are finally here. If you&#8217;ve done Android application testing in the past, you&#8217;ve probably have tried to install your own Certificate Authority (CA) cert on to an Android device or emulator. This process was somewhat painful and required root level access on physical devices. We have [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.google.com/nexus" target="_blank">Nexus Galaxy</a> and Android&#8217;s <a href="http://developer.android.com/sdk/android-4.0-highlights.html" target="_blank">Ice Cream Sandwich</a> (ICS) are finally here. If you&#8217;ve done Android application testing in the past, you&#8217;ve probably have tried to install your own <a href="http://wiki.cacert.org/FAQ/ImportRootCert?action=show&amp;redirect=ImportRootCert#Android_Phones" target="_blank">Certificate Authority</a> (CA) cert on to an Android device or emulator. This process was somewhat painful and required root level access on physical devices. We have an <a href="http://intrepidusgroup.com/insight/2011/08/setting-up-a-persistent-trusted-ca-in-an-android-emulator/" target="_blank">old blog post here</a> on that process, but that all changes now with ICS.</p>
<p>Installing a certificate can now be done in the <em>Settings-&gt;Security</em> menu of an Android 4.0 device and handled in the &#8220;Credential Storage&#8221; section. This does not require the device to be rooted (at least on the builds we&#8217;ve seen so far). The &#8220;Trusted Credentials&#8221; setting will list both the system wide installed certificates as well as any user added ones. An additional feature is now with a few simple clicks, the end user can disable any CA certificate on their device. Is your vendor still hanging with <a href="http://www.darkreading.com/authentication/167901072/security/attacks-breaches/231601790/diginotar-hacked-out-of-business.html" target="_blank">DigiNotar</a>? Now you can disable that yourself without having to pull files from the device. Just click on the certificate, scroll down to the bottom of the pop-up message, then click the &#8220;Disable&#8221; button on the right.</p>
<div id="attachment_2735" class="wp-caption alignnone" style="width: 188px"><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2011/12/SSl-InstallFromStorage.png"><img class="size-medium wp-image-2735" title="Android 4.0 Credintial Storage menu" src="http://intrepidusgroup.com/insight/wp-content/uploads/2011/12/SSl-InstallFromStorage-178x300.png" alt="" width="178" height="300" /></a><p class="wp-caption-text">Android 4.0 Credential Storage menu</p></div>
<p>Installing your own certificate is almost as easy. Here was my process. I needed the CA cert I generated in Mallory loaded onto to my Nexus. Mallory creates a unique CA certificate per-installation and stores it in Mallory&#8217;s &#8220;ca&#8221; directory.  To move this onto the phone, I started up Python&#8217;s SimpleHTTPServer in that directory.<br />
<strong></strong><br />
<pre>~/mallory/current/src/ca$ python -m SimpleHTTPServer</pre><br />
Now on the phone, I pointed the browser to that server on port 8000 in order to download the &#8220;ca.cer&#8221; file (adjust your IP address/port/filename as necessary).<br />
<strong></strong><br />
<pre>http://192.168.90.1:8000/ca.cer</pre><br />
On my device, this dropped the CA certificate to the SD card. Back in <em>Settings-&gt;Security</em> screen, find the &#8220;Install from storage&#8221; option. Click that and your &#8220;ca.cer&#8221; file gets loaded into the &#8220;Trusted Credentials&#8221; store under the &#8220;User&#8221; tab.  No bouncing castles or root needed. This will require you to set a passcode on your device (if there is not one already). <a href="http://thenextweb.com/google/2011/11/11/android-4-0-face-unlock-feature-defeated-using-a-photo-video/" target="_blank">Face unlock</a> doesn&#8217;t appear to cut it just yet.</p>
<div id="attachment_2736" class="wp-caption alignnone" style="width: 310px"><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2011/12/SSL-Cert-User.png"><img class="size-medium wp-image-2736" title="Mallory's CA Cert loaded" src="http://intrepidusgroup.com/insight/wp-content/uploads/2011/12/SSL-Cert-User-300x274.png" alt="Oh Mallory, you look so fine. " width="300" height="274" /></a><p class="wp-caption-text">Mallory&#39;s CA Cert loaded on the device</p></div>
<p>&nbsp;</p>
<p>~benn</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2011/12/mit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EA Origin vulnerabilities, responsible disclosure, and the Force</title>
		<link>http://intrepidusgroup.com/insight/2011/11/ea-origin-vulnerabilities-responsible-disclosure-and-the-force/</link>
		<comments>http://intrepidusgroup.com/insight/2011/11/ea-origin-vulnerabilities-responsible-disclosure-and-the-force/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 20:36:53 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Phishing]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2678</guid>
		<description><![CDATA[If you&#8217;re a gamer like me, you&#8217;ve probably been waiting for the release of Star Wars: The Old Republic, currently being developed by Bioware. I&#8217;ve been looking for beta codes, and came across Penny Arcade&#8217;s beta code give-away some time ago (bless their souls). As I was signing up for the beta, I noticed something [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a gamer like me, you&#8217;ve probably been waiting for the release of Star Wars: The Old Republic, currently being developed by Bioware. I&#8217;ve been looking for beta codes, and came across Penny Arcade&#8217;s <a href="http://www.penny-arcade.com/static/swtor/">beta code give-away</a> some time ago (bless their souls).</p>
<p>As I was signing up for the beta, I noticed something interesting: the <a href="https://account.swtor.com/user/register">registration page</a> immediately told you if the email you’d typed in matched an EA Origin account. This piqued my interest: was this exploitable, other than testing if email addresses were associated with Origin? I signed up with my Origin account, and strangely, it asked for a new password, without authenticating my current password. Digging further, I realized that you could reset the password to a new one of your choosing, with one caveat: the holder of the email account needs to access the verification link sent to the email address as part of signup. Here’s the email:</p>
<p><i>NewUser:<br />
Thank you for joining the Star Wars™: The Old Republic™ community! To complete your registration and activate your account, simply verify your email address by clicking here. Remember, we will update or create an EA account using this email address upon your email validation.</i></p>
<p>Normally, this would be good enough to prevent unauthorized password resets, but I found it strange that nowhere on the registration page or the email did it say that my password would be reset, and no indication after the reset. Conceivably, you could sign up a large number of Origin accounts for the SWTOR beta, and if the target doesn’t log into his Origin account immediately, he’d be unaware his account has been compromised. If you’re a gamer, you’ve probably signed up for a dozen betas, hoping to get lucky now and then – a “confirm you want to join the Star Wars beta” email from EA would raise no suspicions whatsoever. </p>
<p>I decided to report the issue to EA. I couldn’t find a security contact on their website, but a bit of e-stalking later with a colleague, found the email address of the EA CISO, and shot off an email describing what I’d found. To my surprise, instead of being ignored or receiving a letter from their legal department, I got a response within the hour – “Do you mind sharing your details so we can address the issue promptly? We take security very seriously and would like to get on it right away.” I couldn’t have asked for anything better.</p>
<p>Four days and some email exchanges later, I received an email from one of their Online Development Directors:  thank you for reporting the issue, a patch has been deployed – oh and we’d like to send you some free SWTOR swag to show our appreciation.</p>
<p>This was a pretty fun experience for me. It wasn’t a critical vulnerability, but had the potential for mass abuse. EA was on the ball in fixing the bug, and kept me in the loop. You don’t get that too often. Now if only I could use this to have EA give me a permanent beta testing status for all games <img src='http://intrepidusgroup.com/insight/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://twitter.com/sorcerer13">@sorcerer13</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2011/11/ea-origin-vulnerabilities-responsible-disclosure-and-the-force/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USRP for NFC Part 1</title>
		<link>http://intrepidusgroup.com/insight/2011/11/usrp-for-nfc-part-1/</link>
		<comments>http://intrepidusgroup.com/insight/2011/11/usrp-for-nfc-part-1/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 20:30:38 +0000</pubDate>
		<dc:creator>mxs</dc:creator>
				<category><![CDATA[NFC]]></category>
		<category><![CDATA[RFID]]></category>
		<category><![CDATA[USRP]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2715</guid>
		<description><![CDATA[The USRP from Ettus Research is an awesome tool for radio analysis. It’s a really complex tool that is capable of doing almost anything involving radio signals (see these two previous Insight posts by Corey and myself, and Raj). That doesn’t even scratch the surface, though. This post will go into the detailed hardware setup [...]]]></description>
			<content:encoded><![CDATA[<p>The USRP from Ettus Research is an awesome tool for radio analysis. It’s a really complex tool that is capable of doing almost anything involving radio signals (see these two previous Insight posts by <a href="http://intrepidusgroup.com/insight/2011/07/usrp-101-unlocking-wireless-pc-locks-and-freeing-dolphins/">Corey and myself</a>, and <a href="http://intrepidusgroup.com/insight/2009/02/digital-sampling-theory-to-the-rescue/">Raj</a>). That doesn’t even scratch the surface, though. This post will go into the detailed hardware setup for investigating NFC over the air communication using the USRP.</p>
<p>For the <a href="http://tiger.ece.stevens-tech.edu/10-11/11grp3/index.html">RFnoID project</a>, a group of us temporarily turned into nocturnal, lab-dwelling creatures to get this set up. Full credit for this post goes to my group members: Rob Lee-Own, Scott Velivis, and Vincent Lin.</p>
<p>Step 1: Obtain USRP. <a href="http://www.ettus.com/order">Ettus Research</a> has several models. For the RFnoID project, we used the plain ol’ black USRP1. At Intrepidus Group, we have the USRP N210. An enormous, frustrating, caveat to the USRP will be mentioned later, but for now, keep this in mind: The USRP1 uses USB, while the N210 uses Gigabit Ethernet to communicate with the computer. Select with care!</p>
<p>Step 2: Select your daughter boards. The USRP requires RFID works in three frequencies: 125 KHz, 13.56 MHz, and 900 MHz. We’re going to be focusing on <a href="http://en.wikipedia.org/wiki/ISO/IEC_14443">ISO14443-A</a>, which operates at 13.56 MHz. For the rest of this article, NFC refers to the 13.56 MHz band. We’ll need one daughter board for receiving, and one for transmitting. The low frequency transmit and receive daughterboards (LFTX and LFRX) should fit the bill for 13.56 MHz RF communication at DC to 30 MHz.</p>
<p>Step 3: Select your antennae! This part took trial and error, including some home brew (courtesy of Scott and Rob):</p>
<p><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2011/11/IMAG0330.jpg"><img class="size-medium wp-image-2716 aligncenter" title="antenna" src="http://intrepidusgroup.com/insight/wp-content/uploads/2011/11/IMAG0330-264x300.jpg" alt="" width="264" height="300" /></a></p>
<p>We ended up going with two of the <a href="http://parts.digikey.com/1/parts/1605867-antenna-round-coax-dlp-rfid-ant.html">DLP-RFID-ANT</a> from Digi-Key at $40.</p>
<p>Here’s the tl;dr so far:</p>
<ol>
<li>USRP @ $1700 (USRP N210) or $700 (USRP 1)</li>
<li>LFTX, LFRX @ $75 each</li>
<li>2x DLP-RFID-ANT @ $40 each</li>
</ol>
<p>At this point, you should be able to hook it all up, set up GNU radio on your computer, plug in the USRP, and capture NFC goodness right out of the air. Wahoo!</p>
<p>In this <a href="http://youtu.be/Wwy8ButHbcU">video</a>, we&#8217;re issuing a read command using <a href="http://www.libnfc.org/documentation/introduction">libnfc </a>in the left terminal, and detecting NFC energy using the USRP in the right terminal.</p>
<p>Still with me? Good. Here’s where we started spending long nights in the lab banging our heads against the desk. First, a little background on the software/protocol: NFC at its most basic level follows the ISO 14443-4 “Transmission protocol” specification. You can purchase that from <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=50648">ISO</a> for 136 CHF. Google tells me that’s about $150 in real money. The real gem to pull out of those endless pages is that 0&#215;52 is the WUP (wakeup) command, and it will wake up all tags in the area. 0&#215;26 does something similar. In short, we used some hack-y Python to convert hex numbers into a wave format the USRP could understand and transmit. Code <a href="https://github.com/RFnoID/RFnoID-Test/blob/master/bitconvert.py">here</a>. Feel free to use that code, but please credit RFnoID if you do find it useful. <strong>The USRP will modulate this wave at the carrier frequency. You do not need to do that part.</strong> You can set up the USRP to use that .wav file using:</p>
<blockquote><p>from gnuradio import gr</p>
<p>gr.wavfile_source(&#8220;wave52.wav&#8221;, True)</p></blockquote>
<p>We’ll get more into the software behind this in Part 2. Back to the hardware. Here’s what we were trying to get:</p>
<p><a href="http://intrepidusgroup.com/insight/wp-content/uploads/2011/11/waveform.jpg"><img class="size-medium wp-image-2717 aligncenter" title="waveform" src="http://intrepidusgroup.com/insight/wp-content/uploads/2011/11/waveform-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Notice that wave is 5.5V peak-to-peak. The NFC tag gets its energy from the RF signal the reader (or, in this case, the USRP) transmits. That’s the energy required to wake up and power an NFC tag.</p>
<p>When we transmitted, the tag simply wasn’t responding. Looking at our signal using the oscilloscope, we found that our signal was roughly .5V <a href="http://en.wikipedia.org/wiki/Amplitude#Peak-to-peak_amplitude">peak-to-peak</a>. We required an amplifier to boost the signal to the 5.5V level and, luckily, found <a href="http://www.minicircuits.com/pdfs/ZHL-1042J.pdf">one</a> in the lab. The amp doesn’t have to be this fancy, but needs to be <a href="http://en.wikipedia.org/wiki/SMA_connector">SMA</a>-in, SMA-out. We’re still searching for a cheaper amplifier that meets our criteria. Luckily Scott understands antennas much better than I do and says: “the 13.56mhz band is so narrow that even a very non-linear amp would look linear for a ~200khz bandwidth.” We’ll keep this post updated if we find something cheap that fits our criteria.</p>
<p>The second major issue we encountered came when we tried to do 2 things: first, detect energy in the NFC band; and second, send a blocking signal (0&#215;52 works well for this purpose because it re-starts the tag’s initialization and anti-collision routine). We were using a USRP1. Remember we mentioned before that the USRP1 connects to the computer using USB. We were getting a large delay (~300 microseconds) we believe was coming from the USB stack (in the Linux kernel) buffering before sending a complete frame, causing a delay in detecting the RF energy. In theory, the USRP N210, which connects via Gigabit Ethernet, would not have this issue and could send frames as soon as they were received from the USRP.</p>
<p>More on the software (GNU radio and the scripts we used) in Part 2!</p>
<p>-Max</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2011/11/usrp-for-nfc-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OWASP ATL: Mobile Application Assessment Presentation</title>
		<link>http://intrepidusgroup.com/insight/2011/11/owasp-atl-mobile-application-assessment-presentation/</link>
		<comments>http://intrepidusgroup.com/insight/2011/11/owasp-atl-mobile-application-assessment-presentation/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 21:04:24 +0000</pubDate>
		<dc:creator>jeremy.allen</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Mallory]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[software security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://intrepidusgroup.com/insight/?p=2695</guid>
		<description><![CDATA[I recently gave a presentation at OWASP ATL on the OWASP Mobile Top 10 and how to assess mobile applications. This was a light weight discussion of the OWASP Mobile Top 10 and some topical and technical concerns related to securing mobile applications. Download the presentation here: [download id="276"] &#160; These videos show various testing [...]]]></description>
			<content:encoded><![CDATA[<p>I recently gave a presentation at <a href="https://www.owasp.org/index.php/Atlanta_Georgia">OWASP ATL</a> on the <a href="https://www.owasp.org/index.php/OWASP_Mobile_Security_Project#tab=Top_Ten_Mobile_Risks">OWASP Mobile Top 10</a> and how to assess mobile applications. This was a light weight discussion of the OWASP Mobile Top 10 and some topical and technical concerns related to securing mobile applications.</p>
<p>Download the presentation here: [download id="276"]</p>
<p>&nbsp;</p>
<p>These videos show various testing techniques on real applications. The applications targeted didn&#8217;t have any serious problems. In the case of the game, &#8220;WordFeud&#8221;, a Scrabble clone, the game maintained game state on the server and tampering with client side values did not yield any interesting results. The SoundCloud demonstration shows how it uses the iOS data protection API to avoid storing OAuth tokens in the applications file sandbox and instead uses KeyChain.</p>
<p>Video Demo Series Here:</p>
<p><strong>iPad SSL MiTM</strong></p>
<ol>
<li><a href="http://www.youtube.com/watch?v=0453HDZYdGU">http://www.youtube.com/watch?v=0453HDZYdGU</a></li>
<li><a href="http://www.youtube.com/watch?v=kZ1pKShrKyk">http://www.youtube.com/watch?v=kZ1pKShrKyk</a></li>
<li><a href="http://www.youtube.com/watch?v=NvyM1wzwT2o">http://www.youtube.com/watch?v=NvyM1wzwT2o</a></li>
<li><a href="http://www.youtube.com/watch?v=HRRqL7IAkJw">http://www.youtube.com/watch?v=HRRqL7IAkJw</a></li>
<li><a href="http://www.youtube.com/watch?v=24FT-plmjAs">http://www.youtube.com/watch?v=24FT-plmjAs</a></li>
</ol>
<p><strong>iOS Application MiTM</strong></p>
<ol>
<li><a href="http://www.youtube.com/watch?v=Hgk310uUdjI">http://www.youtube.com/watch?v=Hgk310uUdjI</a></li>
<li><a href="http://www.youtube.com/watch?v=x1T6kjtcpLw">http://www.youtube.com/watch?v=x1T6kjtcpLw</a></li>
<li><a href="http://www.youtube.com/watch?v=0VwJ1bss5wA">http://www.youtube.com/watch?v=0VwJ1bss5wA</a></li>
<li><a href="http://www.youtube.com/watch?v=50NAa324WC0">http://www.youtube.com/watch?v=50NAa324WC0</a></li>
<li><a href="http://www.youtube.com/watch?v=btl147-ioKQ">http://www.youtube.com/watch?v=btl147-ioKQ</a></li>
<li><a href="http://www.youtube.com/watch?v=5YFC2L0vapM">http://www.youtube.com/watch?v=5YFC2L0vapM</a></li>
<li><a href="http://www.youtube.com/watch?v=UL6mjywzBwU">http://www.youtube.com/watch?v=UL6mjywzBwU</a></li>
</ol>
<p><strong>Sound Cloud and Data Protection</strong></p>
<ol>
<li><a href="http://www.youtube.com/watch?v=5fhktPV0LCs">http://www.youtube.com/watch?v=5fhktPV0LCs</a></li>
<li><a href="http://www.youtube.com/watch?v=p6R15lVmOYA">http://www.youtube.com/watch?v=p6R15lVmOYA</a></li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://intrepidusgroup.com/insight/2011/11/owasp-atl-mobile-application-assessment-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

