<?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>Peter&#039;s Blog &#124; PeterMStewart.Net &#187; Forensics</title>
	<atom:link href="http://www.petermstewart.net/category/technology/forensics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.petermstewart.net</link>
	<description>Mostly Harmless...</description>
	<lastBuildDate>Wed, 01 Sep 2010 15:07:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Finished</title>
		<link>http://www.petermstewart.net/2010/09/01/finished/</link>
		<comments>http://www.petermstewart.net/2010/09/01/finished/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 15:07:52 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[dissertation]]></category>
		<category><![CDATA[farnsworth]]></category>
		<category><![CDATA[goodnewseveryone]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=489</guid>
		<description><![CDATA[Good news, everyone! I&#8217;ve just completed and submitted my MSc dissertation. I&#8217;ve also invented a device which makes you read all 20,000 words of it in your head, in Professor Hubert J. Farnsworth&#8217;s voice! Well, only part of that is &#8230; <a href="http://www.petermstewart.net/2010/09/01/finished/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Hubert_J._Farnsworth"><img class="alignleft" title="Farnsworth" src="http://a.imageshack.us/img838/9023/farnsworth.gif" alt="" width="222" height="200" /></a>Good news, everyone! I&#8217;ve just completed and submitted my MSc dissertation.</p>
<p>I&#8217;ve also invented a device which makes you read all 20,000 words of it in your head, in Professor Hubert J. Farnsworth&#8217;s voice!</p>
<p>Well, only part of that is true. I have submitted my dissertation. It may or may not appear on here in some point in the future. At the very least, I&#8217;ll probably write up a summary of the main findings though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/09/01/finished/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wii NAND Imaging with BootMii</title>
		<link>http://www.petermstewart.net/2010/06/25/wii-nand-imaging-with-bootmii/</link>
		<comments>http://www.petermstewart.net/2010/06/25/wii-nand-imaging-with-bootmii/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 14:00:30 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[bannerbomb]]></category>
		<category><![CDATA[bootmii]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[nand]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[success]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=471</guid>
		<description><![CDATA[Earlier this week Nintendo released System Menu 4.3 &#8211; the sole purpose of which seems to be disabling homebrew software. It&#8217;s a bit of a pain because until some new bugs are found, the success of any procedure I come &#8230; <a href="http://www.petermstewart.net/2010/06/25/wii-nand-imaging-with-bootmii/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; font-size: 16px;">Earlier this week Nintendo released System Menu 4.3 &#8211; the sole purpose of which seems to be <a href="http://hackmii.com/2010/06/system-menu-4-3-update/">disabling homebrew software</a>. It&#8217;s a bit of a pain because until some new bugs are found, the success of any procedure I come up is subject to the Wii running System Menu 4.2 or lower. Still it could be worse.</span></p>
<p>My black Wii came with System Menu 4.2 installed by default. <a href="http://wiibrew.org/wiki/Bannerbomb">Bannerbomb</a> and the <a href="http://bootmii.org/">HackMii installer</a> still work, so I can continue with the project pretty much as I had planned.</p>
<p>Installing BootMii is relatively straightforward but there are quite a few steps involved.</p>
<p><span style="font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; font-size: 16px;"></p>
<ul>
<li>Create a FAT16/32 filesystem on a SD memory card (&lt;2GB seems to work best)</li>
<li>Copy Bannerbomb&#8217;s &#8220;private&#8221; directory to the SD card root</li>
<li>Copy &#8220;boot.elf&#8221; from the HackMii archive to the SD card root</li>
<li>Turn the Wii on, click the SD card icon in the System Menu &amp; insert the SD card</li>
</ul>
<p></span></p>
<ol></ol>
<p>If Bannerbomb has worked correctly a pop-up will appear asking to load boot.elf/dol. If you don&#8217;t see this, start again using <a href="http://bannerbomb.qoid.us/index.new.php">another version of Bannerbomb</a>.</p>
<p><span style="font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; font-size: 16px;"></p>
<ul>
<li>Follow the onscreen instructions to install the Homebrew Channel and BootMii (and <a href="http://wiibrew.org/wiki/DVDX">DVDX</a> if that sort of thing is useful to you)</li>
<li>Press &#8220;Home&#8221; on the WiiMote &amp; launch BootMii</li>
</ul>
<p></span></p>
<ol></ol>
<p><strong>The WiiMote will not work in BootMii.</strong> The console buttons can be used to navigate the menus though. Press the &#8220;Power&#8221; button to move the cursor, and the &#8220;Reset&#8221; button to select an option.</p>
<p><span style="font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; font-size: 16px;"></p>
<ul>
<li>Select option 4 (on the far right hand side of the screen)</li>
<li>Select option 1</li>
</ul>
<p></span></p>
<ol></ol>
<p>BootMii will now create a block-by-block copy of the NAND on the SD card. A number of factory &#8220;bad blocks&#8221; are to be expected. There were seven reported on my Wii. Once written, you will be given the option to verify the copy &#8211; this may not be absolutely necessary, but it&#8217;s a good idea anyway.</p>
<p>The imaging process, including verification, took about 20 minutes. Afterward, I exited BootMii and was returned to the System Menu.</p>
<p>That&#8217;s it. Simple enough really. Definitely easier that pulling the console apart and playing with wire and needles!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/06/25/wii-nand-imaging-with-bootmii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wii NAND Imaging with Infectus2</title>
		<link>http://www.petermstewart.net/2010/06/22/wii-nand-imaging-with-infectus2/</link>
		<comments>http://www.petermstewart.net/2010/06/22/wii-nand-imaging-with-infectus2/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 17:10:46 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[infectus]]></category>
		<category><![CDATA[needles]]></category>
		<category><![CDATA[wire]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=467</guid>
		<description><![CDATA[In short, I&#8217;ve had no success getting the Wii to speak to my Infectus chip. The first obstacle was finding wire small enough to fit securely into the vias on the motherboard. I started by using Kynar wire wrap, but &#8230; <a href="http://www.petermstewart.net/2010/06/22/wii-nand-imaging-with-infectus2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In short, I&#8217;ve had no success getting the Wii to speak to my Infectus chip.</p>
<p>The first obstacle was finding wire small enough to fit securely into the vias on the motherboard. I started by using Kynar wire wrap, but moved on to stripping an IDE hard drive ribbon cable and trying that instead. Still no luck! The best solution seemed to be to insert small pins (or needles) into the vias and solder them to the Infectus.</p>
<p>I managed to find very fine sewing needles (size 12 beading needles), but it&#8217;s still far too delicate and time consuming (in my opinion) an operation to carry out every time I want to image the NAND. Including the time to disassemble the console and put it back together again, it would take the best part of a day to acquire an image.</p>
<p>The next problem is that the <a href="http://code.google.com/p/amoxiflash/">software used to operate the Infectus</a> doesn&#8217;t recognise the console NAND chip.</p>
<p>Off the top of my head there are 5 possible reasons for this:</p>
<ol>
<li>The Infectus chip may be faulty</li>
<li>Bad solder joints on the Infectus</li>
<li>Connecting wires may be too long</li>
<li>Electrical resistance of the sewing needles may be too high</li>
<li>Some unknown issue with the console NAND chip</li>
</ol>
<p>I&#8217;ve powered up the Infectus before without issue, and continuity testing seems to suggest that the solder joints are fine so barring the development of a fault while I was re-soldering I think I can rule out 1) &amp; 2).</p>
<p>I&#8217;m more concerned about 3) &amp; 4). I think a specially built &#8220;frame&#8221; for the needles/pins would be the best solution (ideally using proper PCB testing gear), but I don&#8217;t have the knowledge or equipment to make something suitable quickly enough for it to be of much use.</p>
<p>Finally, I&#8217;ve read on a couple of forums that the Samsung NAND chips used in the Wii (as opposed to the Hynix ones) often don&#8217;t like to play with external controllers while they&#8217;re still attached to the Wii motherboard. The only solution in this case seems to be to desolder the chip and put it in a TSOP type adapter with a dedicated power supply.</p>
<p>I&#8217;m concerned about soldering anything to the Wii itself, so I really don&#8217;t want to try removing chips from the motherboard!</p>
<p>I&#8217;m coming to the opinion that the best way to continue with the hardware method is to document the progress I&#8217;ve made so far, but ultimately write it off as a failure and move on to software.</p>
<p>Given the lack of success with the hardware, I&#8217;ve made some changes to the software procedure. Rather than using a hardware-acquired image as a baseline, I&#8217;m planning on installing <a href="http://bootmii.org/">BootMii</a> <em>before</em> creating any user data (other than what is required by the initial set-up of the console) to acquire an image with as little modification as possible. From that point the project could continue pretty much as I had proposed originally, although verification of the data is going to be difficult without the hardware method.</p>
<p>I could spend weeks trying to make this thing work and still end up in the same position that I&#8217;m in now, so at this point I think the best use of my time is just to acquire a copy of the NAND and see if anything worthwhile can be extracted from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/06/22/wii-nand-imaging-with-infectus2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside the Nintendo Wii</title>
		<link>http://www.petermstewart.net/2010/06/10/inside-the-nintendo-wii/</link>
		<comments>http://www.petermstewart.net/2010/06/10/inside-the-nintendo-wii/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 15:33:59 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[disassembly]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[motherboard]]></category>
		<category><![CDATA[nand]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=462</guid>
		<description><![CDATA[The title tells you pretty much all you need to know about this post. I spent this afternoon disassembling the Wii and documenting the process. It wasn&#8217;t nearly as nerve-wracking as I had thought it would be mostly thanks to &#8230; <a href="http://www.petermstewart.net/2010/06/10/inside-the-nintendo-wii/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The title tells you pretty much all you need to know about this post. I spent this afternoon disassembling the Wii and documenting the process. It wasn&#8217;t nearly as nerve-wracking as I had thought it would be mostly thanks to <a href="http://www.informit.com/articles/article.aspx?p=677908">this helpful guide (with photos)</a>. The whole process (including photos and note-taking) took a little over 2 hours.</p>
<p><a href="http://img291.imageshack.us/img291/7569/dsc00621jf.jpg"><img class="aligncenter" title="Pieces of Wii" src="http://img683.imageshack.us/img683/3375/dsc00621ck.jpg" alt="" width="480" height="360" /></a></p>
<p>I have one of the newer, black Wii consoles. There aren&#8217;t any major differences in the disassembly process (other than some black screws which were previously silver), but it does use an updated motherboard &#8211; labelled C/RVL-CPU-50. Thankfully it still uses the same Samsung NAND flash chip as in earlier models, but at first glance the area around the NAND looks like it has changed a bit.</p>
<p><a href="http://img689.imageshack.us/img689/1263/dsc00620qx.jpg"><img class="aligncenter" title="Black Wii Motherboard - Side B" src="http://img638.imageshack.us/img638/3781/dsc00620n.jpg" alt="" width="480" height="360" /></a></p>
<p><a href="http://img248.imageshack.us/img248/152/dsc00625l.jpg"><img class="aligncenter" title="Black Wii Motherboard - Side A" src="http://img697.imageshack.us/img697/3519/dsc00625uc.jpg" alt="" width="480" height="360" /></a></p>
<p>And finally, the part I&#8217;m most interested in&#8230;</p>
<p><a href="http://img35.imageshack.us/img35/3603/dsc00627ny.jpg"><img class="aligncenter" title="Black Wii Motherboard - NAND Placement" src="http://img507.imageshack.us/img507/9611/dsc00627y.jpg" alt="" width="480" height="360" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/06/10/inside-the-nintendo-wii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It Begins!</title>
		<link>http://www.petermstewart.net/2010/06/05/it-begins/</link>
		<comments>http://www.petermstewart.net/2010/06/05/it-begins/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 14:03:19 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[bootmii]]></category>
		<category><![CDATA[bufferoverflow]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[theory]]></category>
		<category><![CDATA[whiite-linux]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=460</guid>
		<description><![CDATA[Yesterday I received an email stating that the university exam board had met, and that I was officially allowed to progress to MSc. Good stuff! The computer science department have kindly agreed to supply a Wii console, but it needs &#8230; <a href="http://www.petermstewart.net/2010/06/05/it-begins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I received an email stating that the university exam board had met, and that I was officially allowed to progress to MSc. Good stuff!</p>
<p>The computer science department have kindly agreed to supply a Wii console, but it needs to be power tested before I&#8217;m allowed to take it to pieces. I have my Infectus chip ready for soldering, although ideally I&#8217;ll be able to attach it to the vias rather than soldering it directly to the NAND chip. The less soldering I have to do, the lower the possibility of me damaging the chipset! Obviously though, using the vias is unlikely to give as steady a connection as soldering to the NAND, but I&#8217;d like to work as far away from the NAND as I can and only go as close as I need to.</p>
<p>I&#8217;d been hoping that I could formulate a process that only needed a hardware or a software approach to image and decrypt the NAND. Now I&#8217;m almost certain that I&#8217;ll need a combination of both.</p>
<p>Hopefully I can use the Infectus to take an image of the NAND without modifying the data it contains. However, the resulting image will be encrypted. This is where the software solution comes in. The <a href="http://bootmii.org/">BootMii</a> homebrew software installer has the ability to dump the NAND to an SD card and (more importantly) extract the relevant encryption keys from the running system (from volatile memory, I presume). From reading a number of homebrew forums, I know that it is possible to decrypt a BootMii NAND dump. What I would like to do is decrypt and examine an unmodified NAND dump created with my Infectus chip. I don&#8217;t currently see any reason why decrypting an Infectus dump with keys extracted using BootMii shouldn&#8217;t work, but I&#8217;m mindful of that saying about theory and practice being the same in theory, but not in practice.</p>
<p>Thinking about the software side of things, I&#8217;m a little reluctant to use BootMii as a final solution. It should do what I need it to do as a proof-of-concept, but it seems a bit too bulky and heavy handed to be used as a forensics tool (I&#8217;m a little worried about its installation footprint). Following from a paper regarding <a href="http://www.sciencedirect.com/science?_ob=ArticleURL&amp;_udi=B7CW4-4YC8RGW-3&amp;_user=10&amp;_coverDate=05%2F31%2F2010&amp;_rdoc=1&amp;_fmt=high&amp;_orig=search&amp;_sort=d&amp;_docanchor=&amp;view=c&amp;_acct=C000050221&amp;_version=1&amp;_urlVersion=0&amp;_userid=10&amp;md5=bbf0651bd085d0d212fec7ebe4d206ca">the use of a buffer-overflow to imageRAM in the Xbox</a>, I&#8217;d quite like to modify an existing exploit to extract the encryption keys and dump them to an SD card. That might be beyond the scope of the project at the moment, but I&#8217;d like to know if it&#8217;s at least in the realms of possibility.</p>
<p>Another issue is verification that any data captured during either of the imaging processes actually represents what is stored on the NAND chip. I can&#8217;t think of any way of using the Infectus to hash what is on the chip while it is dumping (although if repeated dumps have the same hash value the process can be said to be consistent, at least). BootMii isn&#8217;t concerned with forensics at all, but it does show that unsigned software can interact with the NAND, so what I&#8217;m planning on doing over the next couple of days is to investigate the capabilities of <a href="http://www.gc-linux.org/wiki/WL:whiite-linux">Whiite-Linux</a>.</p>
<p>If Whiite-Linux can be run completely from an SD card (Think live-cd for the Wii), and if it can &#8220;see&#8221; the internal NAND, it might be possible to hash the contents of the chip and even use a standard dd-like tool to dump an image. There&#8217;re a lot of ifs there, and I think running dd in particular is a bit of a long-shot, but it&#8217;s probably worth a go just to see what it can do. I&#8217;d rather write code for a Debian linux than have to hack around an exploit in assembly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/06/05/it-begins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final Project Preparations</title>
		<link>http://www.petermstewart.net/2010/05/12/final-project-preparations/</link>
		<comments>http://www.petermstewart.net/2010/05/12/final-project-preparations/#comments</comments>
		<pubDate>Wed, 12 May 2010 12:39:59 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[infectus]]></category>
		<category><![CDATA[modchip]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=452</guid>
		<description><![CDATA[I had my last university exam yesterday, so barring any major disasters I should be starting work on my MSc project in the next few weeks. I&#8217;d like to get going on this as soon as possible but there&#8217;s still &#8230; <a href="http://www.petermstewart.net/2010/05/12/final-project-preparations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had my last university exam yesterday, so barring any major disasters I should be starting work on my MSc project in the next few weeks. I&#8217;d like to get going on this as soon as possible but there&#8217;s still quite a lot of administrative stuff to sort out first.</p>
<p>Firstly, the placement I applied for has fallen through as the company have stated that they aren&#8217;t in a position to take on placement students this year after all. I was beginning to suspect that the placement wasn&#8217;t going to happen given the complete lack of communication over the last 4 months, but it was only confirmed at the beginning of this week. It&#8217;s a bit of a pain but I suppose it can&#8217;t be helped.</p>
<p>Secondly, I need to get my hands on some hardware. This is a bit of fallout from the placement collapsing in on itself, but again, something I was beginning to expect. Getting hold of a Wii shouldn&#8217;t be too difficult, although there might be ethical considerations if I&#8217;m potentially recovering someone else&#8217;s data from a pre-owned (read: cheaper) console.</p>
<p>The other hardware issue might be a little bit tricky. JTAG is out as far as pulling data from the NAND goes, but I&#8217;m pretty sure that I can do something similar with a modchip. The <a href="http://www.infectus.biz/">Infectus 2 chip</a> seems to be the gold standard here but I&#8217;ve been having trouble sourcing one. I&#8217;m starting to suspect that they&#8217;re not in production anymore because they don&#8217;t appear to be in stock anywhere other than in dodgy-looking posts on forums. I found a reseller with chips in stock this morning though. They seem to be pretty reputable at first glance, but I&#8217;ve asked around a few forums for any recommendations (or alternatives based in the UK). This is the part that I want to get sorted as soon as possible. I only have 12 weeks to complete the project so if it takes 6 weeks to get a chip delivered from overseas&#8230; well&#8230; that would be bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/05/12/final-project-preparations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Plan</title>
		<link>http://www.petermstewart.net/2010/03/10/the-plan/</link>
		<comments>http://www.petermstewart.net/2010/03/10/the-plan/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:43:51 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[plan]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=439</guid>
		<description><![CDATA[I&#8217;ve had a few weeks to do some more reading and I think I&#8217;ve come up with a rough plan for the project. Well, &#8220;plan&#8221; may be too strong a word, but at the very least I&#8217;ve got a list &#8230; <a href="http://www.petermstewart.net/2010/03/10/the-plan/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a few weeks to do some more reading and I think I&#8217;ve come up with a rough plan for the project. Well, &#8220;plan&#8221; may be too strong a word, but at the very least I&#8217;ve got a list of objectives.</p>
<p><strong>Disclaimer: This may change significantly before I actually start the project!</strong></p>
<ul>
<li>Acquire the contents of the internal NAND chip</li>
</ul>
<p>There are a couple of ways I think I can do this. The JTAG method isn&#8217;t really an option, as it doesn&#8217;t look as if the Wii actually has a JTAG port (I currently don&#8217;t have access to a Wii to check for myself). There&#8217;s another hardware approach I&#8217;m considering, but I&#8217;ll leave that until I&#8217;ve properly assessed its feasibility. If all else fails there&#8217;s a software approach. I read an interesting paper about <a href="http://www.sciencedirect.com/science/article/B7CW4-4YC8RGW-3/2/e4f6da92532b8bab0214bcfb99235af3">using a software exploit to dump Xbox memory</a> and I&#8217;m fairly confident that could be modified for the Wii, but at this stage a hardware solution is preferable.</p>
<ul>
<li>Write an image back to the NAND</li>
</ul>
<p>If an image can be written back to the NAND it may provide a sort of &#8220;reset button&#8221; for doing live analysis work. Obviously, this depends on the process for reading and writing the NAND being forensically sound.</p>
<ul>
<li>Decrypt the NAND image</li>
<li>Perform a physical search of the image</li>
</ul>
<p>All indications so far point to the Wii using <a href="http://hackmii.com/2008/04/keys-keys-keys/">AES encryption on the NAND</a>, though the key may well be accessible. Once the image is decrypted I can have at string extraction and the likes.</p>
<ul>
<li>Analysis of the Wii filesystem</li>
</ul>
<p>This is unlikely, but if everything up to this point goes stunningly well I might take a look at the filesystem. An undocumented, proprietary filesystem is probably a project in itself though!</p>
<p>I&#8217;d like to get at least as far as attempting to decrypt the contents of the NAND, but I suppose it&#8217;ll depend on how much time the first couple of steps take.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/03/10/the-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinking about Wii Forensics</title>
		<link>http://www.petermstewart.net/2010/02/16/thinking-about-wii-forensics/</link>
		<comments>http://www.petermstewart.net/2010/02/16/thinking-about-wii-forensics/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:00:54 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[MSc Project]]></category>
		<category><![CDATA[bufferoverflow]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=422</guid>
		<description><![CDATA[I had my first semi-official meeting with my MSc project supervisor today. This is probably as good a place as any to keep track of these sorts of things, so here&#8217;s a summary of what I&#8217;m planning at this point. &#8230; <a href="http://www.petermstewart.net/2010/02/16/thinking-about-wii-forensics/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had my first semi-official meeting with my MSc project supervisor today. This is probably as good a place as any to keep track of these sorts of things, so here&#8217;s a summary of what I&#8217;m planning at this point.</p>
<p>I&#8217;ve decided to focus on the Nintendo Wii. The placement that I&#8217;ve applied for isn&#8217;t likely to be confirmed until sometime in April, but so far the signs are good. It&#8217;s just a case of wait-and-see at the moment.</p>
<p>There isn&#8217;t very much published research relating to forensic analysis of the Wii. In fact I&#8217;ve only managed to find <a href="http://www.ssddfj.org/papers/SSDDFJ_V2_1_Turnbull.pdf">one paper</a> dealing specifically with the subject. It proposes a process for live analysis, which would ideally be recorded through screen-capture or an external video camera.</p>
<p>With regards to storage the Wii has an SD-card slot, which might contain something useful, but in any case should be possible to image/analyse in the usual method. The main issue in my mind is the internal flash storage (Unlike the PS3/Xbox, the Wii doesn&#8217;t have a hard drive). I&#8217;ve been doing some reading about <a href="http://hackmii.com/">Wii homebrew</a> and <a href="http://www.gc-linux.org/wiki/Main_Page">Wii/Gamecube linux</a> which might allow direct access to the internal flash, but tend to rely on exploiting a buffer overflow to execute unsigned code. It may well be technically possible, but I have my doubts about it being forensically sound. Another issue I have is that any method of dumping the internal flash through software is at the mercy of Nintendo patching the Wii system software.</p>
<p>This leads me on nicely to a suggestion by my supervisor. If we can get inside the Wii without doing any serious damage (The availability of 3rd party modchips suggests that it&#8217;s possible), and <em>if</em> it has the connections to support a <a href="http://en.wikipedia.org/wiki/Joint_Test_Action_Group">JTAG port</a>, and <em>if</em> we can do some low-level magic with said hypothetical JTAG port, it may be possible to dump the internal flash out through a PC parallel port. There are a lot of &#8220;ifs&#8221; there, but my supervisor had some success with dumping PDA memory though a JTAG port on a previous project. It didn&#8217;t work perfectly, but it could be a good place to start.</p>
<p>It&#8217;s a little bit scary seeing as my electronics experience only extends to playing with <a href="http://en.wikipedia.org/wiki/555_timer_IC">555 timer chips</a> when I was in school!</p>
<p>However all of this depends on the Wii even having the connections to support JTAG, which though I&#8217;m told is likely, is not guaranteed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/02/16/thinking-about-wii-forensics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COFEE &amp; DECAF</title>
		<link>http://www.petermstewart.net/2009/12/18/cofee-decaf/</link>
		<comments>http://www.petermstewart.net/2009/12/18/cofee-decaf/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 14:28:33 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[cofee]]></category>
		<category><![CDATA[decaf]]></category>
		<category><![CDATA[strange]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=407</guid>
		<description><![CDATA[There have been some very odd things going on in computer forensics over the last few weeks. First, Microsoft&#8217;s COFEE incident response tool leaked onto the internet. COFEE had previously only been available to law enforcement organisations, so having it &#8230; <a href="http://www.petermstewart.net/2009/12/18/cofee-decaf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There have been some very odd things going on in computer forensics over the last few weeks.</p>
<p>First, Microsoft&#8217;s COFEE incident response tool <a href="http://www.theregister.co.uk/2009/11/10/ms_forensics_tool_leak/">leaked onto the internet</a>. COFEE had previously only been available to law enforcement organisations, so having it leak to the public kicked up a bit of storm with people trying to work out just exactly what it is capable of doing. The answer turned out to be &#8220;not very much&#8221;. Rather than being the ultimate secret backdoor that some early media reports made it out to be, COFEE is more like a glorified shell script that pulls down volatile memory to a USB stick.</p>
<p>Inevitably, someone released a tool aiming to disrupt COFEE&#8217;s execution. DECAF was released earlier this week, but a couple of things about it seemed a little strange. It&#8217;s website offered the tool for download, but in a binary only distribution. Perhaps it&#8217;s just me, but I find it quite hard to trust security tools that don&#8217;t release their source code. Another quirk was that <a href="http://decafme.org/">the DECAF website</a> contained an EULA for the software prohibiting reverse engineering or disassembly (Which also contained references to Skype of all things!). It all seemed to go against the ethos of full disclosure in computer security.</p>
<p>I downloaded a copy, and planned to play with it over this weekend (I&#8217;ve just handed in my final piece of MSc coursework for the semester today!), but there&#8217;s another twist:</p>
<p><a href="http://img10.imageshack.us/img10/2/picture1kg.png"><img class="aligncenter" title="DECAF Website 18/12/2009" src="http://img10.imageshack.us/img10/4969/picture1small.png" alt="" width="480" height="329" /></a></p>
<p>The DECAF website has been updated to remove any links to the software and instead shows an odd message claiming that all copies of DECAF have been disabled, ending with a passage from the Bible!</p>
<p>As I&#8217;ve been writing this I&#8217;ve been listening to an <a href="http://cyberspeak.libsyn.com/index.php?post_id=561335">interview with DECAF&#8217;s developer</a> on the Cyberspeak podcast which seems to have been recorded before the tool was taken down. It&#8217;s interesting, but it doesn&#8217;t really make things any clearer with regard to the developers motivations or the manner in which the tool was released.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2009/12/18/cofee-decaf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware and Child Pornography</title>
		<link>http://www.petermstewart.net/2009/11/09/malware-and-child-pornography/</link>
		<comments>http://www.petermstewart.net/2009/11/09/malware-and-child-pornography/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 23:56:59 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[childpornography]]></category>
		<category><![CDATA[depressing]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=385</guid>
		<description><![CDATA[Throughout our forensic informatics lectures we have been somberly informed that a career in digital forensics and avoiding child pornography are, to all intents and purposes, mutually exclusive. It isn&#8217;t very nice but sooner or later anyone involved in digital &#8230; <a href="http://www.petermstewart.net/2009/11/09/malware-and-child-pornography/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Throughout our forensic informatics lectures we have been somberly informed that a career in digital forensics and avoiding child pornography are, to all intents and purposes, mutually exclusive. It isn&#8217;t very nice but sooner or later anyone involved in digital investigations is going to have to deal with it at some level.</p>
<p>I recently had a conversation with some friends where we discussed various scenarios where &#8220;evidence&#8221; could be planted on a computer without the owner&#8217;s knowledge. We came up with a few hypothetical situations in which it would be trivial for a motivated party with a bit of technical knowledge to cause a lot of trouble for an unsuspecting victim. Especially as child pornography is nasty enough that possession alone is all that&#8217;s needed to cause some serious legal difficulties.</p>
<p>I was reminded of that conversation by <a href="http://it.slashdot.org/story/09/11/08/2135245/Malware-Can-Download-Child-Porn-To-Your-Computer">a post on Slashdot</a> over the weekend concerning malware which, for one reason or another, seems to do just that. One case referred to in <a href="http://tech.yahoo.com/news/ap/20091108/ap_on_hi_te/us_tec_a_virus_framed_me">the AP article</a> mentions software that hit 40 sites per minute while the defendant was out of the house. That case was eventually dropped but it took 11 months and cost the defendant $250,000 in legal fees, not to mention the damage to his reputation.</p>
<p>I&#8217;d like to think that it would be pretty simple to determine if malware is responsible for the presence of an image or video, but that doesn&#8217;t always seem to be the case. Another thing is that these seem to be &#8220;random infections&#8221;. I find it a little depressing to think of the damage that could be done by a properly targeted attack.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2009/11/09/malware-and-child-pornography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
