I ran photorec file recovery software inside whonix workstation and I was suprised with the amount of files it could retrieve.
Wanted to counter this by installing scrub and running it with
scrub -p fillzero -X dump and
scrub -p dod -X dump to no avail. I could still retrieve roughly the same amount of files then when I first ran photorec before ‘scrubbing’ it.
Now I think it’s because it’s an ssd drive but I never knew that scrubbing on an ssd drive didn’t have any effect at all, is this normal?
This leads me to believe that my only option to securely erase files in the free space of the ssd drive is to trim it. Only problem is I need to enable trim inside whonix workstation.
I have read the following article which states that there are certain prerequisites for enabling trim inside virtualbox. Such as the use of the VDI disk format. Unfortunately the default disk format of whonix is .vmdk.
Is there a way to enable trim inside whonix workstation so it can securely erase the free space on the disk?