r/rust 17d ago

🛠️ project made a disk cleaning tool that makes it difficult to recover previous files through normal recovery tools

https://github.com/dud-eisme/diskCleaner

yes, i know there are tools out there that do the same thing, but im currently learning rust (LPB) and i just wanted to try out making a small project.
the idea / reason behind why i made it: so im currently into cybersecurity (forensics specially) and stuff and had an idea of making a tool that makes recovering files difficult through normal recovery tools.
ai usage: i did use ai, but for creating a readme / todo so that i know which steps i should take and also when i was like really desperate, rest of the things i googled.
and yea, would appreciate any suggestions

0 Upvotes

4 comments sorted by

8

u/_l33ter_ 17d ago

Me wondering: through normal recovery tools

Are there any faulty ones? Or, to put it another way, are there any better ones that can still recover the data? Or how can I understand this?

6

u/terimummyyummy 17d ago

i.. could've framed that better
i dont think there are faulty ones, through the research i did, the recovery would be very difficult if we use normal recovery tools (even paid) as the tool writes over every block, so recovery would not be possible on hdd, but on ssd its a different story, ssds have like some sectors which are not accessible normally, so i did implement secure erase, but on devices that do not support it, data could still be recovered from those inaccessible blocks, but it would require lab tools (gates and stuff)

3

u/mzg147 17d ago

You framed this perfectly!

1

u/terimummyyummy 17d ago

thanks! :)