Skip to main content

Overwriting Deleted Files in Windows

 Once a file is deleted, most operating systems will still hold on to the file. The link between the operating system and the file is removed, but the data is still on the disk waiting to be overwritten or used for something else. A common utility seen in the wild is Eraser but it's a bloated utility that takes a long time. It's a good utility if you really need to overwrite a Windows machine more than 3 times - but the use case for this is minimal. 

pause: this article surrounds mostly HDD, as files are recoverable on these drives if not overwritten. For SSDs, this is just going to cause more wear to your drive!

An underutilized tool is cipher. In Windows, it displays or alters the encryption of directories and files on NTFS volumes. But, with the option w it overwrites deleted files and empty space of a drive. You can use it on the same drive the OS is located, external drives, and removable media. It's easy to use! If your OS is installed on C: and you want to remove all your deleted files and empty space try cipher /w:C or replace C with the drive letter.


The process doesn't take long, but it is a good idea to not only close applications it recommends, but to close background processes as well. My favorite shortcut for the Task Manager is Ctrl + Shift + Esc, make sure to close as many background processes as possible while this is running.  

The best use case for this is when getting rid of HDDs before reusing them elsewhere for other purposes. In lab setups, this can be quite useful. 

Do you overwrite space on your HDDs? Why or why not?

Fun fact! Did you know modern OSs already scatter data around when writing to a SSD to more evenly wear it and reduce malicious recovery? Cool!


Comments

Popular posts from this blog

Your First #WWWD Wardriving Rig - Rig 1: Android Phone

 Hello! If you've found this post it's likely you're looking to participate in 2023's World Wide WarDrive hosted by WiGLE.net Getting started in wardriving is easy. You don't need a fancy rig or a bunch of antennas to get going.  In the next article we'll be building a rig using a Raspberry Pi or other mini-computer that can run Kali Linux. It's the second easiest rig to make. The first is using a phone! Rig 1: The Android Phone   This one is pretty simple. You need to find an Android phone, change a couple of settings, and download the WiGLE.net app.  Find an old Android phone you have laying around. If you don't have one, I recommend going to a used video game store and looking there for one. Or, if you're willing to use Amazon, this phone isn't a bad place to start. Almost any BLU phone or unlocked Android will work.  Change a couple of settings Go to Settings, scroll down and select 'About This Device' Enable Developer Mode - this is

Remove data from Data Brokers

 If you have a little change from your tax return, I have a suggestion on where you should spend it this year. This is not sponsored, not an advertisement, and I do not benefit from these companies. I paid for these services out of pocket on my own. Okay. We all know how scary OSINT can be, being able to look up public information such as age and home address. We hand over this information readily when we use certain products and services. Some of this information is also kept at a criminal level, such as criminal record lookups.  That's not the only information we hand over, we are tracked and have our data collected every day through data brokers. They profit off of our identities selling it back to one another constantly.  There are services now that will automate the removal of your data from data brokers. I found Aura and Incogni when promoted online. Both of them had a referral code, but also a standard discount for an annual subscription instead of monthly. At the time of wr

2023 Resolutions

Welcome to my New Year's Resolutions! I feel a little vulnerable sharing my goals publicly and auditing if I failed or succeeded over the year.  My 2023 Resolutions 1) HACK THE PLANET! 2) Upload to WiGLE every month 3) Post to the blog at least once a month 4) Continue to follow and maintain my vision board. Don't judge me! I thought they were cheesy and weird, but it's been so effective. I made a blog post about it already, but just as a refresher my current board is below. A vision board is almost a resolution list in of itself. These are all the things I want to achieve in the near future.  5) Pass the HAM radio exam 6) Continue in content creation and make articles or a podcast Let's go over what my resolutions where last year: My 2022 Resolutions 1) Make it to 500,000 unique wifi networks I made it in November! I achieved this goal and obtained the gold WiGLE badge.  2) Upload to WiGLE every month I made this most months, but not every month. I will try again! 3) W