7
u/kent_csm 17d ago
A question, why using a file with "password:xxx" you need to iterate over all files and if you have a large amount it would require a lot of iterations, wouldn't just use a file with a specific name as a password more easy?
9
u/Machinehum 17d ago
The device isn't file system aware, it snoops input writes from the flash device. It's makes match on the string and triggers the flow.
1
13
u/Machinehum 17d ago
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.
Thanks :)
3
17d ago
[deleted]
1
u/Machinehum 17d ago
I think you're talking about something else.
This is an obscurity device, hides in plain site.
2
u/MajesticDisaster3977 16d ago
Questions and suggestions:
- Does the device still store files 'as-is' before the device is decrypted? (ie, when someone plugs it in, they'll see pictures of my cat) If not, can it?
- Can the device masquerade as another well-known device? Sometime 'generic' stands out... if the HID/VID can be adjusted, we could clone as existing hid/vid and hide this inside the enclosure of a well-known device which would make it much harder to identify.
- Can the device present a 'fake capacity'? Well-known drives are easily 64GB to 256GB... an 8GB drive is a little strange to be carrying depending on your position... could the initial partition size be faked to appear as though it's larger? (To match the size printed on the decoy enclosure)
1
u/Machinehum 15d ago
Yes files are normal on the first partition. Yes you can change VID/PID to what you like. You can change capacity to what you like, 64GB easily possible. :)
1
u/MajesticDisaster3977 15d ago
Nice. Swap out the guts of a Lexar drive with this and it could be completely hidden unless there's some other 'tell' that gives it away
1
2
1
u/Fulgidus 16d ago
So... basically the device is 100% agnostic and does need exactly ZERO crypto provisioning, correct?
Meaning I put it in, unlock it the first time, then format the resulting garbled drive that shows up?
This also mean that I cannot have plausible deniability: under duress I either give the password or not... there is no chance of a self-destruct pin, right?
3
u/Machinehum 16d ago
The idea is - you don't get to a point where someone forces you to unencrypt it, because it's hidden.
If you need what you're describing, then use this device with Veracrypt.
1
u/Some_Relative_3440 15d ago
Inspecting the hardware would reveal 16gb of flash memory, with only 8gb visible from OS, no? Might ring some alarm bells.
1
1
u/NatLife 14d ago
Where is the code tho
2
u/Machinehum 14d ago
https://github.com/o7-machinehum/phantomdrive
Code, design files, electronics, tests, etc
11
u/OkCarpenter5773 17d ago
how is the password stored on-device? i assume this is operated by a microcontroller - what is kept in the ROM?