News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

Urgent security need!

Started by GameSnake, May 11, 2006, 10:31:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GameSnake

In need of hard drive deletion. I am thinking I could overwrite the OS with a diskette trojan right? Any advice is helpfull.

Sidoh

Quote from: GameSnake on May 11, 2006, 10:31:20 PM
In need of hard drive deletion. I am thinking I could overwrite the OS with a diskette trojan right? Any advice is helpfull.

... overwrite the OS with a diskette trojan?  Yeah, okay.

Deleting the OS (or even formatting the drive) won't destroy the data completely.  You'll want to get a drive scrubber, which overwrites data with garbage.  Install linux and use shred.

iago

Download DBAN.  Burn it to a CD.  Put the CD in your drive.  Reboot.  Follow the instructions.

Warning: will delete all data on the drive. 

When asked, 3 passes is sufficient. 

GameSnake

Thanks iago. DBAN fits on a diskette, Sidoh, and thats what I meant by "diskette trojan", the wording was probably not correct.

iago

Your wording was definitely wrong.  A trojan is a program that comes disguised as another program.

Warrior

Generally what happens when a drive is formatted? I'd think just reformatting and reinstalling an OS ontop of it should suffice..
*shrug* Maybe they just leave the garbage data left over from the last install there and rebuild the FS Tree.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Eric

Quote from: Warriorx86] link=topic=5848.msg69322#msg69322 date=1147541995]
*shrug* Maybe they just leave the garbage data left over from the last install there and rebuild the FS Tree.

That's what happens during a "quick" format on Windows.  I believe the standard option fills the disk with random data, but I'm unsure.

On Linux, you'd simply have to run the shred program after creating the partition.

Joe

I don't think the standard option does that, because if it did, unformat couldn't work.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


iago

Quote from: Warriorx86] link=topic=5848.msg69322#msg69322 date=1147541995]
Generally what happens when a drive is formatted? I'd think just reformatting and reinstalling an OS ontop of it should suffice..
*shrug* Maybe they just leave the garbage data left over from the last install there and rebuild the FS Tree.

There's always slack space between files and stuff where bits and pieces of data can be recovered.  When a drive is formatted, it builds the filesystem structure, which doesn't overwrite every bit of data. 

Also, depending on the sensitivity of the data, a single over-write doesn't always suffice.  Overwritten data can be recovered with advanced technology.  Usually nothing to worry about, but like I said it depends on the sensitivity of the data.  The Canadian military (RCMP) recommend 3 overwrites for unclassified/secret data and for top-secret the drive has to be incinerated. 

Quote from: Lord[nK] on May 13, 2006, 04:04:13 PM
That's what happens during a "quick" format on Windows.  I believe the standard option fills the disk with random data, but I'm unsure.

On Linux, you'd simply have to run the shred program after creating the partition.
I'm not positive, but I'm pretty sure a quick format and slow format write the same data to the drive, but a slow format also verifies the drive's integrity. 

'shred' isn't designed to shred a partition, just a file (although Linux treats everything as a file, so it's possible).  To shred a single partition you can just write random data to it (cat /dev/urandom > /dev/hda1).  Or to shred the whole disk you can pipe data straight to the disk (cat /dev/urandom > /dev/hda).  That's basically what DBAN does. 

Newby

Quote from: iago on May 14, 2006, 02:40:33 PM
'shred' isn't designed to shred a partition, just a file (although Linux treats everything as a file, so it's possible).

Quote from: info coreutils shred
   You might use the following command to erase all trace of the
filesystem you'd created on the floppy disk in your first drive.  That
command takes about 20 minutes to erase a "1.44MB" (actually 1440 KiB)
floppy.

     shred --verbose /dev/fd0

   Similarly, to erase all data on a selected partition of your hard
disk, you could give a command like this:

     shred --verbose /dev/sda5

   An exit status of zero indicates success, and a nonzero value
indicates failure.
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

iago

Quote from: Newby on May 14, 2006, 05:12:06 PM
Quote from: iago on May 14, 2006, 02:40:33 PM
'shred' isn't designed to shred a partition, just a file (although Linux treats everything as a file, so it's possible).

Quote from: info coreutils shred
   You might use the following command to erase all trace of the
filesystem you'd created on the floppy disk in your first drive.  That
command takes about 20 minutes to erase a "1.44MB" (actually 1440 KiB)
floppy.

     shred --verbose /dev/fd0

   Similarly, to erase all data on a selected partition of your hard
disk, you could give a command like this:

     shred --verbose /dev/sda5

   An exit status of zero indicates success, and a nonzero value
indicates failure.

Like I said, it's not designed for that.  The evidence would be the way it says "you might want to try"

MyndFyre

Quote from: iago on May 14, 2006, 02:40:33 PM
I'm not positive, but I'm pretty sure a quick format and slow format write the same data to the drive, but a slow format also verifies the drive's integrity. 
That's correct.  A slow format is the equivalent of running a chkdsk -s scan for physical drive defects.

Format replaces the boot sector and MFT or FAT and root directory.  The quick version does *only* that.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Ersan

Quote from: iago on May 14, 2006, 02:40:33 PM
The Canadian military (RCMP) recommend 3 overwrites for unclassified/secret data and for top-secret the drive has to be incinerated. 

The U.S. Department of Defense (DoD 5220.22-M) requires 7 random data stream passes, keep on sucking Canada!

Newby

- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

iago

Quote from: Ersan on May 16, 2006, 08:00:38 PM
Quote from: iago on May 14, 2006, 02:40:33 PM
The Canadian military (RCMP) recommend 3 overwrites for unclassified/secret data and for top-secret the drive has to be incinerated. 

The U.S. Department of Defense (DoD 5220.22-M) requires 7 random data stream passes, keep on sucking Canada!


For what grade of data? 

There is no real difference between 2, 3, 5, 7, and 100 passes.  After the second one it is basically impossible to recover the data in any useable way.  The third one is just to be safe, but the last 4 are pretty useless.  For the time it takes to wipe a drive, waiting for 7 passes isn't an efficiant use of time. 

But like I said, for highest priority data (top secret), the drive has to be incinerated and recycled.