Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 33 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Forensicsarrow Data Recovery....
EH-Net
May 23, 2013, 07:22:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Data Recovery....  (Read 7611 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: 157


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
Jr. Member
**
Offline Offline

Posts: 51

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
Jr. Member
**
Offline Offline

Posts: 51

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
Jr. Member
**
Offline Offline

Posts: 71


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
Andrew Waite
Hero Member
*****
Offline Offline

Posts: 928



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

SynJunkie
Jr. Member
**
Offline Offline

Posts: 71


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.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.061 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

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