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

<channel>
	<title>tanasi.it &#187; recover</title>
	<atom:link href="http://www.tanasi.it/tag/recover/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tanasi.it</link>
	<description>Alessandro `jekil` Tanasi blog</description>
	<lastBuildDate>Fri, 02 Jul 2010 11:06:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to recover data and deleted files from Ext3 partitions</title>
		<link>http://www.tanasi.it/1056-how-to-recover-data-and-deleted-files-from-ext3-partitions.html</link>
		<comments>http://www.tanasi.it/1056-how-to-recover-data-and-deleted-files-from-ext3-partitions.html#comments</comments>
		<pubDate>Sat, 04 Aug 2007 19:51:00 +0000</pubDate>
		<dc:creator>jekil</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[In English]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[forensic]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[recover deleted files]]></category>
		<category><![CDATA[recover files]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=998</guid>
		<description><![CDATA[A lot of times aroud the net i read posts like &#34;help help! my cat walking over my keyboard delete some files and i must recover it&#34; and a lot of times the answars is &#34;you can&#8217;t undelete or recover files from ext3 partitions, i am sorry&#34;.This is wrong.
Files from ext3 partitions can be recovered. [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of times aroud the net i read posts like &quot;<i>help help! my cat walking over my keyboard <b>delete</b> some files and i must recover it</i>&quot; and a lot of times the answars is &quot;<i>you can&#8217;t <b>undelete or recover files from ext3 partitions</b></i>, i am sorry&quot;.<br />This is wrong.</p>
<p><b>Files from ext3 partitions can be recovered</b>. Found <b>evidence</b> and<b> recover files</b> from file systems is a common task of a forenser.</p>
<p>Example : We see how try to recover data from a partition, like /dev/sda1.<br />First of all you need a dump, a copy of our partition where we can work:</p>
<p><font face="courier new,courier,monospace">dd if=/dev/sda1 of=dump.dd</font></p>
<p>Now install <a href="http://www.sleuthkit.org">Sleuth Kit</a>, and to view all of the <b>deleted file names</b> in an image use:</p>
<p><font face="courier new,courier,monospace">fls -rd dump.dd | less</font></p>
<p>This shows us the full path that the deleted files are located. <br />The number at the beginning of the line is the inode number. <br />The &#8216;*&#8217; shows that it is deleted and the &#8216;d&#8217; and &#8216;r&#8217; show the type (directory and file). <br />The first letter identifies the directory entry type value (which does not exist in all file system types) and the second letter is the type according to the inode. <br />In most cases these should be the same, but it may not for deleted files if the inode has been reallocated to a file of a different type.<br />We can examine an inode using istat, here i examine inode number 123:</p>
<p><font face="courier new,courier,monospace">istat dump.dd 123</font></p>
<p>To identify the group where the file that we want to recover is in we get the list of file system groups:</p>
<p><font face="courier new,courier,monospace">fsstat dump.dd</font></p>
<p>Now we can identify tha inode range, like 45 &#8211; 67, that we want. To search<br />
for the deleted file, we extract the unallocated space:</p>
<p><font face="courier new,courier,monospace">dls dump.dd 45-67 &gt; files.dls</font></p>
<p>We can analyze files.dls with a <b>data carving software</b> like <a href="http://foremost.sourceforge.net/">foremost</a> or the great <a href="http://www.cgsecurity.org/wiki/PhotoRec">photorec</a> and we get all recovereble files.</p>
<ul class="related_post"><li><a href="http://www.tanasi.it/1238-lhard-disk-del-columbia.html" title="L&#8217;Hard Disk del Columbia">L&#8217;Hard Disk del Columbia</a></li><li><a href="http://www.tanasi.it/1052-analisi-forense-di-un-atm-skimmer.html" title="Analisi forense di un ATM Skimmer">Analisi forense di un ATM Skimmer</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.tanasi.it/1056-how-to-recover-data-and-deleted-files-from-ext3-partitions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
