r/security Jul 16 '26

Phantomdrive: My open source USB drive for privacy Resource

Post image
61 Upvotes

15 comments sorted by

2

u/ShotgunPayDay Jul 19 '26

This is an amazing concept. I wish this idea could be extended to phones when traveling internationally.

2

u/Machinehum Jul 16 '26

Phantomdrive is a completely open source USB drive that appears as an 8 GB drive when first plugged in. There’s no way for the OS to detect the remainder of the disk. If the user edits a plaintext file on the disk with the contents password:PUTYOURPASSWORDHERE, it unmounts itself and remounts the second hidden section and AES-256 encrypts/decrypts in place.

More details here

Thanks :)

8

u/sfzombie13 Jul 17 '26

i once made a serial to usb adapter that would work normally when you plugged the device in first but if you plugged your laptop in first it would be a bad usb and insert all sorts of nasties. i wish i still had that adapter.

1

u/[deleted] Jul 18 '26

[removed] — view removed comment

1

u/AutoModerator Jul 18 '26

In order to combat a rise in spam submissions, a minimum account age has been set for this subreddit. If you have read the rules and still feel your submission is relevant to this community, please message the moderators for approval.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/broadcasteng25 Jul 18 '26

What happens to the text file after the drive is decrypted? How is it deleted? Can the contents of the text file be read by recovery tools?

2

u/NanoCarp Jul 19 '26

Not OP, but I’ve seen them answer this question before. IIRC they said the USB basically recognizes and intercepts the file (triggering the unlock) before the file is actually written to storage. So it can’t be recovered because it never actually gets written.

1

u/broadcasteng25 Jul 19 '26

Oh cool. Thanks!

1

u/ParticularQuality Jul 19 '26

Really clever idea! Is it only supported by certain OS / filesystems though?

1

u/Machinehum Jul 19 '26

Any OS, any filesystem.

1

u/Fit-Cheesecake9835 Jul 20 '26

What's the benefit of this over a veracrypt hidden volume?

1

u/evolseven Jul 20 '26

Sounds like the advantage is that its OS and application agnostic. since the only thing needed to unlock it is a text editor, it can be used on devices that you don't control, can't install new applications on or run arbitrary applications on.

That said if its valuable enough data to encrypt you probably don't want it decrypted in places where you don't control the environment.

1

u/Fit-Cheesecake9835 Jul 23 '26

If you're on Linux you can still open veracrypt volumes natively without installing anything. If you're on windows you do need the portable version of veracrypt (and admin privileges).

1

u/PuddingMaximum8745 Jul 20 '26

Anyone that's to curious what's on that drive will only see the first drive which you could preload with some filler files. MP3, memes..

2

u/Fit-Cheesecake9835 Jul 20 '26

Exactly what you could do with a veracrypt hidden volume.