I searched for an answer to my question and found related questions which do not cover my question completely. Like:
On SSD deleting:
Can Widped SSD Data be recovered
How to securely delete inside Virtual Machine
The second question gets close to what I want to know. And I already know that due to features of an ssd it is not easy secure erasing single files on SSD. But I wonder if there is a missing link between vbox disk and ssd to prevent recovering files deleted inside a virtualbox OS.
my scenario: Windows host running VirtualBox on an SSD. VirtualBox client is linux/ubuntu
tl;dr my question:
If I securely wipe a file in my virtual machine with an appropriate tool (wipe or the like) is it reasonably well deleted?
Some more thoughts
My thinking is: Possibly: The VBox hard disk emulation might overwrite the correct "logical" bytes on the vbox disk. Even though that the real bytes on the SSD are not overwritten they do not have any information on where the bits belong to because only the VBox hard disk driver could make links from its file system. And this information might be destroyed.
Anyone know if this would work?
Another option would be: What if I overwrite free space inside virtualbox with zeros and then shrink the virtualbox Disk?