Jump to content

how storage works

Go to solution Solved by Pickles von Brine,

Pretty easy really. Get a program that can do a data erase. HDD Tune can do it. Mini Partition Wizard can as well. Then you can just use a hex editor to confirm the data is erased. There are a few free ones out there.

 

Hell, if you used dd in linux you can set it to do a zero pass on a drive and have it write zeros. There are many many many ways to do it. 

 

 

BTW, best hex editor I have ever used was WinHex. However, it is complex and not easy to use. You kinda have to know how to use it. It also offers the ability to erase data too. 

so i know that if you delete something it just shrinks down then is just overwritten after a while but, what about say if i moved it over to a removable drive/disk, is there any information that can be traced back to my computer and one more thing, when you reformat removable disk, does the files delete on the removable disk or does it move over to your device (for me my computer) then "delete"?

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/
Share on other sites

Link to post
Share on other sites

files are mearly made invisible to the os , they are mostly still there in their entirety until overwritten , they dont shrink down at all.

Same with a removable disk , the file is just made to look like empty space but until it's overwritten it's still pretty much there entirely , even reformatting will mostly just mark space as being empty but the files are still there,

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803626
Share on other sites

Link to post
Share on other sites

oh , as far as tracing information back to your machine. the file would have to be something specific to you or your machine

specific to you in that it's a picture or file that mentions you , or specific to your machine in that it's a file that mentions your machine like a bsod dump file that contains your pc configuration and someone could put two and two together that it's probably your machine. ect...

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803641
Share on other sites

Link to post
Share on other sites

2 minutes ago, emosun said:

files are mearly made invisible to the os , they are mostly still there in their entirety until overwritten , they they dont shrink down at all.

i was always told that they shrink down... but ok thats also understandable the main question i wanted answered was the removable drive one, so the "delete" data on the flash drive stays on the flash drive (i am not doing anything illegal just things i dont want people to know about) the 2ed main question is "is there a trace on oh program A was moved to a new drive"

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803643
Share on other sites

Link to post
Share on other sites

Just now, emosun said:

oh , as far as tracing information back to your machine. the file would have to be something specific to you or your machine

specific to you in that it's a picture or file that mentions you , or specific to your machine in that it's a file that mentions your machine like a bsod dump file that contains your pc configuration and someone could put two and two together that it's probably your machine. ect...

is there a way to get around that?

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803646
Share on other sites

Link to post
Share on other sites

4 minutes ago, Conan Wolf said:

is there a way to get around that?

so long as the file that is being moved/deleted has nothing to do with you specifically or mentions the pc being used to do it specifically then it could essentially be a file that was moved by any machine. 

essentially the only thing that can be recovered from a drive that wasn't securely formated or deleted is the files themselves and the time they were moved or changed/accessed last.

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803656
Share on other sites

Link to post
Share on other sites

The only way to completely remove traces from a file is to overwrite free space with 0s with a tool like ccleaner or something else.

Moving or deleting files just removes the location, doesn't remove the actual data.

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11803669
Share on other sites

Link to post
Share on other sites

6 hours ago, Enderman said:

The only way to completely remove traces from a file is to overwrite free space with 0s with a tool like ccleaner or something else.

Moving or deleting files just removes the location, doesn't remove the actual data.

Or overwrite with 0s then random data afterword. Best practice is a 7 pass with 0s then junk data and repeat. Even if I had the best possible software and technology available it would be almost impossible to recover data after being overwritten 7 times with 0s then junk data. 

Be sure to @Pickles von Brine if you want me to see your reply!

Stopping by to praise the all mighty jar Lord pickles... * drinks from a chalice of holy pickle juice and tossed dill over shoulder* ~ @WarDance
3600x | NH-D15 Chromax Black | 32GB 3200MHz | ASUS KO RTX 3070 UnderVolted and UnderClocked | Gigabyte Aorus Elite AX X570S | Seasonic X760w | Phanteks Evolv X | 500GB WD_Black SN750 x2 | Sandisk Skyhawk 3.84TB SSD 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804479
Share on other sites

Link to post
Share on other sites

13 minutes ago, Lord Xeb said:

Or overwrite with 0s then random data afterword. Best practice is a 7 pass with 0s then junk data and repeat. Even if I had the best possible software and technology available it would be almost impossible to recover data after being overwritten 7 times with 0s then junk data. 

this may be a dumb question... when you say 0s do you mean operating system?

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804500
Share on other sites

Link to post
Share on other sites

11 minutes ago, Conan Wolf said:

this may be a dumb question... when you say 0s do you mean operating system?

I am not. If you where to look at a drive in a hex editor the raw values would all be "0"

 

Unlike this one which has data on it:

hex-editor-03.png

 

This one has no data and has been zeroed out:

 

hex-editor-02.png

Be sure to @Pickles von Brine if you want me to see your reply!

Stopping by to praise the all mighty jar Lord pickles... * drinks from a chalice of holy pickle juice and tossed dill over shoulder* ~ @WarDance
3600x | NH-D15 Chromax Black | 32GB 3200MHz | ASUS KO RTX 3070 UnderVolted and UnderClocked | Gigabyte Aorus Elite AX X570S | Seasonic X760w | Phanteks Evolv X | 500GB WD_Black SN750 x2 | Sandisk Skyhawk 3.84TB SSD 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804517
Share on other sites

Link to post
Share on other sites

2 minutes ago, Lord Xeb said:

I am not. If you where to look at a drive in a hex editor the raw values would all be "0"

 

Unlike this one which has data on it:

hex-editor-03.png

 

This one has no data and has been zeroed out:

 

hex-editor-02.png

oh dang i never really play with raw data before, other then learning about it in my computer science class

 

31 minutes ago, Lord Xeb said:

Or overwrite with 0s then random data afterword. Best practice is a 7 pass with 0s then junk data and repeat. Even if I had the best possible software and technology available it would be almost impossible to recover data after being overwritten 7 times with 0s then junk data. 

so is there any tutorials on how to do this?

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804528
Share on other sites

Link to post
Share on other sites

Pretty easy really. Get a program that can do a data erase. HDD Tune can do it. Mini Partition Wizard can as well. Then you can just use a hex editor to confirm the data is erased. There are a few free ones out there.

 

Hell, if you used dd in linux you can set it to do a zero pass on a drive and have it write zeros. There are many many many ways to do it. 

 

 

BTW, best hex editor I have ever used was WinHex. However, it is complex and not easy to use. You kinda have to know how to use it. It also offers the ability to erase data too. 

Be sure to @Pickles von Brine if you want me to see your reply!

Stopping by to praise the all mighty jar Lord pickles... * drinks from a chalice of holy pickle juice and tossed dill over shoulder* ~ @WarDance
3600x | NH-D15 Chromax Black | 32GB 3200MHz | ASUS KO RTX 3070 UnderVolted and UnderClocked | Gigabyte Aorus Elite AX X570S | Seasonic X760w | Phanteks Evolv X | 500GB WD_Black SN750 x2 | Sandisk Skyhawk 3.84TB SSD 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804536
Share on other sites

Link to post
Share on other sites

1 minute ago, Lord Xeb said:

Pretty easy really. Get a program that can do a data erase. HDD Tune can do it. Mini Partition Wizard can as well. Then you can just use a hex editor to confirm the data is erased. There are a few free ones out there.

 

Hell, if you used dd in linux you can set it to do a zero pass on a drive and have it write zeros. There are many many many ways to do it. 

 

cool thanks

 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804539
Share on other sites

Link to post
Share on other sites

Just now, Conan Wolf said:

cool thanks

 

Anyime. If you got a question and I can answer I will gladly supply it to you. 

Be sure to @Pickles von Brine if you want me to see your reply!

Stopping by to praise the all mighty jar Lord pickles... * drinks from a chalice of holy pickle juice and tossed dill over shoulder* ~ @WarDance
3600x | NH-D15 Chromax Black | 32GB 3200MHz | ASUS KO RTX 3070 UnderVolted and UnderClocked | Gigabyte Aorus Elite AX X570S | Seasonic X760w | Phanteks Evolv X | 500GB WD_Black SN750 x2 | Sandisk Skyhawk 3.84TB SSD 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804542
Share on other sites

Link to post
Share on other sites

7 hours ago, emosun said:

files are mearly made invisible to the os , they are mostly still there in their entirety until overwritten , they dont shrink down at all.

Same with a removable disk , the file is just made to look like empty space but until it's overwritten it's still pretty much there entirely , even reformatting will mostly just mark space as being empty but the files are still there,

Agreed I'd just add the file simply has a piece of information like a key or a code that marks it as deleted to the OS. This is done as it greatly speeds up the process of deleting a file as to actually delete a file from disk takes quite a bit of time. 

There are 10 types of people in the world: those who understand binary numbers and those who don’t

bulgara, oh nono

Multipass

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804546
Share on other sites

Link to post
Share on other sites

That it does. Better to mark it for overwrite then spend 20 minutes deleting the file especailly if it is several gigabytes in size. 

Be sure to @Pickles von Brine if you want me to see your reply!

Stopping by to praise the all mighty jar Lord pickles... * drinks from a chalice of holy pickle juice and tossed dill over shoulder* ~ @WarDance
3600x | NH-D15 Chromax Black | 32GB 3200MHz | ASUS KO RTX 3070 UnderVolted and UnderClocked | Gigabyte Aorus Elite AX X570S | Seasonic X760w | Phanteks Evolv X | 500GB WD_Black SN750 x2 | Sandisk Skyhawk 3.84TB SSD 

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804555
Share on other sites

Link to post
Share on other sites

If you're really serious about keeping your data safe from prying eyes it's wise to power down your PC when you're not around as RAM contains a whole bunch of sensitive information such as users logged in along with the times they logged in, emails, and even crazy stuff like plaintext files along with their private encryption keys if your doing anything that is encrypted. Luckily RAM is volatile so when you remove power all the info is lost, if people can gain physical access to your computer they can create disk images of both your system memory and storage then techniques such as file carving can be used to hunt for personal or sensitive data. Obviously this would never happen to you unless you're secretly running an online drug market or something crazy like that which I'm sure you're not... right?   

There are 10 types of people in the world: those who understand binary numbers and those who don’t

bulgara, oh nono

Multipass

Link to comment
https://linustechtips.com/topic/977472-how-storage-works/#findComment-11804579
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×