flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Speed HardDisk Destroy Format Utility needed

Author
Thread Post new topic Reply to topic
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32
Hello,
can somebody create a speedy boot-floppy or boot-cd
which destroys all data on some harddisk in just some seconds?
Post 24 Dec 2006, 23:05
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
In a way that the data on HD becomes unrecoverable? if you want that I think you're asking too much. Otherwise writing some zeroes on first sector and on first sector of every primary partition (extended partitions resides on a primary partition marked as extended). But all this are recoverable things so it's a little bit complex making data unrecoverable, you need to destroy the entire surface to be sure (and several times [7?] if your disk could be scanned by a electrons microscope).
Post 24 Dec 2006, 23:51
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7106
Location: Slovakia
vid
Quote:
can somebody create a speedy boot-floppy or boot-cd which destroys all data on some harddisk in just some seconds?

no, no one can.

unless the CD explodes on read
Post 25 Dec 2006, 00:55
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386
Quote:
can somebody create a speedy boot-floppy or boot-cd
which destroys all data on some harddisk in just some seconds?


DBAN ?

Meets your needs, except the "seconds" issue - it can take 1 hour or more. Razz

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 25 Dec 2006, 01:06
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Um, any particular reason for needing this? Doesn't sound like a fun thing to do on Christmas! Laughing
Post 25 Dec 2006, 02:20
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Yes i can, you write a simple program about 80bytes in size to control your com port.
Than you go to a car breaker's yard, and very carefully remove a unused air bag, this along with the control program + some thermite mix.
Can do the job you want :twisted:

PS: Talking of air bags they make a nice surprise for anyone opening your case.
Post 25 Dec 2006, 02:23
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32
oops. it was a mistake.. not destoy all data on hd but on fd (flopyy)^^
sorry
Post 25 Dec 2006, 18:40
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32
m, any particular reason for needing this? Doesn't sound like a fun thing to do on Christmas! Laughing

Very Happy
Lol. Only needed to mass-destroy my old floppy disks.
Sensitive data etc Wink Want to put them to trash.
But maybe i better use a big magnet Wink
Post 25 Dec 2006, 18:45
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Just cut them into tiny pieces - unless you have something *really* interesting on them, nobody will bother gluing all that crap back togethre Smile

_________________
Image - carpe noctem
Post 25 Dec 2006, 18:46
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4218
Location: 2018
edfed
i've made this
easy, very easy

org 100h ; i always work on .com programs they are the nearest of electronics
call drive_ID
call clear_base
mov [drive],your victim
mov [sectors],1
mov [C/H/S],00000001h
mov [segment],base
call copy_mem_to_sectors
call display_written_sector
etc ... on all the drive(s) on system
to erase floppy, it's a bit different, you need to manage the motors and the others parts.
it takes one hour to make unrecoverable the totality of a 2GB HD
but can be decreased by polysector writing and no displaing

a magnet don't works on HD

and to destroy a distant file system, you need a code like this

so let's go

the next time i'll come i'll give you the fully .asm file
you'll see , it's true
Post 23 Feb 2007, 16:06
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7106
Location: Slovakia
vid
adfed: after this, data would still be recoverable with special hardware
Post 23 Feb 2007, 16:36
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4218
Location: 2018
edfed
ok if you want an impossible recorerable manner
write all sectors with 01010101010101010101010101010/..../10101010b
rewrite with complement
rerewrite with recomplement
launch the hard format function of the hard disk with command port
rererewrite with rerecomplement
and finish by writing 000000000000000000/..../0000000000b
Post 23 Feb 2007, 16:42
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7106
Location: Slovakia
vid
how did you get those values? There is science behind writing really good disk thrashers. You must understand mechanics of your drive.
Post 23 Feb 2007, 17:11
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav
sylwek32 wrote:

But maybe i better use a big magnet ;)


Stack them all into a microwave, and turn it on for 5 seconds.
Fast&reliable for both floppys and CD's.

edfed wrote:

how did you get those values? There is science behind writing really good disk thrashers. You must understand mechanics of your drive.


http://en.wikipedia.org/wiki/Gutmann_method
Post 23 Feb 2007, 18:20
View user's profile Send private message Visit poster's website Reply with quote
yumka



Joined: 09 Feb 2007
Posts: 38
Location: Tenochtitlan
yumka
http://en.wikipedia.org/wiki/Electric_arc_furnace

There is a lot of science behind this Razz
Post 24 Feb 2007, 22:13
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4218
Location: 2018
edfed
it's only the logic

the signal on the plates are analogs
so if you write a square wave onto the disk, and then complement etc... you'll have a sort of filter who will reject the little varitions that the specialized material are able to detect
like a tape
if you make this on a tape, you'll lose the oldest value of magnetic field

i know the mechanism cause i'm electronician, the computer is a big electronic system and can be Understood by the primary electrics laws

TTL 0=0 to 0.8v,1=2.4 to 5V
CMOS5V 0=0 to 1v , 1= 3 to 5V

on the hard disk it is the same
the magnetic field of each bit indicate the value of this bit

if you write a 1 you only turn the field
if you turn the field by a complemented square wave, then all micro fields will be distorded and so all recovery is impossible.


Last edited by edfed on 09 Jan 2009, 20:31; edited 1 time in total
Post 25 Feb 2007, 10:47
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4218
Location: 2018
edfed
this is a little diskcleanner who erase all the disk only on win9x and dos
be carefull

it do this:
Code:
org 100h (single 64k segment code)
set mode 13h with int 10h
identify drive 0h with int 13h
<<<<<<<<<<<<<<<<<<<<<<<\\
wait until 4 "scapebar" scancode ^^
>>>>>>>>>>>>>>>>>>>>>>>//
@@:
 update the sectors buffer
 copy the buffer at C/H/S with int 13h
 write to screen the sector number in C/H/S dword form
 inc C/H/S 
 verify for last sector ? yes->exit
 refresh clear screen
 scancode=exit?yes->exit
jmp @b
exit 
ret 
    


compile cleardisk.asm
and run

all functions are mine and can be yours

[edit]
added the fool version of this applet as a project.
it contains everything needed to build a fool cleardisk applet.
disklist.inc and bootwriter.inc can be used as help
cleardisk.inc contains informations about the conversion from old fashioned to fool coding style.


Description: project files for cleardisk.inc, for fool.
freshlly created, to be continued.

Download
Filename: cleardisk.zip
Filesize: 9.42 KB
Downloaded: 257 Time(s)

Description: Make your own analyse , compile and run...
But be carrefull!

Download
Filename: cleardisk.zip
Filesize: 10.87 KB
Downloaded: 311 Time(s)

Description: This is a Simple Sector Reader
The legend is hyper text you can clic on.
As cleardisk, it don't work with WinXP

Download
Filename: SSR.zip
Filesize: 19.54 KB
Downloaded: 329 Time(s)


_________________
Smile fool iem.design
Post 10 Jun 2007, 11:27
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.