There’s a way to delete every files in your HDD or SSD, it’s called the shredding.
You need a laptop or a PC, 2 USB keys. On one key you have to install an ISO kali Linux, on the other you can install an ISO fo Ubuntu.
First you have to turn off your PC, then plug the Kali USB key. Turn on the computer and spam the F12 key on your keyboard, it will bring you to the BIOS. Then go on USB storage device and select “kali persistence”. Once it launched, you’ll be on a linux user interface.
You should now go on a command terminal and write these commands:
#Su It will give you the admin status.
#lsblk It means list block device and displays the different storage peripherals.
#shred -n4 –random-source=/dev/urandom -z /dev/sda -v Is used to securely erase data on the /dev/sda
device. (Make sure to select the storage of the computer and not the usb key)
Explanation of the command:
shred
: A Linux utility that overwrites files or disks with random data to make data recovery difficult.
-n4
: Performs 4 passes of random overwriting (by default, shred
does 3 passes if this option is not specified).
--random-source=/dev/urandom
: Uses /dev/urandom
as the source of random numbers for overwriting data (instead of the default source).
-z
: Adds a final pass with zeros, which can make it look like the disk was not securely wiped.
/dev/sda
: Specifies the disk to be erased (warning: this will erase all data on this disk!).
-v
: Enables verbose mode, displaying information about the process.
This command overwrites the /dev/sda
disk 4 times with random data from /dev/urandom
, then does a final pass with zeros to hide the fact that the disk was wiped. This makes data recovery extremely difficult, even with a photorec analysis.
0 Comments