<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Forensic Focus - Articles</title>
	<atom:link href="http://articles.forensicfocus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://articles.forensicfocus.com</link>
	<description>Digital forensics articles and research papers</description>
	<lastBuildDate>Thu, 23 May 2013 21:43:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='articles.forensicfocus.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Forensic Focus - Articles</title>
		<link>http://articles.forensicfocus.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://articles.forensicfocus.com/osd.xml" title="Forensic Focus - Articles" />
	<atom:link rel='hub' href='http://articles.forensicfocus.com/?pushpress=hub'/>
		<item>
		<title>Android Forensics</title>
		<link>http://articles.forensicfocus.com/2013/05/23/android-forensics-2/</link>
		<comments>http://articles.forensicfocus.com/2013/05/23/android-forensics-2/#comments</comments>
		<pubDate>Thu, 23 May 2013 21:43:33 +0000</pubDate>
		<dc:creator>inf0secinstitute</dc:creator>
				<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2496</guid>
		<description><![CDATA[The article covers several Android forensic techniques that can be helpful in a variety of situations. The techniques or discussions below can be either logical or physical. However, we will try to stick mostly to logical techniques. By the word &#8216;logical,&#8217; the technique would mostly involve accessing the file system, etc. This article also assumes &#8230; <a href="http://articles.forensicfocus.com/2013/05/23/android-forensics-2/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2496&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The article covers several Android forensic techniques that can be helpful in a variety of situations. The techniques or discussions below can be either logical or physical. However, we will try to stick mostly to logical techniques. By the word &#8216;logical,&#8217; the technique would mostly involve accessing the file system, etc. This article also assumes that the reader has basic knowledge about Android programming and other concepts related to the Android. Let&#8217;s proceed to learn more.</p>
<p><strong>Unlocking a screen locked Android phone / Breaking the Android passcode<br />
</strong></p>
<p>Firstly, it&#8217;s important to note that every technique comes with some limitation or the other. You will need to figure out which technique would help you depending on the circumstances. Circumventing the passcode may not be always possible. We will take a few scenarios and see how you can take advantage in each case.</p>
<p>There are currently three main types of pass codes supported by Android devices – Pattern lock, PIN and alphanumeric code.</p>
<p><strong>1. Smudge Attack:<br />
</strong></p>
<p>This is not specific to any Android device but used generally by forensic analysts where they can deduce the password of a touch screen mobile. The attack depends on the fact that smudges are left behind by the user&#8217;s fingers due to repeated swiping across same locations. The pattern lock or any pass code is something that the user will have to swipe every time that he wants to use his mobile. We can infer that the smudges would be heaviest across the same locations and hence under proper lighting and high-resolution pictures we can deduce the code. So during examining any device, forensic analysts usually take care to avoid hand contact with the screen to check for the smudge attack.<br />
<img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore1.png" /></p>
<p>(Picture referenced from <a href="http://www.elsevierdirect.com" rel="nofollow">http://www.elsevierdirect.com</a> site)</p>
<p><strong>2. If USB &#8211; debugging is enabled:<br />
</strong></p>
<p>If USB debugging in the Android is enabled, then bypassing the lock code can be done in a matter of seconds. Imagine an attacker who wants to get access to his friend&#8217;s files and applications on his Android mobile. You can first ask his handset for some false reason, to make a call, for example, and turn on the USB debugging under Settings <span style="font-family:Wingdings;">à</span> Developer Options <span style="font-family:Wingdings;">à</span> USB debugging; and then hand over the mobile back to him. So later, at some convenient time, when you get access to the device, you can exploit it using any of the following ways discussed in this article. Now adb (Android Debugging Bridge) is primarily a command line tool that communicates with the device. ADB is bundled with the Android platform tools. To explain in simple terms, this is what happens when you deal with adb:</p>
<ul>
<li>
<div>An adb daemon runs as a background process on each Android device.</div>
</li>
<li>
<div>When you install Android SDK on your machine, a client is run. The client can be invoked from shell by giving an adb command.</div>
</li>
<li>
<div>A server is also run in the background to communicate between the client and adb daemon running on the Android device.</div>
</li>
</ul>
<p>You can use any of the below methods to take advantage of the USB debugging to bypass the screen lock:</p>
<p><strong>Using UnlockAndroid.apk:<br />
</strong></p>
<p>Before going ahead with this process you can download the Unlockandroid.apk file from the below location.</p>
<p>URL: <a href="http://www.megafileupload.com/en/file/409464/UnlockAndroid-apk.html">http://www.megafileupload.com/en/file/409464/UnlockAndroid-apk.html</a></p>
<ol>
<li>
<div>Connect the device to the machine where Android SDK (including platform tools etc.) is installed.</div>
</li>
<li>
<div>Open command prompt and type cd C:\android-sdk-windows\platform-tools&gt;adb.exe devices</div>
</li>
<li>
<div>The device must be identified by the adb if everything is going fine.</div>
</li>
<li>
<div>Copy the above UnlockAndroid.apk file into C:\android-sdk-windows\platform-tools directory.</div>
</li>
<li>
<div>In the command prompt type, C:\android-sdk-windows\platform-tools&gt;adb.exe and install adb.exe UnlockAndroid.apk. Observe that the application is installed on the device.</div>
</li>
<li>
<div>To start the application just type:</div>
<p>C:\android-sdk-windows\platform-tools&gt;adb.exe shell am start -n com.rohit.unlock</p>
<p>/com.rohit.unlock.MainActivity</li>
<li>
<div>Observe that the screen lock is bypassed now you can access all the application and folders in the mobile phone. Below is a screenshot of the process.</div>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore2.png" /></li>
</ol>
<p><strong>Deleting the gesture.key file:<br />
</strong></p>
<p>If the Android device is using the pattern lock and it it&#8217;s a rooted device, then the process below can be tried to bypass the screen lock.</p>
<ol>
<li>
<div>Connect the device to the machine where Android SDK (including platform tools etc.) is installed.</div>
</li>
<li>
<div>Open command prompt and type cd C:\android-sdk-windows\platform-tools&gt;adb.exe devices</div>
</li>
<li>
<div>The device will be identified by the adb if everything is going fine.</div>
</li>
<li>
<div>Connect to adb shell by typing : adb.exe shell</div>
</li>
<li>
<div>The terminal appears giving you access to shell. Now type rm /data/system/gesture.key. This is the file where pattern is stored.</div>
</li>
<li>
<div>Restart the phone and you will still observe that the device is asking for the pattern. You can draw any random pattern and unlock the device.</div>
<p>Below is the screenshot of the process.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore3.png" /></li>
</ol>
<p><strong>Updating the SQLite files:<br />
</strong></p>
<p>If the phone is rooted, then by updating the SQLite files you can bypass the screen lock. Here are the details.</p>
<p>cd /data/data/com.android.providers.settings/databases<br />
sqlite settings.db<br />
update system set value=0 where name=&#8217;lock_pattern_autolock&#8217;;<br />
update system set value=0 where name=&#8217;lockscreen.lockedoutpermenantly&#8217;;</p>
<p><strong>Cracking the PIN in Android:<br />
</strong></p>
<p>We have seen how to bypass the screen lock and how to completely delete or disable the lock screen. But what if we wanted to know the actual PIN so that you can lock/unlock at any time? In Android, the PIN that user enters is stored in /data/system/password.key file. As you might expect, this key is not stored in plain text. It&#8217;s first salted using a random string, then the SHA1-hashsum and MD5-hashsum are calculated and concatenated and then the final result is stored. Seems very complicated but not to the modern computing power, as the following code shows:</p>
<p>[plain]<br />
public byte[] passwordToHash(String password)<br />
{ if (password == null)<br />
{ return null;<br />
} String algo = null;<br />
byte[] hashed = null;<br />
try {<br />
byte[] saltedPassword = (password + getSalt()).getBytes();<br />
byte[] sha1 = MessageDigest.getInstance(algo = &#8220;SHA-1&#8243;).digest(saltedPassword); byte[] md5 = MessageDigest.getInstance(algo = &#8220;MD5&#8243;).digest(saltedPassword); hashed = (toHex(sha1) + toHex(md5)).getBytes();<br />
} catch (NoSuchAlgorithmException e)<br />
{ Log.w(TAG, &#8220;Failed to encode string because of missing algorithm: &#8221; + algo);<br />
} return hashed; }<br />
[/plain]</p>
<p>Since the hash is salted, it&#8217;s not possible to use a regular dictionary attack to the get original text. Here are the steps you can follow to try to crack the PIN.</p>
<ol>
<li>
<div>Pull out the salt using adb. Salt is stored in the &#8216;secure&#8217; table from /data/data/com.android.providers.settings/databases/settings.db)</div>
</li>
<li>
<div>Get the password : sha1+md5: (40+32) (stored at /data/system/password.key)</div>
<p>Ex: 0C4C24508F0D29CF54FFC4DBC5520C3C10496F43313B4D3ADDFF8ACDD5C8DC3CA69CE740</li>
<li>
<div>Once you have the md5 and the salt, you can brute force using the tools available in market (Ex hashcat) to get password.</div>
</li>
</ol>
<p><strong>Data Extraction in Android:<br />
</strong></p>
<p>After having seen different ways to bypass the Android screen lock, now let&#8217;s have a look at how to extract the data from an Android phone. You can extract the data of all the files on the system or only those relevant files that you are interested in. But for any form of extraction, it&#8217;s important that the device is unlocked or USB-debugging is previously enabled. There are two types of extractions.</p>
<p>Extracting through ADB: As explained earlier, adb is a protocol that helps you to connect to Android device and perform some commands.</p>
<p>Boot Loader Extraction: This can be done when the device is in Boot Loader mode. This takes advantage of the fact that during boot loader mode the Android OS will not be running.</p>
<p>Before extracting the data, it is important to know how the data is stored in the Android device to understand where to look, and what data to pull. Android stores the data mainly in the below four locations:</p>
<ol>
<li>
<div>Share Preferences: Data is stored in key-value pairs. Shared preference files are stored in application&#8217;s &#8216;data&#8217; directory in the &#8216;shared_pref&#8217; folder.</div>
</li>
<li>
<div>Internal Storage: Stores data that is private in device&#8217;s internal memory (something like NAND flash).</div>
</li>
<li>
<div>External Storage: Stores data that is public in device&#8217;s external memory that might not contain security mechanisms. This data is available under /sdcard directory.</div>
</li>
<li>
<div>SQLite: This is a database that holds structural data. This data is available under /data/data/Package/database.</div>
</li>
</ol>
<p>For example, if you want to analyze the Facebook Android application, here is how you do it. Download and install the Facebook application and sign in. As soon as you install any application in Android, the corresponding application data is stored in /data/data folder. However due to the security restrictions, you cannot access or pull this data unless you have root privileges on the phone. By using adb, let us see what the /data/data folder consists of. As shown in the below fig, a quick &#8216;ls&#8217; on the /data/data folder gives the below results.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore4.png" /></p>
<p>Whether it&#8217;s a browser, gallery or contacts, everything is an app in Android. They are the applications that come along with the phone. Application like games, social network apps etc. are the applications installed by the user. But the data belonging to any of these applications will be stored in /data/data folder. So the first step is to identify where your application is.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore5.png" /></p>
<p>To see the contents of that application, &#8216;ls&#8217; into that directory.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore6.png" /></p>
<p>As you can see, these are the folders created by the Facebook application on your phone. For instance, the cache folder may consist of images that are cached and stored for faster retrieval during normal browsing. The main area of focus would be the databases folder where the data related to the user would be stored. Here comes the concept of application security. If the application were secure enough, it would take proper steps not to store any of the sensitive data permanently in the databases folder. Let us see what kind of data Facebook stores the when you are currently logged in. You can pull the Android folder into your system using the below command:</p>
<p>C:\android-sdk-windows\platform-tools&gt;adb.exe      pull      /data/data/com.facebook.katana C:\test</p>
<p>The databases folder must be now copied into the &#8216;test&#8217; folder in your C drive.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore7.png" /></p>
<p>In the &#8216;databases&#8217; folder, you see DB file types which are the SQLite files where the data is stored. To view the data present in them, you can use a browser such as Sqlite browser. Download and install SQLite browser. In the SQLite browser, click on File <span style="font-family:Wingdings;">-&gt;</span> Open Database and select any of those DB files.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore8.png" /></p>
<p>This shows you the database structure and helps you to browse the data stored in them. Now log out of the application, and you might notice that the data present in those tables would be deleted by the application.</p>
<p>To learn about additional Android forensic techniques, check out the mobile forensics course (<a href="http://www.infosecinstitute.com/courses/mobile-computer-forensics.html">http://www.infosecinstitute.com/courses/mobile-computer-forensics.html</a>) offered by the InfoSec Institute. So to conclude, in this article we have seen how to bypass the Android screen lock under different conditions and how to extract the application data from Android phone.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2496/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2496&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/05/23/android-forensics-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18d0f1f9c041d6dde44ff7df35884e91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">inf0secinstitute</media:title>
		</media:content>

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore1.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore2.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore3.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore4.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore5.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore6.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore7.png" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/041613_1149_AndroidFore8.png" medium="image" />
	</item>
		<item>
		<title>Geo-tagging &amp; Photo Tracking On iOS</title>
		<link>http://articles.forensicfocus.com/2013/05/06/geo-tagging-photo-tracking-on-ios/</link>
		<comments>http://articles.forensicfocus.com/2013/05/06/geo-tagging-photo-tracking-on-ios/#comments</comments>
		<pubDate>Mon, 06 May 2013 12:52:05 +0000</pubDate>
		<dc:creator>Eugene</dc:creator>
				<category><![CDATA[File Systems]]></category>
		<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[iFile]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2474</guid>
		<description><![CDATA[As you may already know, Apple has always been criticized for using their extremely popular devices to track users and use this information to expand their own databases. This tutorial assumes that you have already jailbroken your device and you know how to navigate your way through iOS menus, if you don&#8217;t then check out our other articles &#8230; <a href="http://articles.forensicfocus.com/2013/05/06/geo-tagging-photo-tracking-on-ios/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2474&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As you may already know, Apple has always been criticized for using their extremely popular devices to track users and use this information to expand their own databases. This tutorial assumes that you have already jailbroken your device and you know how to navigate your way through iOS menus, if you don&#8217;t then check out our other articles that cover just that. In this small and insightful tutorial, you&#8217;ll see just how easy it is to extract photos from an Apple device and use the EXIF data to view the location of where the photo was taken along with other cool details.</p>
<p><span id="more-2474"></span></p>
<p><strong>Introduction &amp; Prerequisites</strong></p>
<p><strong></strong>Apple devices store much more information than you would ever imagine. It is surprisingly accurate as well, with timestamps to the millisecond and even location data that is frighteningly accurate. The main challenge for the user however, is correctly extracting, preserving and analyzing this information which is where awesome dudes like me come into the picture! After several months of studying the iOS architecture and how things work on an Apple device, I am more than happy to provide the community with bite size chunks of information and that is exactly what I am about to start doing with this first post, aimed at Apple forensics.</p>
<p>So, enough blabbering on about the facts and figures, time to get right down to business right? Well, first you gotta have the right equipment and tools, of course. Here is what you&#8217;ll need for this tutorial:</p>
<ul>
<li><span style="line-height:13px;">An Apple device &#8211; this best works with an <strong>iPhone</strong> or an <strong>iPad</strong> but could be a great success on the latest iPod Touch too.</span></li>
<li>The device <strong>has to be jailbroken</strong> &#8211; cause it is really easy to do and allows us to do so much more with the devices.</li>
<li>Cydia package <strong>iFile</strong> which can be downloaded from many sources on Cydia.</li>
<li>An extensive EXIF viewer, there are many available however, I prefer <a title="EXIF Viewer" href="http://regex.info/exif.cgi" target="_blank">this one</a> that is available online.</li>
<li>Some legs, cause the device ain&#8217;t gonna walk up a high street itself now, is it?</li>
</ul>
<p>That is roughly everything that you&#8217;re going to be needing in order to pursue this tutorial. Let&#8217;s get to it then!</p>
<p><strong>Foreword</strong></p>
<p>I&#8217;ll show you what we did during our research and what procedures we followed to get the end result which is of course a picture with the location data plotted on the map that easily allows you to see your whereabouts at certain times. It should be noted that when we carried out this experiment, we took our iPad and walked down a busy high street in the heart of Glasgow, assuming that the iPad would automatically connect to open WiFi networks itself (which it did). We never at any point connected to a network by ourselves, we only had the Camera application open and were taking pictures intermittently. During the following steps, I&#8217;ll breakdown exactly what we did, why and how.</p>
<p><strong>Step 1</strong></p>
<p>Take your device out for a stroll, preferably on a street that you know contains many WiFi hotspots (that is if you have non-cellular device such as an iPad Mini WiFi only model), so if you have an iPhone, you should be good to go anywhere because it is always connected to the Internet via radio towers.</p>
<p><strong>Step 2</strong></p>
<p>Take some pictures, at random times, in random places, of random things. Possibly do it with the same technique that we did &#8211; 5 pictures on the way down and 5 pictures on the way back. Notice that when you take a picture using the Camera application, the location data icon shows up on the status bar of your device, as shown below:</p>
<div id="attachment_66" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/locationdata1.png"><img class="size-full wp-image-66 " alt="Location data" src="http://www.techwi.re/wp-content/uploads/2013/05/locationdata1.png" width="500" height="122" /></a><p class="wp-caption-text">Location data active icon in the taskbar.</p></div>
<p>The actual icon may differ from the one I have above however, it will only pop up right after you take a picture using the Camera application. The icon will always show up when the iPad is requesting the use of location services. This can be changed within the Settings application.</p>
<p><strong>Step 3</strong></p>
<p>Once you have a small collection of photos that you took, you can head back in and start extracting them from the iPad. Now, you can always just sync the photos on iTunes and that&#8217;ll move them over or use some 3rd party software to transfer them but how about doing it wirelessly? That&#8217;s right. With iFile on a jailbroken device you can easily set up a web server that allows you to transfer content over to your computer.</p>
<p>Open up iFile and navigate to the following path:</p>
<p><em>/var/mobile/Media/DCIM/100APPLE</em></p>
<p>You&#8217;ll be presented with a screen that looks similar to the one below, of course you could have more or less photos, obviously depending on how trigger happy you are with the Camera application.</p>
<div id="attachment_68" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/dcimfolder.png"><img class="size-full wp-image-68" alt="DCIM Folder" src="http://www.techwi.re/wp-content/uploads/2013/05/dcimfolder.png" width="500" height="667" /></a><p class="wp-caption-text">The image files contained within the folder mentioned above.</p></div>
<p>Already you can see information such as the size for each file, timestamps and file names. To initiate a web server connection, touch the wireless icon in the bottom center of the screen. This will yield this screen which shows you what to type into your address bar in a browser.</p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/webserverestablished.png"><img class="size-full wp-image-69" alt="Web Server Established" src="http://www.techwi.re/wp-content/uploads/2013/05/webserverestablished.png" width="500" height="667" /></a><p class="wp-caption-text">Connection has been created, use the details to access your device wirelessly.</p></div>
<p><strong>Step 4</strong></p>
<p>Now open up a browser on your laptop or desktop computer (for the love of god, <strong>do not use Internet Explorer</strong>) and type up the address that is shown on the device into the address bar. This will establish the connection between your computer and the device, enabling you to transfer files (yes, they go both ways) easily and effortlessly. Once you&#8217;ve setup the connection, you&#8217;ll be presented with this screen on your computer and a confirmation on your device.</p>
<div id="attachment_70" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/ifile-on-pc.png"><img class="size-full wp-image-70" alt="iFile On A PC" src="http://www.techwi.re/wp-content/uploads/2013/05/ifile-on-pc.png" width="600" height="320" /></a><p class="wp-caption-text">This is what you&#8217;ll see on your computer once connection has been setup.</p></div>
<p><strong>Step 5</strong></p>
<p>You can now navigate to the path shown above on the computer and download the photos that you&#8217;ll be working with, precisely those that are located at the bottom of the folder. Just make sure that the date and time match that of when you took your initial photos. To save your photos, simply either right click on one and select <em>Save link as&#8230;</em> or click on it and repeat the aforementioned step. Save all your photos into one neat folder on your computer, so you can find them easily when it comes to the next step.</p>
<p><strong>Step 6</strong></p>
<p>This is where it begins to get interesting &#8211; with the photos extracted and ready, you can start uploading them onto the online EXIF viewer. Go ahead and open that up and upload the first image using the instructions provided on the website.</p>
<div id="attachment_76" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/exif.png"><img class="size-full wp-image-76" alt="EXIF" src="http://www.techwi.re/wp-content/uploads/2013/05/exif.png" width="600" height="144" /></a><p class="wp-caption-text">Uploading your image to the online EXIF viewer is easy, my gran could do it!</p></div>
<p><strong>Step 7</strong></p>
<p>Once your image is uploaded and the processing is complete, you&#8217;ll be presented with the full page of information. Some of this information is useful, and some is not. Have a wonder about and see how much you can understand cause we really need a few important details for the next bit. Notice on the top of the page there is a section that summarizes all the information that we need &#8211; a timestamp, longitude and latitude.</p>
<div id="attachment_77" class="wp-caption aligncenter" style="width: 614px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/imageexifed.png"><img class="size-full wp-image-77" alt="EXIFED" src="http://www.techwi.re/wp-content/uploads/2013/05/imageexifed.png" width="604" height="512" /></a><p class="wp-caption-text">This EXIF viewer does a nifty job summarizing all the stuff we need.</p></div>
<p><strong>Step 8</strong></p>
<p>Go ahead and copy the latitude and longitude that is shown in brackets, you&#8217;ll need it for plotting the final coordinates later on. Now all you need to do is rinse and repeat the steps above for the remaining photos that you took, remembering to copy over the coordinates into a text file.</p>
<p>Once you&#8217;re done, you&#8217;ll essentially have something that looks like the following image. Let&#8217;s hope you haven&#8217;t been stalking me and your coordinates are wildly different from mine.</p>
<div id="attachment_79" class="wp-caption aligncenter" style="width: 169px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/coordinates.png"><img class="size-full wp-image-79" alt="Coordinates" src="http://www.techwi.re/wp-content/uploads/2013/05/coordinates.png" width="159" height="201" /></a><p class="wp-caption-text">Your final list of coordinates, probably different from mine.</p></div>
<p><strong>Step 9</strong></p>
<p>It&#8217;s time to plot this small selection of coordinates (larger list if you&#8217;re a photo fiend) on a map, provided by the good old trustworthy Google Maps. Navigate yourself to this website, which plots lists of coordinates with ease and slap in your list. Guess it&#8217;s common sense that you need to press the big green button to get anywhere, eh? You&#8217;ll start with something like this:</p>
<div id="attachment_80" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/batchgeo.png"><img class="size-full wp-image-80" alt="Batch Geo" src="http://www.techwi.re/wp-content/uploads/2013/05/batchgeo.png" width="600" height="180" /></a><p class="wp-caption-text">Pretty straightforward, eh?</p></div>
<p>And you&#8217;ll end up with the final result which is shown below:</p>
<div id="attachment_81" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.techwi.re/wp-content/uploads/2013/05/plotted.png"><img class="size-full wp-image-81" alt="Plotted" src="http://www.techwi.re/wp-content/uploads/2013/05/plotted.png" width="600" height="240" /></a><p class="wp-caption-text">The final result!</p></div>
<p><strong>Conclusion</strong></p>
<p>So, we&#8217;ve managed to plot the coordinates of the photos taken with an Apple device &#8211; this allows us to further explore just how fascinating technology really is and how quickly it is evolving into something that may soon be beyond our control. Even though this probably won&#8217;t hold up by itself in a court of law, it could potentially be part of crucial evidence that can be used to prosecute a suspect. I hope you&#8217;ve learned something new from this tutorial and this is just the first of many steps of uncovering what else Apple has in store for us.</p>
<div id="attachment_2489" class="wp-caption alignleft" style="width: 210px"><a href="http://www.techwi.re/"><img class="size-full wp-image-2489 " alt="For more articles, visit our blog!" src="http://forensicfocus.files.wordpress.com/2013/05/200x200.png?w=750"   /></a><p class="wp-caption-text">For more articles, visit our blog!</p></div>
<div id="attachment_2490" class="wp-caption alignright" style="width: 210px"><a href="https://www.facebook.com/pages/Techwire/343425182444699"><img class="size-full wp-image-2490 alignleft" alt="We would really appreciate it if you like us on Facebook." src="http://forensicfocus.files.wordpress.com/2013/05/fb-techwire.png?w=750"   /></a><p class="wp-caption-text">We would really appreciate it if you like us on Facebook.</p></div>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>Thanks for reading!</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2474&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/05/06/geo-tagging-photo-tracking-on-ios/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:thumbnail url="http://forensicfocus.files.wordpress.com/2013/05/geo-tagging.png?w=150" />
		<media:content url="http://forensicfocus.files.wordpress.com/2013/05/geo-tagging.png?w=150" medium="image">
			<media:title type="html">Geo Tagging</media:title>
		</media:content>

		<media:content url="http://2.gravatar.com/avatar/57d29bd258e0e148ad2f690e129f3a89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evgeniyzhernakov</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/locationdata1.png" medium="image">
			<media:title type="html">Location data</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/dcimfolder.png" medium="image">
			<media:title type="html">DCIM Folder</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/webserverestablished.png" medium="image">
			<media:title type="html">Web Server Established</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/ifile-on-pc.png" medium="image">
			<media:title type="html">iFile On A PC</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/exif.png" medium="image">
			<media:title type="html">EXIF</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/imageexifed.png" medium="image">
			<media:title type="html">EXIFED</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/coordinates.png" medium="image">
			<media:title type="html">Coordinates</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/batchgeo.png" medium="image">
			<media:title type="html">Batch Geo</media:title>
		</media:content>

		<media:content url="http://www.techwi.re/wp-content/uploads/2013/05/plotted.png" medium="image">
			<media:title type="html">Plotted</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/05/200x200.png" medium="image">
			<media:title type="html">For more articles, visit our blog!</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/05/fb-techwire.png" medium="image">
			<media:title type="html">We would really appreciate it if you like us on Facebook.</media:title>
		</media:content>
	</item>
		<item>
		<title>KS – an open source bash script for indexing data</title>
		<link>http://articles.forensicfocus.com/2013/04/23/ks-an-open-source-bash-script-for-indexing-data/</link>
		<comments>http://articles.forensicfocus.com/2013/04/23/ks-an-open-source-bash-script-for-indexing-data/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 15:36:28 +0000</pubDate>
		<dc:creator>nannib</dc:creator>
				<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[E-Discovery]]></category>
		<category><![CDATA[Forensic Accounting]]></category>
		<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer forensics]]></category>
		<category><![CDATA[database storage]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2460</guid>
		<description><![CDATA[KS – an open source bash script for indexing data ABSTRACT:  This is a keywords searching tool working on the allocated, unallocated data and the slackspace, using an indexer software and a database storage . Often during a computer forensics analysis we need to have all the keywords indexed into a database for making many &#8230; <a href="http://articles.forensicfocus.com/2013/04/23/ks-an-open-source-bash-script-for-indexing-data/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2460&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p align="center"><strong>KS – an open source bash script for indexing data</strong></p>
<p><strong>ABSTRACT:</strong>  This is a keywords searching tool working on the allocated, unallocated data and the slackspace, using an indexer software and a database storage .</p>
<p>Often during a computer forensics analysis we need to have all the keywords indexed into a database for making many searches on it in a fast way.</p>
<p>We could use strings and grep, for searching the keywords, but we cannot have a database and an engine, then we can’t search them inside many formats, like compressed files, including the ODT, DOCX, XLSX, etc..</p>
<p>So, I tried to solve this problem, first of all we need to extract, what I call “<i>spaces</i>”:</p>
<p>1)      Allocated space;</p>
<p>2)      Unallocated space;</p>
<p>3)      Slackspace;</p>
<p>Then we can run the indexer against these three spaces and we can extract all the keywords inside them.</p>
<p>We must remember that we have two kind of unallocated spaces, the first is all the deleted files and the second is all the files those are not in the deleted set, but they are still on the memory device (hard disk, pendrive, etc.).</p>
<p>For extracting these file we need to use the data carving technique, that consists into the search for the file types by their “<i>magic numbers</i>” (headers and footers), this technique is <i>filesystem-less</i>, so we can gather all files, allocated and unallocated (including the delete files too), so we need to eliminate duplication generated by carving.</p>
<p>The slackspace can be extracted by the TSK (The SleuthKit ) tools and put into a big text file, we have to remember that slackspace is all the file fragments present into the unused cluster space.</p>
<p><b><span style="text-decoration:underline;">Inception</span></b></p>
<p>We have to create a directory named, for instance, “diskspace”.</p>
<p>We can mount our disk image file (bitstream, EWF, etc) into a sub-directory of diskspace, e.g. /diskspace/disk and so we can have all the allocated space.</p>
<p>Now, we have to extract all the deleted files including their paths and put them into “/diskspace/deleted”.</p>
<p>We have to run the data carving and put all the results into “/diskspace/carved”, we can use the data carving only on the freespace of the disk and then we must delete the duplicates with the deleted files.</p>
<p>Finally we can extract all the slackspace, if we need it and put it into “/diskspace/slack”.</p>
<p>Now we got:</p>
<p>/diskspace<br />
|_disk<br />
|_deleted<br />
|_carved<br />
|_slack</p>
<p>We only need a “spider” for indexing all these spaces and to collect all the keywords into a database.<br />
For this purpose there is a program in the open source world: RECOLL that indexes a content of a directory and allows various quests. (<a href="http://www.lesbonscomptes.com/recoll/">http://www.lesbonscomptes.com/recoll/</a>)</p>
<p>After the indexing we have all to perform our researches.</p>
<p>All these operations are made by my bash script called KS.sh  <a href="http://scripts4cf.sourceforge.net/tools.html">http://scripts4cf.sourceforge.net/tools.html</a></p>
<p>KS &#8211; This is a keywords searching tool. sudo bash ks.sh for running it. It mounts a DD image file; It extracts all deleted files; slackspace; It makes a data carving on the freespace only; It indexes all by RECOLL.<br />
You need:<br />
<i>The Sleuthkit (last release)<br />
Photorec<br />
MD5Deep<br />
RECOLL</i><br />
It stores the index DB and the recoll.conf in the chosen output directory.<br />
NEW file formats added and README.txt for the HowTo expand the search range.<br />
Website:<br />
<a title="http://scripts4cf.sourceforge.net/tools.html" href="http://scripts4cf.sourceforge.net/tools.html"><b>http://scripts4cf.sourceforge.net/tools.html</b></a><b></b></p>
<p>This is the bash script code:</p>
<p><em>#!/bin/bash </em><br />
<em>#</em><br />
<em># KS &#8211; by Nanni Bassetti &#8211; <a href="mailto:digitfor@gmail.com">digitfor@gmail.com</a> &#8211; <a href="http://www.nannibassetti.com" rel="nofollow">http://www.nannibassetti.com</a> </em><br />
<em># release: 2.2</em><br />
<em>#</em><br />
<em># It mounts a DD image file or a block device, it extracts all deleted files,</em><br />
<em># it makes a data carving on the unallocated space, the it runs recoll </em><br />
<em># changing automatically the variables in recoll.conf.</em><br />
<em>#</em><br />
<em># many thanks to Raul Capriotti, Jean-Francois Dockes, Cristophe Grenier,</em><br />
<em># Raffaele Colaianni, Gianni Amato, John Lehr, Alessandro Farina</em></p>
<p><em>echo -e &#8220;KS 2.2 &#8211; by Nanni Bassetti &#8211; <a href="mailto:digitfor@gmail.com">digitfor@gmail.com</a> &#8211; <a href="http://www.nannibassetti.com" rel="nofollow">http://www.nannibassetti.com</a> \n&#8221;</em><br />
<em>while :</em><br />
<em>do</em><br />
<em> echo -e &#8220;\nInsert the image file or the device (absolute path): &#8220;</em><br />
<em> read imm</em><br />
<em> [[ -f $imm || -b $imm ]] &amp;&amp; break</em><br />
<em>done</em><br />
<em>while :</em><br />
<em>do</em><br />
<em> echo &#8220;Insert the output directory (absolute path):&#8221;</em><br />
<em> read outputdir</em><br />
<em> [[ "${outputdir:0:1}" = / ]] &amp;&amp; { </em><br />
<em> [[ ! -d $outputdir ]] &amp;&amp; mkdir $outputdir</em><br />
<em> break</em><br />
<em> }</em><br />
<em>done</em></p>
<p><em>(! mmls $imm 2&gt;/dev/null 1&gt;&amp;2) &amp;&amp; {</em><br />
<em> echo &#8220;0&#8243;</em><br />
<em> echo &#8220;The starting sector is &#8217;0&#8242;&#8221;</em><br />
<em> so=0</em><br />
<em>} || {</em><br />
<em> mmls $imm</em><br />
<em> echo -e &#8220;\nChoose the starting sector of the partition you need to index&#8221;</em><br />
<em> read so</em><br />
<em>}</em></p>
<p><em>HASHES_FILE=$outpudir/hashes.txt # File output hash</em><br />
<em>DIR_DELETED=$outputdir/deleted # Deleted File&#8217;s Folder</em><br />
<em>DIR_SLACK=$outputdir/slackspace # Slackspace&#8217;s Folder</em><br />
<em>DIR_FREESPACE=$outputdir/freespace # Carved File&#8217;s Folder</em><br />
<em>BASE_IMG=$(basename $imm) # Basename of the image or device</em></p>
<p><em>[[ ! -d $outputdir/$BASE_IMG ]] &amp;&amp; mkdir $outputdir/$BASE_IMG</em></p>
<p><em>off=$(( $so * 512 ))</em><br />
<em>mount -t auto -o ro,loop,offset=$off,umask=222 $imm $outputdir/$BASE_IMG &gt;/dev/null 2&gt;&amp;1 &amp;&amp; {</em><br />
<em>echo &#8220;Image file mounted in &#8216;$outputdir/$BASE_IMG&#8217;&#8221;</em><br />
<em>}</em></p>
<p><em># recovering the deleted files</em><br />
<em>echo &#8220;recovering the deleted files&#8230;&#8221;</em><br />
<em>[[ ! -d $DIR_DELETED ]] &amp;&amp; mkdir $DIR_DELETED</em><br />
<em>tsk_recover -o $so $imm $DIR_DELETED</em></p>
<p><em># extracting slack space, comment if you don’t need it</em><br />
<em>echo &#8220;extracting slack space&#8230;&#8221;</em><br />
<em>[[ ! -d $DIR_SLACK ]] &amp;&amp; mkdir $DIR_SLACK</em><br />
<em>blkls -s -o $so $imm &gt; $DIR_SLACK/slackspace.txt</em></p>
<p><em># freespace and carving</em></p>
<p><em>[[ ! -d $DIR_FREESPACE ]] &amp;&amp; mkdir $DIR_FREESPACE || {</em><br />
<em>rm -R $DIR_FREESPACE</em><br />
<em>mkdir $DIR_FREESPACE</em><br />
<em>}</em></p>
<p><em># using photorec to carve inside the freespace</em></p>
<p><em>photorec /d $DIR_FREESPACE/ /cmd $imm fileopt,everything,enable,freespace,search</em></p>
<p><em># taking off duplicates from carving directory</em><br />
<em>echo &#8220;taking off duplicates from carving directory&#8230;&#8221;</em><br />
<em>[[ $(ls $DIR_DELETED) ]] &amp;&amp; md5deep -r $DIR_DELETED/* &gt; $HASHES_FILE</em><br />
<em>[[ $(ls $DIR_FREESPACE) ]] &amp;&amp; md5deep -r $DIR_FREESPACE/* &gt;&gt; $HASHES_FILE</em><br />
<em>awk &#8216;x[$1]++ { FS = &#8221; &#8221; ; print $2 }&#8217; $HASHES_FILE | xargs rm -rf</em><br />
<em>[[ -f $HASHES_FILE ]] &amp;&amp; rm $HASHES_FILE</em></p>
<p><em># RECOLL configuration to have a single recoll.conf and xapiandb for each case examined.</em><br />
<em>echo &#8220;RECOLL is indexing&#8230;&#8221;</em><br />
<em>rcldir=$outputdir/recoll</em><br />
<em>recollconf=/$rcldir/recoll.conf</em><br />
<em>mkdir -p $rcldir/xapiandb</em></p>
<p><em>cat &gt; $recollconf &lt;&lt; EOF</em><br />
<em>topdirs = $outputdir</em><br />
<em>dbdir = $rcldir/xapiandb</em><br />
<em>processbeaglequeue = 1</em><br />
<em>skippedPaths = $rcldir $rcldir/xapiandb</em><br />
<em>indexallfilenames = 1<br />
</em><em>textfilemaxmbs = -1 # for indexing txt files greater than 10Mb thanks to Alessandro Farina<br />
usesystemfilecommand = 1<br />
</em><em style="color:#333333;line-height:1.5;">indexstemminglanguages = italian english spanish<br />
</em><em style="color:#333333;line-height:1.5;">EOF</em></p>
<p><em>recollindex -c $rcldir -z &gt;/dev/null 2&gt;&amp;1</em><br />
<em>case $(tty) in</em><br />
<em> /dev/tty*) echo -e &#8220;\nStart on terminal from graphic interface the following command:&#8221;</em><br />
<em> echo -e &#8220;recoll -c $rcldir\n&#8221;</em><br />
<em> exit 1</em><br />
<em> ;;</em><br />
<em> *) recoll -c $rcldir &gt;/dev/null 2&gt;&amp;1 &amp;</em><br />
<em> exit 0</em><br />
<em> ;;</em><br />
<em>esac</em></p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/clipboard011.jpg"><img class="alignnone size-medium wp-image-2464" alt="recoll1" src="http://forensicfocus.files.wordpress.com/2013/04/clipboard011.jpg?w=300&#038;h=163" width="300" height="163" /></a></p>
<p><b>1- RECOLL in action.</b></p>
<p>The RECOLL allow the search for keywords also working in compressed files and email attachments in short, once indexed all the content you had to be able to search for keywords or phrases, just as you would with Google.<br />
As all the open source projects I have to thank to the collaboration of some friends  and developers.</p>
<p><strong style="line-height:1.5;">Author<br />
</strong><strong>Nanni Bassetti</strong>, Digital Forensics Expert, C.A.IN.E. Linux forensic distro project manager, founder of CFI – Computer Forensics Italy, mailing list specialized in digital forensics topics, codeveloper of SFDumper and founder of the web site <a href="http://scripts4cf.sf.net/" rel="nofollow">http://scripts4cf.sf.net</a>.<br />
Personal website: <a href="http://www.nannibassetti.com/" rel="nofollow">http://www.nannibassetti.com</a> – e-mail: <a href="mailto:digitfor@gmail.com">digitfor@gmail.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2460/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2460&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/04/23/ks-an-open-source-bash-script-for-indexing-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e9d55e86ee591e4e5a97ccd94d843ca5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nannib</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/clipboard011.jpg?w=300" medium="image">
			<media:title type="html">recoll1</media:title>
		</media:content>
	</item>
		<item>
		<title>Mobile Device Geotags &amp; Armed Forces</title>
		<link>http://articles.forensicfocus.com/2013/04/10/mobile-device-geotags-armed-forces/</link>
		<comments>http://articles.forensicfocus.com/2013/04/10/mobile-device-geotags-armed-forces/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 12:28:43 +0000</pubDate>
		<dc:creator>Ashley Smith</dc:creator>
				<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[geotags]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[mobile forensics]]></category>
		<category><![CDATA[mobile phones]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2253</guid>
		<description><![CDATA[In recent years it has been noticeable that the amount of people carrying a smart phone has increased exponentially. This is down to their low price and availability; even children as young as 12 have a smart phone. However, most people who own a smart phone are not aware of the data hidden in even &#8230; <a href="http://articles.forensicfocus.com/2013/04/10/mobile-device-geotags-armed-forces/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2253&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In recent years it has been noticeable that the amount of people carrying a smart phone has increased exponentially. This is down to their low price and availability; even children as young as 12 have a smart phone. However, most people who own a smart phone are not aware of the data hidden in even the simplest and most innocent things they do on their phones. This includes armed forces staff. This article will look at the issues and possible repercussions of the availability of such easily obtained data.</p>
<p>Let&#8217;s consider a scenario:  in this case an armed forces staff member is on patrol. they take a picture of themselves and upload it to a social media. Their personal profile on this site is not secured or has limited access that allows anyone to view their photos. A militant group happens to be doing some research on their “enemy”. They use advanced search on Google then happen use the correct collection of words or phrases, and just happens to find this picture. What could possibly happen?</p>
<p>First off, the basics:</p>
<p><strong>What is a geotag?</strong></p>
<p>The method of geotagging is the addition of geographical data into the meta data of an object, in this case a picture that has been taken by armed services personnel.</p>
<p>A geotag on a photograph from an Iphone, for example, captures the GPS coordinates of the location it was taken using Longitude and Latitude.</p>
<p><strong>Obtaining geotag information</strong></p>
<p>Using free tools that are widely available on the internet it can take seconds to reveal the geotag information. It requires very little effort and absolutely no training. Ideal for militant groups who would want to find this information relatively quickly.</p>
<p>Below is an example and for this example I will be using a picture of the blue ball in snooker, but imagine this photo was a team photo taken in a base on foreign soil.</p>
<p>Here I&#8217;m using Evigator&#8217;s TAGView software</p>
<p><em>(available @ http://www.evigator.com/)</em></p>
<p>1 &#8211; Locate the image and open it using the Open Image Icon.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/03/1.jpg"><img class="alignnone size-medium wp-image-2261" alt="1" src="http://forensicfocus.files.wordpress.com/2013/03/1.jpg?w=300&#038;h=73" width="300" height="73" /></a></p>
<p>2 &#8211; Press Open</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/03/2.jpg"><img class="alignnone size-medium wp-image-2262" alt="2" src="http://forensicfocus.files.wordpress.com/2013/03/2.jpg?w=300&#038;h=223" width="300" height="223" /></a></p>
<p>3 &#8211; The Image will be analysed and you will have a screen similar to below:</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/03/3.jpg"><img class="alignnone size-medium wp-image-2263" alt="3" src="http://forensicfocus.files.wordpress.com/2013/03/3.jpg?w=300&#038;h=162" width="300" height="162" /></a></p>
<p>4 &#8211; Sample data from the analysed picture.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/03/4.jpg"><img class="alignnone size-medium wp-image-2264" alt="4" src="http://forensicfocus.files.wordpress.com/2013/03/4.jpg?w=300&#038;h=172" width="300" height="172" /></a></p>
<p><span style="line-height:1.5;">As you can see from the above, highlighted is the geotag data &amp; various information about the device the picture was taken on. Also note the mapped location of where it was taken. To get this information was less than 3 seconds once loaded into the program. </span></p>
<p><strong>Security Risks &amp; Repercussions</strong></p>
<p>So what are the security risks? Well, as already pointed out the information could reveal any number of things: barracks, bases, patrol points or even patrol patterns. This information not only puts the staff member who uploads the pictures in danger but their entire deployment group.</p>
<p>Potential death is not the only issue, with profiles being insecure it could lead to that one member being profiled by the militant group, this then leading to potential blackmail, kidnap or endangering family members.</p>
<p><strong>What should the armed forces be doing?</strong></p>
<p>There are many things the armed forces could be doing. The key thing to do is offer the training necessary to remind their staff of the issues of geotags and smart phones. They could put a ban on any personal phones completely. However, some service men and woman would still find a way to take them into active duty.</p>
<p>A one hour basic training session that shows the dangers is all that is needed. The session could cover basic security settings of their social networking profiles and turning off the location services on any of their devices.</p>
<p>A one hour session could be the difference between life and death in most cases during deployment.</p>
<p>This article has been geared towards the idea of militant groups, however its not just militant groups, it could be anyone; stalkers, thieves, even an enraged ex could use these techniques.</p>
<p>&nbsp;</p>
<p style="text-align:center;"><strong>Part 2 will be released soon. </strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2253&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/04/10/mobile-device-geotags-armed-forces/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7364b5a3d6911d5fa01cc3c2f269512c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asmith2004</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/03/1.jpg?w=300" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/03/2.jpg?w=300" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/03/3.jpg?w=300" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/03/4.jpg?w=300" medium="image">
			<media:title type="html">4</media:title>
		</media:content>
	</item>
		<item>
		<title>Categorization of embedded system forensic collection methodologies</title>
		<link>http://articles.forensicfocus.com/2013/04/07/categorization-of-embedded-system-forensic-collection-methodologies/</link>
		<comments>http://articles.forensicfocus.com/2013/04/07/categorization-of-embedded-system-forensic-collection-methodologies/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 23:57:23 +0000</pubDate>
		<dc:creator>tapolyai</dc:creator>
				<category><![CDATA[Methodology]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Boundary Scan]]></category>
		<category><![CDATA[chip-off]]></category>
		<category><![CDATA[I2C]]></category>
		<category><![CDATA[Integrated circuit]]></category>
		<category><![CDATA[Joint Test Action Group]]></category>
		<category><![CDATA[JTAG]]></category>
		<category><![CDATA[Local Interconnect Network]]></category>
		<category><![CDATA[SPI]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2412</guid>
		<description><![CDATA[There are many classifications as far as forensic data collection is concerned, but much of it is still a de facto and Wild West when it comes to naming convention. This is especially true in the embedded system area. When I refer to embedded systems, I think of specialized devices, sometimes in a larger system &#8230; <a href="http://articles.forensicfocus.com/2013/04/07/categorization-of-embedded-system-forensic-collection-methodologies/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2412&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There are many classifications as far as forensic data collection is concerned, but much of it is still a de facto and Wild West when it comes to naming convention. This is especially true in the embedded system area.</p>
<p>When I refer to embedded systems, I think of specialized devices, sometimes in a larger system or machine. Embedded systems usually have at least one microprocessor with dedicated program, and limited options to extract the information in a sound forensic way. Cell phones, smart phones, tablets, DVD and BluRay players, advanced digital watches, TVs, cars, elevators, and even washers &amp; dryers can have embedded systems.</p>
<p>I would like to suggest a more structured way to represent data collection methods for such systems. As this is a work in progress, I look forward to constructive criticisms that can benefit the forensics community.</p>
<p>The classification is broken down into six methodologies.</p>
<ol>
<li>Manual acquisition</li>
<li>Logical acquisition</li>
<li>Pseudo-physical acquisition</li>
<li>Support-port acquisition</li>
<li>Circuit read acquisition</li>
<li>Gate read acquisition</li>
</ol>
<p>Each methodology has their shortcomings and benefits. I categorized these into four areas, and ranked them in a scale of 1 to 10, with one for “least” and 10 “most”.</p>
<p><em>Destructiveness </em>is the impact on the target device, and how likely that everything is fully functional after data collection.</p>
<p><em>Technical &amp; Training</em> is the required understanding and education in the area required to attempt the methodology.</p>
<p><em>Cost</em> is simply the expenses involved with the resources required, such as equipment, tools and consumables, to attempt the methodology.</p>
<p><em>Forensically Sound</em>, the final measurement, is how likely the original data is modified, knowingly or not.</p>
<div id="attachment_2414" class="wp-caption aligncenter" style="width: 622px"><a href="http://forensicfocus.files.wordpress.com/2013/04/clipboard01.jpg"><img class="size-full wp-image-2414" alt="Acquisition Methodology Comparison " src="http://forensicfocus.files.wordpress.com/2013/04/clipboard01.jpg?w=750"   /></a><p class="wp-caption-text">Acquisition Methodology Comparison</p></div>
<p><span style="text-decoration:underline;"><strong>Manual</strong></span></p>
<p>This is the oldest and least training and equipment required methodology. The examiner takes advantage of the devices display and user interface and a camera to record all relevant information, as much as possible. The target device may record all display and user interface activity, and update system data as normal housekeeping.</p>
<p><em>Example:</em> Secure cell phone in holding bracket, then using the keypad scroll through all relevant items while taking pictures of the cell phone with an external camera. A commercial product used for this kind of acquisition is Paraben Project-A-Phone.</p>
<p><span style="text-decoration:underline;"><strong>Logical</strong></span></p>
<p>Logical acquisition method is where the device&#8217;s operating system (OS) is in full control of what can be accessed, and provides the method to transfer the data. The examiner connects the device to a forensic workstation, and using various software packages communicates with the OS on the target device. The OS may record the connection, and communication on the target device, and update system data as normal housekeeping.</p>
<p><em>Example:</em> Connect cell phone&#8217;s external port to USB port, using proprietary cable. Run Software to initiate serial communication with device, and request information from device using proprietary and device specific commands. A software, such as BitPim would be used for this type of acquisition.</p>
<p><span style="text-decoration:underline;"><strong>Pseudo-Physical</strong></span></p>
<p>The process of pseudo-physical collection involves forcing program code onto the target device in some way which allows access to most data areas. The code may only provide access and takes advantage of the target device&#8217;s OS to provide communication, or is a complete replacement of the OS with just collection functionality. Thereafter, the examiner connects the device to a forensic workstation, and using various software packages communicates with the program code, or the OS on the target device. The OS may record the connection, and communication on the target device, and update system data as normal housekeeping. The forced-on code may also impact the information on the target device.</p>
<p>Although often touted as physical acquisition by almost all vendors, this process is not, in my opinion, truly physical as most forensics examiners expect it to be. Most forensics examiners think “bit-by-bit” when they hear “physical”. In my experience, this is not the case, as unallocated and slack areas of the storage are not collected.</p>
<p><em>Example:</em> Target device is connected to the forensic workstation with a USB to proprietary serial cable. The target device is placed in Device Firmware Update (UDF) mode. The software on the forensic workstation at this time may load a special program code onto the target device. The code allows the software on the forensic workstation to access most information on the target device. Sometimes the target device’s UDF mode software provides the communication features.</p>
<p><span style="text-decoration:underline;"><strong>Support-Port</strong></span></p>
<p>Most mass produced electronic devices have ports for testing the electronics, or for updating firmware on various onboard integrated circuitry. These “ports” can be implemented as user accessible ports such as a USB, RS232 or even some pin and socket connector (Molex), non-user accessible ports including pin headers or insulation-displacement connector, and finally test connection pads that appear on the printed circuit assembly (PCA).</p>
<p>To access these ports, almost all small electronics require disassembly, often voiding the manufacturer’s warranty. Once the device is disassembled, the port must be identified on the PCA, and the specific communication protocol must also be found. Communication is established with the specific storage circuitry, and data is requested. This data is then stored for further analysis.</p>
<p>The most often used protocols are Boundary Scan (often referred to by the standardizing group name Joint Test Action Group [JTAG]), Inter-Integrated Circuit (I2C), Serial Peripheral Interface (SPI), Enhanced Synchronous Serial Interface (ESSI), Controller Area Network (CAN), Local Interconnect Network (LIN), and Background Debug Mode (BDM).</p>
<p><em>Example:</em> The target device is disassembled, and test access points (TAP) are located. Leads are soldered or clamped onto the TAP, and connected to a protocol specific universal asynchronous receiver/transmitter (UART). This device in turn is connected to a USB port of the forensic workstation. Specialized software using circuit-specific commands instructs the on-board device to download data from the circuit. The returned data is stored on the forensic workstation. No information is stored or written to the target device besides the temporary instructions.</p>
<p><span style="text-decoration:underline;"><strong>Circuit Read</strong></span></p>
<p>For this acquisition methodology, the integrated circuits (IC) such as memory chips are desoldered from the PCA and data is extracted using chip specific pin-out and communication. This is often referred to as “chip-off” process.</p>
<p>There are several critical points with this method, including the possibility to permanently damage the IC during desoldering, dealing with stacked ICs (3D packaging) or monolithic configuration.</p>
<p>In this particular method, the IC is removed, socketed or soldered, and specific signals are sent to extract the data from the specific chip, using specialized software.</p>
<p><em>Example:</em> The target device is disassembled, and data storage ICs are located. Pin out information, and timing details for communication with the IC is researched. Target device is preheated, and then the specific ICs are desoldered. The ICs are either placed in temporary sockets, or leads are soldered to appropriate pins. The socket or leads are connected to a communication device using proper communication protocol, such as a Transistor-Transistor Logic (TTL), which in turn is connected to the forensics workstation.</p>
<p>Specialized software using IC-specific commands instructs the socket to download data from the IC. The returned data is stored on the forensic workstation. No information is stored or written to the target IC.</p>
<p><span style="text-decoration:underline;"><strong>Gate Read</strong></span></p>
<p>This methodology requires both equipment, and chemicals that are usually not found in most digital forensics labs. The process involves the removal of the target IC in similar fashion as the Circuit Read acquisition methodology. Instead of attempting to communicate with the IC through electronic signals, the chip is literally sliced into multiple layers, to expose each original semiconductor lithographic layer, and information is reverse engineered from the layers.</p>
<p>The layers are measured in nanometers (1 x 10-9 m) or a billionth of a meter. Each layer is removed, photographed, and then reverse engineered from the photograph. The process is as much guess work as it is a very high level understanding of IC internals and IC lithography. The process works best with planarized chips. The steps of the process are device depoting or package removal, delayering, imaging, annotation, schematic, organization and finally analysis.</p>
<p><em>Example:</em> The target device is disassembled, and data storage ICs are located. Pin out information for the IC is researched. Target device is preheated, and then the specific ICs are desoldered. The IC is bathed in chemicals to remove potting, or encasing. At this point, the only remaining items are the leads to a piece of silicon die. The leads are noted and photographed. The die using lapping (or other very precise slicing or abrasion method) removes each layer, and photographed. The layers are stacked in software, and reverse engineered using the shape, color density and interconnection of the layers. This process requires identification amongst other things the N-type, P-type silicon, the gates, power and ground.</p>
<p>Reference:</p>
<table>
<tbody>
<tr>
<th>&nbsp;</th>
<th> Manual </th>
<th> Logical </th>
<th> Pseudo-Physical </th>
<th> Support-port Read </th>
<th> Direct Circuit Read </th>
<th> Gate Read </th>
</tr>
<tr>
<th> Destructiveness </th>
<td> 1 </td>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 5 </td>
<td> 10 </td>
</tr>
<tr>
<th> Technical &amp; Training </th>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 5 </td>
<td> 6 </td>
<td> 9 </td>
</tr>
<tr>
<th> Cost </th>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 3 </td>
<td> 5 </td>
<td> 7 </td>
</tr>
<tr>
<th> Forensically Sound </th>
<td> 1 </td>
<td> 2 </td>
<td> 5 </td>
<td> 8 </td>
<td> 9 </td>
<td> 7 </td>
</tr>
</tbody>
</table>
<p><em>Rankings are on a scale of 1 to 10, with one for “least” and 10 “most”. Ex. Most destructive would be a 10; Least costly would be a 1.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2412&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/04/07/categorization-of-embedded-system-forensic-collection-methodologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec515a0ea9d6cbaee4628a3ed7d834c4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapolyai</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/clipboard01.jpg" medium="image">
			<media:title type="html">Acquisition Methodology Comparison </media:title>
		</media:content>
	</item>
		<item>
		<title>Interpretation of NTFS Timestamps</title>
		<link>http://articles.forensicfocus.com/2013/04/06/interpretation-of-ntfs-timestamps/</link>
		<comments>http://articles.forensicfocus.com/2013/04/06/interpretation-of-ntfs-timestamps/#comments</comments>
		<pubDate>Sat, 06 Apr 2013 10:28:26 +0000</pubDate>
		<dc:creator>wpathulin</dc:creator>
				<category><![CDATA[File Systems]]></category>
		<category><![CDATA[file systems]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[Software Testing]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2280</guid>
		<description><![CDATA[Introduction File and directory timestamps are one of the resources forensic analysts use for determining when something happened, or in what particular order a sequence of events took place. As these timestamps usually are stored in some internal format, additional software is needed to interpret them and translate them into a format an analyst can &#8230; <a href="http://articles.forensicfocus.com/2013/04/06/interpretation-of-ntfs-timestamps/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2280&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h1><strong>Introduction</strong></h1>
<p>File and directory timestamps are one of the resources forensic analysts use for determining when something happened, or in what particular order a sequence of events took place. As these timestamps usually are stored in some internal format, additional software is needed to interpret them and translate them into a format an analyst can easily understand. If there are any errors in this step, the result will clearly be less reliable than expected.</p>
<p>My primary purpose this article is to present a simple design of test data suitable for determining if there are errors or problems in how a particular tool performs these operations. I will also some present some test results from applying the tests to different tools.</p>
<p>For the moment, I am concerned only with NTFS file timestamps. NTFS is probably the most common source of timestamps that an analyst will have to deal with, so it is important to ensure that timestamp translation is correct.  Similar tests need to be created and performed for other timestamp formats.</p>
<p>Also, I am ignoring time zone adjustments and daylight savings time: the translation to be examined will cover Universal Coordinated Time (UTC) only.</p>
<h1><strong>Background Information</strong></h1>
<p>NTFS file timestamps, according to the documentation of the &#8216;FILETIME&#8217; data structure in the Windows Software Development Toolkit, is a  &#8220;64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC)&#8221;.</p>
<p>Conversion from this internal format to a format more suitable for human interpretation is performed  by the Windows system call <i>FileTimeToSystemTime()</i>, which extracts the year, month, day, hour, minutes, seconds and milliseconds from the timestamp data. On other platforms (<i>e.g.</i> Unix), or in software that is intentionally platform-independent (<i>e.g.</i> Perl or Java) other methods for translation is be  required.</p>
<p>The documentation of <i>FileTimeToSystemTime()</i>, as well as practical tests,  indicate that the FILETIME value to be translated must be 0x7FFFFFFFFFFFFFFF or less.  This corresponds to the time 30828-09-14 02:48:05.4775807.</p>
<p>File timestamps are usually determined by the system clock at the time some file activity was performed. It is, though, also possible to set file time stamps to arbitrary values.  On Vista and later, the system call <i>SetFileInformationByHandle()</i> can be used; on earlier versions of Windows, <i>NtSetInfomationFile()</i> may be used. No special user privileges are required.</p>
<p>These system calls have a similar limitation in that only timestamps less than or equal to 0x7fffffffffffffff will be set.  Additionally, the two timestamp values 0&#215;0 and 0xffffffffffffffff are reserved to modify the operation of the system call in different ways.</p>
<p>The reverse function, <i>SystemTimeToFileTime()</i>, performs the opposite conversion: translating a time expressed as the year, month, day, hours, minutes, seconds, etc into the 64-bit file time stamp. In this case, however, the span of time is restricted to years less than or equal to 30827.</p>
<h1><strong>Requirements</strong></h1>
<p><b> </b>Before any serious testing is done, some kind of baseline requirements need to be established.</p>
<ol>
<li>Tests will be performed mainly by humans, not by computers. The number of test points in each case must not be so large as to overwhelm the tester. A maximum limit around 100 test points seems  reasonable.  Tests designed to be scored by computer would allow for more comprehensive tests, but would also need to be specially adapted to each tool being tested.</li>
<li>The currently known time range (0&#215;0 to 0x7FFFFFFFFFFFFFFF)  should be supported. If the translation method does not cover the entire range, it should report out-of-range times clearly and unambiguously.That is, there must be no risk for misinterpretation, either by the analyst or by readers of any tool-produced reports. A total absence of translation is not quite acceptable on its own &#8212; it requires special information or training to interpret, and the risk for misinterpretation appears fairly high. A single &#8216;?&#8217;  is better, but if there are multiple reasons why a &#8216;?&#8217; may be used, additional details should be provided.</li>
<li> The translation of a timestamp must be accurate, within the limits of the chosen representation.We don&#8217;t want a timestamp translated into a string become a very different time when translated back again.  The largest difference we tolerate is related to the precision in the display format: if the translation doesn&#8217;t report time to a greater precision than a second, the tolerable error is half a second (assuming rounding to nearest second) or up to one second (assuming truncation)  If the precision is milliseconds, then the tolerable error is on the corresponding order.</li>
</ol>
<h1><strong>TEST DESIGN </strong></h1>
<h2><strong>Test 1: Coverage</strong></h2>
<p><b> </b>The first test is a simple coverage test: what period of time is covered by the translation? The baseline is taken to be the full period covered by the system call <i>FileTimeToSystemTime(</i>), <i>i.e.</i> from 1601-01-01 up to 30828-09-14.</p>
<p>The first subtest checks the coverage over the entire baseline. In order to do that, and also keep the number of point tests reasonably small, each millennium is represented by a file, named after the first year of the period, the timestamps of which are set to the extreme timestamps within that millennium. For example, the period 2000-2999 is tested (very roughly, admittedly) by a single file, called ‘02000’, with timestamps representing 2000-01-01 00:00:00.0000000 and 2999-12-31 23:59:59.9999999 as the two extreme values (Tmin and Tmax for the period being tested).</p>
<p>The second subtest makes the same type of test, only it checks each separate century in the period 1600 &#8212; 8000. (There is no particular reason for choosing 8000 as the ending year.)</p>
<p>The third subtest makes the same type of test, only it checks each separate year in the period 1601 &#8212; 2399. In these tests, Tmin and Tmax are the starting and ending times of each single year.</p>
<p>The fourth subtest examines the behaviour of the translation function at some selected cut-off points in greater detail.</p>
<p>These tests could easily be extended to cover the entire baseline time period, but this makes them less suitable for manual inspection: the number of points to be checked will become unmanageable for &#8216;manual&#8217; testing.</p>
<h2><strong>Test 2: Leap Years</strong></h2>
<p>The translation must take leap days into account. This is a small test, though not unimportant.</p>
<p>The tests involve checking the 14-day period &#8216;around&#8217; February 28th/29th for presence of leap day, as well as discontinuities.</p>
<p>Two leap year tests are provided: &#8216;simple&#8217; leap years (2004 &#8211; year evenly divisible by 4), and &#8216;exceptional&#8217; leap years (2000 &#8211; year even divisible by 400).</p>
<p>Four non-leap tests: three for &#8216;normal&#8217; non-leap years (2001, 2002, 2003) and one &#8216;exceptional&#8217; non-leap tear (1900 &#8212; year is divisible by 100).</p>
<p>More extensive tests can easily be created, but again the number of required tests would  surpass the limits of about 100 specified in the requirements.</p>
<p>It is not entirely clear if leap days always are/were inserted after February 28th in the UTC calendar: if they are/were inserted after February 23th, additional tests may be required for the case the time stamp translation includes the day of the week. Alternatively, such tests should only be performed in timezones for which this information is known.</p>
<h2><strong>Tests 3: Rounding</strong></h2>
<p>This group of tests examines how the translation software handles limited precision. For example, assume that we have a timestamp corresponding to the time 00:00:00.6, and that it is translated into textual form that does not provide sub-second precision.  How is the .6 second handled?  Is it chopped off (truncated), producing a time of &#8217;00:00:00&#8242;?  Or is it rounded upwards to the nearest second: &#8217;00:00:01&#8242;?</p>
<p>In the extreme case, the translated string may end up in another year (or even millennium) than the original timestamp. Consider the timestamp 1999-12-31 23:59:59.6: will the translation say &#8217;1999-12-31 23:59:59&#8242; or will it say &#8217;2000-01-01 00:00:00&#8242;? This is not an error in and by itself, but an analyst who does not expect this behaviour may be confused by it.  If he works after an instruction to &#8216;look for files modified up the end of the year&#8217;, there is a small probability that files modified at the very turn of the year may be omitted because they are presented as belonging to the following year. If that is a real problem or not will depend on the actual investigation, and if and how such time limit effects are handled by the analyst.</p>
<p>These tests are split into four subgroups, testing rounding to minutes, seconds, milliseconds and microseconds, respectively.  For each group, two directories corresponding to the main unit are created, one for an even unit, the other for an odd unit. (The ‘rounding to minutes’ test use 2001-01-01 00:00 and 00:01. In each of these directories files are created for the full range of the test (0-60, in the case of minutes), and timestamped according to the Tmin/Tmax convention already mentioned.</p>
<p>If the translation rounds upwards, or round to nearest even or odd unit, this will be possible to identify from this test data. More complex rounding schemes may not be possible to identify.</p>
<h2><strong>Tests 4: Sorting</strong></h2>
<p>These tests are somewhat related to the rounding test, in that the test examines how the limited precision of a timestamp translation affects sorting a number of timestamps into ascending order.</p>
<p>For example, a translation scheme that only includes minutes but not seconds, and sorts these events by the translation string only will  not clearly produce a sorted order that follows the actual sequence of events.</p>
<p>Take the two file timestamps 00:00:01 (FILE1) and 00:00:31 (FILE2).  If the translation truncates timestamps to minutes, both times will be shown as ’00:00’.  If they are then sorted into ascending order by that string, the analyst cannot decide of FILE1 was timestamped before FILE2 or vice versa.  And if such a sorted list appears in a report, a reader may draw the wrong conclusions from it.</p>
<p>The tests are subdivided into sorting by seconds, milliseconds, microseconds and nanoseconds respectively. Each subtest provides 60, 100 or 10 files with timestamps arranged in four different sorting order. The name of these files have been arranged in an additional order to avoid the situation where files already sorted by file names are not rearranged by a sorting operation.  Finally, the files are created in random order.</p>
<p>The files are named on the following pattern: &lt;nn&gt;_C&lt;nn&gt;_A&lt;nn&gt;_W&lt;nn&gt;_M&lt;nn&gt;, e.g. &#8217;01_C02_A07_W01_M66&#8242;.</p>
<p>Each letter indicates a timestamp field (C = created, A = last accessed, W = last written, M = last modified), with &lt;nn&gt; indicating the particular position in the sorted sequence that timestamp is expected to appear in. The initial &lt;nn&gt; adds a fifth sorting order (by name), which allows for the tester to &#8216;reset&#8217; to a sorting order that is not related to timestamps.</p>
<p>Each timestamp differs only in the corresponding subunit: the files in the &#8216;sort by seconds&#8217; have timestamps that have the same time, except for the second part, and the &#8216;sort by nanoseconds&#8217; files differ only in the nanosecond information. (As the timestamp only accommodates 10 separate sub-microsecond values, only 10 files are provided for this test.)</p>
<p>The test consists in sorting each set of files by each of the timestamp fields: if sorting is done by the particular subunit (second, millisecond, etc.) the corresponding part of the file name will appear in sorted order.  Thus, an attempt to sort by creation time in ascending order should produce a sequence in which the C-sequence in the file name also appears in order: C00, C01, C02, … etc, and no other sequence should be the same ascending order.</p>
<p>An implementation with limited precision in the translated string, but that sorts according to the timestamp values will sort perfectly also when sorting by nanoseconds is tested.  If the sort is by the translated string, sorting will be perfect up to that smallest unit (typically seconds), and further attempts to sort by smaller units (milliseconds or microseconds) will not produce a correct order.</p>
<p>If an implementation that sorts by translated string also rounds timestamps, this will have additional effects on the sorting order.</p>
<h2><b>Tests 5: Special tests</b></h2>
<p>In this part, additional timestamps are provided for test.  Some of these cannot be created by the documented system calls, and need to be created by other methods.</p>
<p>0x00FFFFFFFFFFFFFF<br />
0x01FFFFFFFFFFFFFF<br />
0x03FFFFFFFFFFFFFF<br />
&#8230;<br />
0x7FFFFFFFFFFFFFFF</p>
<p style="padding-left:30px;">These timestamp can be set by the system calls, and may not have been tested by other test.</p>
<p>0&#215;0000000000000000</p>
<p style="padding-left:30px;">This timestamp should translate to 1601-01-01 00:00:00.0000000, but it cannot be set by any of the system calls tested.</p>
<p>0&#215;8000000000000000<br />
0xFFFFFFFE00000000<br />
0xFFFFFFFF00000000<br />
0xFFFFFFFFFFFFFFFE<br />
0xFFFFFFFFFFFFFFFF</p>
<p style="padding-left:30px;">These timestamps cannot be set by system call, and need to be edited by hand prior to testing.</p>
<p style="padding-left:30px;">These values test how the translation mechanism copes with timestamps that produce error messages from <i>the FileTimeToSystemTime</i>() call.</p>
<h2><b>Other tests</b></h2>
<p><strong>TZ &amp; DST</strong> &#8212; Time zone and daylight saving time adjustments are closely related to timestamp translation, but are notionally performed as a second step, once the UTC translation is finished. For that reason, no such tests are included here: until it is reasonably clear that UTC translation is done correctly, there seems little point in testing additional adjustments.</p>
<p><strong>Leap seconds</strong> &#8212; The NTFS timestamp convention is based on UTC, but ignores leap seconds, which are included in UTC. For a very strict test that the translation mechanism does not take leap seconds into account, additional tests are required, probably on the same pattern as the tests for leap years, but at a resolution of seconds.</p>
<p>However, if leap seconds have been included in the translation mechanism, it should be visible in the coverage tests, where the dates from 1972 onwards would gradually drift out of synchronization (at the time of writing, 2013, the difference would be 25 seconds).</p>
<p><strong>Day of week</strong> &#8212; No tests of day-of-week translation are included.</p>
<h2><b>Additional Notes</b></h2>
<p><b> </b>A Windows program that creates an NTFS structure corresponding to the tests described has been written, and used to create a NTFS image.  The Special tests directory in this image have been manually altered to contain the timestamps discussed. Both the source code and the image file is (or will very shortly be) available from SourceForge as part of the &#8216;CompForTest&#8217; project.</p>
<p>It must be stressed that the tests described should not be used to &#8216;prove&#8217; that some particular timestamp translation works as it should: all the test results can be used for is to show that it <i>doesn&#8217;t</i> work as expected.</p>
<h1><b>TEST RESULTS </b></h1>
<p>As the test image was being developed different tools for examination of NTFS timestamps were tried out. Some of the results (such as incomplete coverage) was used to create additional tests.</p>
<p>Below, some of the more interesting test results are described.</p>
<p>It should be noted that there may be additional problems that affect the testing process.  In one tool test (not included here), it was discovered that the tool occasionally did not report the last few files written to a directory. If this kind of problem is present also in other tools, tests results may be incomplete.</p>
<p>Notes on rounding and sorting have been added only if rounding has been detected, or if sorting is done by a different resolution than the translated timestamp.</p>
<h2><b>Autopsy 3.0.4:</b></h2>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1970-01-01 00:00:01 &#8211;  2106-02-07 06:28:00<br />
1970-01-01 00:00:00.0000000 is translated as &#8217;0000-00-00 00:00:00&#8242;</p>
<p>Timestamps outside the specified range are translated as if they were inside the range (<i>e.g.</i> timestamps for some periods in 1673, 1809, 1945, 2149, 2285, etc. are translated as times in 2013. This makes it difficult for an analyst to rely only on this version of Autopsy for accurate time translation.</p>
<p>In the screen dump below, note that the 1965-1969 timestamps are translated as if they were from 2032-2036.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/autopsy.png"><img class="size-full wp-image" id="i-2318" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/autopsy.png?w=650" /></a></p>
<h2><b>EnCase Forensic 6.19.6:</b></h2>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1970-01-01 13:00 &#8212; 2038-01-19 03:14:06<br />
1970-01-01 00:00 &#8212; 12:00 are translated as &#8221; (empty). The period 12:00 &#8212; 13:00 has not been investigated further.</p>
<p>Remaining timestamps outside the specified ranges are also translated as &#8221; (empty).</p>
<p>The screen dump below show  the hours view of the cut-off date 1970-01-01 00:00.The file names indicate the offset from the baseline timestamps, HH+12 indicating an offset of +12 hours to 00:00. It is clear that from HH+13, translation appears to work as expected, but for the first 13 hours (00 &#8212; 12), no translation is provided, at least not for these test points.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/encase1.png"><img class="size-full wp-image" id="i-2327" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/encase1.png?w=650" /></a></p>
<h2><b>ProDiscover Basic 6.5.0.0:</b></h2>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1970-01-02 &#8212; 2038, 2107 &#8212; 2174, 2242 &#8212; 2310, 2378 &#8212; 2399 (all ranges examined)</p>
<p> Timestamps prior to  1970-01-02, and sometime after 3000, are uniformly translated as 1970-01-01 00:00, making it impossible to determine actual time for these ranges.</p>
<p>Timestamps after 2038, and outside stated range are translated as &#8216;(unknown)&#8217;.</p>
<p>Translation truncates to minutes.</p>
<p>The following screen dump shows both the uniform translation of early timestamps as 1970-01-01, as well as the &#8216;(unknown)&#8217; and the reappearance of translation in the 2300-period. (The directories have also been timestamped with the minimum and maximum times of the files placed in them.)</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/prodiscover1.png"><img class="size-full wp-image" id="i-2337" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/prodiscover1.png?w=650" /></a></p>
<h2><b>WinHex 16.6 SR-4:</b></h2>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1601-01-01 00:00:01 &#8212; 2286-01-09 23:30:11.<br />
1601:01:01 00:00:00.0000000 and .00000001 are translated as &#8221; (blank).</p>
<p>Timestamps after 2286-01-09 23:30:11 are translated partly as &#8216;?&#8217;, partly as times in the specified range, the latter indicated in red. The cut-off time 30828-09-14 02:48:05 is translated as &#8221; (blank).</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/winhex1.png"><img class="size-full wp-image" id="i-2351" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/winhex1.png?w=650" /></a></p>
<h2>Additional Tests</h2>
<p>Two additional tests on tools not intended primarily for forensic analysis were also performed: Windows Explorer GUI and PowerShell command line. Neither of these provide for additional time zone adjustment: their use will be governed by the current time configuration of the operating system. In the test below, the computer was reset to UTC time zone prior to testing.</p>
<p><strong> PowerShell</strong></p>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1601-01-01 00:00:00 &#8211;  9999-12-31 23:59:59</p>
<p> Timestamps outside the range are translated as blank.</p>
<p>Sorting is by timestamp binary value.</p>
<p>The command line used for these examination was:</p>
<pre> Get-ChildItem <i>path</i> | Select-Object name,creationtime,lastwritetime</pre>
<p>for each directory that was examined. Sorting was tested by using</p>
<pre> Get-ChildItem <i>path</i> | Select-Object name,creationtime,lastwritetime,lastaccesstime | Sort <i>timefield</i></pre>
<p>The image below shows sorting by LastWriteTime and nanoseconds (or more exactly tenths of microseconds).  Note that the W<i>nn</i> specifications in the file names appear in the correct ascending order :</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/powershell.png"><img class="size-full wp-image" id="i-2360" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/powershell.png?w=650" /></a></p>
<p><strong>Windows Explorer GUI:</strong></p>
<p>Timestamp range:</p>
<p style="padding-left:30px;">1980-01-01 00:00:00 &#8212; 2107-12-31 23:59:57<br />
2107-12-31 23:59:58 and :59 are shown as &#8221; (blank)</p>
<p>  Remaining timestamps outside the range are translated as &#8221; (blank) .</p>
<p>It must be noted that the timestamp range only refers to the times shown in the GUI list.  When the timestamp of an individual file is examined in the file property dialog (see below),  the coverage appears to be full range of years.</p>
<p>Additionally, the translation on at least one system appears to be off by a few seconds, as the end of the time range shows. Additional testing is required to say if this happens also on other Windows platforms.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/winexplorer.png"><img class="size-full wp-image" id="i-2371" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/winexplorer.png?w=650" /></a></p>
<p>However, when the file &#8217;119 &#8211; SS+59&#8242; is examined by the Properties dialog, the translation is as expected. (A little too late for correction I see that the date format here is in Swedish &#8212; I hope it&#8217;s clear anyway.)</p>
<p><a href="http://forensicfocus.files.wordpress.com/2013/04/winexplorerproperties.png"><img class="size-full wp-image" id="i-2376" alt="Image" src="http://forensicfocus.files.wordpress.com/2013/04/winexplorerproperties.png?w=521" /></a></p>
<h2><b>Interpretation of results</b></h2>
<p><b> </b>In terms of coverage, none of the tools presented above is perfect: all are affected by some kind of restriction to the time period they translate correctly. The tools that comes off best are, in order of the time range they support:</p>
<p style="padding-left:30px;">PowerShell 1.0  (1601&#8211;9999)<br />
Windows Explorer GUI (1980&#8211;2107)<br />
EnCase 6.19 (1970&#8211;2038)</p>
<p> Each of these restricts translations to a subset of the full range, and shows remaining timestamps as blank.  PowerShell additionally sorts by the full binary timestamp value, rather than the time string actually shown.</p>
<p>The Windows Explorer GUI also appears to suffer from an two-second error: the last second of a minute, as well as parts of the immediately preceding second are translated as being the following minute.  This affects the result, but as this is not a forensic tool it has been discounted.</p>
<p>The tools that come off worst are:</p>
<p style="padding-left:30px;">Autopsy 3.0.4<br />
ProDiscover Basic 6.5.0.0<br />
WinHex 16.6 SR-4</p>
<p>Each of these show unacceptably large errors between all or some file time stamps and their translation. ProDiscover comes off only slightly better in that timestamps up to 1970 are all translated as 1970-01-01, and so can be identified as suspicious, but at the other end of the spectrum, the translation error is still approximately the same as for Autopsy: translations are more than 25000 years out of register. WinHex suffers from similar problems: while it flags several ranges of timestamps as &#8216;?&#8217;, it still translates many timestamps totally wrong.</p>
<p>It should be noted that there are later releases of both Autopsy and ProDiscover Basic that have not been tested.</p>
<p>It should probably also be noted that additional tools have been tested, but that the results are not &#8216;more interesting&#8217; that those presented here.</p>
<h2></h2>
<h2><b>How to live with a non-perfect tool?</b></h2>
<ol>
<li>Identify if and to what extent some particular forensic tool suffers from the limitations described above: does it have any documented or otherwise discoverable restrictions on the time period it can translate, and does it indicate out-of-range timestamps clearly and unambiguously, or does it translate more than one timestamp into the same date/time string?</li>
<li>Evaluate to what extent any shortcomings can affect the result of an investigation, in general as well as in particular, and also to what extent already existing lab practices mitigate such problems.</li>
<li>Devise and implement additional safeguards or mitigating actions in the case where investigations are significantly affected .</li>
</ol>
<p>These steps could also be important to document in investigation reports.</p>
<p>In daily practice, the range of timestamps is likely to fall within the 1970&#8211;2038 range that most tools cover correctly &#8212; the remaining problem would be if any outside timestamps appeared in the material, and the extent to which they are recognized as such and handled correctly by the analyst.</p>
<p>The traditional advice, &#8220;always use two different tools&#8221; turns out to be less than useful here, unless we know the strengths and weaknesses of each of the tools.  If they happen to share the same timestamp range, we may not get significantly more trustworthy information from using both than we get from using only one.</p>
<p>A. Thulin<br />
(anders@thulin.name)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2280/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2280&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/04/06/interpretation-of-ntfs-timestamps/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b81ca623a7b3ba35fe111f8bcd148c18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wpathulin</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/autopsy.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/encase1.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/prodiscover1.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/winhex1.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/powershell.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/winexplorer.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/04/winexplorerproperties.png?w=521" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>
	</item>
		<item>
		<title>What are ‘gdocs’? Google Drive Data &#8211; part 2</title>
		<link>http://articles.forensicfocus.com/2013/02/19/what-are-gdocs-google-drive-data-part-2/</link>
		<comments>http://articles.forensicfocus.com/2013/02/19/what-are-gdocs-google-drive-data-part-2/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 09:42:29 +0000</pubDate>
		<dc:creator>scforensics</dc:creator>
				<category><![CDATA[E-Discovery]]></category>
		<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[cloud forensics]]></category>
		<category><![CDATA[electronic discovery]]></category>
		<category><![CDATA[electronic evidence]]></category>
		<category><![CDATA[evidence collection]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2232</guid>
		<description><![CDATA[Following up from the recent post on Google Drive, designed to give a high level introduction to the product, this post will delve a bit deeper into the technical issues relating to the data stored and also the best approach on how to access it. The artefacts discussed in this post are based on Windows &#8230; <a href="http://articles.forensicfocus.com/2013/02/19/what-are-gdocs-google-drive-data-part-2/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2232&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Following up from the recent post on Google Drive, designed to give a high level introduction to the product, this post will delve a bit deeper into the technical issues relating to the data stored and also the best approach on how to access it.</p>
<p>The artefacts discussed in this post are based on Windows 7, however Apple Mac operating systems retain similar data in plists (property lists).</p>
<p>By default data from a user’s Google Drive is stored at C:\Users\USERNAME\Google Drive. In addition to this, there are nuggets of information and data stored on a user’s PC.</p>
<p>If we inspect the following location of the Windows registry we are able to learn a lot more about a particular Google Drive setup on a PC and we are also able to confirm the Google Drive product is indeed installed to that PC, by virtue of this key: <br />
KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products \227C12A7952F67947BAA66855EDFDEFA\InstallProperties</p>
<p>Within this key we can gather a range of information including when Google Drive was first installed, which is a simple date value in the format YYYYMMDD. In addition to this are version numbers and display names.</p>
<p>As you would expect, there is an entry at HKEY_CURRENT_USER\Software\Google\Drive, but there is little stored here.</p>
<p>Staying within the Windows registry by examining the ‘Run Key’ (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run)  we can confirm if Google Drive is set to autorun on startup, which is the default.</p>
<p>The first registry entry I spoke of in this post<br />
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\ 227C12A7952F67947BAA66855EDFDEFA\InstallProperties) contains a long string of characters (GUID) and does not actually mention or refer to Google. In my testing I have found the GUID of 227C12A7952F67947BAA66855EDFDEFA is consistent with all Google Drive installations on Windows, therefore searching for this GUID should identify the location of Google Drive data in the registry.</p>
<p>Stepping out of the registry, there is a great deal of data that can be found within the user profile of a user with Google Drive installed in addition to the Google Drive files themselves.</p>
<p>If the path C:\Users\USERNAME\ AppData\Local\Google\Drive exists a few SQLite databases and further settings files can be inspected.</p>
<p>First we have a file called ‘pid’. Inside this file is a number, which is the Windows process ID relating to the Google Drive application. However the really interesting data is within the SQLite database files here.</p>
<p>The smaller of the 2 databases is ‘sync_config.db’ and this amongst other information contains the registered Google Drive account/email address and the location of Google Drive files &#8211; which by default is C:\Users\USERNAME\Google Drive.</p>
<p>The larger database is ‘snapshot.db’ and contained within it are several tables holding very valuable information. Each file currently stored and not deleted from Google Drive has corresponding entries in the ‘snapshot.db’ database. These entries detail creation and modification dates in unix epoch format (number of seconds elapsed since midnight (UTC) on 1<sup>st</sup> January 1970).</p>
<p>The file names and the link to the files within Google Drive’s web store, which when accessed require the username and password to be provided. Other database entries include a file type, which is referenced by a number instead of the actual file type. There is also an MD5 hash value, which I believe Google use to check for differences in the data during a sync.</p>
<p>If data is deleted from a user’s Google Drive, some interesting things happen. A file deleted from the local Google Drive folder (C:\Users\USERNAME\Google Drive) makes no changes to the ‘snapshot.db’ content, until the Google Drive application is running. Therefore the entry for the deleted file will remain in the database until the Google Drive application is next enabled and synchronised at such time the entry is deleted from the database. Even if this has happened, the information is still potentially retrievable &#8211; I have had success recovering these deleted entries from unallocated space.</p>
<p>Deletion of data via the Google Drive web interface is different again. Much like a Windows operating system (or Mac and others for that matter), when you delete a file, it moves to the ‘Bin’ within the Google web interface and remains here until it is restored or further deleted and permanently removed.</p>
<p>As soon as a file is deleted and moved to the ‘Bin’ and a this action is synchronised  with the local installation of Google Drive and the entry for that file in the ‘snapshot.db’ is removed from the database.</p>
<p>Switching back to the web interface, despite the deleted file being in the ‘Bin’ users can still work on the file via the web interface and they can also restore it back as a live file. During such time and actions the revision history is not lost.</p>
<p>Once the file is restored and Google drive is synchronised with a local Google Drive client again the entry for that file is added back to the ‘snapshot.db’ complete with the original metadata and importantly the original creation date.</p>
<p>It is important to highlight that the metadata stored within the ‘snapshot.db’ is by far the most accurate and reliable.</p>
<p>In contrast, the metadata of the physical files stored in Google Drive accessed by a right-click and properties action is unreliable.</p>
<p>Take the scenario outlined previous where we have deleted a file and restored it back the creation date shown on the Windows properties will be the date the file was synchronised back from Google Drive. The ‘snapshot.db’ however shows the true creation date, which is when the file was first created before the actions of delete and restore.</p>
<p>We know that the presence of a Google Drive has the potential to assist and our eDiscovery and forensic work provided there is a solid understanding of how it operates and how the data can be captured and interrogated.</p>
<p>What are the practicalities and considerations when working with such data? In my first post I highlighted the need to understand Google Drive data and that native Google file types are little more than placeholders to file content stored within Google Drive servers.</p>
<p>What one also needs to appreciate is the importance of the structured databases generated by Google Drive. It is this structured data where we can recover a host of information about the files within Google Drive – the true metadata if you will.</p>
<p>In terms of approach – because Google Drive can be accessed via the Internet is it essential that in forensic and eDiscovery matters one considers both securing and isolating access to such data immediately. This should include removing network connectivity from computers and/or mobile devices to disable further synchronisations of the data. If this was not done and an individual deleted data from the Google web interface, these changes would occur on computers and/or mobile devices.</p>
<p>One should also revisit the point that an individual can in theory delete permanently data from Google Drive via the web interface. As a result that data must be secured quickly and where possible a legal hold put in place to prevent such data being deleted. You  cannot afford to wait or ignore this issue and should try whenever possible to collect data from Google Drive immediately (unless it is not considered to be within scope).</p>
<p>The presence of Google Drive placeholders on computers and/or mobile devices mean there is further work to do in terms of data capture and this work must be performed via the web interface. The Google Drive web interface allows users to download any file or a collection of files locally in a variety of different formats.</p>
<p>One should endeavour to download such data in as close to native format as possible for example a gdoc file as a docx file.</p>
<p>There are several issues to consider when downloading data direct from Google Drive’s web interface including:</p>
<ol>
<li>the question of gaining access with the username and password</li>
<li>jurisdictional considerations,</li>
<li>the potential for loss of metadata.</li>
</ol>
<p>As a consequence best practice will be to capture and preserve both Google Drive files AND the Google drive structured databases so as to give as full a picture as possible.</p>
<p>Make sure you keep an eye on the <a title="Millnet Consulting" href="http://www.millnet-consulting.com/" target="_blank">Millnet blog</a> for further updates.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2232&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/02/19/what-are-gdocs-google-drive-data-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cf25fbf53c67e27d95845e77e949b56f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">scforensics</media:title>
		</media:content>
	</item>
		<item>
		<title>What are ‘gdocs’? Google Drive Data</title>
		<link>http://articles.forensicfocus.com/2013/01/28/what-are-gdocs-google-drive-data/</link>
		<comments>http://articles.forensicfocus.com/2013/01/28/what-are-gdocs-google-drive-data/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 09:57:10 +0000</pubDate>
		<dc:creator>scforensics</dc:creator>
				<category><![CDATA[E-Discovery]]></category>
		<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[cloud forensics]]></category>
		<category><![CDATA[electronic discovery]]></category>
		<category><![CDATA[electronic evidence]]></category>
		<category><![CDATA[evidence collection]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2152</guid>
		<description><![CDATA[As &#8220;the Cloud&#8221; (a varied mix of internet based services ranging from web-based email accounts, on-line storage and services that synchronise data across multiple computers) becomes more relevant and the dominance of the PC or tablet as the exclusive &#8220;home&#8221; for data reduces, the days when simply taking a snapshot of a computer to capture &#8230; <a href="http://articles.forensicfocus.com/2013/01/28/what-are-gdocs-google-drive-data/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2152&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As &#8220;the Cloud&#8221; (a varied mix of internet based services ranging from web-based email accounts, on-line storage and services that synchronise data across multiple computers) becomes more relevant and the dominance of the PC or tablet as the exclusive &#8220;home&#8221; for data reduces, the days when simply taking a snapshot of a computer to capture all available data have gone.</p>
<p>For a number of years Google have offered online solutions for creating, editing and publishing a range of files including Word and Excel. More recently this service has linked into Google Drive, which offers more functionality, but also allows users to synchronise data across various devices. An individual with a Google Drive account is allocated 5Gb of free data storage and can obtain further storage at a cost.</p>
<p><img title="More..." alt="" src="http://www.millnet-consulting.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" />Google Drive supports many of the file types and formats we work with every day including docx, xlsx and pptx. However, any user who creates a new file for example a word processing file via the Google drive website will by default generate a file with an extension of .gdoc (.gslides for a presentation and .gsheet for a spreadsheet). These file types are Google formatted files and are synchronised across all devices running Google Drive.</p>
<p>Running Google drive on a standard Windows PC, by default creates a folder within the user profile. On a Windows 7 PC the Google drive data is stored in the following path C:\Users\USERNAME\Google Drive. Google drive will quite robustly deal with maintaining and synchronising the data as changes are made and a successful synchronisation of the data is indicated by a small green tick and an out of date synchronisation by blue arrows, as shown below.</p>
<p><img alt="gDocs" src="http://www.millnet-consulting.com/wp-content/uploads/2013/01/gDocs.jpg" width="602" height="338" /></p>
<p>By virtue of the gdoc file being created on a PC during the synchronisation process it generates and maintains its own metadata on the PC. By right clicking on the gdoc file and viewing properties you see the usual dates and times (created, modified and accessed).</p>
<p>As you would expect the created date reflects the time the file was first created and successfully synchronised on the PC.</p>
<p>The important point to note is if a file is created via the Google website at 1200 on 1<sup>st</sup> January 2013, but the PC with Google drive installed is not connected to the internet until 1630 on 10<sup>th</sup> January 2013, then the creation date of the gdoc file on the PC will show 1630 on 10<sup>th</sup> January 2013 &#8211; because this was the when the PC sync’d with the Google Drive website. The modification and accessed dates update as you would expect, with the same limitations associated with the created date.</p>
<p>The valuable metadata is stored on the Google drive servers, however this presents us with a challenge:</p>
<ol>
<li>how do we gain access to the account?</li>
<li>and how do we get the metadata out?</li>
</ol>
<p>One important piece of metadata maintained by Google is the revision history.</p>
<p>The revision history is a cross between “track changes” and a backup solution, where Google “snapshots” the data when changes are made and so as to permit users to jump back to any version of the file, prior to those changes having been made, at the click of a button.</p>
<p>This means that it is possible to see what a document looked like several days ago after a number of changes to the content have been made. This is fantastic information, however it is not readily available to download or capture in an offline form.</p>
<p>Instead, this data can only be captured by communicating with the Google Drive using its own coding API. This is tricky and a challenge, nevertheless with the appropriate programming skills the revision history data can be captured.</p>
<p>If we take a deeper look at the gdoc file which is created on a PC we notice it is tiny and only 1Kb in size. The reason for this is because the content of the actual file is not stored on your PC. The gdoc file is nothing more than a pointer to the data on the Google Drive Server.</p>
<p>If we look inside the gdoc file it contains a URL which itself is a unique reference to the data on the Google Drive systems and only those with appropriate account credentials can view the data. This is true of gslides  and gsheet files also.</p>
<p>There are important considerations when dealing with Google formatted data including documents, spreadsheets and presentations.</p>
<ul>
<li>First; forensically imaging PCs with Google Drive installed and Google formatted files stored on the PC is an incomplete exercise because, although the PC holds pointers to data held on the Google server, it does not hold the actual data.</li>
<li>Second, there is a huge amount of valuable information stored on Google drive about files, in particular the revision history. Where Google Drive is in use, efforts should be made to harvest this data with a view to building, if necessary, a more detailed picture of the evolution of the file.</li>
</ul>
<p>For clarity, I should add that files in a non-Google format that are stored in a user’s Google Drive are synchronised and stored in full on users PCs: they do not adopt the same pointer system that is utilised by Google formatted files.</p>
<p>Keep an eye on our<a title="Millnet Consulting" href="http://www.millnet-consulting.com/" target="_blank"> blog page</a> for future posts relating to this topic</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2152&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/01/28/what-are-gdocs-google-drive-data/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cf25fbf53c67e27d95845e77e949b56f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">scforensics</media:title>
		</media:content>

		<media:content url="http://www.millnet-consulting.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" medium="image">
			<media:title type="html">More...</media:title>
		</media:content>

		<media:content url="http://www.millnet-consulting.com/wp-content/uploads/2013/01/gDocs.jpg" medium="image">
			<media:title type="html">gDocs</media:title>
		</media:content>
	</item>
		<item>
		<title>Bad Sector Recovery</title>
		<link>http://articles.forensicfocus.com/2013/01/21/bad-sector-recovery/</link>
		<comments>http://articles.forensicfocus.com/2013/01/21/bad-sector-recovery/#comments</comments>
		<pubDate>Mon, 21 Jan 2013 16:01:41 +0000</pubDate>
		<dc:creator>dmitrypostrigan</dc:creator>
				<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2109</guid>
		<description><![CDATA[Bad Sector Recovery Hard drives are built in a way so that they never return unreliable data. This means that if a hard drive cannot guarantee 100 percent accuracy of the data requested, it will simply return an error and will never give away any data at all. This article explains how bad sector recovery &#8230; <a href="http://articles.forensicfocus.com/2013/01/21/bad-sector-recovery/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2109&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><b>Bad Sector Recovery</b></p>
<p>Hard drives are built in a way so that they never return <i>unreliable data</i>. This means that if a hard drive cannot guarantee 100 percent accuracy of the data requested, it will simply return an error and will never give away any data at all.</p>
<p>This article explains how bad sector recovery actually works and why it needs to be done with great caution.</p>
<p><b>Understanding Bad Sectors</b></p>
<p>General causes of bad sector formation are physical or magnetic corruption. Physical corruption is easy to understand—it occurs when there is physical damage done to the media surface. Magnetic corruption occurs when a hard drive miswrites data to a wrong location. While the latter may seem to be less damaging, it is actually as dangerous as physical damage, as miswritten data may damage not only adjacent sectors but also servo sectors.</p>
<p><img class="alignnone size-full wp-image-2110" alt="sector" src="http://forensicfocus.files.wordpress.com/2013/01/sector.png?w=750"   /></p>
<p>Regardless of the cause of damage, there are several possible outcomes:</p>
<ul>
<li>Address Mark field corruption</li>
<li>Data corruption</li>
<li>ECC field corruption</li>
<li>Servo sector corruption</li>
<li>Or any combination of these</li>
</ul>
<p>What is common in all these types of corruption is that your operating system or normal data recovery tools cannot read the data from those sectors anymore.</p>
<p>Let’s find out exactly what happens when a tool tries to read a sector that has one of the above-mentioned problems.</p>
<p><b>Address Mark corruption</b></p>
<p>When Address Mark is corrupted, the hard drive simply cannot find the requested sector. The data might still be intact, but there is no way for the hard drive to locate it without the proper ID. Some modern hard drives do not actually use sector ID or Address Mark in the sector itself; instead, this information is encoded in the preceding servo sector.</p>
<p><b>Data corruption</b></p>
<p>To verify data integrity, a hard drive will always validate it with the error checking and correction algorithm using the ECC code written after the data field (see above diagram). When data is corrupted, the hard drive will try to recover it with the same ECC algorithm. If correction succeeds, the drive will return the sector data and will not report any error. However, if correction fails, the drive will only return an error and no data, even if the data is partially intact.</p>
<p><b>ECC field corruption</b></p>
<p>Although this is rare, the ECC code can also get corrupted. In this case, the drive reads perfectly good data from the sector and checks its integrity against the ECC code. The check fails due to the bad ECC code, and the drive returns an error and no data at all, because there is no way to verify data integrity.</p>
<p><b>Servo sector corruption</b></p>
<p>There are up to a few hundred servo sectors on a single track. Servo sectors contain positioning information that allows the hard drive to fine-tune the exact position of the head so that it stays precisely on track. They also contain the ID of the track itself.</p>
<p>Servo sectors are used for head positioning in the same way a GPS receiver uses satellites—to exactly determine the current location. When a servo sector is damaged, the hard drive can no longer ensure that the data sectors following the servo sector are the ones it is looking for and will abort any read attempt of the corresponding sectors.</p>
<p><b>How Bad Sector Recovery Works</b></p>
<p>Once again, hard drives are built to never return data that did not pass integrity checks.</p>
<p>However, it is possible to send a special command to the hard drive that specifically instructs it to disable error checking and correction algorithms while reading data. The command is called Read Long and was introduced into ATA/ATAPI standard since its first release back in 1994. It allowed reading the raw data + ECC field from a sector and returning it to the host PC as is, without any error checking or correction attempt. The command was dropped from the ATA/ATAPI-4 standard in 1998; however, most hard drive manufacturers kept supporting it.</p>
<p>Later on, when hard drives became larger in capacity and LBA48 was introduced to accommodate drives larger than 128 GiB, the command was officially revived in a SMART extension called SMART Command Transport or SCT.</p>
<p>Obviously, since the drive does not have to verify the integrity of data when the data is requested via the Read Long command, it would return the data even if it is inconsistent (or, in other words, the sector is “Bad”). Hence, this command quickly became standard in bad sector recovery.</p>
<p>There is also another approach which is based on the fact that some hard drives leave some data in the buffer when a bad sector is encountered. However, our tests have shown that chances of getting any valid data this way are exactly zero.</p>
<p><b>Debunking Bad Sector Recovery</b></p>
<p>So to “recover” data from a bad sector, one would simply need to issue the Read Long command instead of the “normal” Read Sectors command. That is really it! It is so simple any software developer who is familiar with hard drives can do it. And sure enough, more and more data recovery tools now come with a Bad Sector Recovery option. In fact, it has come to the point where if a tool does not have a bad sector recovery feature, it automatically falls into a second-grade category.</p>
<p>Error checking and correction algorithms were implemented for a reason, which is <i>data integrity</i>. When a hard drive reads a sector with the Read Long command, it disables these algorithms and hence there is no way to prove that you get valid data. Instead, you get <i>something</i>, which may or may not <i>resemble</i> your customer’s data.</p>
<p>Tests in our lab had shown that, in reality, by using this approach, you will get much more random bytes than anything else. Yes, there are cases where this approach allows recovering original data from a sector, but these cases are <b>extremely rare in real data recovery scenarios</b>, and even then, only a part of the recovered sector will contain valid data.</p>
<p>Even when we got some data off the damaged sector, what exactly should we do with its other (garbled) part? And how exactly do we tell which part of the sector has real data in it and which is just random bytes? Nobody is going to manually go through all the sectors in a HEX editor and judge which bit is valid and which is not. Even if someone did, there is no way to guarantee that what they see is valid data.</p>
<p>And this is where the real problem starts.</p>
<p><b>Dangers of Read Long approach</b></p>
<p>Imagine a forensic investigator recovering data off a suspect’s drive while the drive has some bad sectors on it. To get more data off the drive, the investigator enabled Bad Sector Recovery option in his data acquisition tool. In the end, his tool happily reported that all the sectors were successfully copied, so he began extracting data from the obtained copy.</p>
<p>While looking for clues, he found a file that had social security numbers in it. He then used these numbers in one way or another for his investigation.</p>
<p>What he did not know is that one of the sectors that contained these numbers was recovered via the Read Long command, and some bits were flipped (which is very common for this approach). So instead of 777-677-766, he got 776-676-677, causing him and other people a whole lot of unnecessary trouble.</p>
<p>Another example: when recovering a damaged file system, even slightly altered data in an MFT record can mislead the file recovery algorithm and in the end do much more harm than if there was no data copied at all in that sector.</p>
<p>Once again, an error checking and correction algorithm is in place for a great reason. There is absolutely no magic in bad sector recovery; it is impossible to recover something that just isn’t there.</p>
<p>There are tools that claim better bad sector recovery because they utilize a statistical approach, an algorithm where the tool reads the bad sector a number of times and then reconstructs the “original” sector by locating the bits that occur most often in the sector. While these tools claim this approach <i>could</i> improve the outcome, there is no evidence to back up the validity of such claims. Furthermore, rereading the same spot many times while the hard drive is failing is a good way to cause permanent damage to the media or heads.</p>
<p>To summarize, if you are after valid data, avoid using any bad sector recovery algorithms. These algorithms will never offer data integrity no matter how complex their implementation is. And when you absolutely must recover data from bad sectors, make sure you use a tool that properly accounts for these recovered sectors, marking the files containing such sectors. This way, the operator has the ability to disregard such “unreliable” files and manually verify file integrity if it is an important one.</p>
<table style="border:none;">
<tbody>
<tr>
<td style="border:none;"><img class="alignnone size-full wp-image-2113" alt="" src="http://forensicfocus.files.wordpress.com/2013/01/ra-dmytro-2012-03-03-100px.jpg?w=750"   /></td>
<td style="border:none;"><i>Dmitry Postrigan is the founder and CEO of <a title="Atola Technology" href="http://atola.com/">Atola Technology</a>, a Canadian company that makes high-end data recovery and forensic equipment.</i></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2109&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/01/21/bad-sector-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d2acb2cc6d476c576ba841fbe5f0b98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dmitrypostrigan</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/01/sector.png" medium="image">
			<media:title type="html">sector</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2013/01/ra-dmytro-2012-03-03-100px.jpg" medium="image" />
	</item>
		<item>
		<title>Forensic Artifact: Malware Analysis in Windows 8</title>
		<link>http://articles.forensicfocus.com/2013/01/10/forensic-artifact-malware-analysis-in-windows-8/</link>
		<comments>http://articles.forensicfocus.com/2013/01/10/forensic-artifact-malware-analysis-in-windows-8/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 17:44:25 +0000</pubDate>
		<dc:creator>inf0secinstitute</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2100</guid>
		<description><![CDATA[Windows is the most used operating system worldwide. I have met a lot of IT guys in my country and also other computer elites. My discovery was that 90 percent of them use Windows. I felt maybe that was just in my country, then I decided to contact some friends from UK, USA, India, and &#8230; <a href="http://articles.forensicfocus.com/2013/01/10/forensic-artifact-malware-analysis-in-windows-8/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2100&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt1.jpg" /></p>
<p>Windows is the most used operating system worldwide. I have met a lot of IT guys in my country and also other computer elites. My discovery was that 90 percent of them use Windows. I felt maybe that was just in my country, then I decided to contact some friends from UK, USA, India, and Pakistan, and they said the same about the wide use of Windows OS in their countries. However, the case was a bit different for that of the guy in the USA and I also noticed that a lot of my friends there use the MAC OS X. This doesn&#8217;t change the fact that Windows is still more used worldwide and because of this, hackers and intruders have had a lot more time to study Windows and create a lot of malware for it. The popular Windows OS has been tagged the most vulnerable OS. Now there is a new Windows OS. The question is: Is it vulnerable as well?</p>
<p>This article focuses on the new version of Windows. Windows 8 was released on October 26, 2012. It was designed to work perfectly on a touch screen. The interface is so catchy!!</p>
<p>As a computer lover, I follow a page on Facebook named &#8220;computer freaks.&#8221;</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt2.jpg" /></p>
<p>Recently, this picture was posted, showing that in the timeline of the Microsoft Windows operating system they have always had a good OS, then a bad OS, and then a good one again. Kind of like an arithmetic progression with a common difference of one among the good Windows operating system. Because of this, I decided to do an analysis on this Windows 8 edition of Microsoft Windows to see what will really make it bad or &#8220;SHIT,&#8221; as the picture puts it.</p>
<p>I began to do research on Windows 8 and I discovered that three patches have already been released for Microsoft&#8217;s new operating system. This reminds me of when Vista was released, there were so many patches that they just had to make a better version of Windows OS (Windows 7). I&#8217;ve used Windows 7 for a long time and I&#8217;ve also met some Windows 7 power users that can testify that it is a good one from Microsoft. However, I still think Windows XP stands a higher ranking when we focus on system stability.</p>
<p>Speaking more fully of malware, one of Microsoft&#8217;s major objectives is to reduce the risk of their OS being infected by malware. As a result, several measures have been taken to reduce the chances of malware infection in Windows 8. Jason Garms of Microsoft has provided some tips on how to keep your PC free from malware in the link below:</p>
<p><a href="http://blogs.msdn.com/b/b8/archive/2011/09/15/protecting-you-from-malware.aspx">http://blogs.msdn.com/b/b8/archive/2011/09/15/protecting-you-from-malware.aspx</a></p>
<p>Windows 8 has proven to be less vulnerable to malware, because the Windows Defender that comes with it is very active with good heuristics for detecting malwares. Even with all the new security, the common saying still remains true: there is no total security and therefore you cannot be totally secure from malware on Windows 8 but the risk of being affected by malware is just reduced. Windows 8 got better in a lot of ways to the point that their error page had a transformation.</p>
<p>This doesn&#8217;t have to do with malware, but one thing I still don&#8217;t like about the Windows OS is the inability to retain commands on the console (command prompt) after the cmd is closed and reopened. For those who work more on the console, you can imagine using a lot of very long commands and then, simply because you mistakenly closed this console session, when you open another, all those commands are gone and you need to retype them. This is unlike the terminal (console) in Linux.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt3.jpg" /></p>
<p>I read and heard from different sources that Windows 8 was secure but I am a big time skeptic, so I had to prove it to myself. To be sure of the fact that Windows 8 is not so vulnerable to malware, I had to start by creating a proRAT Trojan server with my Windows 7 machine and then I sent it to my Windows 8. I have tried this Trojan several times and I&#8217;m no novice with it. I used it often in the days when I loved threatening schoolmates in the network, and I still have a good handle on it. As soon as I sent the server file to the Windows 8 OS with an external drive, Windows Defender deleted it. This was really amazing. I don&#8217;t have any third-party AV installed and my computer could react that way with malware. I had even seen some Windows 7 OS with third-party AVs that will not detect the server file due to poor heuristics. However, one third-party AV you can rely on to some extent is Norton with its bloodhound heuristics. The image below is what I got when I put my Trojan server on Windows 8:</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt4.jpg" /></p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt5.jpg" /></p>
<p>The image below contains the hexadecimal of the Trojan server that was used</p>
<p>Windows 8 is indisputably the most secure Microsoft Windows, but we cannot still match its malware detection with MAC OS X. I realized that the Windows 8 defender that protects us from malware is the popular Microsoft Security Essentials. It&#8217;s good the way they saved us the cost of buying Microsoft Security Essentials separately.</p>
<p>There are interesting testimonies everywhere about Windows 8 and its safe usage and security but this doesn&#8217;t make it impeccable. Although I&#8217;ve not personally found any faults in Windows 8, from my research I discovered that the new Windows version that was released already had its first security patch on November 13, 2012, which was just a few weeks after it was released.</p>
<p>Also, not that I&#8217;m very sure about this, but I came across an article that said the Bitdefender company had tested some malware on Windows 8 and one piece of malware had its way with Windows 8. This particular malware is capable of creating backdoors that allow hackers to remotely control the computer of the host and also to steal gaming credentials and a lot more.</p>
<p>However, the company used malware collected over the last six months, which is not ideal, because the test sample won&#8217;t include every threat and also because every antivirus product misses some software nastiness, giving a greater chance to the attacker.</p>
<p>Bitdefender also tested the malware by fetching a copy of the malicious code from an internal FTP server and executing it to see how far the malware progresses&#8211;as opposed to visiting a booby-trapped web page that attempts to compromise the PC, which is a more common method of infection. In theory, there should be little difference, but this methodology bypasses Windows Defender&#8217;s SmartScreen, which filters out phishing attacks and malware downloads when using Internet Explorer.</p>
<p>Well, this is not an issue to make you reconsider using Windows 8, because a lot of antivirus vendors are just trying to find a fault in the Windows Defender (built-in Microsoft Security Essentials) in order to provide a chance for their own AVs.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt6.jpg" /></p>
<p>Another test I tried is the backdoor. I installed WAMP server in Windows 8 on my VMware and I tried to upload a backdoor shell onto it from my host operating system. I kept trying this but to no avail. Then I tried to manually drop the shell into the guest Windows 8 OS server directory. It turned out while cleaning up the file that I received a message notifying me that malware was detected and could not be accessed.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt7.jpg" /></p>
<p>I know c99, c100, GNY, and r57 shells are very well-known and restricted by a lot of anti-malware programs. Because of this, I tried to use a WSO shell, but it was still functionless.</p>
<p>Left to me, I will say that Windows 8 is like a means to put an end to a hacker&#8217;s invasion on web servers. Probably, if most webservers on Linux OS are moved to Windows 8, the hackers would have a lesser chance to upload backdoor shells to damage our web contents.</p>
<p>Since some of the antivirus companies have predicted future security shortcomings on the secure Windows 8, we also have to be prepared to keep our PCs protected.<br />
I will start by providing you with good software for analyzing Windows executable files. With this software, you can check to see if there is anything attached with an executable application you want to run on your computer. It is called PEid, which identifies &#8220;portable executables.&#8221;</p>
<p>Download with the MediaFire link: <a href="http://www.mediafire.com/?f2yu4wzbrq3bp2a" target="_blank">http://www.mediafire.com/?f2yu4wzbrq3bp2a</a></p>
<p>If it happens an attacker successfully finds way to drop his malware on your PC, you can also remove it manually from your computer, but you must be very careful because there are some malwares with anti-tracing features that can make your OS crash the moment you detect them.</p>
<p>So to find them, you will go to your registry and follow the given registry keys to check for these malwares:<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion\explorer\Usershell folders<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrenVersion\RunServicesOnce<br />
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce<br />
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components<br />
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\VMM32Files<br />
HKEY_LOCAL_MACHINE\System\CurrentControlSet\services\VxD</p>
<p>The reason for locating the malware yourself is because of polymorphic malwares. These are malwares that make it impossible for antivirus and firewalls to detect them.<br />
Some of the malwares can make themselves run at your system startup by replicating themselves to the following:</p>
<p>Config.sys (a system32 folder)</p>
<p>Autoexec.bat (rootdrive)</p>
<p>System.ini (Windows folder)</p>
<p>Before using the registry keys to locate the files, you may consider disconnecting yourself from the network where it&#8217;s likely an attacker is using the malware to attack you.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt8.jpg" /></p>
<p>After locating any suspicious file in the registry keys, you can double-click the file to find its path, as the image below shows:</p>
<p>As a regular Windows user, you should know we can&#8217;t delete files that are working in the background, so we need to check for this file in the task manager processes and stop it.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt9.jpg" /></p>
<p>That&#8217;s not malicious software, but it&#8217;s the exact file I examined in the registry. If it were malicious, I would just click the &#8220;End Process&#8221; button to put an end to its work. Now you can go back to the directory you were given by the registry and delete the file. After this, you will need to restart your PC if you know the malicious software has not caused much damage to your computer. If it has eaten some of your system files up, you may need to upgrade your Windows OS by using an installation CD to go through the installation process again. This way your files remain intact in a folder, &#8220;WindowsOld,&#8221; in your C: directory.</p>
<p>I have given a link to download the PEid. Now I will show you a little way to make use of this software in examining your executable files.</p>
<p>When you unpack the rar file I gave in the link, you will see an interface like the one below:</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt10.jpg" /></p>
<p>Do not mind the Windows Explorer look of my own software, it&#8217;s just a skinpack. On your PC, the three blue dots should be minimize, maximize, and close button. To check details about a particular exe file, you can select the file in the first option of the PEid GUI.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt11.jpg" /></p>
<p>Now to check the active processes that may include the malware, you can click &#8220;Task Viewer,&#8221; which gives you a result like the task manager does. When you select any task, it will show every file attached to the process and working with it. PEid is a really good solution for malware detection.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt12.jpg" /></p>
<p>Windows 8 Defender uses the colors green, yellow, and red to show its security level. To make your Windows 8 more secure from malwares, I will advise that you should update Windows Defender as often as possible, as you would any third-party antivirus if you really want to stay secure.</p>
<p><img alt="" src="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt13.jpg" /></p>
<p>Sometimes malware will be placed in software that you already have on your PC. For instance, suppose you downloaded a game that was functioning properly before it started malfunctioning. It is advisable to do an md5 checksum on downloaded files so when it gets suspicious, you can do a checksum again to compare with the previous test and then you will be able to say if it has been tampered with. You can download software for checking your md5 on Windows here:</p>
<p><a href="http://www.4shared.com/zip/qsq6WC8O/NetTools4574.html" rel="nofollow">http://www.4shared.com/zip/qsq6WC8O/NetTools4574.html</a></p>
<p><i>Joseph Orekoya is a security researcher for InfoSec Institute. </i><a href="http://www.infosecinstitute.com/"><i>InfoSec Institute</i></a><i> is a security certification company that has trained over 15,000 people including popular CEH and </i><a href="http://www.intenseschool.com/boot_camp/cisco/ccna"><i>CCNA certification courses</i></a><i>.</i></p>
<p>References</p>
<p><a href="http://www.pcworld.com/article/2013807/windows-8-already-getting-security-patches.html" rel="nofollow">http://www.pcworld.com/article/2013807/windows-8-already-getting-security-patches.html</a></p>
<p><a href="http://blogs.msdn.com/b/b8/archive/2011/09/15/protecting-you-from-malware.aspx" rel="nofollow">http://blogs.msdn.com/b/b8/archive/2011/09/15/protecting-you-from-malware.aspx</a></p>
<p><a href="http://www.anandtech.com/show/4822/windows-8-malware-protection-detailed" rel="nofollow">http://www.anandtech.com/show/4822/windows-8-malware-protection-detailed</a></p>
<p><a href="http://windows.microsoft.com/en-US/windows-8/windows-defender#1TC=t1" rel="nofollow">http://windows.microsoft.com/en-US/windows-8/windows-defender#1TC=t1</a></p>
<p><a href="http://www.theregister.co.uk/2012/06/21/win8_security/" rel="nofollow">http://www.theregister.co.uk/2012/06/21/win8_security/</a></p>
<p><a href="http://propellerheadforensics.files.wordpress.com/2012/05/thomson_windows-8-forensic-guide2.pdf" rel="nofollow">http://propellerheadforensics.files.wordpress.com/2012/05/thomson_windows-8-forensic-guide2.pdf</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2100&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2013/01/10/forensic-artifact-malware-analysis-in-windows-8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18d0f1f9c041d6dde44ff7df35884e91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">inf0secinstitute</media:title>
		</media:content>

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt1.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt2.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt3.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt4.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt5.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt6.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt7.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt8.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt9.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt10.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt11.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt12.jpg" medium="image" />

		<media:content url="http://resources.infosecinstitute.com/wp-content/uploads/010313_1244_ForensicArt13.jpg" medium="image" />
	</item>
		<item>
		<title>Windows 8:  Important Considerations for  Computer Forensics and  Electronic Discovery</title>
		<link>http://articles.forensicfocus.com/2012/12/09/windows-8-important-considerations-for-computer-forensics-and-electronic-discovery/</link>
		<comments>http://articles.forensicfocus.com/2012/12/09/windows-8-important-considerations-for-computer-forensics-and-electronic-discovery/#comments</comments>
		<pubDate>Sun, 09 Dec 2012 07:08:33 +0000</pubDate>
		<dc:creator>Larry Lieb</dc:creator>
				<category><![CDATA[E-Discovery]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[e-discovery]]></category>
		<category><![CDATA[forensic methodology]]></category>
		<category><![CDATA[forensic software]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2072</guid>
		<description><![CDATA[Introduction Documents identified by computer forensic investigations in civil litigation typically require review and analysis by attorneys to determine if the uncovered evidence could support causes of action such as breach of contract, breach of fiduciary duty, misappropriation of trade secrets, tortious interference, or unfair competition.  In addition, bit-for-bit forensic imaging of workstations is also &#8230; <a href="http://articles.forensicfocus.com/2012/12/09/windows-8-important-considerations-for-computer-forensics-and-electronic-discovery/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2072&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><b>Introduction</b></p>
<p>Documents identified by computer forensic investigations in civil litigation typically require review and analysis by attorneys to determine if the uncovered evidence could support causes of action such as breach of contract, breach of fiduciary duty, misappropriation of trade secrets, tortious interference, or unfair competition.  In addition, bit-for-bit forensic imaging of workstations is also commonly used as an efficient method to quickly gather evidence for further disposition in general commercial litigation matters.  For example, instead of relying upon individual custodians to self-select and copy their own files, forensic images of workstations can be accurately filtered down to exclude system files, which only a computer can understand, and identify files which humans do use such as Microsoft Word, Excel, PowerPoint, Adobe PDF files and email.  In any of the above situations, be it a trade secrets type matter or a general commercial litigation case, litigants are always highly sensitive to the potential costs associated with attorney review.</p>
<p>Now that Microsoft Windows 8 workstations are available for sale and will likely be purchased for use by corporate buyers, civil cases involving the identification and analysis of emails from such machines is a certainty.  Recently, excellent computer forensic research on Windows 8 performed by <strong>Josh Brunty, Assistant Professor of Digital Forensics at Marshall University</strong> revealed that “In addition to Web cache and cookies, user contacts synced from various social media accounts such as Twitter, Facebook, and even e-mail clients such as MS Hotmail are cached with the (<i>sic</i> Windows 8) operating system”  <strong>(source:  <a href="http://www.dfinews.com/article/microsoft-windows-8-forensic-first-look?page=0,3">http://www.dfinews.com/article/microsoft-windows-8-forensic-first-look?page=0,3</a>)</strong>.  Building on Professor Brunty’s scholarship, I set out to determine the extent, amount, and file formats email communications exist on a Windows 8 machine.  In addition, a goal was to identify any potential issues for processing locally stored communications for attorneys review in the discovery phase of civil litigation.</p>
<p>As you will see, the format in which Windows 8 stores email locally does in fact present potentially significant challenges to cost effective discovery in both trades secret type matters as well as general commercial litigation cases.  Fear not as my conclusion offers some potential solutions as well as other important considerations.  I have written this article in detailed steps so that others might more easily duplicate my results.</p>
<p><b>Testing</b></p>
<p>My testing was performed on the Release Preview version of Windows 8, so I will be upgrading the subject workstation to the current retail version, re-running my tests and reporting the results in a later publication.</p>
<p><b>1.  Subject Workstation “Laptop”</b></p>
<ul>
<li>Manufacturer:  Dell Latitude D430</li>
<li>Specifications:  Intel Core 2 CPU U7600 @ 1.20GHz / 2.00GB Installed RAM /</li>
<li>OS:  Windows 8 Release Preview / Product ID:  00137-11009-99904-AA587</li>
<li>HARD DRIVE:  SAMSUNG HS122JC ATA Device / Capacity 114,472 MB</li>
</ul>
<p><b>2.  Windows 8 Installation</b></p>
<p>The Dell Laptop originally came with Windows XP Professional installed, but I replaced XP with Windows 8 Release Preview (“W8”) using an installation DVD burned from the W8 .ISO file provided by Microsoft’s website.</p>
<p><b>3.  Windows 8 Preparation</b></p>
<p>I created a single user account called “User” with a password of “password”.  After the W8 initiation phase ended, I was presented with the new “tile” interface, which is much more akin to an iPhone, iPad, Android metaphor.  Unfortunately, my Dell laptop did not enjoy a touch screen that would have allowed me to take more advantage of the tiles.  Even on this older machine, the built in track pad and other mouse controls all worked perfectly out of the box, so I was able to proceed with installing various communication applications.</p>
<p><b>A.  Connecting the Windows 8 laptop to web based accounts</b></p>
<p>On W8’s default new tile screen, there are three key tiles I began with; “People”, “Messaging” and “Mail”.  Within the “People” tab, I connected my contacts to my Microsoft, Facebook, LinkedIn and Google accounts.  Connecting to these external accounts brought in a flurry of contact profile pictures, email addresses, phone numbers, physical addresses, company name, job title and website from LinkedIn.  Interestingly, my own record, “Me”, did not import a profile picture from any of my online accounts, leaving a generic silhouette tile.  Perhaps LinkedIn, Gmail and Facebook are excluded from choosing my local Windows 8 profile by Microsoft.  I do not have a profile picture associated with my Microsoft Live account, which might be the cause of the missing profile picture.</p>
<p>Below is the end-user view under the Windows 8 “Mail” tile showing imported emails from my Google Gmail account:</p>
<ul>
<li>Inbox: 34</li>
<li>Drafts:  0</li>
<li>Sent items:  15</li>
<li>Outbox:  0</li>
<li>Junk:  0</li>
<li>Deleted items:  22</li>
<li>[Gmail] / All Mail:  34</li>
<li>[Gmail] / Spam:  0</li>
<li>[Gmail] / Starred:  2</li>
<li>[Gmail] / FORENSIC:  1</li>
<li>[Gmail] / Receipts:  0</li>
<li>[Gmail] / Scarab:  2</li>
<li>[Gmail] / Travel:  0</li>
</ul>
<p><b>4.  End User Installed Applications</b></p>
<p>I installed the following four applications on the laptop:</p>
<p><strong>A.  Programs recorded by the Control Panel:</strong></p>
<p>1.  Adobe Flash Player 11 Plugin ver. 11.4.402.287</p>
<p>2.  Google Chrome ver. 23.0.1271.64</p>
<p>3.  Mozilla Firefox ver. 16.0.2 (x86 en-US)</p>
<p><strong>B.  Programs listed under Windows 8’s “Store” tile:</strong></p>
<p>1.  Tweetro (I did not link to any Twitter account)</p>
<p>2.  Xbox Live Games (using Microsoft account user name “larry_lieb@yahoo.com”)</p>
<p>Using the Chrome browser, I logged into my Google account and installed “Gmail Offline” to see what effect this add-on would have.  After installing “Gmail Offline”, the Chrome icon now appears in the system tray by default when viewing the Desktop.  I then logged in to a newly created Yahoo account, which I called “<a href="mailto:larry.lieb@yahoo.com">larry.lieb@yahoo.com</a>”.  I sent and received several emails both two and from my Yahoo/Gmail accounts.  While logged into my Yahoo.com email account, I imported contacts from my LinkedIn account.  Now that I had created multiple sources of email and instant message correspondences, I set about imaging the laptop.</p>
<p><b>5.  Forensic Imaging</b></p>
<p>I used Forward Discovery’s Raptor 2.5 (<a href="http://forwarddiscovery.com/Raptor">http://forwarddiscovery.com/Raptor</a>) installed to a USB flash drive from the Raptor 2.5 .ISO file using Pendrivelinux.com’s free USB Linux tool.  I changed the boot order to USB drive first which then caused the laptop to boot the Raptor 2.5 operating system instead of Windows 8.</p>
<p>Within Raptor 2.5, I used the Raptor Toolbox to first mount a previously wiped and formatted external Toshiba hard drive, which was connected to the laptop via a USB cable.  The total imaging and image verification process took close to eleven hours due to the slow USB connection.  The internal Samsung hard drive uses a ZIF zero insertion force connector, so although I may have been able to achieve a faster imaging time using my Tableau ZIF to IDE tool (<a href="http://www.tableau.com/index.php?pageid=products&amp;model=TDA5-ZIF">http://www.tableau.com/index.php?pageid=products&amp;model=TDA5-ZIF</a>), I was loathe to tempt equipment failure as Tableau states, “ZIF connectors are not very robust and they are typically rated for only 20 insertion/removal cycles.”  In addition, the Tableau kit only comes factory direct with Toshiba and Hitachi cables, which would not work with the Samsung drive.</p>
<p><b>6.  Indexing</b></p>
<p>Using Passmark’s OSForensics ver. 1.2 Build 1003 (64 Bit) on my Digital Intelligence µFred forensic station (<a href="http://www.digitalintelligence.com/products/ufred/">http://www.digitalintelligence.com/products/ufred/</a>), I created an index of the Windows 8 files contained within the Raptor 2.5 created Encase evidence files.  OSForensics was able to create an index of the entire contents in around one hour.</p>
<p>Under OSForensics’ “File Name Search” tab, I ran searches for common email file types.  Out of 142,712 total items searched, OSForensics identified:</p>
<p><strong>A.  2,204 items using the search string “*.eml”</strong></p>
<p><strong>B.  0 items using the search string “*.msg”</strong></p>
<p><strong>C.  0 items using the search string “*.pst”</strong></p>
<p><strong>D.  0 items using the search string “*.mbox”</strong></p>
<p>Using OSForensics “Create Signature” tab, I was able to run and export a  Hash value and file list report for the folder “1:\Users\User\AppData\Local\Packages\”.</p>
<p><b>7.  .EML files</b></p>
<p>Using AccessData’s FTK Imager 3.1.1.8, I exported the contents of the folder path, “Users\User\AppData\Local\Packages\microsoft.windowscommunicationsapps_8wekyb3d8bbwe\LocalState\Indexed\LiveComm\larry_lieb@yahoo.com\”.</p>
<p>I noticed that there are two interesting folders that might warrant different treatment for electronic discovery projects:</p>
<p><b>A.  Location of folder storing .EML files containing email communication:</b></p>
<p>OSForensics found 264 .EML files under the <b>“Mail”</b> folder path:</p>
<p>“microsoft.windowscommunicationsapps_8wekyb3d8bbwe\LocalState\Indexed\LiveComm\larry_lieb@yahoo.com\120510-2203\<b>Mail</b>\”</p>
<p><b>B.  Location of folder storing .EML files containing contacts:</b></p>
<p>OSForensics found 1,939 .EML files under the <b>“People”</b> folder path:</p>
<p>“microsoft.windowscommunicationsapps_8wekyb3d8bbwe\LocalState\Indexed\LiveComm\larry_lieb@yahoo.com\120510-2203\<b>People</b>\”</p>
<p><b> </b><b>C.  Location of folder storing my “User” .EML contact file:</b></p>
<p>OSForensics found 1 .EML files under the “microsoft.windowsphotos \..\People\Me” folder path that contains my “User” profile:</p>
<p>“Users\User\AppData\Local\Packages\microsoft.windowsphotos_8wekyb3d8bbwe\LocalState\Indexed\LiveComm\larry_lieb@yahoo.com\120510-2203\People\Me”</p>
<p><b>Conclusion</b></p>
<p>In electronic discovery projects that utilize forensic imaging tools to capture workstation hard drives, it is common for data filtering to be requested such as D-NIST’ing, file type, key word, date range and de-duplication.  Often times, a file type “inclusion” list will be used to identify “user files” for further processing such as Microsoft Word, Excel, Powerpoint, Adobe PDF, and common email file types such as .PST, .MSG., and .EML.  Files found in the forensic image(s) will be exported for further processing and review by attorneys.</p>
<p>One of the challenges attorneys face in electronic discovery is reasonably keeping costs low by avoiding human review of obviously non-relevant files.  However, as Windows 8 appears to be storing contacts from LinkedIn, Gmail, and other sources as .EML files, it is apparent that using file type filtering inclusion lists with .EML as an “include” choice, will bring in many potentially non-relevant files.</p>
<p>If an attorney is billing at a rate of $200/hour, and can review fifty documents per hour, then the 1,938 “contact” .EML files alone would require 38.78 hours of attorney review time at a cost to the client of $7,756.00.  Therefore, it may make sense for all parties to stipulate that .EML files from the “People” folder be excluded from processing and review unless the hard drive custodian’s contact list is potentially relevant to the underlying matter.</p>
<p>In some cases, litigants do not or cannot pay for outside vendor electronic discovery processing fees and will direct their counsel to simply produce their electronically stored information.  I advise against this practice as the potential for producing privileged or protected information exists with this approach.  A requesting party may also object to the costs de facto shifted to them with this approach.  Nonetheless best practices and economic reality do not always mesh.  Parties that wish to take this “no attorney review prior to production” approach with evidence gathered from Windows 8 machines may risk over producing the “contact” EML files to their opponent and should consider the risks associated with not allowing a professional to apply filters to their collection upfront.</p>
<p>Companies that are planning on purchasing and implementing Windows 8 workstations may want to consider altering their IT policies to prevent employees from linking to personal Gmail, LinkedIn and other web based identities to prevent personal communication from being stored locally.  I am uncertain if such an option is available within the administrative portion of the Windows 8 operating system, or if employee handbooks and training alone might be available to stop employees from bringing their home to work.</p>
<p>From an ease of trade secrets type computer forensic investigation standpoint, having a suspected former employee’s Gmail communication locally and readily available is excellent; certainly this ease of access is preferable to sending a subpoena to Google to retrieve similar information.  However, from this author’s personal experience, general commercial litigation type cases in general vastly outnumber cases involving traditional computer forensic issues.  Perhaps companies who take steps to proactively prevent Windows 8 machines in the corporate environment from caching their employee’s personal communication locally may experience significantly less expensive discovery costs in the long run.</p>
<p><b>Acknowledgments</b></p>
<p><b>1.  <strong>Josh Brunty, Assistant Professor of Digital Forensics at Marshall University</strong>    </b><b> </b><br />
<b>2.  David Knutson and Tim Doris of Duff &amp; Phelps for their sage opinions on Linux live CD versus ZIF connector to a hardware write-protection device acquisition approaches.</b><br />
<b>3.    </b><b>Patrick Murphy and Raechel Marshall of Quarles &amp; Brady for their insight into document production risks.</b></p>
<p><strong>About</strong></p>
<p><span style="font-size:medium;"><span style="font-size:medium;"><b>Larry Lieb, ACE, CCA</b></span></span></p>
<p><span style="font-size:medium;"><span style="line-height:24px;"><b>CIO </b></span></span></p>
<p><b>Scarab Consulting  (</b><a href="http://www.ConsultScarab.com" rel="nofollow">http://www.ConsultScarab.com</a>)</p>
<p><span style="font-size:medium;"><span style="line-height:24px;"><b>LINK TO PDF:  <a href="http://articles.forensicfocus.com/2012/12/09/windows-8-important-considerations-for-computer-forensics-and-electronic-discovery/windows-8-computer-forensics-and-ediscovery-considerations/" rel="attachment wp-att-2074">Windows 8 Computer Forensics and Ediscovery Considerations</a></b></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2072/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2072&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2012/12/09/windows-8-important-considerations-for-computer-forensics-and-electronic-discovery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://forensicfocus.files.wordpress.com/2012/12/1dad273.jpg?w=150" />
		<media:content url="http://forensicfocus.files.wordpress.com/2012/12/1dad273.jpg?w=150" medium="image">
			<media:title type="html">Larry Lieb</media:title>
		</media:content>

		<media:content url="http://2.gravatar.com/avatar/eb1424eea9136d378c44e6e17a5b03d6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larrylieb</media:title>
		</media:content>
	</item>
		<item>
		<title>Unacceptable Acceptable Use Policy</title>
		<link>http://articles.forensicfocus.com/2012/11/27/unacceptable-acceptable-use-policy/</link>
		<comments>http://articles.forensicfocus.com/2012/11/27/unacceptable-acceptable-use-policy/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 10:52:24 +0000</pubDate>
		<dc:creator>ThinkingSec</dc:creator>
				<category><![CDATA[Employment]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2043</guid>
		<description><![CDATA[I had an opportunity this week to be on the receiving end of an acceptable use policy (AUP) &#8211; something that I should experience each and every time I work for a new client on their hardware, but something that isn’t often the case and thus is a bit of a novelty to me. It &#8230; <a href="http://articles.forensicfocus.com/2012/11/27/unacceptable-acceptable-use-policy/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2043&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:Official_Secrets_Act_warning_sign.jpg" target="_blank"><img class="zemanta-img-inserted zemanta-img-configured" title="Official Secrets Act warning sign on quayside ..." alt="Official Secrets Act warning sign on quayside ..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Official_Secrets_Act_warning_sign.jpg/300px-Official_Secrets_Act_warning_sign.jpg" width="300" height="450" /></a><p class="wp-caption-text">Official Secrets Act warning sign on quayside at Crouch Corner, Foulness, Essex (Photo credit: Wikipedia)</p></div>
<p>I had an opportunity this week to be on the receiving end of an acceptable use policy (AUP) &#8211; something that I should experience each and every time I work for a new client on their hardware, but something that isn’t often the case and thus is a bit of a novelty to me. It was accompanied by a form that required completion before I would be issued my user ID &amp; laptop, so without further ado, as did my fellow conscripts<sup>1</sup>, I signed the form and returned it without so much as glancing through the AUP. Now, as a person who has written a dozen or more AUP, I had a pretty good idea of that which was contained within &#8211; to whit nothing of any interest what so ever, but I’d just signed over my acceptance of it’s terms and conditions without so much as a backwards glance. And this is the real issue with most policy and procedures, they are written by people who have little desire to educate or even get the user to genuinely accept the restrictions made on their life, but who write policy and procedure to cover their own, and the company’s, arse ( ass &#8211; for our American readers ). This is what has been fed down as doctrine from the dawn of time ( look at the 10 Commandments &#8211; after “Thou shalt not kill” &#8211; “Honour thy father and thy mother” ? Clearly an arse/ass covering exercise if ever I saw one ! ) &#8211; but actually this shouldn’t be what our policies should be about.</p>
<p>A policy should be an educational document, something that informs the reader of what they should do, why they should do it and what will happen if they don’t. Anything more than about 2 sides of A4 written in current legalese is going to destroy the minds of 99% of the people who read it &#8211; the other 1% probably write policies for a living, and read it as a matter of professional interest ( like I did, eventually, with the one that I was given ! ) Given that often staff have as much understanding of the topics at hand as children do when being told to behave, is it really unsurprising that the effectiveness of policy set like this that dissimilar to handing a six year old a twenty page policy about sweets before bedtime or a teenager a tome regarding drinking, smoking and curfew times ? I’m not suggesting that you should treat your staff like children ( although in some cases you might think that this may not be that bad a suggestion ), but how about a simple document that outlines more simply the things that you actually _care_ about ?<sup>2</sup></p>
<p>The other week, the children and I had seen the first episode of Arrow ( Sky 1 in the UK, The CW in the US ) based on the DC comic book character “Green Arrow” &#8211; before the second episode, when my other ( better ) half joined us we had a short family competition, judged by Mrs.B &#8211; we each had to describe the previous episode to bring her up to speed in as few words as possible. I didn’t win, although I was pleased with my entry &#8211; but to summarise a full episode of a program &#8211; even one as well scripted as Arrow &#8211; in the winning twelve words that my son managed is an achievement. I’m proposing a variation on this game to drop an AUP down to a reasonable length &#8211; I’m bound by a confidentiality agreement, so I’m not going to reproduce the particular AUP that I’ve just agreed to, although I will say that it is one of the better ones that I’ve been party to, and is a mere 6 sheets or 12 sides of A4 ( although with copious use of title, back and blank pages, change control and other administrative blurb leaving 8 pages of actual text, however my opinion is that we should be able to drop this to two pages ( in the same font size<sup>3</sup> ) without losing a single iota of meaning<sup>4</sup>. Here’s my stab at it.</p>
<p><code><br />
Hi. Welcome to Organisation.</code></p>
<p>We take Information Security and the use of our systems very seriously &#8211; to this end, there are a few things that we’d really like you to agree to do when using any of the company computer systems.</p>
<p>Please choose a good password, a mix of letters and numbers, both lower and upper case are good. Remembering a good password can be difficult, but as a help, you might like to try using a consonant vowel consonant sequence to make it pronounceable &#8211; bogdotfan &#8211; and then add a number &#8211; bogdotfan25 and then mix it up with some upper case &#8211; bOgDotfAn25. Please do change the password when requested by the system, and do use a completely new one each and every time. Do protect the password &#8211; it is part of what identifies you on the system, and, when it is entered any and all action taken when using it will be assumed to be yours.</p>
<p>Do turn your laptop off when you are in transit &#8211; the encryption doesn’t work if the device has been left on or in standby.</p>
<p>Please help us to reduce the risk of malware or data loss by using only officially issued, encrypted USB devices in your company laptop or desktop.</p>
<p>Do respect privacy &#8211; be it personal, company or client. Do think about the data that you are using, what it should be used for, and who should see it. If you are at any time unsure &#8211; do ask &#8211; there is no punishment for asking. Do familiarise yourself with any relevant legislation to the data that you are handling, be it the Data Protection Act or the Official Secrets Act &#8211; these are Acts of Government and must be complied with.</p>
<p>Do use the computer and informations systems as you require to do your job, please, also, feel free to use them sensibly for personal use during breaks through the day. We ask that you maintain your usage, browsing and e-mail content to remain within the realms of both the inoffensive and the legal &#8211; if your Granny wouldn’t approve, neither will we.</p>
<p>Do use all of the software that we have licenses for, if there is something that you need to do your job that we’ve not supplied &#8211; do put in a request for it, we want to enable you. Do wait for us to install it though, we want to keep you and us above board and legal. ( This includes OpenSource software too please ).</p>
<p>We have access controls and lock down various parts of the network where there is sensitive data, do request access if you need to get to something that you’re not able to reach.</p>
<p>Do clear your desk at the end of the day or if you are going away from it. Do lock your screen too.</p>
<p>Do let us know if anything goes wrong, you lose anything that shouldn’t have been lost or if you see anything at all untoward &#8211; we do monitor things ( including you ) &#8211; but the chances are that you would notice things before we do &#8211; that quick response could make all the difference.</p>
<p>We really hope that you enjoy working here &#8211; there may be specific instructions for systems that you work on, these will be provided to you when you get your access. Other than that, please sign here to acknowledge that you understood and agree to do everything above.</p>
<p>Ok, so that’s 565 words &#8211; less than a single A4 page. I get that it could be refined and polished &#8211; but then it did only take me 10 minutes to paraphrase the 8 pages that it was before, with some added advice ( around the passwords ) and including, I think, the meaning of pretty much everything else. It&#8217;s a little flippant, but I hope that you might take my point on board &#8211; nobody is going to read a 40 page AUP, the number of people that will read a 8 page one is limited &#8211; 1 page, maybe 2 and you stand a chance &#8211; arguing enforceability is a lot harder when it is made really straightforward and easy to understand &#8211; and there is no excuse for even the shortest attention span of employee not getting it.</p>
<p>Give readability a chance !</p>
<p>[ Update: I noticed an oversight on this AUP - have a look <a href="http://biles.net/2012/12/11/security-mindset/">here</a> for a correction and a bit more besides ! ]</p>
<hr />
<p>1. Not really conscripts, new hires, fresh meat, what ever you like to call us &#8230;<br />
2. I know that there are lawyers out there reading this going round the bend with fear at the lack of arse/ass coverage, but actually consider the possibility that there might be less incidents overall &#8211; good news for you as well as for us in Security &#8230;<br />
3. That works out to 20 words per line for 40 lines per page, or 800 words.<br />
4. Incidentally, I would recommend that this is an excellent intellectual exercise for any of the documents, reports or, possibly most important of all, your PowerPoint presentations.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2043/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2043&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2012/11/27/unacceptable-acceptable-use-policy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d1beabfa16246c33f28eca2da9b7f0f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thinkingsec</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Official_Secrets_Act_warning_sign.jpg/300px-Official_Secrets_Act_warning_sign.jpg" medium="image">
			<media:title type="html">Official Secrets Act warning sign on quayside ...</media:title>
		</media:content>
	</item>
		<item>
		<title>Forensic Analysis of Windows 7 Jump Lists</title>
		<link>http://articles.forensicfocus.com/2012/10/30/forensic-analysis-of-windows-7-jump-lists/</link>
		<comments>http://articles.forensicfocus.com/2012/10/30/forensic-analysis-of-windows-7-jump-lists/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 22:51:59 +0000</pubDate>
		<dc:creator>roblyness</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/2012/10/30/forensic-analysis-of-windows-7-jump-lists/</guid>
		<description><![CDATA[Forensic Analysis of Windows 7 Jump Lists Abstract The release of Microsoft Windows 7 introduced a new feature known as Jump Lists which present the user with links to recently accessed files grouped on a per application basis.  The records maintained by the feature have the potential to provide the forensic computing examiner with a &#8230; <a href="http://articles.forensicfocus.com/2012/10/30/forensic-analysis-of-windows-7-jump-lists/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2033&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div>
<p>Forensic Analysis of Windows 7 Jump Lists</p>
<p><span style="text-decoration:underline;"><strong>Abstract</strong></span></p>
<p>The release of Microsoft Windows 7 introduced a new feature known as Jump Lists which present the user with links to recently accessed files grouped on a per application basis.  The records maintained by the feature have the potential to provide the forensic computing examiner with a rich source of evidence during examinations of computers running the Microsoft Windows 7 Operating System.  This paper explores the type and level of information recorded by the Jump List feature, the structure of those records and the user actions which result in them being updated.</p>
<p><strong><span style="text-decoration:underline;">Introduction</span></strong></p>
</div>
<p>The content of this article is based upon an MSc Thesis submitted by the author to Cranfield University in February 2012 but has been supplemented with observations and findings from analysis of Jump List files in actual investigations.</p>
<p>The article focuses primarily on artefacts relating to file accesses and although additional Jump List data relating to the use of individual programs has no focus in this paper, some work in this area has been conducted by Barnett (undated).</p>
<p>The Jump List feature provides the user with a graphical interface associated with each installed application which lists files that have been previously accessed by that application.  An example of that interface is shown at Fig. 1.</p>
<p><a style="font-style:normal;line-height:18px;text-decoration:underline;" href="http://forensicfocus.files.wordpress.com/2012/10/fig1.jpg"><img id="i-2019" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/fig1.jpg?w=437" /></a></p>
<p style="text-align:center;"><strong>Fig. 1 &#8211; Example of Jump List associated with Microsoft Paint.</strong></p>
<p>As indicated in Fig. 1, it is also possible for a user to ‘pin’ items in order to retain them on a list.</p>
<p>The feature is enabled as standard and the default setting is to show the 10 most recently accessed files per application, although it is possible to adjust that figure to a maximum of 60.</p>
<p>Configuration changes can be achieved by a right mouse click on the Windows Logo button &gt; Properties which reveals a dialog box similar to that shown at Fig. 2 which can be used to enable/disable the Jump List feature.</p>
<p><a href="http://forensicfocus.files.wordpress.com/2012/10/fig2.jpg"><img id="i-2020" class=" wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/fig2.jpg?w=283&#038;h=330" height="330" width="283" /></a></p>
<p style="text-align:center;"><strong>Fig. 2 – Example of Windows 7 ‘Taskbar and Start Menu Properties’ Dialog box.</strong></p>
<p>The number of items to be displayed on a Jump List can be adjusted through clicking of the ‘Customize…’ button which reveals a second dialog box, similar to that shown at Fig. 3</p>
<p><a href="http://forensicfocus.files.wordpress.com/2012/10/fig3.jpg"><img id="i-2021" class=" wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/fig3.jpg?w=268&#038;h=348" height="348" width="268" /></a></p>
<p style="text-align:center;"><strong>Fig. 3 – Example of Windows 7 ‘Customize Start Menu’ Dialog Box.</strong></p>
<p><strong><span style="text-decoration:underline;">Background Information</span></strong></p>
<p>During the initial stages of the original project research was conducted in an attempt to identify what was already known about the topic of Jump Lists.</p>
<p>Whilst it was found that information available in the public domain was limited, some useful material was identified:</p>
<ol>
<li>Torres (2011) indicates that records of the items pinned to the Taskbar are stored in the directory ‘<i>C:\Users\%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar</i>’.</li>
<li>AccessData’s Registry Quick Find Chart (2010) indicated that details of applications that have been pinned to the Taskbar are also recorded in the Windows Registry values ‘<i>Favorites</i>’ and ‘<i>FavoritesResolve</i>’ at ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband</i>’ and that details of applications subsequently removed are retained within those Registry values.</li>
<li>Larson (undated) explains that details of accessed files are held within structured storage (Compound Binary) files which themselves are stored within the user’s profile at the location ‘<i>%systemdrive%\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations</i>’ and notes the following:
<ol>
<li>The files are named with 16 hexadecimal digits, known as the AppID followed by the file extension ‘<i>automaticDestinations-ms</i>’.</li>
<li>The AppID can be set by the application or by the OS at application runtime. (MSDN, 2011).
<ol>
<li>A list of known AppIDs can be found at <a href="http://www.forensicswiki.org/wiki/List_of_Jump_List_IDs">http://www.forensicswiki.org/wiki/List_of_Jump_List_IDs</a></li>
</ol>
</li>
<li>The majority of records within the Compound Binary file are named with a hexadecimal numeric value and are structured in accordance with the shortcut (link) file specification.</li>
<li>A further entry entitled <i>‘DestList’</i>, is also present and although this element is structured, there is little information available relating to that structure or the information contained within these elements although it was clear that they do not follow the Shortcut specification.</li>
</ol>
</li>
<li>Carvey (2011) details a small proportion of the structure, including a 64 bit ’FILETIME’ object and indicates that there are further byte sequences present within the <i>‘DestList’</i>.</li>
<li>The specifications for both Compound Binary (MSDN, 2010 (a)) and Shortcut files (MSDN, 2010 (b)) are documented online and a number of tools are available to extract the individual elements from Compound Binary files, for example SSView (<a href="http://www.mitec.cz/ssv.html">http://www.mitec.cz/ssv.html</a>), OffVis (<a href="http://download.microsoft.com/download/1/2/7/127ba59a-4fe1-4acd-ba47-513ceef85a85/OffVis.zip">http://download.microsoft.com/download/1/2/7/127ba59a-4fe1-4acd-ba47-513ceef85a85/OffVis.zip</a>) and JumpLister (<a href="http://www.woanware.co.uk/?page_id=266">http://www.woanware.co.uk/?page_id=266</a>), however, none of these tools will fully parse the <i>‘DestList’</i> element within a Jump List file.</li>
<li>Ard (2007) states that Jump Lists record the number of times that a file is opened.</li>
<li>Li (2011) reports that the number of items to be shown on a Jump List is stored within the Registry value ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_JumpListItems</i>’.</li>
</ol>
<p><strong><span style="text-decoration:underline;">Experimental Setup and Program.</span></strong></p>
<p>All experimentation was conducted in a virtual environment.  Based upon available resources at the time of the research, this was achieved using VMWare Workstation 7.1.3 and a retail copy of Windows 7 Ultimate (x64) with no Service Packs.</p>
<p>The virtual machine was created with two attached virtual disks formatted with the NTFS file system; the first to hold the Operating System and the second to store a series of specimen text, picture, music and video files.</p>
<p>The date and time settings of the virtual machine and all clones made from it were deliberately maintained in British Summer Time (GMT+1) in order to assist in how dates and times are recorded by Jump Lists.</p>
<p>The experiments that were conducted were designed to address specific points with a view to understanding the full structure of the records maintained by Jump Lists and were broken down into specific objectives.</p>
<p><strong>Identify initial Jump List data.  </strong></p>
<p>The first stage in this process was to carry out a fresh installation of Windows 7.  The virtualisation software was used to capture a snapshot at the completion of the installation, a second after an account was created and a third after being presented with the option to apply a password or not.  Finally the process was allowed to complete by logging the newly created user on for the first time after which the VM was shut down without accessing any files.</p>
<p>This experiment was carried out twice; once where a password was applied and once without.</p>
<p>All further experimentation was based upon clones of the VM where a password was applied to the user account and various tests were conducted to change the configuration of the feature and update the records maintained by it.</p>
<p><strong>Modify configuration settings.</strong></p>
<p>This was achieved by accessing the ‘Customize Start Menu’ dialog box as depicted in Fig. 3 and changing the default values to 15 (for number of programs) and 20 (for number of recent Jump List items).</p>
<p>The next step was to use the ‘regedit’ application to access the Registry key identified by Li (2011) before changing the data of the value ‘<i>Start_JumpListItems</i>’ to 25 (0&#215;19) before closing regedit and accessing the relevant dialog box again to note the displayed values.</p>
<p>Finally, the ‘Use Default Settings’ button was used to return both displayed values to 10.</p>
<p><strong>Open files.</strong></p>
<p>A number of the sample files held on the second virtual hard disk were opened using applications included with Windows 7; Notepad and WordPad for text, Windows Photo Viewer and Paint for picture files, Windows Media Player and Windows Media Centre for video, sound and pictures.</p>
<p><strong>Pin and Unpin items to a Jump List, Taskbar and Start Menu.</strong></p>
<p>One entry each from the Jump Lists for Notepad and Paint were pinned to their respective lists.</p>
<p>The picture viewing program Irfanview (<a href="http://download.cnet.com/IrfanView/3000-2192_4-10021962.html?part=dl-IrfanView&amp;subj=dl&amp;tag=button">http://download.cnet.com/IrfanView/3000-2192_4-10021962.html?part=dl-IrfanView&amp;subj=dl&amp;tag=button</a>) and the productivity suite Microsoft Office 2007 were then installed using the default installation locations, before shortcuts to Irfanview, Microsoft Word, Notepad and Paint were pinned to the Taskbar and Start Menu.</p>
<p>Irfanview and Microsoft Word were used to open two picture files and two Microsoft Word documents respectively.  One entry from each of the displayed Jump Lists was pinned to the list; one from the Taskbar list and the other from the Start Menu List.</p>
<p>Irfanview was then unpinned from the Taskbar and Start Menu and uninstalled using the relevant link found in the programs listing presented on the Start Menu.</p>
<p>Microsoft Office 2007 was uninstalled via the Windows Control Panel without unpinning Microsoft Word from either the Taskbar or Start Menu.</p>
<p><strong>Delete Jump List data.</strong></p>
<p>A number of methods of deleting the entries from a Jump List were tested;</p>
<ol>
<li>Manually selecting each entry through a right mouse click &gt; ‘Remove from this list’ option.</li>
<li>Deselecting the option to ‘Store and display recently opened items in the Start menu and the taskbar’ from the ‘Taskbar and Start Menu Properties’ dialog box (see Fig. 2).</li>
<li>Navigating to the ‘AutomaticDestinations’ directory and deleting the Compound Binary Files through Windows Explorer.</li>
<li>From a command prompt with the command ‘<i>del C:\Users\Win7x64JL\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\* /Q</i>’.</li>
</ol>
<p><strong>Establish the order of file accesses.</strong></p>
<p>This experiment consisted of three steps;</p>
<ol>
<li>Open a series of files in a known order</li>
<li>Pin a selection of Jump List items in a known order</li>
<li>Open all of the files again in a known order.</li>
</ol>
<p><strong>Identify pinned entries.</strong></p>
<p>No additional experimentation was required for this step as previous experiments had already included the action of pinning individual entries to various Jump Lists.</p>
<p><strong>Determine how often a file has been accessed.</strong></p>
<p>Although it had previously been noted by Ard (2007) that Jump Lists record the number of times that a file has been opened, no information was identified to indicate whether other types of file access are also counted.  The experimentation at this stage was intended to address this knowledge deficit.</p>
<p>Due to time constraints associated with the original project, all further experimentation focused on the use of the applications Notepad and Microsoft Paint.</p>
<p>A number of steps were taken to investigate this aspect of Jump Lists;</p>
<ol>
<li>Two sample files (one picture and one text) were opened a total of five times each by navigating to them through Windows Explorer and a double left mouse click.</li>
<li>The various context menu options (with and without the use of the Shift key) available for picture and text files were each used to perform a function, i.e Print.</li>
<li>Shortcut files were created on the Desktop and used to open sample files.</li>
<li>The various options within the application toolbars were each used to perform a function.</li>
<li>Entries appearing in the Jump List were used to re-open files and the additional options available through a right mouse click on an entry were also selected in turn.</li>
<li>Sample files were opened from the Command Prompt with commands such as ‘<i>notepad D:\somefile.txt</i>’.</li>
</ol>
<p><strong>Identify whether the date/time of file access is recorded.</strong></p>
<p>It has been noted previously at Section 2 above that Carvey (2011) identified the presence of a ‘FILETIME’ object within the structure of an entry recorded in the <i>‘DestList’</i> element of a Jump List, although the purpose of this value was unknown.  Analysis of changes to these byte sequences was performed on the various Jump List files which had been generated and updated as a result of the experiments conducted in order to determine the purpose of that object.</p>
<p><strong>Establish any differences in how file accesses are recorded.</strong></p>
<p>The various Jump List files generated throughout the testing phase were analysed in an effort to identify any differences in the way that certain actions are recorded.</p>
<p><strong>Delete, move and rename Jump List target  files.</strong></p>
<p>Experimentation was conducted to investigate the impact of these types of user actions on the records within a Jump List.  The experiments involved opening a number of sample files to generate an entry in a Jump List before testing the following actions;</p>
<ol>
<li>Moving the target within the same volume.</li>
<li>Moving the target to a different volume.</li>
<li>Deleting the target to the Recycle Bin.</li>
<li>Deleting the target to the Recycle Bin and then deleting it from that location.</li>
<li>Deleting the target, but bypassing the Recycle Bin by use of the Shift key.</li>
<li>Renaming the target file on the original volume.</li>
</ol>
<p><strong><span style="text-decoration:underline;">Install a known application to a non-default location.</span></strong></p>
<p>The purpose of this experiment was to identify any differences in the value of the AppID generated by Windows 7 by installing an application to a non-standard location.</p>
<p>In this case, this was achieved by installing the program Irfanview to the path ‘<i>C:\Irfanview</i>’ instead of the default &#8216;<em>C:\Program Files(x86)\Irfanview</em>&#8216;.  Following the installation two sample picture files were opened.</p>
<p><strong><span style="text-decoration:underline;">Results and Observations</span></strong></p>
<p>This Section provides a summary of the experimental results and observations made.  For ease of reference the information is grouped into areas of interest.</p>
<p><strong>Data present at first login.</strong></p>
<p style="text-align:left;">The areas of the folder structure and the Windows Registry that are used to store data relevant to Jump Lists are created within a user account at the point that account first logs in.</p>
<p style="text-align:left;">A fresh install of Windows 7 resulted in the applications ‘Internet Explorer’, ‘Windows Explorer’ and ‘Windows Media Player’ being automatically pinned to the Taskbar without any user interaction as shown in Fig. 4 below.<br />
<a href="http://forensicfocus.files.wordpress.com/2012/10/fig4.jpg"><img id="i-2022" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/fig4.jpg?w=487" /></a></p>
<p style="text-align:center;"><strong>Fig. 4 – Screen capture of Windows 7 Start Menu and Taskbar at first login</strong></p>
<p>The directory ‘<i>C:\Users\%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar</i>’ was found to contain three shortcut (.lnk) files relating to those three applications.</p>
<p>References to those pinned applications were also found in the Windows Registry values ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband\Favorites and FavoritesResolve</i>’.</p>
<p>The Windows Registry value ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_JumpListItems’ </i>did not exist at this stage<i>.</i></p>
<p>It was found that irrespective of whether the system was configured to show hidden files and folders or not, the ‘<i>AutomaticDestinations</i>’ directory could not be seen when attempting to navigate to it through Windows Explorer.</p>
<p>If, however, the full path was typed into the address bar, then the contents of the directory could be seen.  Navigating to it from a Command Prompt had no such problems.  Further analysis using forensic software did not show the ‘<i>AutomaticDestinations</i>’ directory to have the ‘Hidden’ attribute set.</p>
<p>One Jump List, named ‘<i>1b4dd67f29cb1962.automaticDestinations–ms</i>’ exists within the ‘<i>AutomaticDestinations</i>’ directory at first login which contains four entries relating to the ‘Libraries’ available through Windows Explorer.</p>
<p><strong>Jump List Configuration Settings</strong></p>
<p>Changing the number of Jump List items to display using the ‘Customize Start Menu’ dialog box resulted in the creation of the Registry value ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\</i><i>Explorer\Advanced\Start_JumpListItems</i>’.</p>
<p>Similarly, changing the number of recent programs to display resulted in the creation of a value named ‘<i>Start_MinMFU</i>’ in the same Registry key.</p>
<p>After deselecting the option to ‘Store and display recently opened items in the Start menu and the taskbar’ from the ‘Taskbar and Start Menu Properties’ dialog box, a new value entitled ‘<i>Start_TrackDocs</i>’ was created within the same Registry key.  Additional experimentation identified that the data in this value is either ‘0’ when the feature is disabled or ‘1’ when enabled.</p>
<p><i>None of these values were present at first login.</i></p>
<p>Using regedit to alter the date in the Registry values resulted in immediate updates to the respective checkboxes in the ‘Customize Start Menu’ dialog box.</p>
<p>The installation path of a program is taken into account by the OS when AppIDs are automatically generated.</p>
<p>Whilst it was found that uninstalling a program removed traces of items pinned to the Start Menu and Taskbar, it was also found that Jump Lists relating to that application remained intact.</p>
<p><strong>Accessing files</strong></p>
<p>There are numerous options available to a user in respect of file manipulation through Windows Explorer, context menus, application file menus and Jump Lists themselves.</p>
<p>Testing revealed that providing a period of at least 30 seconds elapsed between repeated instances of opening the same file, a counter in the <i>‘DestList’</i> entry would increment by 1.</p>
<p>Accessing files in a serial manner, i.e. one after the other, resulted in entries being made in the Jump List irrespective of the amount of time elapsed between each access.</p>
<p>The FILETIME object only changed when a user action caused the entry access counter incremented.</p>
<p>The only actions that were found to cause such updates to the FILETIME object and the access counter were those that resulted in the content of the target file being made available to the user, i.e. displaying a picture file on screen or printing it.</p>
<p>Table 1 below shows only the various user actions which resulted in an update to the access count of a Jump List.  It should be noted that the options ‘From Scanner or camera’ and Send in Email’ present in the file menu associated with Paint were not tested</p>
<p><i>Analysis of Jump List files in relation to live case work has shown that some applications including the Microsoft Office suite, Windows Explorer and Windows Media Player may record non whole numbers in the access count.  The reason for this difference has not been identified and experimentation has failed to identify a method to replicate the issue.</i></p>
<div>
<div>
<table border="1">
<tbody>
<tr>
<td colspan="2"><span style="text-decoration:underline;">Left/Right mouse button</span></td>
<td colspan="2"><span style="text-decoration:underline;">Action</span></td>
</tr>
<tr>
<td colspan="4"><strong><span style="text-decoration:underline;">Paint</span></strong></td>
</tr>
<tr>
<td colspan="2">Left</td>
<td colspan="2">Double click</td>
</tr>
<tr>
<td colspan="2">Left</td>
<td colspan="2">Link file</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Preview</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Set as background</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Edit</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Print</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Open With</td>
</tr>
<tr>
<td colspan="4"><strong><span style="text-decoration:underline;">Notepad</span></strong></td>
</tr>
<tr>
<td colspan="2">Left</td>
<td colspan="2">Double click target</td>
</tr>
<tr>
<td colspan="2">Left</td>
<td colspan="2">Double click Link file</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Open</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Print</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Edit</td>
</tr>
<tr>
<td colspan="2">Right</td>
<td colspan="2">Open With</td>
</tr>
<tr>
<td colspan="4"><strong><span style="text-decoration:underline;">File Menu</span></strong></td>
</tr>
<tr>
<td>Option</td>
<td colspan="2">Jump List Updated</td>
<td>Remarks</td>
</tr>
<tr>
<td colspan="4"><strong>Paint</strong></td>
</tr>
<tr>
<td>Open</td>
<td colspan="2">Paint + Explorer</td>
<td></td>
</tr>
<tr>
<td>Save</td>
<td colspan="2">Paint + Explorer</td>
<td>Initial Save only</td>
</tr>
<tr>
<td>Save As</td>
<td colspan="2">Paint + Explorer</td>
<td></td>
</tr>
<tr>
<td colspan="4"><strong>Notepad</strong></td>
</tr>
<tr>
<td>Open</td>
<td colspan="2">Notepad + Explorer</td>
<td></td>
</tr>
<tr>
<td>Save</td>
<td colspan="2">Notepad + Explorer</td>
<td>Initial Save only</td>
</tr>
<tr>
<td>Save As</td>
<td colspan="2">Notepad + Explorer</td>
<td></td>
</tr>
<tr>
<td colspan="4"><strong><span style="text-decoration:underline;">Jump List Menu</span></strong></td>
</tr>
<tr>
<td colspan="2"><span style="text-decoration:underline;">Action/Option</span></td>
<td colspan="2"><span style="text-decoration:underline;">Jump List Updated</span></td>
</tr>
<tr>
<td colspan="4"><strong>Paint</strong></td>
</tr>
<tr>
<td colspan="2">Click Entry</td>
<td colspan="2">Paint + Explorer</td>
</tr>
<tr>
<td colspan="2">Edit</td>
<td colspan="2">Paint + Explorer</td>
</tr>
<tr>
<td colspan="2">Print</td>
<td colspan="2">Paint + Explorer</td>
</tr>
<tr>
<td colspan="4"><strong>Notepad</strong></td>
</tr>
<tr>
<td colspan="2">Click Entry</td>
<td colspan="2">Notepad + Explorer</td>
</tr>
<tr>
<td colspan="2">Open</td>
<td colspan="2">Notepad + Explorer</td>
</tr>
<tr>
<td colspan="2">Print</td>
<td colspan="2">Notepad + Explorer</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<p style="text-align:center;"><strong>Table 1 &#8211; User actions resulting in access count update</strong></p>
</div>
<div>
<p>Experimentation failed to identify any method to identify specifically which action caused the count value to increase.</p>
<p>The testing conducted indicates that files opened via a command prompt do not cause the access count to rise.</p>
<p>It was found that the Windows 7 default picture viewing program (Windows Photo Viewer) did not record the details of files accessed in a Jump List and nor was one created when that program was used.</p>
<p>Most of the generated Jump Lists recorded the file paths to their respective target files in clear text with Unicode encoding, which can be read with relative ease.</p>
<p>Windows Media Player, however, did not follow this trend but rather uses a series of alphanumeric (hexadecimal) characters to document this information as illustrated in Fig. 5 below:</p>
<p><a href="http://forensicfocus.files.wordpress.com/2012/10/fig5.jpg"><img id="i-2023" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/fig5.jpg?w=487" /></a></p>
<p style="text-align:center;"><b>Fig. </b><b>5</b><b> – Example of file path recorded by Windows Media Player</b></p>
<p>The &#8216;link file&#8217; elements in Windows Media Player are also different and point to the executable itself, with the file path of the target file recorded as a switch passed to the program when run.</p>
<p><strong>It has been noted in a recent case, however, that Windows Media Player had recorded two entries for each file accessed, one with the file path stored as shown in Fig 5 and the other with the full path.  The respective &#8216;link file&#8217; elements replicated this, with one pointing to the executable and the other following the more traditional format associated with link files. </strong></p>
<p>Not all applications use all of the fields available in a &#8216;DestList&#8217; entry all of the time.  Fig. 6 below shows the differences between the amount of data recoded in two entries taken from the same &#8216;DestList&#8217;.</p>
<p>When target files are renamed on or moved between drives with the registered type ‘Fixed’ connected to the machine, subsequent opening of the target is from the Jump List entry is successful and results in the details recorded in the <i>‘DestList’</i> element being updated to reflect the change.</p>
<p>Files that have been ‘deleted’ to the Recycle Bin on drives of the same type are also located correctly and the user is given the opportunity to restore the target to its original location (without opening it and therefore not updating the access count) or to delete the entry from the Jump List.</p>
<p>For files that have been moved to a drive with the registered type ‘Removable’ such as USB devices or deleted from the Recycle Bin,  any attempt to re–open a file subjected to such a move or deletion results in an error message being displayed on screen.</p>
<p>The results of the experiments conducted in relation to this aspect of Jump List behaviour is shown at Table 2 below:</p>
</div>
<div>
<div>
<table border="1">
<tbody>
<tr>
<td>Serial</td>
<td>Action</td>
<td>Result</td>
<td>Remarks</td>
</tr>
<tr>
<td>1</td>
<td>Cut and Paste to new Fixed Disk NTFS volume</td>
<td>Opened.  File path amended to new location.</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>Cut and Paste to Removable Drive NTFS volume</td>
<td> <a href="http://forensicfocus.files.wordpress.com/2012/10/move1.jpg"><img id="i-2024" class="size-full wp-image" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/move1.jpg?w=379" /></a></td>
<td>‘Yes’ removes the entry from the list.  ‘No’ leaves it in the list.</td>
</tr>
<tr>
<td>3</td>
<td>Cut and Paste to same</p>
<p>Fixed Disk NTFS volume</td>
<td>Opened.  File path amended to new location.</td>
<td></td>
</tr>
<tr>
<td>4</td>
<td>Right Mouse click &gt; Delete (Sent to Recycle Bin)</td>
<td> <a href="http://forensicfocus.files.wordpress.com/2012/10/move2.jpg"><img id="i-2025" class="size-full wp-image" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/move2.jpg?w=377" /></a></td>
<td>‘Restore’ returns the file to original location, but does not open it.</p>
<p>‘Delete’ removes entry from list but leaves the file intact in the Recycle Bin</td>
</tr>
<tr>
<td>5</td>
<td>Right Mouse click &gt; Delete &gt; Delete from Recycle Bin</td>
<td>As Serial 2 result.</td>
<td></td>
</tr>
<tr>
<td>6</td>
<td>Shift key + Delete key (Bypass Recycle Bin)</td>
<td>As Serial 2 result.</td>
<td></td>
</tr>
<tr>
<td>7</td>
<td>Rename</td>
<td>Opened.  File path amended to new name.</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<p style="text-align:center;"><strong>Table 2 – Results of renaming, moving or deleting files</strong></p>
</div>
<div>
<p><strong>Order of Access</strong></p>
<p>The list is presented on screen to the user and stored in the <i>‘DestList’</i> element in reverse order, i.e. the first entry at the bottom and the most recent at the top,  with each subsequent entry being appended to the list above the preceding entry.</p>
<p>Within the ‘Recent’ section of a Jump List, subsequent accesses to target files results in placing the entry for the most recently accessed at the top of that section when the list is presented on screen to the user and within the <i>‘DestList’</i> element.</p>
<p>The ordering of presentation of items pinned to a Jump List differed, with the sequence reflecting the order in which they were pinned, i.e. the first at the top of the section and the last at the bottom.</p>
<p>It was also found that when an entry is pinned, the data relating to it in the <i>‘DestList’</i> became static and was not re–ordered as further accesses occurred.  This was also true within the list presented to the user on screen, i.e. the entries were not re–ordered.</p>
<p><strong>Pinning/Unpinning Items</strong></p>
<p>Individual files can be pinned to the Jump List and/or the Start Menu, but not to the Taskbar.</p>
<p>At the point the first item is pinned to the Start Menu a new sub-directory named ‘<i>StartMenu</i>’ is created within ‘<i>C:\Users\%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\’ </i>which is used to store a shortcut (.lnk) file relating to that item.</p>
<p>Unpinning the item from the Start Menu results in the shortcut (.lnk) file being removed from the ‘<i>StartMenu</i>’ sub-directory.</p>
<p>Unpinning all items from the Start Menu leaves the ‘<i>StartMenu</i>’ sub-directory intact.</p>
<p>When an program is pinned to the Start Menu or the Taskbar a shortcut (.lnk) file is created and stored in the relevant sub-directory of ‘<i>C:\Users\%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\</i>’ .</p>
<p>A record of items pinned to the Taskbar is also added to the data in the values ‘<i>Favorites</i>’ and ‘<i>FavoritesResolve</i>’ within the Windows Registry key ‘<i>HKCU\Software\Microsoft\Windows\CurrentVersion\</i><i>Explorer\Taskband</i>’.  If those shortcut files are removed from the respective locations, either manually or during an application uninstallation process, the corresponding traces within the folder structure and Windows Registry are also removed, but any Jump Lists generated from the use of that program remain intact.</p>
<p>The testing conducted showed that the total number of items pinned to a Jump List is recorded in the header of the <i>‘DestList’, </i> with a hexadecimal count beginning at &#8216;<em>0&#215;01 0&#215;00 0&#215;00 0&#215;00&#8242;</em></p>
<p>Pinning an entry to a Jump List results in an update to a 4 byte sequence in the ‘<i>DestList</i>’ record which acts as a counter and changes from the default value of ‘<i>0xFF 0xFF 0xFF 0xFF</i>’ to a hexadecimal numeric value. The count begins at hexadecimal ‘<em>0&#215;00 0&#215;00 0&#215;00 0&#215;00</em>’, i.e. 3 pinned entries will result in count values of ‘<em>0&#215;00 0&#215;00 0&#215;00 0&#215;00</em>’, ‘<em>0&#215;01 0&#215;00 0&#215;00 0&#215;00</em>’ and ‘<em>0&#215;02 0&#215;00 0&#215;00 0&#215;00</em>’.</p>
<p>The changes to the ‘<i>DestList</i>’ header (at offset 8) and an entry (at offset 280 in this example) which occurred as a result of pinning a single entry to a Jump List are shown at Fig. 6 below:</p>
<p><a href="http://forensicfocus.files.wordpress.com/2012/10/pin.jpg"><img id="i-2026" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/pin.jpg?w=487" /></a></p>
<p style="text-align:center;"><strong>Fig. 6 – Changes to ‘DestList’ element of Paint Jump List after pinning a single entry</strong></p>
<p><strong>Deleting Jump List Files</strong></p>
<p>Input at the Command Prompt of ‘<i>del C:\Users\Win7x64JL\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\* /Q</i>’ resulted in the entire contents of the ‘<i>AutomaticDestinations</i>’ directory being deleted, irrespective of the pinned status of any element within the lists.</p>
<p>By navigating to the ‘AutomaticDestinations’ folder, it was possible to select and delete all of the Compound Binary Files it contained, regardless of the pinned status of the entries.</p>
<p>By expanding the Jump List and manually deleting the entries by using the ‘Remove from this list’ option, the following was noted:</p>
<ol>
<li>A pinned entry could not be deleted until after it had been unpinned.</li>
<li>When the last remaining entry was removed from the list, the entire Jump List file was removed from the ‘<i>AutomaticDestinations</i>’ directory.</li>
</ol>
<p>The action of removing an entry via a Jump List caused changes to the header of the <i>‘DestList’</i> element, as depicted in Fig. 7 below which provides further insight into the structure of that part of the element.</p>
<table border="1">
<tbody>
<tr>
<td>
<p style="text-align:center;"><strong>Before deletion – 2 entries in list</strong></p>
</td>
</tr>
<tr>
<td> <a href="http://forensicfocus.files.wordpress.com/2012/10/2.jpg"><img id="i-2027" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/2.jpg?w=487" /></a></td>
</tr>
<tr>
<td>
<p style="text-align:center;"><strong>After deletion – 1 entry in list</strong></p>
</td>
</tr>
<tr>
<td> <a href="http://forensicfocus.files.wordpress.com/2012/10/1.jpg"><img id="i-2028" class="size-full wp-image aligncenter" alt="Image" src="http://forensicfocus.files.wordpress.com/2012/10/1.jpg?w=487" /></a></td>
</tr>
</tbody>
</table>
<p style="text-align:center;"><strong>Fig. 7 – Changes to <i>‘DestList’</i> element after removing an entry via the Jump List</strong></p>
<p>After deselecting the option to ‘Store and display recently opened items in the Start menu and the taskbar’ from the ‘Taskbar and Start Menu Properties’ dialog box the following was noted:</p>
<ol>
<li>All Jump List files which contained no pinned elements were removed from the ‘<i>AutomaticDestinations</i>’ directory.</li>
<li>For those Jump Lists which did contain pinned items, all other entries were removed from the list, leaving only records relating to the pinned elements.</li>
<li>The Jump List binary files can be extracted from the ‘<i>AutomaticDestinations</i>’ directory on a running machine without changing the data they contain.</li>
</ol>
<p><span style="text-decoration:underline;"><strong>‘<i>DestList</i>’ Structure</strong></span></p>
<p>As a result of background research and the experimentation conducted, it was possible to identify the majority of the ‘<i>DestList’ </i>structure, however, it was found that the purpose of certain areas of the ‘<i>DestList</i>’ structure remained unknown.</p>
<p>It appeared that the first 8 bytes of an entry were some kind of hash of the entry data. Minimal experimentation was conducted whereby a single byte in each of the identified byte sequences in the entry was amended in a hex editor.  As a result the following observations were made:</p>
<ol>
<li>Any change in the entry data between the start of the unidentified 8 byte value and the last byte before the file path data would result in any entries in the list after the altered one not appearing in the Jump List displayed on screen.</li>
<li>Changing the file path had no effect and the correct target file was opened when the entry in the list was clicked.  In addition, the Jump List was re–written to amend the file path to show once again the correct information.</li>
<li>These findings tended to support the theory that the first 8 bytes of an entry is some kind of hash.</li>
</ol>
<p>The full structure of the ‘<i>DestList</i>’ element is presented in Table 3 (header) and Table 4 (entry) below:</p>
</div>
<div>
<div>
<table border="1">
<thead>
<tr>
<td></td>
<td>Offset</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="6">DESTLIST HEADER</td>
<td>0 – 3</td>
<td>First Issued Entry ID.  Naturally appears to always be 1</td>
</tr>
<tr>
<td>4 – 7</td>
<td>Total number of current entries in Jump List</td>
</tr>
<tr>
<td>8 – 11</td>
<td>Total number of pinned entries</td>
</tr>
<tr>
<td>12 – 15</td>
<td>Floating point value.  Some kind of counter.  Initial value is ‘0&#215;00 0&#215;00 0&#215;80 0x3F’ (=1) (For Windows Explorer ‘0&#215;66 0&#215;66 0&#215;76 0&#215;41’ (=15.4)).  Increments as new entries are added.  Removing an entry from the Jump List causes the value to decrement.</td>
</tr>
<tr>
<td>16 – 23</td>
<td>Last issued Entry ID number</td>
</tr>
<tr>
<td>24 – 31</td>
<td>Number of add/delete actions &#8211; <em>Increments as entries are added.  Also increments as individual entries are deleted.</em></td>
</tr>
</tbody>
</table>
</div>
<p style="text-align:center;"><strong>Table 3 – Structure of ‘<i>DestList</i>’ header</strong></p>
<div>
<table border="1">
<tbody>
<tr>
<td></td>
<td>Offset</td>
<td>Description</td>
</tr>
<tr>
<td rowspan="12">DESTLIST ENTRY</td>
<td>0 – 7</td>
<td>A checksum or hash of the entry.  Not known what type.</td>
</tr>
<tr>
<td>8 – 23</td>
<td>New Volume ID</td>
</tr>
<tr>
<td>24 – 39</td>
<td>Object ID</td>
</tr>
<tr>
<td>40 – 55</td>
<td>Birth Volume ID</td>
</tr>
<tr>
<td>56 – 71</td>
<td>Object ID</td>
</tr>
<tr>
<td>72 – 87</td>
<td>NetBIOS name of volume where the target file is stored &#8211; May record names of network shares</td>
</tr>
<tr>
<td>88 – 95</td>
<td>Entry ID number</td>
</tr>
<tr>
<td>96 – 99</td>
<td>Floating point counter to record each time the file is accessed (not necessarily opened) &#8211; Can produce unusual results (partial numbers)</td>
</tr>
<tr>
<td>100 – 107</td>
<td>MSFILETIME of last recorded access</td>
</tr>
<tr>
<td>108 – 111</td>
<td>Entry ‘pin’ status. ‘0xFF 0xFF 0xFF 0xFF’ = Unpinned.  Otherwise a counter starting at ‘0&#215;00 0&#215;00 0&#215;00 0&#215;00’.</td>
</tr>
<tr>
<td>112 – 113</td>
<td>Length of Unicode entry string data</td>
</tr>
<tr>
<td>114 –</td>
<td>Entry string data</td>
</tr>
</tbody>
</table>
</div>
<p style="text-align:center;"><strong>Table 4 – Structure of ‘<i>DestList</i>’ entry</strong></p>
</div>
<p><strong><span style="text-decoration:underline;">Summary</span></strong></p>
<ol>
<li>Configuration settings can be retrieved from the Windows Registry
<ol>
<li>ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_JumpListItems
<ol>
<li>Number of items to display on Jump List</li>
<li>Default value of 10</li>
<li>Maximum value of 60</li>
</ol>
</li>
<li>ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ Start_TrackDocs
<ol>
<li>Status of feature</li>
<li>Switched on by default</li>
<li>If present the feature has been turned off at some point (0 = Jump Lists off. 1 = Jump Lists on)</li>
</ol>
</li>
<li>Only present if default values\state changed</li>
</ol>
</li>
<li>Jump List data stored in Compound Binary files at %systemdrive%\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations
<ol>
<li>Can be shortened to %AppData%\MicrosoftAppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations</li>
<li>Most entries in Compound Binary files are named with a hexadecimal numeric value
<ol>
<li>Structured as link files</li>
</ol>
</li>
<li>DestList records the order of access</li>
</ol>
</li>
<li>Not all applications use Jump Lists to record file accesses.</li>
<li>The individual entries in the ‘<i>DestList</i>’ element of a Jump List contain a wealth of information regarding the target files to which they relate including:
<ol>
<li>The Entry ID number, which can be used to ascertain the order in which the entries were added to the list and therefore the order in which files were first accessed.</li>
<li>A count of file accesses which result in the contents being presented to the user.
<ol>
<li>Different applications may record this information in different ways.</li>
</ol>
</li>
<li>The date and time (in GMT) of the last recorded access for each entry.</li>
<li>A flag to indicate whether the file has been pinned to the list and, if it has, the order in which it was pinned.</li>
<li>The full path of the target file.</li>
</ol>
</li>
<li>It is possible to identify if entries have been deleted from a list through:
<ol>
<li>Disparity between the number of entries in the list as recorded in the ‘<i>DestList</i>’ header and the last issued Entry ID.</li>
<li>Values missing from the numerical sequence used to name the individual entries.</li>
</ol>
</li>
</ol>
<p><i>_____________________________________________________________________________</i></p>
<p><b>References</b></p>
<p>AccessData (2010) <i>Registry Quick Find Chart</i>. [online] Available at: <a href="http://accessdata.com/media/en_us/print/papers/Registry_Quick_Find_Chart_9–27–10.pdf" rel="nofollow">http://accessdata.com/media/en_us/print/papers/Registry_Quick_Find_Chart_9–27–10.pdf</a> [Accessed: 21 Jul 2011].</p>
<p>Ard, C. (2007) <em>Introduction to Windows 7</em>. [online] Available at: <a href="http://info.publicintelligence.net/WIN7–TWO–Hour–Talk.pdf" rel="nofollow">http://info.publicintelligence.net/WIN7–TWO–Hour–Talk.pdf</a> [Accessed: 17 Feb 2011].</p>
<p>Barnett, A. (n.d.) <em>The Forensic Value of the Windows 7 Jump List</em>. [online] Available at: <a href="http://www.alexbarnett.com/jumplistforensics.pdf" rel="nofollow">http://www.alexbarnett.com/jumplistforensics.pdf</a> [Accessed: 13 Sep 2011].</p>
<p>Carvey, H. ((a) 2011) Jump List DestList Structure. <em>Windows Incident Response</em>, [blog] 28 Jun 2011, Available at: <a href="http://windowsir.blogspot.com/2011/06/meetup–tools–and–other–stuff.html" rel="nofollow">http://windowsir.blogspot.com/2011/06/meetup–tools–and–other–stuff.html</a> [Accessed: 8 Sep 2011].</p>
<p>Larson, T. (n.d.) <i>Forensic Examination of Windows 7 Jump Lists</i>. [online] Available at: <a href="http://www.slideshare.net/ctin/windows–7–forensics–jump–listsrv3public" rel="nofollow">http://www.slideshare.net/ctin/windows–7–forensics–jump–listsrv3public</a> [Accessed: 7 Jun 2011].</p>
<p>Li, N. (2011) <i>Change the Number of Recent Items Displayed in Windows 7 Jump List</i>. [online] Available at: <a href="http://blogs.technet.com/b/win7/archive/2011/05/10/change–the–number–of–recent–items–displayed–in–windows–7–jump–list.aspx" rel="nofollow">http://blogs.technet.com/b/win7/archive/2011/05/10/change–the–number–of–recent–items–displayed–in–windows–7–jump–list.aspx</a> [Accessed: 21 Jul 2011].</p>
<p>MSDN (2010) (a) <em>[MS–CFB]: Compound File Binary File Format</em>. [online] Available at: <a href="http://msdn.microsoft.com/en–us/library/dd942138.aspx" rel="nofollow">http://msdn.microsoft.com/en–us/library/dd942138.aspx</a> [Accessed: 26 Feb 2011].</p>
<p>MSDN (2010) (b) <i>[MS–SHLLINK]: Shell Link (.LNK) Binary File Format</i>. [online] Available at: <a href="http://msdn.microsoft.com/en–us/library/dd871305(PROT.10)" rel="nofollow">http://msdn.microsoft.com/en–us/library/dd871305(PROT.10)</a>.aspx [Accessed: 17 Feb 11].</p>
<p>MSDN (2011) <i>Application User Model IDs (AppUserModelIDs)</i>. [online] Available at: <a href="http://msdn.microsoft.com/en–us/library/dd378459(v=vs.85)" rel="nofollow">http://msdn.microsoft.com/en–us/library/dd378459(v=vs.85)</a>.aspx [Accessed: 26 Jul 2011].</p>
<p>Torres, A. (2011) Revealing Intent with Windows 7 Artifacts. <i>Computer Enterprise and Investigations Conference</i>.</p>
<div>
<p><i>_____________________________________________________________________________</i></p>
</div>
<p>Rob Lyness is a member of the British Army Royal Military Police, who has specialised as a forensic computer examiner since February 2007.</p>
<p>He began the MSc with Cranfield University in February 2009 and graduated in July 2012.</p>
<p>He was awarded the prize for the highest scoring project with his thesis ‘An Assessment of the Forensic Value of Windows 7 Jump Lists’.</p>
<p>Rob welcomes any questions regarding the content of this article.  Please feel free to PM.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2033/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2033&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2012/10/30/forensic-analysis-of-windows-7-jump-lists/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f81c65b7e153afa305c750426c94ed1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">roblyness</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/fig1.jpg?w=437" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/fig2.jpg?w=471" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/fig3.jpg?w=447" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/fig4.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/fig5.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/move1.jpg?w=379" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/move2.jpg?w=377" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/pin.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/2.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://forensicfocus.files.wordpress.com/2012/10/1.jpg?w=487" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>
	</item>
		<item>
		<title>Why SSD Drives Destroy Court Evidence, and What Can Be Done About It</title>
		<link>http://articles.forensicfocus.com/2012/10/23/why-ssd-drives-destroy-court-evidence-and-what-can-be-done-about-it/</link>
		<comments>http://articles.forensicfocus.com/2012/10/23/why-ssd-drives-destroy-court-evidence-and-what-can-be-done-about-it/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 07:00:56 +0000</pubDate>
		<dc:creator>belkasoft</dc:creator>
				<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2011</guid>
		<description><![CDATA[by Yuri Gubanov yug@belkasoft.com, Oleg Afonin aoleg@voicecallcentral.com Belkasoft Ltd. http://belkasoft.com Abstract Solid State drives (SSD) introduced dramatic changes to the principles of computer forensics. Forensic acquisition of computers equipped with SSD storage is very different of how we used to acquire PCs using traditional magnetic media. Instead of predictable and highly possible recovery of information the &#8230; <a href="http://articles.forensicfocus.com/2012/10/23/why-ssd-drives-destroy-court-evidence-and-what-can-be-done-about-it/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2011&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:left;">by Yuri Gubanov <a href="mailto:yug@belkasoft.com">yug@belkasoft.com</a>, Oleg Afonin <a href="mailto:aoleg@voicecallcentral.com">aoleg@voicecallcentral.com</a><br />
Belkasoft Ltd. <a href="http://belkasoft.com/">http://belkasoft.com</a></p>
<h2>Abstract</h2>
<p>Solid State drives (SSD) introduced dramatic changes to the principles of computer<br />
forensics. Forensic acquisition of computers equipped with SSD storage is very different<br />
of how we used to acquire PCs using traditional magnetic media. Instead of predictable<br />
and highly possible recovery of information the suspect attempted to destroy, we<br />
are entering the muddy waters of stochastic forensics where nothing can be assumed<br />
as a given.</p>
<p style="text-align:left;"><a href="http://forensic.belkasoft.com/download/info/SSD Forensics 2012.pdf">Download article in PDF format</a></p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD1.jpg" /></p>
<h2>Stochastic Forensics</h2>
<p>The way today&#8217;s SSD drives operate allows little space for positive assumptions.<br />
With SSD drives, the only thing we can assume is that an investigator can access<br />
existing information stored on the disk. Deleted files and data the suspect attempted<br />
to destroy (by e.g. formatting the disk &#8211; even in &#8220;Quick Format&#8221; mode) may be lost<br />
forever in a matter of minutes [1]. And even if the computer is powered off immediately<br />
after a destructive command has been issued (e.g. in a few minutes after the Quick<br />
Format), there is no easy way to prevent the disk from destroying the data once<br />
the power is back on. The situation is somewhat of a paradox, reminding of Schrödinger&#8217;s<br />
cat: one will never know if the cat is alive before opening the box [2].</p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/Schrodingers_cat.png" height="298" width="560" /></p>
<p><em><br />
Schrödinger&#8217;s cat, image from Wikipedia</em></p>
<p>The golden age of forensics is going to end. &#8220;Given the pace of development in<br />
SSD memory and controller technology, and the increasingly proliferation of manufacturers,<br />
drives, and firmware versions, it will probably never be possible to remove or narrow<br />
this new grey area within the forensic and legal domain,&#8221; the scientists, from Australia&#8217;s<br />
Murdoch University, wrote. &#8220;It seems possible that the golden age for forensic recovery<br />
and analysis of deleted data and deleted metadata may now be ending.&#8221; [1]</p>
<h3>Cannot Delete</h3>
<p>The way SSD drives are constructed imposes several design limitations. Existing<br />
types of flash memory allow for a limited number of write operations before wearing<br />
off. Modern SSD drives employ smart wear leveling techniques [3] that, instead of<br />
re-using existing blocks of memory, will write to a different block when data stored<br />
in a certain block is being modified. This in turn will leave blocks containing<br />
potentially sensitive information scattered all over the memory chip.</p>
<p>To further increase effective lifespan and improve wear leveling on SSD drives,<br />
many manufacturers install chips that can hold up to 25 percent more data than their<br />
advertised capacities [4]. This extra capacity is not addressable by means of the<br />
operating system, or by any other reasonable means (e.g. without using custom hardware<br />
to access the flash chips directly). This as well makes the content on SSD drives<br />
impossible to wipe as securely as required by some government and military standards<br />
via traditional means.</p>
<p>To mitigate this issue, some SSD manufacturers implemented an extension to the<br />
ATA ANSI specification to enable secure destruction of information stored on all<br />
flash chips [5]. The ATA Secure Erase (SE) command, when implemented correctly [4],<br />
wipes the entire contents of the drive at a hardware level.</p>
<p>In general, software secure wipe tools that would overwrite information stored<br />
on a hard drive with cryptographically secure random data in several passes. The<br />
problem with these software tools is their inability to address and, therefore,<br />
access the entire storage capacity of the SSD drive (including system, reserved<br />
and remapped areas).</p>
<p>As opposed to software-based tools, the ATA Secure Erase command instructs built-in<br />
SSD controller supporting the command to electronically erase all blocks on all<br />
flash chips of the drive. Effectively, erased SSD drives are cleaned completely,<br />
with all blocks being completely empty and available for immediate write (additional<br />
erase cycles will not be required before writing information to wiped blocks). Effectively,<br />
the SE command restores the SSD to factory defaults and write performance. When<br />
properly implemented [4] [13], the SE command will result in complete wipe of all<br />
storage regions of the SSD drive including any reserved, system and service areas.</p>
<p>An example of properly implemented secure erase is found in Intel self-encrypting<br />
SSD drives. According to Intel [13], &#8220;Executing a SECURE ERASE function, such as<br />
that found in the Intel® SSD Toolbox, will cause the Intel SSD 320 Series drives<br />
to generate a new internal encryption key.&#8221; This will instantly render unusable<br />
all the encrypted user data stored on an Intel 320 Series SSD (and other devices<br />
supporting hardware-level full-disk encryption).</p>
<h3>Cannot Recover</h3>
<p>The inability to reliably recover erased information is another side of the same<br />
coin. The use of wear leveling will cause extensive use of the drive&#8217;s storage capacity,<br />
making use of previously unoccupied blocks of data at the time each write operation<br />
commences. Even repeat writes to the same file (e.g. the page file) will cause the<br />
entire content of the SSD drive to become &#8220;dirty&#8221;, leading to severe decrease in<br />
performance with write speeds being much slower than usual. This occurs because<br />
flash technology used in SSD drives requires blocks to be erased before the controller<br />
can perform a write operation on them. This property is unique to storage devices<br />
based on the flash technology, and is very different from how traditional magnetic<br />
types of media handle write requests.</p>
<p>As the process of erasing previously occupied blocks tends to be much slower<br />
compared to reading and writing, SSD drives full of &#8220;dirty&#8221; blocks will require<br />
significant time to write even a single block of data as no empty (erased) blocks<br />
exist. This lead SSD manufacturers to design a process performing garbage collection,<br />
erasing &#8220;dirty&#8221; blocks in background and making them available for fast write operations<br />
again.</p>
<p>The issue with garbage collection is that neither the drives nor their controllers<br />
know exactly which blocks are actually occupied by files or system structures of<br />
the operating system, and which blocks are no longer used and are just &#8220;dirty&#8221;.<br />
While the controller could mark blocks that were remapped to another blocks as a<br />
part of a wear leveling process, this information would only slow down the process<br />
of the drive being filled up with &#8220;dirty&#8221; blocks during normal use of the drive<br />
that typically involves creating, writing, modifying and deleting files.</p>
<p>In order to mitigate this issue, SSD designers developed an interface allowing<br />
the operating system (e.g. Windows, Linux, Mac OS X etc.) to inform the controller<br />
that certain blocks are no longer in use via the TRIM command [6]. This allows the<br />
internal garbage collector to electronically erase the content of these blocks,<br />
preparing them for future write operations.</p>
<p>Blocks of data processed by garbage collector are physically erased. Information<br />
from such blocks cannot be recovered even with the use of expensive custom hardware.<br />
Forensic researchers named this process as &#8220;self-corrosion&#8221; [7] [12].</p>
<h2>SSD Self-Corrosion</h2>
<p>Today&#8217;s SSDs self-destroy court evidence through the process that can be called<br />
&#8220;self corrosion&#8221;. Garbage collection running as a background process in most modern<br />
SSDs will permanently erase data marked for deletion, making it gone forever in<br />
a matter of minutes after the data has been marked for deletion. It is not possible<br />
to prevent garbage collection by moving the disk to another PC or attaching it to<br />
a write blocking device. The only way to prevent self-corrosion is physically detaching<br />
the disk controller from flash memory chips storing the data, and then accessing<br />
the chips directly via custom hardware [see "Hardware for SSD Forensics"].</p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD2.jpg" /></p>
<h3>TRIM: Myths and Reality</h3>
<p>A common misconception is that discarded blocks of an SSD drive are immediately<br />
erased. This is not usually the case. Instead, the way the TRIM command operates<br />
is considering the contents of discarded blocks as indeterminate (the &#8220;don&#8217;t care&#8221;<br />
state) until the moment these blocks are physically erased by a separate background<br />
process, the garbage collector. In other words, the TRIM command does not erase<br />
the content of discarded blocks by itself. Instead, it adds them to a queue of pending<br />
blocks for being cleared by the garbage collector.</p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/TrimQueue.jpg" width="600" /></p>
<p>TRIM, image from<br />
<a href="http://www.corsair.com/us/blog/how-to-check-that-trim-is-active/">http://www.corsair.com/us/blog/how-to-check-that-trim-is-active/</a></p>
<h3>Exceptions</h3>
<p>The &#8220;cannot recover&#8221; rule does not apply if the TRIM command has not been issued,<br />
or if TRIM is not supported by any link of the chain. If this is the case, information<br />
from SSD drives can be recovered in pretty much the same way as from a traditional<br />
hard drive [8][9].</p>
<p>The TRIM protocol will be disabled, or is not supported altogether, if at least<br />
one of the following conditions is met:</p>
<ul>
<li><strong>Old SSD drives</strong>Older SSD drives do not support the TRIM command. For example, Intel started<br />
manufacturing TRIM-enabled SSD drives with drive lithography of 34nm (G2); their<br />
50nm SSDs do not have TRIM support. [10]</li>
<li><strong>Old versions of Windows</strong>In Windows Vista and earlier versions, the TRIM protocol is not supported, and<br />
the TRIM command is not issued.<strong>Possible exception:</strong> TRIM-like performance can be enabled via<br />
certain third-party solutions (e.g. Intel SSD Optimizer, a part of<br />
<a href="http://www.intel.com/support/go/ssdtoolbox/index.htm">Intel SSD Toolbox</a>).</li>
<li><strong>Old versions of MacOS X</strong>Mac OS X started supporting the TRIM command for Apple supplied SSD drives since<br />
version 10.6.8. Older builds of Mac OS X do not support TRIM. In addition, user-installed<br />
SSD drives not supplied by Apple itself are excluded from TRIM support.</li>
<li><strong>(Windows) File systems other than NTFS</strong>At this time, only NTFS-formatted partitions receive full TRIM support in Windows.<br />
Volumes formatted with FAT, FAT32 or other file systems are excluded.</li>
<li><strong>External drives, USB enclosures and Network Attached Storage</strong>The TRIM command is fully supported over the SATA interface, including the eSATA<br />
extension, as well as SCSI via the UNMAP command. If an SSD drive is used in<br />
a USB enclosure or installed in certain types of NAS storage, the TRIM command<br />
will not be communicated via the unsupported interface.</li>
<li><strong><strong>PCI-Express SSDs</strong></strong>Interestingly, the TRIM command is not natively supported by any version<br />
of Windows for high-performance SSD drives occupying the PCI Express slot.<strong>Possible exception:</strong> TRIM-like performance can be enabled via<br />
certain third-party solutions (e.g. Intel SSD Optimizer, a part of Intel SSD<br />
Toolbox).</li>
<li><strong>RAID</strong>As of this writing, the TRIM command is generally not supported over RAID configurations<br />
(with few very rare exceptions) [10]. SSD drives working as part of a RAID array<br />
can be analyzed.</li>
<li><strong>Logical corruption</strong>Surprisingly, SSD drives with corrupted system areas (damaged partition tables,<br />
skewed file systems etc.) are easier to recover than healthy ones. The TRIM<br />
command is not issued over corrupted areas [11], because files are not properly<br />
deleted; they simply become invisible or inaccessible to the operating systems.<br />
Many commercially available data recovery tools (e.g. Intel® Solid-State Drive<br />
Toolbox with Intel® SSD Optimizer, OCZ SSD Toolbox) can reliably extract information<br />
from logically corrupted SSD drives.</li>
<li><strong>Encrypted volumes</strong>Somewhat counter-intuitively, information deleted from certain types of encrypted<br />
volumes (some configurations of BitLocker, TrueCrypt, PGP and other containers.)<br />
may be easier to recover as it may not be affected by the TRIM command. Files<br />
deleted from such encrypted volumes stored on an SSD drive can be recovered<br />
(unless they were specifically wiped by the user) if the investigator knows<br />
either the original password or binary decryption keys for the volume.</li>
</ul>
<h2>Encrypted Volumes</h2>
<p>Encrypted volumes and SSD drives don&#8217;t play well together due to the wear leveling<br />
and performance issues described above. In many configurations, the crypto containers<br />
will encrypt the entire space on the drive, including free space. This turns every<br />
write on that disk into a re-write, which significantly slows down write performance<br />
on SSDs. The manufacturers of crypto containers recognized the issue and introduced<br />
ways (such us various configurations and advanced options) to mitigate the issue<br />
by releasing unused space back to the SSD controller, which in turn weakens overall<br />
security (as free unencrypted sectors are easy to tell).</p>
<p>If an encrypted volume of a fixed size is created, the default behavior is also<br />
to encrypt the entire content of a file representing the encrypted volume, which<br />
disables the effect of the TRIM command for the contents of the encrypted volume.</p>
<p>A dedicated research is required to investigate these options. At this time one<br />
thing is clear: in many configurations, including default ones, files deleted from<br />
encrypted volumes will not be affected by the TRIM command. Which brings us to the<br />
question of the correct acquisition of PCs with encrypted volumes.</p>
<h3>Forensic Acquisition: The Right Way to Do</h3>
<p>The right way to acquire a PC with a crypto container can be described with the<br />
following sentence: &#8220;If it&#8217;s running, don&#8217;t turn it off. If it&#8217;s off, don&#8217;t turn<br />
it on.&#8221; Indeed, the original decryption keys are cached in the computer&#8217;s memory,<br />
and can be extracted from a Live RAM dump obtained from a running computer by performing<br />
a FireWire attack. These keys can be also contained in page files and hibernation<br />
files. Tools such as Elcomsoft Forensic Disk Decryptor can extract decryption files<br />
from memory dumps and page/hibernation files, decrypting the content of encrypted<br />
volumes.</p>
<h2>Hardware for SSD Forensics</h2>
<p>At this time, most forensic researches involving the investigation of SSD drives<br />
are still performed on dedicated but still regular computers. SSD drives are either<br />
attached directly to the computer&#8217;s SATA interface or connected via a write blocking<br />
device of the same type that is also used to investigate magnetic hard drives. While<br />
write blockers do prevent user-induced modifications to the data stored on the SSD<br />
drive, they have nothing to do with the operation of the TRIM command and the disk&#8217;s<br />
internal garbage collector. It is essential to realize that an SSD drive connected<br />
via a write blocking device will continue performing background garbage collection,<br />
possibly destroying the last remnants of deleted information from the disk.</p>
<p>Preventing the operation of internal garbage collection is only possible by physically<br />
disconnecting the built-in controller from actual flash chips, and accessing information<br />
stored in the chips directly. At this time, this method is far from being popular<br />
as it requires special skills and custom hardware.</p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD%20controller.png" height="480" width="624" /></p>
<p>SSD controller and flash memory blocks, image taken from<br />
<a href="http://webscopia.com/2011/10/what-is-an-ssd-solid-state-disk-basics-and-performance-measures/"></p>
<p>http://webscopia.com/2011/10/what-is-an-ssd-solid-state-disk-basics-and-performance-measures/</p>
<p></a></p>
<h3>Custom Hardware: The Future of SSD Forensics?</h3>
<p>By physically detaching the controller and using custom hardware to read information<br />
directly from the flash ships, investigators could extract traces of destroyed information<br />
that could be stored in various areas of the flash chips.</p>
<p><img class="aligncenter" alt="" src="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/CustomHardwareWei.png" height="491" width="598" /></p>
<p style="text-align:center;"><em>Custom SSD recovery hardware [4]</em></p>
<p>A group of scientists from University of California [4] designed an FPGA-based<br />
device providing direct access to flash chips of the SSD drive while bypassing the<br />
controller. The researchers estimated the cost of their prototype as $1000, while<br />
their estimate for building production units using microcontrollers instead of FPGA&#8217;s<br />
was as little as $200.</p>
<p>Is this the future of SSD forensics? While custom devices such as those built<br />
by Californian researchers may help forensic specialists extract some extra traces<br />
from certain SSD drives, other researchers suggest that most information is lost<br />
from an SSD drive in just a few counted minutes after the user deletes a file or<br />
issues a quick format command. The need to maintain custom hardware as well as the<br />
need of having specially trained staff for using this method will only make it justified<br />
for very few select cases.</p>
<h2>Conclusion</h2>
<p>SSD forensics is different. SSDs self-destroy court evidence, making it difficult<br />
to extract deleted files and destroyed information (e.g. from formatted disks) close<br />
to impossible. However, the correct acquisition technique may result in acquiring<br />
the original binary decryption keys, allowing investigators to access information<br />
stored in encrypted volumes, which may provide access to more information than available<br />
in unencrypted areas of SSD drives. In addition, numerous exceptions exist that<br />
effectively prevent mechanisms causing evidence self-corruption on SSD drives. Currently,<br />
SSD drives used in NAS devices, participating in RAID configurations, and connected<br />
as external devices via USB and FireWire are excepted from evidence self-corruption.<br />
Old versions of Windows, Mac OS and Linux do not support SSD&#8217;s garbage collection<br />
mechanisms, and are also exceptions.</p>
<p>The playfield is changing very fast. What&#8217;s true today may no longer apply tomorrow.<br />
We&#8217;ll keep an eye on what&#8217;s happening in the industry, releasing an updated report<br />
in a few months.</p>
<h2>About the Authors</h2>
<table border="0">
<tbody>
<tr>
<td><img style="border:0;" alt="" src="http://forensic.belkasoft.com/images/YuriGubanov.jpg" /></td>
<td><strong>Yuri Gubanov</strong>is a renowned computer forensics expert. He is a frequent speaker at industry-known conferences such as EuroForensics, CEIC, China Forensic Conference, FT-Day, ICDDF, TechnoForensics and others. Yuri is the Founder and CEO of Belkasoft. Besides, Yuri is an author of f-interviews.com, a blog where he takes interviews with key persons in digital forensics and security domain.You can reach Yuri Gubanov at <a href="mailto:yug@belkasoft.com">yug@belkasoft.com</a> or add him to your LinkedIn network at <a href="http://linkedin.com/in/yurigubanov">http://linkedin.com/in/yurigubanov</a></td>
</tr>
<tr>
<td></td>
<td><strong>Oleg Afonin</strong> is an independent expert and consultant in computer forensics. You can reach Oleg at <a href="mailto:aoleg@voicecallcentral.com">aoleg@voicecallcentral.com</a></td>
</tr>
</tbody>
</table>
<h2>Literature</h2>
<p>[1] Solid State Drives: The Beginning of the End for Current Practice in Digital Forensic Recovery?<br />
<a href="http://www.jdfsl.org/subscriptions/JDFSL-V5N3-Bell.pdf">http://www.jdfsl.org/subscriptions/JDFSL-V5N3-Bell.pdf</a></p>
<p>[2] <a href="http://en.wikipedia.org/wiki/Schrödinger's_cat">http://en.wikipedia.org/wiki/Schr%C3%B6dinger&#8217;s_cat</a></p>
<p>[3] Wear Leveling <a href="http://en.wikipedia.org/wiki/Wear_leveling">http://en.wikipedia.org/wiki/Wear_leveling</a></p>
<p>[4] Reliably Erasing Data From Flash-Based Solid State Drives<br />
<a href="http://www.usenix.org/events/fast11/tech/full_papers/Wei.pdf">http://www.usenix.org/events/fast11/tech/full_papers/Wei.pdf</a></p>
<p>[5] SSD Data Wiping: Sanitize or Secure Erase SSDs?<br />
<a href="http://www.kingston.com/us/community/articletype/articleview/articleid/202/ssd-data-wiping-sanitize-or-secure-erase-ssds.aspx">http://www.kingston.com/us/community/articletype/articleview/articleid/202/ssd-data-wiping-sanitize-or-secure-erase-ssds.aspx<br />
</a></p>
<p>[6] TRIM <a href="http://en.wikipedia.org/wiki/TRIM">http://en.wikipedia.org/wiki/TRIM</a></p>
<p>[7] Modern SSDs self-destroy court evidence<br />
<a href="http://www.ssdfreaks.com/content/612/modern-ssds-self-destroy-court-evidence">http://www.ssdfreaks.com/content/612/modern-ssds-self-destroy-court-evidence </a></p>
<p>[8] Retrieving Digital Evidence: Methods, Techniques and Issues<br />
<a href="http://forensic.belkasoft.com/en/retrieving-digital-evidence-methods-techniques-and-issues">http://forensic.belkasoft.com/en/retrieving-digital-evidence-methods-techniques-and-issues<br />
</a></p>
<p>[9] Belkasoft Evidence Center 2012 Help: Carving<br />
<a href="http://forensic.belkasoft.com/en/bec/en/Carving.asp">http://forensic.belkasoft.com/en/bec/en/Carving.asp</a></p>
<p>[10] Intel SSD, TRIM support<br />
<a href="http://www.intel.com/support/ssdc/hpssd/sb/CS-031846.htm">http://www.intel.com/support/ssdc/hpssd/sb/CS-031846.htm</a></p>
<p>[11] Recovering Information from SSD Drives: Myths and Reality<br />
<a href="http://hetmanrecovery.com/recovery_news/vosstanovlenie-informacii-s-ssd-nakopit.htm">http://hetmanrecovery.com/recovery_news/vosstanovlenie-informacii-s-ssd-nakopit.htm<br />
</a></p>
<div>
<p>[12] Solid state drives and forensic troubles<br />
<a href="http://tech.wiredpig.us/post/12292126487/solid-state-drives-and-forensic-troubles">http://tech.wiredpig.us/post/12292126487/solid-state-drives-and-forensic-troubles<br />
</a></p>
<p>[13] Intel 320-series SSD and FDE (Full Disk Encryption) questions&#8230;<br />
<a href="http://communities.intel.com/thread/20537">http://communities.intel.com/thread/20537</a></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2011/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2011&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2012/10/23/why-ssd-drives-destroy-court-evidence-and-what-can-be-done-about-it/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f5693b3dabe14d0fe3cfce27a3d6a3b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">belkasoft</media:title>
		</media:content>

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD1.jpg" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/Schrodingers_cat.png" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD2.jpg" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/TrimQueue.jpg" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/SSD%20controller.png" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/articles/why-ssd-destroy-court-evidence/CustomHardwareWei.png" medium="image" />

		<media:content url="http://forensic.belkasoft.com/images/YuriGubanov.jpg" medium="image" />
	</item>
		<item>
		<title>Encrypt it, but Don&#8217;t Trust It</title>
		<link>http://articles.forensicfocus.com/2012/10/16/encrypt-it-but-dont-trust-it/</link>
		<comments>http://articles.forensicfocus.com/2012/10/16/encrypt-it-but-dont-trust-it/#comments</comments>
		<pubDate>Tue, 16 Oct 2012 05:11:09 +0000</pubDate>
		<dc:creator>zoltanszabodfw</dc:creator>
				<category><![CDATA[Forensics 101]]></category>
		<category><![CDATA[acquisition tools]]></category>
		<category><![CDATA[ftk imager]]></category>

		<guid isPermaLink="false">http://articles.forensicfocus.com/?p=2005</guid>
		<description><![CDATA[This is not about acquisition tools, but about understanding why we need to test our tools even if the tool was just updated.  The latest and greatest tool without testing can be a risk factor just like the old and worthless. I remember how excited I was to test TIM (Tableau IMager) on a multi &#8230; <a href="http://articles.forensicfocus.com/2012/10/16/encrypt-it-but-dont-trust-it/">Continue reading <span class="meta-nav">&#187;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2005&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is not about acquisition tools, but about understanding why we need to test our tools even if the tool was just updated.  The latest and greatest tool without testing can be a risk factor just like the old and worthless.</p>
<p>I remember how excited I was to test TIM (Tableau IMager) on a multi core system and see it outperform the competition.  It was just as exciting as finding out about Access Data’s FTK Imager CLI.  It was not about the performance improvement (since there was none) but the OS support and the ability to encrypt images using a certificate.</p>
<p>It’s been working great, but in the latest version something has changed.  Using version 3.1.1 to acquire an image on Windows 7 Professional 32/64 bit worked as advertised.</p>
<p><span style="color:#333399;">C:\temp\ftkimager&gt;<strong>ftkimager.exe \\.\physicaldrive1 c:\temp\usb &#8211;e01 &#8211;outcert C:\temp\pub.cer</strong></span><br />
<span style="color:#333399;">AccessData FTK Imager v3.1.1 CLI (Aug 20 2012)</span><br />
<span style="color:#333399;">Copyright 2006-2012 AccessData Corp., 384 South 400 West, Lindon, UT 84042</span><br />
<span style="color:#333399;">All rights reserved.</span></p>
<p><span style="color:#333399;">Creating image&#8230;</span><br />
<span style="color:#333399;">Image creation complete.</span></p>
<p>The image was opened in FTK Imager 3.0.1 using the private key and the given password and FTK Imager was happy to comply.  Of course, the question can come up to verify the image in the tool that created it.  Surprisingly, the newest version of the software gave an error message and refused to take the private key with the password that worked just fine in GUI.</p>
<p><span style="color:#333399;">C:\temp\ftkimager&gt;</span><strong>ftkimager.exe c:\temp\usb.e01 &#8211;verify  &#8211;incert c:\temp\pri.pfx p@$$w0rd</strong><br />
<span style="color:#333399;">AccessData FTK Imager v3.1.1 CLI (Aug 20 2012)</span><br />
<span style="color:#333399;">Copyright 2006-2012 AccessData Corp., 384 South 400 West, Lindon, UT 84042</span><br />
<span style="color:#333399;">All rights reserved.</span></p>
<p><span style="color:#333399;">Error setting up decryption: DecryptWithPrivateKey: Cert encrypted and password failed: c:\temp\pri.pfx</span><br />
<span style="color:#333399;">** AD Decryption setup failed.</span></p>
<p>This seemed to be odd since new version of software supposed to fix problems and not break what was working just fine.  The natural thing was to think that it must have been the command line options I used, the spelling of words, or the spaces.  Then, the private key and password were blamed.  Then, in a final attempt, I wanted to see if the previous version was able to access the image and verify it.  It worked.  It felt grate to verify that I do know how to spell and remembered my password correctly.  The image was not lost and a lesson was learned about the value of tool testing.</p>
<p><span style="color:#333399;">C:\FTK ImagerCLI 2.9.0_Win32&gt;<strong>ftkimager.exe c:\temp\usb.E01 &#8211;verify &#8211;incert c:\temp\pri.pfx p@$$w0rd</strong></span><br />
<span style="color:#333399;">AccessData FTK Imager v2.9 CLI (May 11 2010)</span><br />
<span style="color:#333399;">Copyright 2006-2010 AccessData Corp., 384 South 400 West, Lindon, UT 84042</span><br />
<span style="color:#333399;">All rights reserved.</span></p>
<p><span style="color:#333399;">Verifying image&#8230;</span><br />
<span style="color:#333399;">Image verification complete.</span><br />
<span style="color:#333399;">[MD5]</span><br />
<span style="color:#333399;"> Computed hash: 08d27c2233aee57c95ddecb0386e1e6f</span><br />
<span style="color:#333399;"> Image hash:    08d27c2233aee57c95ddecb0386e1e6f</span><br />
<span style="color:#333399;"> Report hash:   08d27c2233aee57c95ddecb0386e1e6f</span><br />
<span style="color:#333399;"> Verify result: Match</span><br />
<span style="color:#333399;">[SHA1]</span><br />
<span style="color:#333399;"> Computed hash: 38e1d87975594abd14608960e2236737619f08db</span><br />
<span style="color:#333399;"> Image hash:    38e1d87975594abd14608960e2236737619f08db</span><br />
<span style="color:#333399;"> Report hash:   38e1d87975594abd14608960e2236737619f08db</span><br />
<span style="color:#333399;"> Verify result: Match</span></p>
<p>Problems like this must be treated as a valuable lesson that no books and training classes can relay.  Know your tools and you should treat every update with caution.  Maybe there is a good reason for projects like NIST’s Computer Forensics Tool Testing (CFTT) Project.  It would have been an interesting feeling to find out that you couldn’t decrypt an encrypted evidence file.  There is no substitute for risk management and methodological problem solving.  I do hope that AccessData will remedy this issue and will not create another &#8220;teachable moment&#8221; in future releases.</p>
<p>P.S. It still does not make sense why the User Manual PDF file does not show the &#8212; ( double dashes ) that are required for the options to work.  It&#8217;s been like that since the first release.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/forensicfocus.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/forensicfocus.wordpress.com/2005/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=articles.forensicfocus.com&#038;blog=24581919&#038;post=2005&#038;subd=forensicfocus&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://articles.forensicfocus.com/2012/10/16/encrypt-it-but-dont-trust-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/56bbc23f56145743461f6eb737afbf46?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zoltanszabodfw</media:title>
		</media:content>
	</item>
	</channel>
</rss>
