Image
 
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 11 guests online
EH-Net Donations

Enter Amount:
$

Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations





 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Forensicsarrow Data Recovery....
Ethical Hacker Community Forums
November 23, 2008, 04:12:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100! www.chicagocon.com/content/view/103/51/
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Data Recovery....  (Read 3337 times)
0 Members and 1 Guest are viewing this topic.
Dissident85
Newbie
*
Offline Offline

Posts: 16



View Profile
« on: March 24, 2008, 06:11:58 PM »

Hi all, I hope i posted this in the right area of these forums. But i need some advice on some good data recovery software (linux)

While playing around with the Backtrack install feature i have accidentally wiped the windows partition on my laptop.

What would be ideal would to be able to boot up linux on a live cd then use some software to recover what i can to an external HDD. The only data recovery i have done is with PhotoRec and from my knowledge that program is mainly used for images...

Any advice?Huh

Thanks...
Logged
iSmith
Full Member
***
Offline Offline

Posts: 156


Do or do not. There is no try. - Yoda


View Profile
« Reply #1 on: March 24, 2008, 06:31:47 PM »

Welcome to EH-net.

All the same, let this be a lesson to you- always back up your data, especially your critical data.(i'm not saying this to shame you, i once did the same thing with my flash drive, but i had a backup.)

iSmith out.
Logged

In my eyes, your operating system is as solid as swiss cheese.
Bogwitch
Newbie
*
Offline Offline

Posts: 48

Senno Ekto Gamat


View Profile
« Reply #2 on: March 24, 2008, 06:33:14 PM »

Oh dear.
A few questions. How much of an installation did you do? How much data do you have that is not recoverable from other sources, eg via installation, download etc.?
How big is the HDD fitted? Did you install over an existing partition? Have you got a larger HDD you can image your corrupted HDD to? How much time have you got? Smiley No backups?
Logged

CISSP, C|EH, C|HFI
Dissident85
Newbie
*
Offline Offline

Posts: 16



View Profile
« Reply #3 on: March 24, 2008, 06:37:18 PM »

Well my laptop has a 80gb HDD and when the backtrack installer did it thing it cleared all partitions, then created a 1gb one and from what i can see just copied it self from my flash drive.

so at the moment i have a 80gb hard disk, with a 1gb partition with backtrack files on it, and the rest of the space unpartitioned... and i have a spare 300gb external HDD to dump what i can recover on to...
Logged
Bogwitch
Newbie
*
Offline Offline

Posts: 48

Senno Ekto Gamat


View Profile
« Reply #4 on: March 24, 2008, 06:55:30 PM »

Since you have already overwritten the FAT (or equivalent) this will not be an easy recover. There will be very few tools that will help you here - if any.

It will almost certainly require you to manually recover files from blocks. If your drive was heavily fragmented this will be incredibly time-consuming and very, very difficult.

I would create an image of the laptop HDD on the USB HDD and work with that to avoid any further corruption. Once you've done that, you will need to grep for known file headers or content and hope that the files are held in contiguous blocks. You can then manually snip the files out and re-create them.

Was anything really that important?

Like iSmith said. BACKUPS! Wink
Logged

CISSP, C|EH, C|HFI
SynJunkie
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« Reply #5 on: April 17, 2008, 03:05:42 PM »

Hi Loic

i was just browsing the forums and i saw your post so I thought I would register as i might be able to help.

If I had the same problem as you i would do the following.

1. I would boot into a distro such as backtrack or any other that has DD.  using DD I would create a image of the disk onto the external drive. 

dd if=/dev/hda of=/mnt/usb/hdd.img  (or whatever the external disk is mounted as).


2. once I have that image i would use a tool such as foremost to run through the image and pull alot of the files out.

foremost -v -o /home/loic/dump /mnt/usb/hdd.img

This should pull many filetypes out and place them in folders within a folder called dump (create this folder before you start) in your home drive.


Or you could boot into backtrack, mount the external drive as say /mnt/usb and then run foremost direct to that without creating the image.

foremost -v -o /mnt/usb/dump /dev/hda

This would be quicker than ceating the image first obviously.

I have just put a post up on my blog about simple data recovery at http://synjunkie.blogspot.com

I hope this might have been of use to you.
Logged

----------------------------------
http://synjunkie.blogspot.com
RoleReversal
Sr. Member
****
Offline Offline

Posts: 457


View Profile WWW
« Reply #6 on: April 18, 2008, 04:33:44 AM »

SynJunkie,

nice tips and article, think I'll take a closer look at you site Cheesy
Logged

A little bit of sanity:
http://www.infosanity.co.uk
SynJunkie
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« Reply #7 on: April 18, 2008, 04:36:09 PM »

Thanks.

It's a weird coincidence that data recovery was something I was focusing on in that recent blog post.
Logged

----------------------------------
http://synjunkie.blogspot.com
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.048 seconds with 22 queries.
 
Sponsors

cwnp_moto__120x90.gif

Polls
During the most recent election, I:
 
Support EH-Net


Support EH-Net by
Buying all of your
Amazon items using
the search bar above.

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!
Recent Forum Topics
Vote For EH-Net

progenic.com
Click here to Vote!

Sadikhov.com
Top IT Cert Sites

binarica.com
Binarica Logo

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2008 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.