Lexar JumpDrive Password Scheme Cracked
Saint Aardvark writes "Lexar describes the
JumpDrive Secure as "loaded with software that lets you password-protect
your data. If lost or stolen, you can rest assured that what you've
saved there remains there with 256-bit AES encryption." @stake
has a different take: The password can be observed in memory or
read directly from the device, without evidence of tampering." And
best of all, the punch line: "[The password] is stored in an XOR
encrypted form and can be read directly from the device without any
authentication." That's why I use ROT-13 for my encryption needs."
Why go through all the trouble of attaching a debugger to the process when you can bribe the user to tell you the password with a chocolate bar! Best of all, this trick will still work long after Lexar fixes their security issue.
The password is in XOR'd form? Yeah. That's encryption.
Couldn't the software or driver have stored the password in a MD5 or SHA1 form, and still present a valid authentication mechanism for end users?
From the article:
Vendor Response:
08-05-2004 Vendor contacted via email to support@lexarmedia.com
No response.
08-12-2004 Vendor contacted again via email to support, sales
Public Relations, Investor Relations, and general
inquiry email addresses.
08-12-2004 Automated response from support received
09-13-2004 No further response from vendor, advisory released
Vendor has not acknowledged issue or produced a fix.
This is a pretty embarassing non-response.
The product is only about 5 or 6 months old, and the password was just sitting there. AES is a perfectly fine standard for encryption, but this is an embarassing implementation. Thankfully, I don't know anyone who owns this.
I mean, if you have the jumprdrive in your possession it's only a matter of time before you find a weakness to exploit, right?
... as my fav, Leonard Cohen wrote long ago: "there is a crack, there is a crack in everything, that's where the light gets in."
And Mr. Cohen is not even a hacker.
Why does the password need to be 'stored' anyway? Isn't that kinda the point?
Is this some sort of 'encrypted session key' thing where one long, secure password decrypts another shorted one that's used to do the dirty work? Is it stored for key recovery by tech support droids?
Why store the password? Is this just the worst implementation in the whole world or am I missing something?
...that the best encryption algorithm is worth nothing if you fuck up the implementation...
The OTP is not "next strongest" to anything. It's 100% unbreakable if used properly (ie, don't reuse keys and have a real source of randomness). It's impossible to be any more secure than a one time pad.
Hopefully Lexar doesn't take the path I'm afraid they will and bust out the DMCA against @stake. That is just a horrible excuse for "security" and it needs to be fixed. Security through obscurity just leaves more opportunity for the evil-minded to steal information (or spread viruses or whatever) by keeping the public unaware of the security flaws.
There are only 10 kinds of people in this world... those who understand binary and those who don't
Yep, the new watchword in American 'security': "Who needs respectable technology when you've got the DMCA?"
Without a doubt it's a xor used with a key length of a few bytes.
xor + small_key = cypher for dummies, it's an old standard for those who don't care about security.
Doesn't that violate DMCA?
I don't think so. The DMCA pertains to the encryption of copyrighted works. What's the "works" in this case? The "encryption" is on someones personal documents, not Lexar code or works.
This is just encryption here, not "encrypted works". Circumventing for research is legal under the DMCA, but I'm pretty sure that it doesn't apply here.
Sig
Appended to the end of comments you post. 120 chars
Or...
You could partition the USB drive. Partition #1 is normal (FAT-12) and partition #2 is mounted via loop-aes.
Assuming you use Linux or BSD and not Windows.
The fun part is if you partition 50%/50%, and the drive doesn't have the size printed on it, when a Windows person installs it they will never even see partition #2 unless they go into a partition editor. All they get is an automounted partition #1 -- which is the proper size for the little brother to the model you're using.
Security through obscurity! (Backed by AES, just in case.)
Learning HOW to think is more important than learning WHAT to think.
Who needs encryption on flash drives. I just format mine to ext2, knowing that whoever is stupid enough to steal a lousy flash drive probably uses Windows and won't have a clue how to read my data. Best protection evar.
I bought it for the following reasons:
- Good cost per MB
- Fast
- Great rebate offer at the time
- DURABLE! This thing looks a little bulky, but it's rock solid. Thick plastic, really solid. Unlike any other I've seen so far.
I never used the security stuff. IMHO not worth it. But having such a durable, fast, cheap device was more than worth it to me.
I don't regret my purchase. It's a solid product. I'd still recommend it.
>The ostrich finally wakes up.
Wrong, he just got you off the phone, while still denying any knowledge of the problem.
-fb Everything not expressly forbidden is now mandatory.
Actually, in the Christian chronology, the devil is not a destroyer. A trickster, seducer, temptor, etc, yes, but not a destroyer. Armageddon, Sodom and Gamorrah, Noah's Flood, etc. All the epochs of destruction were carried out by God. Noah's Flood is exactly the sort of role Shiva sometimes plays in Hindu myth, which includes the constant cycle of life and death (creation and destruction), but also epochs of massive destrucion used to eliminate something fundamentally wrong with the universe.