Slashdot Mirror


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."

565 comments

  1. Even worse... by Anonymous Coward · · Score: 5, Insightful

    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.

    1. Re:Even worse... by Minwee · · Score: 4, Funny

      And more importantly, do you even know what "redundant" means?

    2. Re:Even worse... by Anonymous Coward · · Score: 1, Funny

      Does it mean using redundant twice in the same one-line post?

    3. Re:Even worse... by Marxist+Hacker+42 · · Score: 5, Funny

      I like those people. They're so stupid. I can get chocolate out of them simply by saying "I use the 9 billion names of God for my passwords. I'm up to Shiva".

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    4. Re:Even worse... by Anonymous Coward · · Score: 0

      Yes, but the single line was actually two sentences. If redundant was used twice in one sentence then it would be, well, you know...

    5. Re:Even worse... by Anonymous Coward · · Score: 1, Insightful

      who's to say people didnt give fake passwords?

    6. Re:Even worse... by clambake · · Score: 1

      And more importantly, do you even know what "redundant" means?

      Do YOU have any idea what "redundant"... aw, screw it.

    7. Re:Even worse... by phobos13013 · · Score: 1

      I'm up to Shiva
      MWHAHAHAHA SUCKER! Now i kno yr password and you didnt even get my candy bar!!!!!

      --
      ...and it should be known by now
    8. Re:Even worse... by CodeMonkey4Hire · · Score: 1, Funny

      Man, I wish I could mod the moderator. Marking a complaint about a redundant post as redundant?
      +1 Funny!!!

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    9. Re:Even worse... by Marxist+Hacker+42 · · Score: 1, Offtopic

      :-) That's only if you're stupid enough to believe that Shiva is one of the names of God (without knowing what my definition of "God" is). I hate to give away the joke too soon...so I'll wait for the next stupid response to this before cluing people in. :-)

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    10. Re:Even worse... by +Majere+ · · Score: 1

      It's called Meta-Moderation.

    11. Re:Even worse... by phobos13013 · · Score: 1

      ok it may have been the stupidest response of all time (my point was that you told me you were at shiva, whether or not you think its a god or, if god exists (that one might matter), the fact is you told me yr password was shiva...), but at least i got a couple pretty interesting sub threads goin... not so stupid after all, eh!

      --
      ...and it should be known by now
    12. Re:Even worse... by ScrewMaster · · Score: 1

      Welcome to the Law Offices of Bush, Clinton, And Bush. May we take your wallet?

      No, thanks ... I'd just like to get my pardon validated.

      --
      The higher the technology, the sharper that two-edged sword.
    13. Re:Even worse... by Revek · · Score: 1

      yeah but we don't want to wake up that hindu god

    14. Re:Even worse... by mrjb · · Score: 1

      And more importantly... do you even know what "redundant" means?

      --
      Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
    15. Re:Even worse... by Anonymous Coward · · Score: 0

      That's even better! Marking a remark about a complaint being marked as redundant as redundant! (It should really just be off-topic, you know?)

    16. Re:Even worse... by Anonymous Coward · · Score: 0

      this

  2. DMCA by Lead+Butthead · · Score: 4, Interesting

    Doesn't that violate DMCA?

    --
    ELOI, ELOI, LAMA SABACHTHANI!?
    1. Re:DMCA by kelnos · · Score: 3, Funny

      This may sound silly, but how is the "first post" redundant? I mean... first. Mods, you do know what the word "first" means, right?

      --
      Xfce: Lighter than some, heavier than others. Just right.
    2. Re:DMCA by Alizarin+Erythrosin · · Score: 2, Insightful

      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
    3. Re:DMCA by micromoog · · Score: 4, Insightful

      Yep, the new watchword in American 'security': "Who needs respectable technology when you've got the DMCA?"

    4. Re:DMCA by Wubby · · Score: 2, Insightful

      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
    5. Re:DMCA by jonbryce · · Score: 1

      The password system on the drive exists to prevent people from making unauthorised copies of your work. - bank details, correspondence etc.

      The copies may well be unauthorised because you want to keep the work private rather than any desire to make money out of them, but nevertheless copyright law covers this.

      Therefore this is most definately covered by the DMCA / EUCD / whatever it might be in your country.

    6. Re:DMCA by DrSkwid · · Score: 1

      every first post post is redundant, just like this response to your FAQ

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    7. Re:DMCA by kelnos · · Score: 1

      Dude, did you read it? It wasn't a "first post" post. It was a valid question as to whether or not cracking the poor encryption was a DMCA violation. Which, to actually be on topic, I don't think it is, as this encryption has nothing to do with a copyright-protection device.

      --
      Xfce: Lighter than some, heavier than others. Just right.
    8. Re:DMCA by kelnos · · Score: 1

      I don't think that's really a way to look at it. The encryption exists so people can't _view_ the stuff on it. As for making copies, sure, I wouldn't want people to do that, but I don't know that I'd call it the purpose of the encryption.

      At any rate, the only people that can sue under the DMCA are the copyright holders (or their designated blah blah blah). _Lexar_ doesn't hold the copyright to the stuff any of the users put on the drives, so they can't sue based on that.

      --
      Xfce: Lighter than some, heavier than others. Just right.
    9. Re:DMCA by Anonymous Coward · · Score: 0

      Worship the DMCA today! Otherwise, the terrorists will win!

    10. Re:DMCA by RyuuzakiTetsuya · · Score: 1

      Opening your eyes with out a proper license and permit is a violation of the DMCA.

      --
      Non impediti ratione cogitationus.
    11. Re:DMCA by Anonymous Coward · · Score: 0

      Opening your eyes with out a proper license and permit is a violation of the DMCA.

      Which is the ultimate analog hole...

    12. Re:DMCA by jonbryce · · Score: 1

      On a computer, everything is a copy. Viewing it requires you to copy it from the drive to RAM, then from RAM to the Video card.

      If you put all your bank transactions on the drive, you are the copyright holder of that file, and so you could sue if someone copied (ie viewed) the information on the drive.

    13. Re:DMCA by kelnos · · Score: 1

      Ah, but courts (US courts, anyway) have ruled that the act of 'copying' a program into RAM for the purposes of running it does not constitute a copyright violation. I'd imagine something similar might be applied here. Regardless, if you put your sensitive banking documents on a thumb drive, and someone stole it and looked at your documents, and then used them to get at your money in some way, you'd be suing them for fraud, not for copyright infringment. The latter would get you laughed out of court.

      --
      Xfce: Lighter than some, heavier than others. Just right.
  3. And it only took the guys at distributed.net by PrimeWaveZ · · Score: 4, Funny

    Three years to get .01% of the way done cracking this before someone realized it was ROT13. ;)

    1. Re:And it only took the guys at distributed.net by Anonymous Coward · · Score: 0

      I prefer Double ROT-13, myself. ;-)

    2. Re:And it only took the guys at distributed.net by Anonymous Coward · · Score: 0

      Can somebody please decrypt the parent posting, I can't read it.

    3. Re:And it only took the guys at distributed.net by Anonymous Coward · · Score: 0

      Would this poster and their parent please use plain-text?

      It's hard to know what's going on when both are using the same encryption.

  4. An embarassment of security. by michael+path · · Score: 5, Insightful

    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.

    1. Re:An embarassment of security. by mcpres · · Score: 2, Insightful

      Well it's good to know because I own one. On the bright side if I had ever forgotten my password, I can now retrieve the data. Another point to @stake.

    2. Re:An embarassment of security. by pete-classic · · Score: 5, Funny

      Horseshit. All my data is XORed against itself before it is written to disk. I assure you that you can't crack it.

      -Peter

    3. Re:An embarassment of security. by nkh · · Score: 1

      You think it's so easy? I just cracked all your files and I found you have a huge collection of tentacle porn!

    4. Re:An embarassment of security. by Alizarin+Erythrosin · · Score: 5, Insightful

      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?


      Aside from storing the password in XOR'd form, the software checking the password is flawed. It unencrypts the password first, then compared the password entered. Rather then encrypting the password entered and comparing it to the device?

      There may even be better ways than that. I'm not a cryptography person, but that's the first thing that comes to mind.

      --
      There are only 10 kinds of people in this world... those who understand binary and those who don't
    5. Re:An embarassment of security. by benchbri · · Score: 3, Insightful
      I've got one of these, so now you do know someone with one.

      If you're carrying around secure documents/files on a jumpdrive using only the included encryption scheme, you may need a lobotomy. I took one look at the security program that came on the drive, and threw it out. I knew I'd never need it. It wasn't a program that looked like it reeked of security, either. I'm acutally surprized this is the first report of the JumpDrive being cracked.

      Since there are dozens of USB drives on the market, and the're basically the same price (my JumpDrive was the same price as the other 128Mb offerings in Circut City), I wouldn't think a consumer to expect a fairly decent encryption system for free. On top of that, if you're carrying around sensitive documents on your keys, just think: when's the last time you lost your keys?

    6. Re:An embarassment of security. by pete-classic · · Score: 1

      That was almost funny. You should have said something like "I just cracked your files and zeroed them all out." or something.

      -Peter

    7. Re:An embarassment of security. by minus_273 · · Score: 1, Informative

      "The password is in XOR'd form? Yeah. That's encryption."

      Don't knock XOR. XOR alone can be used for encryption. Infact it is unbreakable when used for encryption. Ever heard of an one time pad. For example free gmail invite to the first person to crack the following:
      1111011011001110110101011110011110101010

      Dont know what they were doing but dont make fun of XOR in encryption.

      --
      The war with islam is a war on the beast
      The war on terror is a war for peace
    8. Re:An embarassment of security. by Anonymous Coward · · Score: 2, Insightful

      I don't get why they store (and check) the password in any way. The password becomes the encryption key for the data. If you enter the correct key you can access the files, if you don't you get garbage...

      So what's the purpose of the stored password?

    9. Re:An embarassment of security. by michael+path · · Score: 2, Insightful

      Dude, *storing* a password that is XORd and using a one time pad are two VERY different things - even if XOR is a common function.

      One Time Pads are as close to a perfect means as is out there. This, well, isn't.

    10. Re:An embarassment of security. by alienw · · Score: 3, Insightful

      Rather then encrypting the password entered and comparing it to the device?

      That would not be any better than it is now.

      The right way to do this would be to use the password to generate an encryption key and encrypt the data with it. Then, the only possible vulnerabilities are the password itself and various known-plaintext attacks.

    11. Re:An embarassment of security. by steveha · · Score: 5, Funny
      All my data is XORed against itself before it is written to disk.

      What a waste of valuable CPU cycles! Here's a speedup that does the same thing much faster:
      /* implement "XOR data with itself" security algorithm */
      /* but cleverly don't actually use XOR */
      /* don't forget to null-terminate encrypted data! */

      int
      CopyWithL337XORSecurity(char *in, char *out)
      {
      int length;

      length = strlen(in);

      memset(out, 0, length + 1); /* length + 1 for null termination */

      return length;
      }
      That should run much faster -- standard library functions are always well-optimized.

      Just doing my part for data security.

      steveha
      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    12. Re:An embarassment of security. by DraKKon · · Score: 1

      I know you don't know me, but I own one. I don't use the encryption on the device though... now I don't see a reason to do so.

      --
      "It's not like your minds are as open as the source you love..." - Me to the majority of Slashdot.
    13. Re:An embarassment of security. by Chris+Mattern · · Score: 4, Interesting

      > Thankfully, I don't know anyone who owns this.

      I do, and I keep fairly sensitive information on it (in fact, I bought it in order to keep that information handy but secure). But I don't use Lexar's software--never even occured to me to try to use it, as I want to access it in Solaris and Linux. I use GPG; downloaded a GPG for Windows and put it right on the key so that I can use it in any Windows machine as well.

      Chris Mattern

    14. Re:An embarassment of security. by pete-classic · · Score: 1

      Very nice. I particularly like the attention to the detail of null terminating.

      -Peter

    15. Re:An embarassment of security. by naarok · · Score: 0

      Sure it would be better. Not the best but better.

      If you are trying to guess the password of a device you found on someones desk, then by encrypting the password you enter and comparing that to the encrypted password on the device, you will never see the device's password in plain text. The best you can do is determine the encryption used. Given a suitably strong encryption, knowing the encryption algorithm will not help you determine the device's password.

    16. Re:An embarassment of security. by Alizarin+Erythrosin · · Score: 2, Interesting

      The right way to do this would be to use the password to generate an encryption key and encrypt the data with it. Then, the only possible vulnerabilities are the password itself and various known-plaintext attacks.

      No, there's one more... the user forgetting that password. Not exactly a compromise situation, but a support nightmare.

      --
      There are only 10 kinds of people in this world... those who understand binary and those who don't
    17. Re:An embarassment of security. by clambake · · Score: 2, Insightful

      I don't get why they store (and check) the password in any way. The password becomes the encryption key for the data. If you enter the correct key you can access the files, if you don't you get garbage...

      Makes me think there si NO encryption on any of the data... Just a funny driver hack that stops you from reading a certian sector of the drive.

    18. Re:An embarassment of security. by clambake · · Score: 1

      Don't knock XOR. XOR alone can be used for encryption. Infact it is unbreakable when used for encryption. Ever heard of an one time pad. For example free gmail invite to the first person to crack the following:
      11110110110011101101010111100111101010 10


      Cracked it... Man that was easy.

    19. Re:An embarassment of security. by mark_wilkins · · Score: 1
      For example free gmail invite to the first person to crack the following: 1111011011001110110101011110011110101010

      Oooh, ooh, I've got it!

      Encrypted: 11110110 11001110 11010101 11100111 10101010
      Key______: 10000011 10111101 10100000 10000100 11000001

      Plaintext: 01110101 01110011 01110101 01100011 01101011

      ASCII Plaintext: u s u c k

      oh, wait, maybe it's

      Encrypted: 11110110 11001110 11010101 11100111 10101010
      Key______: 10011111 10111101 10100000 10000100 11000001

      Plaintext: 01101001 01110011 01110101 01100011 01101011

      ASCII Plaintext: i s u c k

      oh, I'm confused, my head hurts.

      -- Mark

    20. Re:An embarassment of security. by kernelfoobar · · Score: 1

      that's quite extensive. I mean going to all this trouble to nul terminate a nul filled string... haha!

      check out bzero instead

      --
      Here we go again!
    21. Re:An embarassment of security. by spellraiser · · Score: 2, Insightful
      Good point. This is quite true. XOR is unbreakable provided that your key is random, and is as long as the data you are encrypting. Like you said, this would be a One time pad, and thus perfectly secure. The downside is, of course, that you need a very long key, and can never reuse it.

      However, using a small key and XOR-ing it periodically with the data is very insecure and can be broken easily.

      When one wants security coupled with a (relatively) small, fixed-length, reusable key, block ciphers such as AES are the way to go. The JumpDrive people got this right.

      The article under discussion is short on details, but I can guess from what's said that the JumpDrive software probably generates an AES key from a user-supplied password. This is fine, but the mistake seems to lie in storing the password on the drive itself, 'in an XOR encrypted form'. Now, this probably means that the XOR key that is used to attempt to hide the password is known; i.e. can be gotten from the software.

      Even though the XOR key is as long as the password, this is of course very insecure in this case. It's very easy to recover the password, generate the AES key, and decrypt.

      This only goes to show that any cryptographic method is only as strong as the weakest link.

      --
      I hear there's rumors on the Slashdots
    22. Re:An embarassment of security. by Anonymous Coward · · Score: 1, Funny

      That won't work on DOS/Windows, everyone knows you have to terminate strings with CHR$(13)+CHR$(10), unix weenie.

    23. Re:An embarassment of security. by AuMatar · · Score: 1

      bzero is not C standard and is deprecated on platforms that do provide it.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    24. Re:An embarassment of security. by Gemini · · Score: 1
      I use GPG; downloaded a GPG for Windows and put it right on the key so that I can use it in any Windows machine as well.


      A lot of people do this (keep a GPG key on a removable USB memory key), but it isn't always a good idea. Remember that the USB memory keys provide a filesystem to the host computer, so it is possible for something on that box to simply copy your key. Make sure you trust the box before you plug in your memory key.

      A better way: the OpenPGP smartcard
    25. Re:An embarassment of security. by Anonymous Coward · · Score: 1, Funny

      Bah, I use microwave encryption, it even works on Read Only Format devices.

    26. Re:An embarassment of security. by SamNmaX · · Score: 4, Funny
      Horseshit. All my data is XORed against itself before it is written to disk. I assure you that you can't crack it.

      That joke sure was cryptic.

    27. Re:An embarassment of security. by jon3k · · Score: 1

      I'm jon, nice to meet you. Know you know someone with one (256MB version, got it about a month ago).

      I just store an encrypted KeePass database on my secure partition, so I'm not totally naked, but this still is seriously frustrating to me.

      Anyone else have one? Plan on trying to get a refund?

    28. Re:An embarassment of security. by CerebusUS · · Score: 1

      Chris: What software did you end up using? I've been thing about doing this with the little freebie 128MB keychains Dell hands out.

    29. Re:An embarassment of security. by lynx_user_abroad · · Score: 2, Funny
      Infact it [XOR] is unbreakable when used for encryption. Ever heard of an one time pad.

      Never use the work "unbreakable" when describing an encryption protocol. Every encryption system (including OTP) is vulnerable to the Karnak attack.

      --

      The thing about things we don't know is we often don't know we don't know them.

    30. Re:An embarassment of security. by miltimj · · Score: 1

      Makes me think there si NO encryption on any of the data...

      What's that word before "NO"? Hmmm... it must be encrypted.

      --
      "Truth is not decided by majority vote" consensus gentium -- Norman Geisler
    31. Re:An embarassment of security. by SnakeJG · · Score: 2, Funny

      What an embarassingly easy system to crack. All I need to do is XOR the result with your data...

    32. Re:An embarassment of security. by Plural+of+Mongoose · · Score: 1

      Erm, no - the password XOR schema doesn't need to be 'gotten from the software'

      merely purchase one, and encrypt some data with one password, encrypty diff data with same password; now repeat usining same data-sets, with different passwords.

      Compare results

      Extract appropriate hard-wired doofus-inspired XOR key.

      Post on /....

      --
      The last fucking thing you want is my undivided attention...
    33. Re:An embarassment of security. by rothbart · · Score: 1

      I XOR mine with itself twice just to be safe... come to think of it, maybe that's the default, not sure... maybe I'll do it four times now just to be safe. ...think about it a second... ;)

    34. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Why is that?

    35. Re:An embarassment of security. by alienw · · Score: 4, Insightful

      If the device actually encrypts the files, it is not necessary to store the password in any form, hashed or otherwise. You can just decrypt the data with the given password and check if the CRC matches to find out if the password is correct or not.

    36. Re:An embarassment of security. by julesh · · Score: 1

      It's probably stored while the device is using it to encrypt/decrypt data, and they forgot to zero it out afterwards.

    37. Re:An embarassment of security. by lildogie · · Score: 2, Funny

      > All my data is XORed against itself before it is written to disk.

      I think they call that a one-time pad. ;-)

      "One-time" 'cause that's how many times you'll try it.

    38. Re:An embarassment of security. by Feyr · · Score: 1

      there's a fix for the one as well. just a simple phrase i'm sure you users will LOVE to hear, and since i'm so generous i'll write it down here for everyone to help their users with

      here is, as promised, the secret phrase that will unlock all the secrets:

      sucks to be you. cya loser

    39. Re:An embarassment of security. by TommydCat · · Score: 1

      Using a one-time pad to encrypt your password, what happens the second time you try to login?

      --
      This comment does not necessarily represent the views and opinions of the author.
    40. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      That was the same joke, but worse.

    41. Re:An embarassment of security. by Pig+Hogger · · Score: 2, Funny
      All my data is XORed against itself before it is written to disk. I assure you that you can't crack it.
      I not only do that, but I also BZIP2 the result, and I get fantastic compression!!!
    42. Re:An embarassment of security. by null+etc. · · Score: 2, Informative

      Actually, CHR$(13)+CHR$(10) is used to terminate lines of text (carriage return/linefeed), not character strings.

    43. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Even smart-cards are not enough. What stops a malicious application from asking it to sign a bunch of other things when all you want to do is sign an email?

      To provide adequate security, you'd need a display on the smart-card and a button to approve it, so that you could verify that you are signing what you think you are.

      Of course, this rapidly gets more and more awkward to use. The easiest an adequately secure system could get is:

      [swipe]

      [look at document you are signing using the on-card display]

      [press button to generate signature]

      [swipe again]

      It's only really practical for short documents. You see, even if the smart-card simply showed the SHA-1, you couldn't trust the SHA-1 utility on the machine you are at to generate the correct hash. So you really need to be able to view the proposed signed document on a trusted display.

    44. Re:An embarassment of security. by null+etc. · · Score: 1
      Aside from storing the password in XOR'd form, the software checking the password is flawed. It unencrypts the password first, then compared the password entered. Rather then encrypting the password entered and comparing it to the device?
      How do you know what the software does? Neither the linked article nor the submitted post claim that the software unencrypts the password. For all we know, the software engineers have lifted their authentication strategy from unix password authentication, except perhaps they were lazy and used their own (insecure) hash function.
    45. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      It is unbreakable if, as one poster pointed out, the hash is the same length as the data, is completely random, and is used exactly once. Without a copy of the hash there is absolutely no way to determine the plaintext.

      That said, this is extremely rarely a viable solution. Maybe for a spy or something. Send the message along one route and the hash along another. Without both, they are useless.

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    46. Re:An embarassment of security. by drinkypoo · · Score: 1

      It's not C standard because someone decided there was a better way to do it. It's deprecated because it's not standard. If you have any more complicated questions like this one, I will be happy to answer them for you for just $49.95 per hour, minimum two hours.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    47. Re:An embarassment of security. by null+etc. · · Score: 1
      So what's the purpose of the stored password?
      I'm guessing that it's to speed up device response time. After all, if you had a 128 MB partition encrypted, and the device had to load the entire 128 MB of data in order to allow the decryption process to determine if the password was correct, the response time would be phenomenally slower than if a 32-byte password was retrieved from the device.

      I agree, though - the only safe way to store the data is to discard the password.

    48. Re:An embarassment of security. by simcop2387 · · Score: 1

      thats line terminators you windows wanker

    49. Re:An embarassment of security. by AuMatar · · Score: 1

      Why is it not C standard or why is it deprecated?

      The answer to both is pretty much the same. It just isn't that useful- you have memset, bzero is a memset with one parameter defaulted to 0. No reason to add a whole new function to the API for that, just keep the more generalized version around. For several (IMO good) reasons, C attempts to keep a very lean standard library, they don't just add functions for everything you'd ever want. Its trivial to write your own bzero if you want, or download a library that does it (and a lot of libc implementations provide it anyway for backwards compatibility).

      Actually, the whole set of bxxx functions are not C standard. Not sure of the history there, but don't use them in portable code. All of them are easily replicated via the standard library.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    50. Re:An embarassment of security. by digitac · · Score: 1

      Sorry, but the word BEFORE "NO" is "yes" encrypted using a language differential. "Encrypted" is the word AFTER "NO". ::Digitac

    51. Re:An embarassment of security. by Anonymous Coward · · Score: 1, Informative
      He may have RTFA:
      It is also possible to attach a debugger to the Safe Guard software and read the password from memory. The Safe Guard software takes care of the decryption and the password can be seen in plain text within memory when the software does a compare between the stored password and the supplied password.
    52. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      The password is in XOR'd form? Yeah. That's encryption.

      Why is it that every one thinks that XOR isn't encryption? XOR is the only, read only, form of encryption that is proven uncrackable (no matter the amount of computing power thrown at it) given that the key is secure and that the amount of information encrypted is not greater in size than the key.

    53. Re:An embarassment of security. by Brandybuck · · Score: 1

      How do you know what the software does?

      Because the @stake article says so: "the software does a compare between the stored password and the supplied password". That could be merely a gross simplification, but considering that this is in a security advisory and not a ZDNet fluff piece for PHBs, I seriously doubt it.

      --
      Don't blame me, I didn't vote for either of them!
    54. Re:An embarassment of security. by js3 · · Score: 1

      lol yea I bought one of their drives half a year ago and I deleted all that security crap. It just takes up valuable space anyways

      --
      did you forget to take your meds?
    55. Re:An embarassment of security. by sinan · · Score: 1

      Also known as "Signetics WOM" WOM

    56. Re:An embarassment of security. by Just+Jeff · · Score: 1

      If I remember my high school algebra, wouldn't this be more optimally coded as...

      CHR$(23)

      Just curious.

    57. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      The first bit was nearly witty.

      The part about default was bland.

      The part about 4 times just wasted the first bit.

      The last part was just dumb ... it assumed we didn't get it the first few times.

    58. Re:An embarassment of security. by jhoffoss · · Score: 1

      No, that's two characters concatenated, not added; Carriage Return, then Line Feed. But as others have pointed out, this is for terminating lines of text, not buffers.

      --
      Linux: The world's best text-adventure game.
    59. Re:An embarassment of security. by mattyrobinson69 · · Score: 1

      if this is a joke, sorry for not finding it funny - some people will think "ah yes, ye's right - clever"

      no, its ascii 13 and ascii 10, 10 and 13, not 10 plus 13 and the chr() is vb code for the charactor representation of the ascii value contained in () for example (iirc) chr(65) would be 'a'

      sorry about the mention to vb, i'l bow my head....

    60. Re:An embarassment of security. by jhoffoss · · Score: 1

      That, or the user can write the password on the drive in Sharpie. Or better yet, put it in a text file on the drive!

      --
      Linux: The world's best text-adventure game.
    61. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      But if you have two drives, all you have to do is encrypt a know password and you can figure out the key to decrypt the other password.

    62. Re:An embarassment of security. by Chris+Mattern · · Score: 1

      Key's encrypted (wouldn't be much point if it weren't, with data and key both on the drive). Key is also not used for anything but encrypting those files, so in and of itself it's not valuable. But a well-placed keylogger/spybot could get stuff that needs to be secret, so it's a good point. In the end, I figure keeping the data on a keychain drive that's only connected to *anything* when I'm accessing it is more secure than putting it up available on the network 24/7.

      Chris Mattern

    63. Re:An embarassment of security. by Carnildo · · Score: 2, Funny

      You don't know what the Karnak attack is, do you? I belive it's related to rubber-hose cryptography.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    64. Re:An embarassment of security. by Hungus · · Score: 1

      He was trying to be humourous, and it worked at least for me.

      --
      Bad Panda! No Bamboo for you! In matters of importance ACs will not be responded to. Want to say something critical,OK
    65. Re:An embarassment of security. by DrSkwid · · Score: 2, Funny

      you, like he, and like I should just not have posted *anything*

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    66. Re:An embarassment of security. by Chris+Mattern · · Score: 1

      You can get precompiled W32-CLI GPG binaries direct from the GnuPG folks themselves. Their site is http://www.gnupg.org, and if you go one of their download mirrors, it'll be right there in the binary directory (they've got all the old versions too--make sure you get the most recent!)

      Chris Mattern

    67. Re:An embarassment of security. by Scud · · Score: 1

      "Thankfully, I don't know anyone who owns this."

      I own one, so what? I didn't buy it for the security aspect, I bought it because I needed one and all that Walmart sold were these.

      So there!

      John

      --
      I dream in binary.
    68. Re:An embarassment of security. by DrSkwid · · Score: 1


      and if either *in or *out are NULL ?

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    69. Re:An embarassment of security. by steveha · · Score: 1

      You know what? My first draft null pointer checks. I took them out because they weren't funny.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    70. Re:An embarassment of security. by Idarubicin · · Score: 1
      I wouldn't think a consumer to expect a fairly decent encryption system for free.

      I am amused to note that the comment that immediately follows contains a reference to using GnuPG on a USB drive....

      --
      ~Idarubicin
    71. Re:An embarassment of security. by null+etc. · · Score: 1
      ... and the password can be seen in plain text within memory when the software does a compare between the stored password and the supplied password
      That doesn't mean anything. The software program, when it asks the user to input the password, may store the user's input (unhashed) in one buffer, and may stored the user's input (hashed) in another buffer. Although the software could then compare the hashed user's input with the password stored on the key drive, the user's unhashed input might still be visible within the first buffer.

    72. Re:An embarassment of security. by null+etc. · · Score: 1
      the software does a compare between the stored password and the supplied password
      That would indicate that both the stored and supplied password are in the same format; i.e. plaintext or hashed. Since we already know that the software hashes the password before storing it on the drive, it's reasonable (although not guaranteed) to assume that the software hashes the user's input and compares it to the contents of the key drive.
    73. Re:An embarassment of security. by truz24 · · Score: 1

      That is a good idea, but do you realize how big of a pain that would be if a user mistyped his password and the file was huge? (You are not supposed to write down your passwords)

    74. Re:An embarassment of security. by mi · · Score: 1

      But the in should still be a const char *... This is ./ and your code must be perfect.

      --
      In Soviet Washington the swamp drains you.
    75. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      I guess the point is that it should be the same as chr$(23) or an error. Concatenation and addition are very different operations and only a retard would develop a language so that they use the same operator.

    76. Re:An embarassment of security. by ZorinLynx · · Score: 1

      Well, this *IS* BASIC we're talking about, so there you go. }:)

      I wouldn't exactly call BASIC a major programming language; it is but a toy. (A toy that was widely used in the 70's and 80's, but I digress)

      -Z

    77. Re:An embarassment of security. by Anonymous Coward · · Score: 0
      There may even be better ways than that. I'm not a cryptography person, but that's the first thing that comes to mind.

      Won't work; the attacker will simply reverse engineer the program to figure out how to unencryt the password. What you do, and what you may be thinking of is to hash the password, and compare it to a stored hash of the password on the device. The difference is that the hash can't be reversed (save for brute force) to gain the password. There are a couple of complexities, such as not using that hash as an encryption key, but a different hash of the password. Which would be hopefully obvious, but people keep doing moronic things with encryption.

      In practice, what would be done is to have a method to prevent corruption or alteration of the message (such as a hash), and in such a case a seperate password verification step isn't strictly necessary.

    78. Re:An embarassment of security. by Brandybuck · · Score: 1

      Normally I would agree with you. But there's enough technical language in the report already that I think they were being literal. If they were merely comparing hashes they wouldn't have bothered mentioning it. Please read that quote in context. It very much appears to me that the plaintext password is appearing in the debugger at the point of comparison.

      --
      Don't blame me, I didn't vote for either of them!
    79. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Damn that's cheap. I bill out for no less than three times that.

    80. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Even after this I can bet that sooner or later you'll hear "Guess what I just bought..." but then again most lusers can't even pronounce ENKRYPSHUN...

    81. Re:An embarassment of security. by Anonymous Coward · · Score: 0
      The password is in XOR'd form? Yeah. That's encryption.

      That's not encryption; that's a marketing check box. What's worse is that the information on how to do encryption, and good algorithms (with code) are available on the net. Making sure the encryption is good may take expertise, not doing moronic things merely takes a web search.

    82. Re:An embarassment of security. by the+last+username · · Score: 1

      Well, obviously that's perfectly safe for your data - but it wouldn't be much use for protecting a password database.

    83. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Short tip: 'man truncate' or 'man ftruncate' and realize your filesystem supports holes... Now you can store terabytes of encrypted files on a single disk.

      I feel a patent coming up ;-))

    84. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Concatenation and addition are very different operations and only a retard would develop a language so that they use the same operator.

      Disagree. It's a simple bit of overloading. C++, Python, and other languages use '+' for concatenation if you use it between two strings, and I don't see a problem with it.

      Remember, most languages were designed to use ASCII, and you have a limited set of punctuation characters. What would you rather see for concatenation? '&' like MS Visual Basic? Or we could just make people type "concat(str1, str2)" instead of "str1 + str2", would that make you happy?

    85. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      How about calling it the "one-way pad" because you'll never get the data back out!

    86. Re:An embarassment of security. by drinkypoo · · Score: 1

      Well, I need the work right now... When you've taken an intern job because you're going to school, you take just about any side job you can get your hands on.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    87. Re:An embarassment of security. by Anonymous Coward · · Score: 0

      Disagree. It's a simple bit of overloading. C++, Python, and other languages use '+' for concatenation if you use it between two strings, and I don't see a problem with it.

      Apparently you haven't used javascript;)

      What would you rather see for concatenation?

      If I were developing a language I'd probably use the same I'd use for concatenating other lists as well (for which I'd sure as heck never use '+'). Perhaps I'd pick '|' in oracle style, but it clashes with C's arithmetic or..

    88. Re:An embarassment of security. by iamatlas · · Score: 1

      Bah! I use figlet encryption.

    89. Re:An embarassment of security. by nzhavok · · Score: 1

      Hi, the linux crypto filesystem uses this approach, you can use AES encryption, the keylength of which is based on you passphrase.

      If you forget your passphrase, tough luck.

      Not writing down your passwords is stupid, I don't know where you heard this. Your passwords *should* be written down, if only for the "hit by a bus scenario". What you don't do is leave them in an spreadsheet in My Documents, or on a post-it note attached to the monitor. Preferably they are in a safe which you and your boss/backup has access to, or at least in a locked drawer.

      --

      He who defends everything, defends nothing. -- Fredrick The Great
    90. Re:An embarassment of security. by bhtooefr · · Score: 1

      I almost had a Secure, but the Wal-Mart I went to ran out of the 128MB ones (quickest way to get a USB drive in my hands was a JumpDrive from Wal-Mart), and told me to go to another store, which in 128MB only had the Elite (USB2.0 is it's special feature). It's served me quite well, and I never needed the encryption anyway. FWIW, here's the JumpDrive lineup:

      Low-end: JumpDrive Classic, USB1.1, old case design (AVOID, AVOID, AVOID - costs too much, and the case design didn't factor in a way to actually keep the fscking cap on - I had a 64MB one die on me, and Wal-Mart's selling 32MB ones for ~$20)
      Mid-end: JumpDrive Pro, USB2.0, old case design (see above comments on Classic, don't know cost)
      High-end: JumpDrive Secure, USB1.1, worthless encryption software, new (chubby) case design (I've seen them in the wild, but haven't played with them. They are fscking fat, so if you've got, oh, a PS/2 keyboard or mouse plugged in, and a monitor plugged in, it might not fit.)
      JumpDrive Elite, USB2.0, new (slim) case design (if you want USB2.0, this is the only decent option. Nice, slim (although it didn't fit in the USB port on my parents' computer without unplugging BOTH devices - thank PC Chips for spacing their USB ports too closely, though).)
      JumpDrive Sport, USB1.1, new (ruggedized slim) case design, available MP3 player option (this is the college student model. I haven't worked with it, but it should be similar to the Elite (but slower, and the clip is on the cap - not the most SECURE method, seeing as the cap comes off the Elite VERY easily, but at least you don't have to take it off your keychain to stow the cap while the drive is plugged in), so I'd recommend it.)

      All of the high-end models are now $28.88 for a 128MB model, ~$55 for a 256MB model @ Wal-Mart (OK, I'm spineless ;-)

    91. Re:An embarassment of security. by lynx_user_abroad · · Score: 1
      The Karnak attack is, at its essence, the case where the attacker guesses the key, or the plaintext.

      It's not an extremely powerful attack, but cryptographers are forced to address it because it denies the defense of absolute security.

      A simple example, although far from complete in scope, would be the case where Alice and Bob, having found that their communications have been compromised, conclude that their thought-to-be-unbreakable crypto system is actually vulnerable. Mallory can claim his attack was just a successful application of the Karnak attack, and is therefore not forced into revealing what, if any, vulnerability of the thought-to-be-unbreakable crypto system was exploited. Even if the thought-to-be-unbreakable crypto system in fact is unbreakable, it is still vulnerable to the Karnak attack.

      --

      The thing about things we don't know is we often don't know we don't know them.

    92. Re:An embarassment of security. by lynx_user_abroad · · Score: 1
      Without a copy of the hash there is absolutely no way to determine the plaintext.

      Cryptography only rearranges the information. It does not seek to destroy. If the information is not destroyed, it is recoverable. This is the point of a crypto system: to allow the information to be recovered by the intended recipient while denying it to others.

      But if anyone is able to determine the plaintext, then the crypto system is vulnerable to the Karnak attack. If you don't understand this, you may well have a strong command of the mathematics of cryptography, but a less-than-complete concept of security.

      Be aware: your own overconfidence may be your downfall.

      --

      The thing about things we don't know is we often don't know we don't know them.

    93. Re:An embarassment of security. by alienw · · Score: 1

      Decrypt a small block and test the CRC. Just look at how the (fairly weak) ZIP encryption works sometime.

    94. Re:An embarassment of security. by kernelfoobar · · Score: 1

      Thanks for the tip!

      I searched a bit and even the libc (GNU C library) docs sayso. From Edition 0.10, last updated 2001-07-06, of The GNU C Library Reference Manual, for Version 2.2.x of the GNU C Library:
      void bzero (void *block, size_t size)

      This is a partially obsolete alternative for memset, derived from BSD. Note that it is not as general as memset, because the only value it can store is zero.

      --
      Here we go again!
    95. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      If the hash is the exact length of the message, then there is no rearranging. There is no mathematical relationship to any parts of the message with each other. Since each bit is independently encrypted, you have to have the hash to know what the original message is. Effectively you are splitting the information in two halves that are useless without each other. Keep in mind that the hash is used exactly once and must be transmitted seperately (1 over mail, the other over email?) to reduce the chance of interception.

      You must have been confused into thinking I was discussing some form of useful encryption. This type is not very practical unless you have 2 seperate modes of fairly secure transmission.

      I would agree that if noone could determine the plaintext it would be a secret. This is more secure than an unencrypted message because 2 useless halves would be transmitted seperately. In order to discover a single bit with certainty, you would have to have both. How is my understanding of security in this less than complete?

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    96. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      Please see the other response. I don't think that any attack, other than brute force (which would find MANY possible solutions) is possible. Correct me if I'm wrong. I guess that we're really talking about different methods of encryption and what you said is probably correct in response to what you think I meant.

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    97. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      Preemptively, here is an example.

      3B4BD310B5C522069DDFE42392AFD8A35B

      I took a short quote from an appropriate movie and encrypted it with my random hash. How are you possibly going to figure it out unless you obtain the key as well? Remember, I only use the key once, so you can't use your own plaintext to generate your own ciphertext. (If you could then the key is obvious anyway since we are only xor-ing.)

      All you know about the original text is that it is 17 bytes (and what I told you). As far as you can determine, it can be any 17-byte message imaginable.

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    98. Re:An embarassment of security. by lynx_user_abroad · · Score: 1
      How is my understanding of security in this less than complete?

      Two things to note:

      Since each bit is independently encrypted, you have to have the hash to know what the original message is.

      First, to know the message you need to know either the cyphertext and the protocol/key (hash) or you need to know the plaintext. Yes, it's a given that your crypto system is useless if you can't keep your plaintext secret, but it's one of the many factors which live outside the scope of cryptography but within the scope of security.

      Second, One Time Pad is not quite as useless as you might imagine. The OTP key (hash) must be delivered through a seperate channel, but the channel seperation can obtained in many ways. It can be physical, as you suggest, delivering the key through the mail, but it could also be temporal; you can send the key years in advance of the message, even before you know what the message is.

      Additionally, the two keys (the one we are calling the cyphertext and the one we are calling the hash) are essentially equivalent (they're both just a string of randomish bits of a certain length) and in that respect essentially equivalent to the plaintext. That means you can 'encrypt' either (or both) of the keys in the same fashion again. In essense your cyphertext C is a function of your plaintext P xor A xor B xor C xor D.... where all of A, B, C, D, etc. are random pads, subject to the OTP constraints (all but the plaintext must be truly random, security of each component is equally important, loss of one equals the loss of the message, etc.)

      --

      The thing about things we don't know is we often don't know we don't know them.

    99. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      You are an uber-quibbler, I'll give you that. Does your whole argument with me boil down to keeping the original plaintext secret? If I wipe the hard drive and then burn it and throw the RAM in acid, would that satisfy? Then what would the security issue be?

      Please tell me that your sig wasn't directed at me. It sounds to me like we both know what we're talking about, we just got into a stupid "argument." BTW, thanks for pointing out the OTP with unlimited encrypted bit streams that could all just be xor-ed together. (If I ever need to send a super-top-secret message, I guess I will just have to encrypt the message with AES, OTP with 50 hashes, encrypt those as well with IDEA, and send them along different channels.

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    100. Re:An embarassment of security. by CodeMonkey4Hire · · Score: 1

      Please do not regard my previous post as a flame. Rereading it later, I realized that it could be perceived as a mild one. Sorry.

      --

      Let's go Hurricanes!!! 2006 Stanley Cup Champions!!!
    101. Re:An embarassment of security. by Carnildo · · Score: 1

      A one-time pad is not vulnerable to that: the encoded string

      dsjkfhkjsdfhlksdfhjlskajd

      could be decoded as

      Burn down the white house
      attack them next tuesday
      badger badger mushroom

      Since you don't know the pad, all decodings are equally valid.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    102. Re:An embarassment of security. by lynx_user_abroad · · Score: 1
      ...the encoded string
      dsjkfhkjsdfhlksdfhjlskajd
      could be decoded as Burn down the white house

      So Bob receives his one-time-pad encrypted (and thus not vulnerable to compromise) instructions from Alice and proceeds to make ready with the Napalm. But upon arriving at the target location, finds not only a large compliment of heavily armed defense forces, but an overwhelming amount of fire suppression equipment on site as well. After a hasty decision to abort the mission and a narrow escape, Bob confronts Alice with the obvious;

      Bob: You Traitor! You sold me out! I'm never trusting you again.

      Alice: What makes you think that?

      Bob: Because the instructions were encrypted with a one-time-pad and therefore weren't vulnerable to compromise. Since you were the only other person who knew what the instructions were, it must have been you who passed the information along to Smokey the Bear.

      If Bob insists that the encryption could not have been compromised, then Bob must conclude Alice can no longer be trusted. If however Bob accepts the possibility that Smokey the Bear just guessed the target, which is to say, that the encryption system was broken by a Karnak attack, then Bob may conclude Alice is still trustable.

      Here's another. Alice posesses a valuable and compromising document. To protect it, she encrypts it with the believed-to-be-unbreakable encryption system her secret organization has standardized on and stores the only copy on her hard drive under a passphrase known only to her. All other copies are destroyed. Shortly thereafter, her home is raided, and hard drive confiscated. During interrogation she is presented with a copy of the compromised documenti decrypted from her hard drive.

      Should she conclude that the encryption system actually has a vulnerability, from which follows that the interrogators probably posess a great deal of knowledge about her secret organization, and that her secret organization should change encryption systems? Or should she consider the possibility that, when the interrogators were presented with the "Enter the passphrase to access the valuable and compromising document:" dialog box, they might just have guessed that the passphrase might be "support" (or "password", or "marsiey dotsen dosey dotsen liddle lamsey divey, akiddley divey-tu woodenshu"), meaning the encryption system itself is still unbreakable, and the only knowledge the interrogators posess is the single document to which their Karnak attack has granted them access.

      --

      The thing about things we don't know is we often don't know we don't know them.

  5. Dude, by 2names · · Score: 5, Funny

    EVERYTHING violates the DMCA. Everything. Even talking about violating the DMCA violates the DMCA.

    --
    "I'm just here to regulate funkiness."
    1. Re:Dude, by Ignominious+Cow+Herd · · Score: 5, Funny

      So, all we have to do is prove that the DMCA violates the DMCA and it will disappear in a puff of illogic, right?

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    2. Re:Dude, by MalaclypseTheYounger · · Score: 2, Funny

      Ane then it will be replaced with an even larger piece of illogical rubbish.

      Some say this has already happened.

      --
      Check out the best P2P sharing website: MEDIACHEST.COM
    3. Re:Dude, by Anonymous Coward · · Score: 0

      The first rule of the DMCA: You do not talk about the DMCA.
      The second rule of the DMCA: You DO NOT talk about the DMCA!

    4. Re:Dude, by grassy_knoll · · Score: 2, Funny

      Even talking about violating the DMCA violates the DMCA.

      When did the DCMA become Fight Club?

      [Badum-ching]

    5. Re:Dude, by Caseyscrib · · Score: 2, Funny
      When did the DCMA become Fight Club?

      August.

    6. Re:Dude, by CMRichar · · Score: 2, Funny

      I thought this was covered in the first meeting...

      The first rule of the DMCA is You do NOT talk about the DMCA.
      The second rule of the DMCA is YOU DO NOT TALK about the DMCA.
      The third rule of the DMCA, someone yells "Stop!", goes limp, taps out, is violating the DMCA.
      Fourth Rule, Two attorneys to a case.
      Fifth rule, No limits to the number of cases, fellas.
      Sixth rule, No Shirt, No Shoes. They are officially circumvention devices under DMCA law.
      Seventh Rule, cases will go on as long as they have to.
      And eighth and final rule, If this is your first night at the DMCA, you have to be sued.

      --
      "Good night, good work, sleep well, I'll most likely kill you in the morning." - Dread Pirate Roberts
    7. Re:Dude, by zaphod123 · · Score: 1

      Apparently you feel that the DMCA is composed of the same moral fiber as God?
      _I_ feel they most resemble philosophers...
      "What we demand are solid facts!"...

      --
      :q!
    8. Re:Dude, by Shadowlore · · Score: 1

      So, all we have to do is prove that the DMCA violates the DMCA and it will disappear in a puff of illogic, right?

      No, that's how it appeared in a puff of congressional law.

      --
      My Suburban burns less gasoline than your Prius.
  6. Cue::Cat by althalus · · Score: 4, Funny

    That's what happens when you get your security developers from the Cue::Cat Development team. Wasnt' their 'encryption' just XOR or something similar?

    1. Re:Cue::Cat by Smidge204 · · Score: 1

      Base64 encoding.

      Early versions didn't even need to be decoded... adding a wire from a +5v source to a particular spot caused the device to deliver the barcode unencoded instead of the encoded barcode+serial!
      =Smidge=

    2. Re:Cue::Cat by AKAImBatman · · Score: 4, Informative

      It was Base64 "encryption" (*snicker*)

    3. Re:Cue::Cat by artemis67 · · Score: 5, Funny

      that, and their password was "PASSWORD"

    4. Re:Cue::Cat by drinkypoo · · Score: 1

      Yeah, and on later versions, you could do the same thing by cutting a trace. Declawed, baby!

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Cue::Cat by Smidge204 · · Score: 1

      I thought that only disabled the serial number (turned it to garbage), not disabled encoding...

      =Smidge=

    6. Re:Cue::Cat by fireman · · Score: 0

      Just send Amazon a shoestring.

      --
      M.
    7. Re:Cue::Cat by Alsee · · Score: 0, Redundant

      This post is in ASCII encryption.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    8. Re:Cue::Cat by blincoln · · Score: 1

      There are plenty of bad developers out there.

      I won't name names, but the company I work for uses a multiplatform enterprise batch-scheduling program whose programmers were similarly lax about security - and this is in a product that's targetted exclusively at massive corporations.

      The Windows version of their software stores the passwords for authorized usernames in an "encrypted" format to use when it does the Windows equivalent of an SU to them to run the batch jobs.

      On the first version of the software we used, the passwords were "encrypted" using the cereal box spy decoder ring method (simple substitution? I don't know the proper term), where each character was assigned a static hex value. One of our DBAs cracked it very quickly.

      On the fancy new upgraded version, the "encryption" was upgraded to one-time pad... except that it was the same pad every time. I knew something was wrong when I looked in the username/password file and noticed that passwords with the same beginning sequence of characters had the same beginning sequence of hex values in the file.

      It took a few hours, but I wrote a vbscript that would generate a CSV-format file of the encryption/decryption grid so you could see how it worked and decrypt passwords by hand. I was going to make it do the full decryption on its own but figured I'd spent enough time on the proof of concept and then freaking out some people by telling them what their super-secret locked-down service account passwords were.

      I emailed the whole package to the vendor, and never heard back. It's especially sad because the pad didn't even change from machine to machine. That same CSV file would allow the decryption of any password from any installation of that software anywhere on the planet.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    9. Re:Cue::Cat by Anonymous Coward · · Score: 0

      At least that is better than the code for the atmospheric airlock of the planet Druidia.

  7. It's a "feature" by grunt107 · · Score: 5, Funny

    It allows those who forget their passwords to quickly access the 'lostpaswd?' file, saving on support calls.

  8. Not much detail? by Anonymous Coward · · Score: 4, Interesting

    XOR'ed with what? XOR is just a method of encryption, not a cypher or anything... it's the basis for the one-time-pad, the strongest encryption method next to quantum encryption.

    1. Re:Not much detail? by Anonymous Coward · · Score: 1, Insightful

      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.

    2. Re:Not much detail? by PhilipPeake · · Score: 3, Funny
      This is actually a clever sales gimmick.

      You can find the "what with" part by simply XORing again with you key. So to find out what the magic string is, simply buy one of these devices, encrypt some data to it, then locate the encrypted key and XOR you original password with the "encrypted" version.

      Doing this with your own device means you are not violating DMCA - trying this out with someone elses device will subject you to the possibility of 57 consecutive life sentences.

    3. Re:Not much detail? by nkh · · Score: 3, Insightful

      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.

    4. Re:Not much detail? by dmeranda · · Score: 1

      Usually when someone mentions "XOR" encryption without any further details, the assumption is that one of the two arguments is fixed. And that is very easily broken.

      True the XOR operation itself is perhaps one of the most important fundamental operators in cryptography, and when used correctly (like in the one-time-pad) can be extremely secure. But if one of the arguments is fixed (or worse, zero), then it's of little benifit.

    5. Re:Not much detail? by lachlan76 · · Score: 1

      You can find the "what with" part by simply XORing again with you key

      Assuming that it's the same in every device. SOMEONE would have had to point out how stupid it would be to make them all the same.

  9. Dupe? by ceeam · · Score: 0, Redundant

    "That's why I use ROT-13 for my encryption needs."

    I swear I've seen this somewhere around here lately.

    1. Re:Dupe? by Anonymous Coward · · Score: 0

      yeah, it was in the story

  10. OK, don't kill ALL the lawyers yet by jmorris42 · · Score: 2, Interesting

    If ever there was an example of why we need product liability laws, this is it. Unlease the attack lawyers on these bums.

    --
    Democrat delenda est
  11. For my encryption needs by Anonymous Coward · · Score: 0, Troll

    I use MD5. Not one collision ever found in the wild.

    1. Re:For my encryption needs by Aardpig · · Score: 4, Informative

      I use MD5. Not one collision ever found in the wild.

      On the off chance that this isn't a joke, and you're one of the genii on /. who thinks that MD5 has anything to do with cryptography, let's reiterate:

      MD5 is a hashing algorithm. All hashing algorithms are guaranteed to collide, since hashing is the process of reducing an N-fold dataset to an M-fold one, where M<N.

      Because of this, hashing is irreversable, and therefor only an idiot would use it for encryption. It's proper purpose is for checksuming.

      --
      Tubal-Cain smokes the white owl.
    2. Re:For my encryption needs by owlstead · · Score: 2, Interesting

      Not completely true. If you look at the techniques of hash functions you'll understand why. They are very much like symetric encryption. You can even encrypt something by starting off with a "key", hash that, then hash the result of that, etc. etc. Now you have basically a stream cipher.

      It also works for small data units, like e.g. keys. Hash a (sufficiently difficult) password and xor the result of the hash with the (symetric) key and presto.

    3. Re:For my encryption needs by Sheepdot · · Score: 4, Informative

      Oh really?
      ------------------
      #!/usr/bin/perl -w

      use strict;
      use Digest::MD5 qw(md5_hex);

      # Create a stream of bytes from hex.
      my $bytes1 = map {chr(hex($_))} qw(
      d1 31 dd 02 c5 e6 ee c4 69 3d 9a 06 98 af f9 5c
      2f ca b5 87 12 46 7e ab 40 04 58 3e b8 fb 7f 89
      55 ad 34 06 09 f4 b3 02 83 e4 88 83 25 71 41 5a
      08 51 25 e8 f7 cd c9 9f d9 1d bd f2 80 37 3c 5b
      d8 82 3e 31 56 34 8f 5b ae 6d ac d4 36 c9 19 c6
      dd 53 e2 b4 87 da 03 fd 02 39 63 06 d2 48 cd a0
      e9 9f 33 42 0f 57 7e e8 ce 54 b6 70 80 a8 0d 1e
      c6 98 21 bc b6 a8 83 93 96 f9 65 2b 6f f7 2a 70
      );

      # Create a second stream of bytes from hex.
      my $bytes2 = map {chr(hex($_))} qw(
      d1 31 dd 02 c5 e6 ee c4 69 3d 9a 06 98 af f9 5c
      2f ca b5 07 12 46 7e ab 40 04 58 3e b8 fb 7f 89
      55 ad 34 06 09 f4 b3 02 83 e4 88 83 25 f1 41 5a
      08 51 25 e8 f7 cd c9 9f d9 1d bd 72 80 37 3c 5b
      d8 82 3e 31 56 34 8f 5b ae 6d ac d4 36 c9 19 c6
      dd 53 e2 34 87 da 03 fd 02 39 63 06 d2 48 cd a0
      e9 9f 33 42 0f 57 7e e8 ce 54 b6 70 80 28 0d 1e
      c6 98 21 bc b6 a8 83 93 96 f9 65 ab 6f f7 2a 70
      );

      # Print MD5 hashes
      print md5_hex($bytes1), "\n";
      print md5_hex($bytes2), "\n";
      ------------------

      What do I win?

    4. Re:For my encryption needs by legirons · · Score: 2, Informative

      "Because of this, hashing is irreversable, and therefor only an idiot would use it for encryption"

      Count me an idiot then. I should mention why:

      (a) take your key. MD5 it. Store this as X1
      (b) Take X1. MD5 it. Store this as X2
      (c) ... repeat until you get to Xn (n being the length of your message)
      (d) For each 64-byte segment of your message, XOR it with one of the numbers in the sequence you just generated

      To decrypt the message, do exactly the same thing.

    5. Re:For my encryption needs by hng_rval · · Score: 1

      How about this?

      Get Password: P;

      Encrypt_Key = md5(P."key_salt");
      Password_Hash = md5(P."password_salt");

      User logs in with Password T;

      if (md5(T."password_salt") == Password_Hash)
      Decrypt_Data(md5(T."key_salt);

      --
      Thank you Mario! But our princess is in another castle!
    6. Re:For my encryption needs by Anonymous Coward · · Score: 0

      'scuse me, but both of your streams appear to be identical to begin with (unless i am mistaken), so of course they will have the same hash.

      maybe i'm wrong, but it appears you were trying to tell someone that md5 collisions do appear in the wild.

      maybe they do -- your example doesn't prove that. your example doesn't seem to prove anything

    7. Re:For my encryption needs by Anonymous Coward · · Score: 1, Informative

      He is. Look closer. There are several differences, e.g.

      "bd 72 80" vs "bd f2 80"
      and "80 a8 0d" vs "80 28 0d"

      MD5 is dead.

    8. Re:For my encryption needs by Anonymous Coward · · Score: 0

      The original poster doesn't win anything; a search on google found more than 17500 results for this collision.

      MD5 is *NOT* dead. Collisions exists since md5's hash size is of course fixed.

      MD5 will be in real trouble when you can find a collision for a any plaintext, expecially if you can find a way to alter at a minimum the plaintext to get it to give the same md5 hash again.

    9. Re:For my encryption needs by Anonymous Coward · · Score: 0

      Unless, of course, you are a software vendor and generate two versions of your software that hash to the same value. Get hash of nice app signed by microsoft for use on the XBox or TCPA or any other nasty DRM system, or even just ActiveX. Release the nasty app. There is a constructive proof for generating two sequences of bytes that have the same md5 hash. I imagine it doesn't matter how long the hashes are, so long as they are the same length and don't differ in the last few thousand bytes except by the necessary factor.

    10. Re:For my encryption needs by nzhavok · · Score: 1

      erm, we have these 3 sparkling new mod points for you

      --

      He who defends everything, defends nothing. -- Fredrick The Great
    11. Re:For my encryption needs by v1 · · Score: 1

      Hashing also works well for generating pseud-random streams for xoring against data to encrypt it. It amounts to giving you the ability to generate a one-time-pad without having to store a huge pad. In its most basic form, you simply feed the hash incremental numbers.. "1", "2", "3".... and it kicks out say, 8 or 16 byte pseudorandoms for your pad. Of course in reality you'd tack on a password and feed it with "grapeape1", "grapeape2", "grapeape3"... instead, and that would make for a reasonably secure encryption.

      More back to the original thread though, it appears Lexar got the encryption step reasonably correct, but they picked a poor way to store the password. This may have been blatant stupidity, but I tend to think someone using AES would know better than to store a password in a recoverable form. The only reason you do that is because you WANT to be able to recover the password. The tinfoil hats will say this method is handed to the govt so they can suck data off your flash drive if they want to, and I can't say I entirely disagree with this factor, though it's more likely that the company itself wanted to be able to recover data if say it came up in a court case and they were asked to produce the data.

      A more secure way to go is to randomly generate two salts. Store the salts in plain form (as that doesn't compromise security) and use one salt on the password to encrypt the flash data, and use the other salt on the password to encrypt the password. Then when the user enters the password, you salt it and use it to encrypt the entered password, and then compare it against the stored encrypted password, which if the correct password was entered, will match. This provides you with the ability to confirm the password entered was correct without being able to _recover_ the password. This check is only necessary because we need to avoid confusing the OS etc by trying to read a directory on the flash drive that's been incorrectly decrypted and is essentially pumping out garbage, and instead give the user a "password incorrect" message.

      Of course the method used to encrypt the password into its "check value" needs to be strong, and preferably a long thing to calculate, since it will be the primary point of attacks, brute-force and otherwise. Something like that makes sense to hash more than once. I liked one method I saw, where they hashed it for 0.5 seconds. That way, as technology advanced the algorythm kept up by hashing more and more, taking more processor power, and nullifying the new faster processors.

      --
      I work for the Department of Redundancy Department.
    12. Re:For my encryption needs by Anonymous Coward · · Score: 0

      MD5 is *NOT* dead. Collisions exists since md5's hash size is of course fixed.

      Yesyesyes.. we all know that. However, for a cryptographic hash finding the collisions should be extremely hard. Now, it appears that for MD5, it isn't.

      MD5 will be in real trouble when you can find a collision for a any plaintext, expecially if you can find a way to alter at a minimum the plaintext to get it to give the same md5 hash again.

      The fact that an actual collision is found is a strong indicator that this is soon going to happen as well. Especially considering that e.g. NSA is still several years ahead of public crypto community.

    13. Re:For my encryption needs by Sheepdot · · Score: 1

      The original poster doesn't win anything; a search on google found more than 17500 results for this collision.

      Well, of course it did. That's how I found it. I didn't claim to have CREATED it. Though I'm sorry if it implied such.

      MD5 is *NOT* dead. Collisions exists since md5's hash size is of course fixed. /AGREE

      With a salt, the latest way to generate hashes is nothing. Unless they eventually develop a way to predict the salt too.

      MD5 will be in real trouble when you can find a collision for a any plaintext, expecially if you can find a way to alter at a minimum the plaintext to get it to give the same md5 hash again.

      Actually, that's the point of the research that led to that md5 hash I used as an example.

      Given one hash, the researchers believe it would take a modern computer 2 to 3 hours to generate another hash. Modern was under 3 ghz.

    14. Re:For my encryption needs by Anonymous Coward · · Score: 0
      What do I win?

      You win the honour of having posted buggy code to slashdot. While the given bytestreams indeed produce the same md5-sums, your code proves that the checksum of the number 128 does not vary between executions. You may want to join() the elements of the list instead of just assigning the list into a scalar.

  12. Seriously by Alien54 · · Score: 2, Funny
    This is up to the highest standards of the RIAA and MPA. Really.

    You will be legally liable for the legal consequences of any attempt to break through this advanced encryption technology.

    --
    "It is a greater offense to steal men's labor, than their clothes"
    1. Re:Seriously by neoThoth · · Score: 1

      security research is still allowed. :)

  13. The #1 DMCA Rule by Tackhead · · Score: 5, Funny
    > EVERYTHING violates the DMCA. Everything. Even talking about violating the DMCA violates the DMCA.

    The number one rule of talking about the DMCA and archiving the results, encrypted, on a Lexar JumpDrive.

    You do NOT talk about DMCA and archive the results, encrypted, on a Lexar Jumpdrive!

    1. Re:The #1 DMCA Rule by mothz · · Score: 5, Funny
      But if you did talk about the DMCA and encrypt the results, it would require someone else to violate the DMCA to decrypt the results to prove your guilt. Furthermore, it would take someone to even think about violating the DMCA, thereby being in automatic violation of the DMCA, to even suspect that you violated the DMCA.

      Tin-foil hats work, I tell you!

    2. Re:The #1 DMCA Rule by Zardus · · Score: 1

      The first rule of the DMCA: you don't talk about the DMCA.
      The second rule of the DMCA: you don't talk about the DMCA.

      --
      You can mod your friends, you can mod your nose, but you can't mod your friend's nose.
    3. Re:The #1 DMCA Rule by Cecil · · Score: 1

      Your tin-foil hat doesn't work, apparently, as the government brain-waves have already corrupted you to believe that they can't ignore their own rules at will. Of course they can decrypt the results without caring whether they've violated the DMCA.

      That's why I use a lead helmet.

    4. Re:The #1 DMCA Rule by Anonymous Coward · · Score: 0

      Reminds me of "Yes, Prime minister" :-)

    5. Re:The #1 DMCA Rule by Anonymous Coward · · Score: 0

      Your logic is flawed. You are in breach. We know who you are and where you are. Do not worry , you will be taken care of. Your tin foil is of no use. All tin foil manufactured since 1945 contains a backdoor for law enforcement mindtapping use.

    6. Re:The #1 DMCA Rule by mattyrobinson69 · · Score: 3, Funny

      i use a uranium hat - it protects the data in my brain, like file shredding, except better

    7. Re:The #1 DMCA Rule by Lycestra · · Score: 1

      First rule of the DMCA: You do not talk about the DMCA.

      Second rule of the DMCA: You do NOT talk about the DMCA.

      Third rule of the DMCA: Two to a copyright, fellas. ...

      Last rule of the DMCA: If this is your first copyright, you must sue.

      --
      Lycestra
    8. Re:The #1 DMCA Rule by ScrewMaster · · Score: 2, Funny

      Tin-foil hats work, I tell you!

      Indeed they do. When the government's orbiting atomic-powered microwave mind-beam satellites are activated to make sure the election goes off without a hitch this time, that tinfoil crisper up there will help turn your head a nice golden brown. Important safety tip: tinfoil hats are not for use in a conventional oven.

      --
      The higher the technology, the sharper that two-edged sword.
    9. Re:The #1 DMCA Rule by Wavicle · · Score: 1

      You cannot not go against the DMCA, because if you do, not going against the DMCA is against the DMCA too.

      (apologies to Love & Rockets)

      --
      Education is a better safeguard of liberty than a standing army.
      Edward Everett (1794 - 1865)
  14. Drive Crypt by xombo · · Score: 5, Informative

    That's why I use DriveCrypt. I got my version years ago and it's pretty antiquated but it supports up to 1024 bit encryption (granted it makes things relatively slow).

    1. Re:Drive Crypt by Anonymous Coward · · Score: 0

      You're a spammer, regardless of how "legitimate" your .sig is.

    2. Re:Drive Crypt by Anonymous Coward · · Score: 2, Informative

      OK, "1024 bit" encryption for something like this seems absurd to the point of snake oil. If this were public key encryption, 1024 bit wouldn't be that impressive. But for something like this, it would be symmetric encryption, in which case 1024 bit is stupidly high. 256 bit AES would be more than sufficient, or since it's older, maybe Blowfish.

      Larger key sizes doesn't magically mean better encryption. It's just a marketing tool that you bought into hook, line and sinker.

    3. Re:Drive Crypt by Chandon+Seldon · · Score: 1

      Why would you ever use public key encryption for this sort of thing? If you aren't, why would you ever need a symetric key the large?

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    4. Re:Drive Crypt by Astadar · · Score: 0

      According to the web site, they're up to 1344 bit, fwiw.

      (Ought to be enough for anyone...?)

      --
      --Coming up with something clever... please wait...
    5. Re:Drive Crypt by xombo · · Score: 2, Interesting

      That's why I use the 256 bit blowfish on my encrypted drives. Not only is it sufficiently secure but it runs at a decent speed on all my systems (even the 400mhz Cellery I keep in my car). It scales all the way down to 4bit if I remember correctly.

    6. Re:Drive Crypt by xombo · · Score: 1

      It's just in case the government wants to take a whack at decoding drives I guess, I don't know. I'm sure some where they've got machines capable of breaking encryption that good. Another cool thing about it is that you can enter up to five passwords so you have to enter them all before getting into the drive itself, and each password can be huge.

    7. Re:Drive Crypt by HancockDC · · Score: 1
      Personally,I bought the Jump Drive because it was the cheap and durable. I have carried it around in my pocket for close to a year now, and it just keeps on going.


      I do not use the encrytption because:

      1. It is inconvenient
      2. I don't perceive a need for encryption
      3. Even if I did, if it is stolen. the the thief has all the time in the world tobreak the encryption.

      These devices are great for backing up important files, taking work from home to office, and for carrying presentations to meetings.

      They are not data vaults, and I don't expect them to be.

      --
      -----------------------------------------
      Computeri non cogitant, ergo non sunt
    8. Re:Drive Crypt by owlstead · · Score: 1

      1024 bit encryption? If that's PKI, then it is not very strong (but still strong enough for most things I presume). If it is symetrical, depending on the cipher, it is ridiculously strong.

      Or, if you use an implementation like those used by Lexar in its Jumpdrive, it's use is 0.0.

    9. Re:Drive Crypt by Mod+Me+God+Too · · Score: 1

      I mainly agree. Perhaps the JD is secure enough from some pickpocket seeing confidential files, when they try and fail they throw it away and it disappears to the bottom of the dump for a millenium. If someone really really wants to steal your data they can do it other ways - break in to your house, plant bugs, etc... sophisticated means to a determined end.

      Perhaps there is some risk of someone on eBay buying JDs for non-targetted decryption fun, as they seem to do with HDDs... but I don't care - if something really is confidential don't carry it around (who knows.. you could be attacked, tortured until you reveal it if they really want it); there are shed loads more targets for low ticket crimes like consumer fraud/identity theft - targets that are less savvy than most /.ers.

      --
      --

      It is not the commies, the government, the nigger, nor the corporates. It is your paranoia.
    10. Re:Drive Crypt by D.+Book · · Score: 2, Informative

      Just an obligatory mention of the Free / Open Source alternative: CrossCrypt, and the graphical version, CrossCryptGUI. Actually, I don't think I could've picked a worse time to mention them. The CrossCrypt site is down, and for some reason, the CrossCryptGUI site now displays a black background (so you can't see the text).

      Nevertheless, I've used CrossCryptGUI 0.75 for some months now with a 20GB encrypted volume, and haven't had a problem (though backups are essential in case of corruption). As far as I'm aware, it's the only PGPdisk-like program on the Windows platform that is Free / Open Source and in active development.

      Actually, on doing a search it appears another program called TrueCrypt, which I'd tested before CrossCrypt, has been resurrected. It had a more polished interface and documentation, and support for USB flash drives, but development was halted after Securstar (the makers of DriveCrypt) made legal threats.

    11. Re:Drive Crypt by Anonymous Coward · · Score: 0

      Just make sure you XOR the password you store on the drives for automatic bootup ;-)

    12. Re:Drive Crypt by Antihero77 · · Score: 1

      Do you realize you just recommended a non-GPL product on /.? What's your major malfunction, lil' boy?

      --
      and now Tom with the weather...
    13. Re:Drive Crypt by Chandon+Seldon · · Score: 1

      in regards to the strength of 256-bit encryption:

      now, the annual energy output of our sun is about 121 * 10^41 ergs. this is enough to power about 2.7 * 10^56 single bit changes on our ideal computer; enough state changes to put a 187-bit counter through all its values. if we build a dyson sphere around the sun and captured all of its energy output for 32 years, without any loss, we should power a computer to count up to 2 ^ 192. of course, it wouldn't have the energy left over to perform any useful calculations with this counter.

      but that's just one star, and a measly one at that. a typical supernova releases something like 10^51 ergs. (about a hundred times as much energy would be released in the form of neutrinos, but i let them go for now.) if all this energy could be channeled into a single orgy of computation, a 219-bit counter could be cycled through all of its states.

      these numbers have nothing to do with the technology of the devices; they are the maximum that thermodynamics will allow. and they strongly imply that brute-force attracks against 256-bit keys will be infeasable until computers are built from something other than matter and occupy something other than space.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    14. Re:Drive Crypt by Chandon+Seldon · · Score: 1

      Ack, didn't grab the attribution:

      The quote is from
      bruce schneier, applied cryptography, p 158

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
  15. Inevitable? by xanthines-R-yummy · · Score: 4, Insightful
    Isn't this in line with the whole "No machine[usually meaning computer, but in this case a jumpdrive] is secure if the physical box is in the hands of the hacker/criminal."

    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?

    1. Re:Inevitable? by mentalflossboy · · Score: 1, Insightful

      But isn't the whole point of a secure drive that it won't allow a hacker/criminal access to your files in the event that they come into possession of the physical drive? In which case JumpDrive failed admirably.

      --
      "I make people like me... WITH VIOLENCE!" - ATHF
    2. Re:Inevitable? by James+Turpin · · Score: 1
      In the sense that given enough time and speed, you can try every possible password, there isn't much point. However, there is no need to store the password on the drive at all, much less with such weak encryption.

      Part of the point of this encryption is to give the end user time to react if the hard drive is stolen for espionage. If there is security information on the hard drive, he should have time to change his security. If there are trade secrets stored, then he wants the de-encryption to take long enough (years) so that they will be obsolete by the time they are cracked. Allowing somebody to crack the hard drive in, say, 1 day is just not acceptable.

      --
      Mathematics is not a crime.
    3. Re:Inevitable? by Minna+Kirai · · Score: 3, Interesting

      "No machine[usually meaning computer, but in this case a jumpdrive] is secure if the physical box is in the hands of the hacker/criminal."

      That's not true. If my harddrive contains an encrypted filesystem, it does a "hacker" no good to steal my PC. He's mathmatically less likely to brute force that encryption than if he sniffed encypted email or SSL sessions.

      If the hacker installs a keylogger, and I don't detect the intrusion when I return, then a second trip to physical access could break the security... but getting his hands on it once won't help.

      That famous saying only applies if the machine gets some ongoing use after the hacker has physical access. (Thus it demonstrates a core flaw of DRM, etc)

      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?

      No. There is no reason a device like this needs to store the password at all.

      Properly, it shouldn't be a "password" at all, but a decryption-key you type before accessing the files. Type in the wrong key, and the files appear scrambled.

    4. Re:Inevitable? by LnxAddct · · Score: 1

      Wrong. No need to have the password saved any where in any form. If your using a symmetric key algorithm, then the person just needs to memorize the password to decrypt the contents (and whatever that may involve). If you want to do some form of authentication with the password use MD5 or SHA-1(maybe 256). The password, *if* in some form must be saved on the drive(i.e. md5 or sha) the method of putting it on there should not be reversible. This is basic computer science, I mean what were these people thinking.
      Regards,
      Steve

    5. Re:Inevitable? by imidan · · Score: 1

      True, but in this case, the manufacturer is claiming that your data *will* be secure even if you lose physical control of the device. From their website: "Lost or stolen, your data is safe." Since they're making such a show of security, they should try to see that they're protecting your data against more than just the casual snoop who plugs it in to see what's on it.

    6. Re:Inevitable? by Erpo · · Score: 2, Interesting

      Isn't this in line with the whole "No machine[usually meaning computer, but in this case a jumpdrive] is secure if the physical box is in the hands of the hacker/criminal."

      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?


      Nope. The jumpdrive is just a data storage device and if it only contains encrypted data, an attacker can only read the (probably useless) encrypted data it stores. You can't decrypt it unless you have the decryption key, or you can break the encryption algorithm.

      The problem here is that the password necessary to decrypt the data is stored inside the drive itself. An ideal secure portable data storage device would only store the encrypted data and a program to decrypt the data with a user-supplied passphrase. Lexar made a stupid mistake--that's all.

      However, the whole "No machine [usually meaning computer, but in this case a jumpdrive] is secure if the physical box is in the hands of the hacker/criminal." rule still applies. In this case, it means that there's no way the owner of a jumpdrive can prevent a thief from erasing the drive or reading any of its memory.

    7. Re:Inevitable? by merlin_jim · · Score: 3, Interesting

      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?

      No. It is absolutely possible to implement a symmetric encryption scheme that does not expose any details of the password and requires the password to be correct in order to decrypt the data.

      For instance, instead of saving an xored version of the password (I'm assuming you need the cleartext of the password to run through your decryption algorithm), you can save a hash of the password. Then when the user enters their password, you compare hashes for correctness, and if there's a match, you use the cleartext they just entered.

      Assuming all your math is done right and you're using strong crypto, there's nothing anyone could do to decrypt that data without a) knowing the password or b) having more computing power at their disposal than is currently available to any private citizen or group.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    8. Re:Inevitable? by randombit · · Score: 1

      Isn't this in line with the whole "No machine[usually meaning computer, but in this case a jumpdrive] is secure if the physical box is in the hands of the hacker/criminal."

      Yes and no. There are devices which are designed to remain secure even in the hands of a high-level attacker with major resources, and destroy their keys if they detect they are being tampered with. Mostly used by banks and the military, as it's very expensive to build all the countermeasures in. One nice one is the IBM 4758, which IIRC runs for about 10K a pop. The IBM 4758 actually has a protocol error that lets you attack it without breaking through the physical protections, but no reason a system with a 'fixed' protocol set couldn't be built.

      But due to size and cost, no way you can build countermeasures like that onto a jumpdrive.

    9. Re:Inevitable? by timeOday · · Score: 1
      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?
      No! Just encrypt the data before putting it on the jumpdrive, or make a jumpdrive that encrypts the data and doesn't store the password onboard.

      This is very different than situation facing DRM (e.g. CSS protecting DVDs), where the goal is to somehow share the information with the public without giving them the ability to share the information with each other.

    10. Re:Inevitable? by aquabat · · Score: 1

      Why not just use the cleartext they just entered, and lose all the hashing completely? I mean, If it's the wrong cleartext phrase, then you'll just get garbage out, right?

      --
      A republic cannot succeed till it contains a certain body of men imbued with the principles of justice and honour.
    11. Re:Inevitable? by HTH+NE1 · · Score: 1

      "No machine is secure if the physical box is in the hands of the hacker/criminal."

      True, but one would hope a system would be secure enough that breaching one system doesn't expose them all.

      It's the difference between having to brute force a key from every system and brute forcing a key from one and writing a kiddie script to do the rest.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    12. Re:Inevitable? by merlin_jim · · Score: 1

      Why not just use the cleartext they just entered, and lose all the hashing completely? I mean, If it's the wrong cleartext phrase, then you'll just get garbage out, right?

      This way you can predict whether or not the lengthy calculation you're about to perform will be succesful ahead of time.

      Not only that, but generally Windows likes mounted FATs to be valid...

      Also I'm guessing that AES needs a "random" key... meaning one that resembles white noise... a hash turns any cleartext into a random-looking bitstream...

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    13. Re:Inevitable? by Plural+of+Mongoose · · Score: 1

      Fuck, that almost made sense for about a second there...

      FWIW, the reason they can't just use clear text for comparison, is that to compare, the clear text would have to be stored on the drive in, you know, clear text...

      A hashing algo creates a replicable 'signature' of all the values in a set, that is computationally unfeasible to duplicate. Run the entered password through the same MD5 algo, and compare results. If the same passphrase was entered, the same results are obtained, and so allow access...

      --
      The last fucking thing you want is my undivided attention...
    14. Re:Inevitable? by Dr.+Evil · · Score: 1

      For instance, instead of saving an xored version of the password (I'm assuming you need the cleartext of the password to run through your decryption algorithm), you can save a hash of the password. Then when the user enters their password, you compare hashes for correctness, and if there's a match, you use the cleartext they just entered.

      It's generally bad to do it this way at all. The reason being that the problem-space of reasonable passwords is quite small and the problem can be tackled off-line and, if necessary, distributed over multiple computers easily. It's not astronomically difficult to do a dictionary attack or full-random attack against a password space.

      Yes, you can pick a computationally intensive algorithm to encrypt a password but... 1. it must be fast enough not to be annoying yet, 2. must be intense enough to be difficult to crack using multiple faster computers in parallel and 3. must not be significantly affected by improvements in computing technology... in other words, impossible or impractical.

      What you really want is a good long random encryption key which is in your notebook computer or a USB key. The random key would be decrypted by your password. The point being now that if you lose your Jumpdrive, they've got an astronomically small chance of guessing your key, but if they get your whole notebook, then, as I mentioned above, they just need to guess your password.

      BTW, I think way back in the past there was a Macintosh encryption program which made this same mistake (storing the plaintext password on the encrypted media), IIRC, it used and advertised "3-DES encryption!"... and it was quite technically true.

    15. Re:Inevitable? by Alsee · · Score: 1

      you can save a hash of the password

      No no no a million times no! chuckle.
      You do not store the password. You do not store a hash of the password. You do not store anything relating to the password.

      and requires the password to be correct in order to decrypt the data

      That entire step is not only pointless, but that is exactly what gets you in trouble making a weak system. Any such check is a shortcut to discovering the password.

      If you used the password (or its hash) to encrypt the data then it is inherently impossible to sucessfully decrypt without the correct password.

      You simply use the unchecked password to decrypt and see if it works. If you like you can put some sort of validation flag inside the encrypted file and look for that to verify a successful decryption (and implicitly validating the password).

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    16. Re:Inevitable? by merlin_jim · · Score: 1

      So why did they store any password at all is the big question?

      And I don't really see why storing the hashed password is such a bad thing... I do it all the time for e-commerce sites, in compliance with VISA's published acceptable online credit card security practices document...

      But on the flip side I also don't know why you'd need it here, except maybe for password recovery. And in that case, why didn't they just use public key cryptography?

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    17. Re:Inevitable? by Anonymous Coward · · Score: 0

      Nah, then the attacker with physical access simply needs to install a hardware keylogger to the keyboard. Of course, this does make it a bit harder for the attacker: they need to access the computer twice with at least a day or two in between, and there is a risk that the additional hardware could be detected, but regardless their task is nowhere near impossible.

    18. Re:Inevitable? by versus · · Score: 1
      This way you can predict whether or not the lengthy calculation you're about to perform will be succesful ahead of time.

      Not only that, but generally Windows likes mounted FATs to be valid...

      Then do not use stored password/hash and check for valid FAT instead. Secure and fast. It is easy, FAT is well documented.

      --
      Brain is my second favorite organ.
    19. Re:Inevitable? by Alsee · · Score: 1

      all the time for e-commerce sites, in compliance with VISA's published acceptable online credit card security practices document

      Sounds like you're not using those passwords for encryption. If you're doing a look up for password access then yea, there's no choice but to check it against a list of hashes.

      I don't really see why storing the hashed password is such a bad thing

      For encryption use it's bad because it opens extra avenues of attack. It's often much easier and faster to attempt to match a hash than to attempt to blindly execute/crack the decryption itself.

      maybe for password recovery. And in that case, why didn't they just use public key cryptography?

      Well, any time you program in any sort of "password recovery" you are by definition programming in a back door vulnerability. But yeah, if you're going to be doing that then public key crypto is probably the safest way to do it. If you do, be sure to thoroughly (and reversibly) mix it with random noise.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  16. wow by Anonymous Coward · · Score: 3, Interesting

    I had one of those things. I'm glad that I always manually encrypted sensitive information instead of relying on their tool. That is until the drive mysteriously stopped working at all after about 6 months.

    No way am I buying anything they make again.

    1. Re:wow by Deimios · · Score: 1

      funny...i had one too, and it also mysteriously stopped working after about 6 months as well...what a piece of junk

    2. Re:wow by sbowles · · Score: 2, Informative
      I'm glad that I always manually encrypted sensitive information instead of relying on their tool.

      When I bought mine, it came down to a basic business decision:

      • pay a premium to get a JumpDrive with some unknown proprietary security program that was developed by people who's focus is hardware; or
      • get a basic JumpDrive and use free PGP that I could allow me to seemlessly copy/store/read data between multiple applications on multiple systems protected for/by multiple users.

      The decision didn't require much thought.

      That is until the drive mysteriously stopped working at all after about 6 months.

      Could be the luck of the draw. I've had mine for over a year and it's still going strong.

      --
      You sly dog: you got me monologuing! - Syndrome
    3. Re:wow by soltarusprime · · Score: 1

      Sad you feel that way - but that is what consumer choice is all about. Again, I've seen 100+ of these things in action with only one right-out-of-the-package failure and no subsequent deaths. In reality - because it can be lost, stolen, accidentally erased, blown up, or whatever else happens to it is why you should do a backup of your important informatin that would be a PITA to lose just like you do anything else. While we're in reality - those drives usually come with a 1 year or a lifetime warranty - after 6 months what would you have been out had you used industry best practices and protected your data - nothing that's what. I have personally beat the living Hell out of my 128MB jumpdrive - it long ago lost its protective cap and lanyard, sits in my pocket banging against keys change and whatever, has likely been stepped on several times and washed and dried at least once. Its a year old and keeps on ticking.

  17. Lexxarr by zrobotics · · Score: 1

    Seriously, who would really trust important data to lexar, anyway? CEO's? AFAIK lexar is a cheap walmart-like brand. also, if your data is THAT important, you should probably just keep track of the drive

    1. Re:Lexxarr by soltarusprime · · Score: 1

      I don't work from them but I buy their products and have seen 20+ of their pen drives in service personally and at various sites 100+ varying between the 128MB USB1.1 and the various USB2.0 drives all the way up to 1GB in capacity. Out of all these - I have only seen one and only one have a problem reporting itself to the OS through the USB interface - it was returned - big woop. What is the issue that just because its sold at Wal-Mart, its useless - jeez

  18. That's where the light gets in... by Anonymous Coward · · Score: 1, Insightful

    ... 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.

  19. I'm fuzzy on something... by ALecs · · Score: 5, Insightful

    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?

    1. Re:I'm fuzzy on something... by savagedome · · Score: 4, Insightful

      Why does the password need to be 'stored' anyway?

      One word: support.

      Ideally, they should not be storing the password on the disk itself at all for it to be a secure drive. But I've seen a lot of these decisions that seem boneheaded because a *lot* of people will forget their passwords and come back *demanding* that you decrypt their shit. If this is someone that even remotely knows the CEO of the company or somebody higher up and if you try to explain them one-way math functions, you will be getting the pink slip in no time.

      Although what these guys did is unpardonable. I mean XOR? Jeez.

    2. Re:I'm fuzzy on something... by Marxist+Hacker+42 · · Score: 2, Informative

      You're not the one missing something. The lexar software engineer who came up with this one obviously never read The Cookoo's Egg or the Linux Source Code- or he'd know how to do a password right (yes, the password does need to be stored someplace, NO, it does not need to be in it's original form, and ideally it should be either hashed beyond mathematical recognition or part of the encryption key for the rest of the data or ideally both).

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    3. Re:I'm fuzzy on something... by dpilot · · Score: 2, Insightful

      To give them a little (very little) slack... Some form of the password has to be stored away, so you can validate the user-input password. But this shouldn't be rocket science, since SSH, PGP, GPG, and even PasswordSafe have done exactly this type of thing for aeons. All Lexar has done is put it on a little piece of solid-state removable storage.

      Either they're horribly naive about this stuff, and could/should have done a better job;
      Or the constraints of the device wouldn't let (How can this be on a multi-MB device, I dunno.) do a better job, in which case they shouldn't have brought it to market.

      --
      The living have better things to do than to continue hating the dead.
    4. Re:I'm fuzzy on something... by pclminion · · Score: 4, Informative
      Although what these guys did is unpardonable. I mean XOR? Jeez.

      What's wrong with XOR? Example. I've encrypted a short message of ten bytes, by XORing it with a random sequence of ten bytes. Here's the ciphertext:

      26 6B F1 2C 2E 1E 71 12 A9 68

      Since XOR encryption is so weak, this should be no sweat to crack, right?

      Unfortunately, you'll never be able to crack it, because you don't know what the key was. Even if you found a key that would decrypt this sequence to a meaningful series of bytes, you still don't know if that's the correct answer. More than one valid message can fit into 10 bytes, and you have no way of telling which one of those valid messages was the one I intended. It is literally unbreakable. This is called a one-time pad. Now, if I used the same key repeatedly to encrypt lots and lots of data, you could apply statistical techniques to attack it. But the weakness is not inherent in the XOR operation.

      The weakness is in the key security. If you cannot protect the key properly, not even the most complicated cipher in the world can help you.

      XOR is a perfectly legitimate method for combining the key, or key-generated data, with the plaintext.

    5. Re:I'm fuzzy on something... by JazzHarper · · Score: 2, Interesting

      I suppose that the engineers who did this knew how to properly encrypt the passwords, but some product manager told them that they absolutely had to make the password retrievable.
      Okay, boss, you got it.
      -

    6. Re:I'm fuzzy on something... by Lost+Race · · Score: 4, Informative
      There's only one thing you need to make encryption work, and that's the key (or key pair for asymmetric encryption). Where you store the key is the trick. Ideally you want to keep the key separate from the data at all times -- in a separate medium, in the user's brain, whatever. Unfortunately that would mean either carrying around a separate physical key storage device to unlock your storage device (and of course being able to lose them together since you would naturally keep them both on the same keychain) or memorizing a 50-digit number and typing it correctly every time you want to access the device.

      So what we usually do in these situations is store the main key in the device itself, encrypted with a smaller key which can be generated from a user-selected password. Why not just use the password-generated key as your main key? Because easily-remembered passwords don't have enough entropy to generate a key strong enough to protect megabytes of data, but they are good enough to protect something small like an encryption key.

      Usually such schemes fail when the encryption of the main key is too weak for whatever reason, such that the main key can be recovered without knowing the password. It is indeed bizarre that they would store the password itself on the device in any form, though as we all know the world is full of crappy software "designed" by idiots.

    7. Re:I'm fuzzy on something... by pclminion · · Score: 2, Informative
      The password doesn't have to be stored, in hashed form or otherwise.

      Instead of hashing the PASSWORD, you can hash the DATA. If you decrypt with the wrong key, the hash of the corrupted data will certainly not match the corrupted hash of the original data. Maybe that isn't clear. Let me try again.

      Suppose you have data D and the hash of that data, H(D). Now, encrypt them with key A:

      Ciphertext = Encrypt_A(D . H(D))

      Then ,decrypt with incorrect key B:

      Plaintext_Incorrect = Decrypt_B(Ciphertext) = C . GarbageHash.

      Now, since the incorrect key will produce garbage instead of meaningful data, we know that H(C) != GarbageHash if the key is incorrect. Thus, you can verify whether the key was correct without storing the key, or a hash of the key, anywhere.

    8. Re:I'm fuzzy on something... by josquin00 · · Score: 3, Informative
      From Encryption Matters:

      Here's how to perform an attack that will break the trivial XOR encryption in a few minutes:

      * Determine how long the key is

      This is done by XORing the encrypted data with itself shifted various numbers of places, and examining how many bytes are the same. If the bytes that are equal are greater than a certain percentage (6% accoridng to Bruce Schneier's Applied Cryptography second edition), then you have shifted the data by a multiple of the keylength. By finding the smallest amount of shifting that results in a large amount of equal bytes, you find the keylength.

      * Shift the cipher text by the keylength, and XOR against itself.

      This removes the key and leaves you with the plaintext XORed with the plaintext shifted the length of the key. There should be enough plaintext to determine the message content.

      Your example works, because your key and plain text are the same length. I think the point is that all Jumpdrives either use the same key, or use one short enough to apply the above to, etc. Short of including (and inventing) a one time pad generator that is truly random, and with the availability of other password encryption methods, why use XOR?

    9. Re:I'm fuzzy on something... by julesh · · Score: 1

      To give them a little (very little) slack... Some form of the password has to be stored away, so you can validate the user-input password. But this shouldn't be rocket science, since SSH, PGP, GPG, and even PasswordSafe have done exactly this type of thing for aeons. All Lexar has done is put it on a little piece of solid-state removable storage.

      I don't know anything at all about PasswordSafe, but the other 3 don't store your passwords. They use them to encrypt a private key, and then when you enter a password, they decrypt the key and check to see if the decrypted key matches the public key that they know is supposed to correspond to it. No storage of password involved.

    10. Re:I'm fuzzy on something... by CaptainSuperBoy · · Score: 1

      Of course you couldn't release a product based on that XOR encryption, because it could be easily reverse engineered and your secret sequence would be discovered.

    11. Re:I'm fuzzy on something... by pclminion · · Score: 1
      Yes, but what does that have to do with XOR? This is exactly my point.

      The weakness comes from a braindead implementation, not XOR.

    12. Re:I'm fuzzy on something... by Ronin+Developer · · Score: 1

      "Why does the password need to be 'stored' anyway?
      One word: support. "

      Alternatively, it was placed there for law enforcement access and serves a function similar to the LEA value used with the Skipjack algorithm.

      In the late 1990's, Skipjack was well on its way to finding it's way into just about everything as it provided encryption capabiity but allowed law enforcement to recover the encryption key with a court order. Then, somebody discovered a way to spoof the LEA value...the encryption remains strong, but law enforcement could not recover the key. The system died a quiet death.

      By providing a mechanism to recover the password, the contents (i.e kiddie porn, illegal drug traffic, terror activities, etc) can be accessed without violating a suspects right against self incrimination.

      The weakest link in a secret key encryption system is the method by which the key is stored or transmitted. If you didn't know that your password is stored on the device using Rot-13, you'd assume your data was protected by AES-256.

      It might be suggested they use two rounds of ROT-13 followed by a round of ROT-26 in their next version of the product.

    13. Re:I'm fuzzy on something... by Tokerat · · Score: 2, Informative


      Passwords can simply be stored by using a simple encryption method and encrypting the password, using the password itself as the key. That way, the only way to read the password to verify it is if you have the password. Works pretty well in the passwd/shadow file...

      There isn't much excuse for this other than "we never thought anyone would try that", but then if that's the thinking, why do we even need security products or encryption?

      --
      CAn'T CompreHend SARcaSm?
    14. Re:I'm fuzzy on something... by Marxist+Hacker+42 · · Score: 1

      That would be using the password as part of (or the whole) encryption key of the data, correct?

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    15. Re:I'm fuzzy on something... by pclminion · · Score: 1

      Yes. There are many different ways to convert a password into a key for the particular cipher you are using. As always in cryptography, there are both good and bad ways to do it.

    16. Re:I'm fuzzy on something... by Piquan · · Score: 3, Informative

      XOR is a perfectly legitimate method for combining the key, or key-generated data, with the plaintext.

      If you're using the key, it has to be an OTP. As soon as you repeat your message using the same key, your cipher's busted.

      In the case of key-generated data, that's pretty much what a stream cipher does. But then you don't refer to the cipher as XOR, you refer to it as a stream cipher. You could just as easily use mod-256 addition as XOR if you wanted; the point of the cipher isn't the combination technique, but the stream generator.

      The grandparent was referring to XOR as the only cipher method. In the case of an OTP (like you used), it's okay, but that's the only case. This is clearly not an OTP we're dealing with here.

      What's worse (and aside from your point), it's open to a chosen-plaintext attack: buy another JumpDrive, set the password, observe. A chosen-plaintext attack can reveal the key of a simple XOR cipher in a single attack (assuming you can ascertain the maximum key length, which is probably something that the password entry dialog gives you). Even without chosen-plaintext, it doesn't take many samples to reveal the key of an XOR cipher, but with chosen-plaintext it's just too trivial.

    17. Re:I'm fuzzy on something... by manWorkSucks · · Score: 2, Funny
      10 bucks says the cleartext of
      26 6B F1 2C 2E 1E 71 12 A9 68
      is HELLOWORLD.

      just a guess :)

      --
      NERDS!!!!
    18. Re:I'm fuzzy on something... by Anonymous Coward · · Score: 0

      -- Although what these guys did is unpardonable. I mean XOR? Jeez.

      What's wrong with XOR? Example. I've encrypted a short message of ten bytes, by XORing it with a random sequence of ten bytes. Here's the ciphertext:

      26 6B F1 2C 2E 1E 71 12 A9 68

      Since XOR encryption is so weak, this should be no sweat to crack, right?

    19. Re:I'm fuzzy on something... by judebx · · Score: 1

      If the same sequence of 10 bytes is used to XOR encrypt all passwords, it is *trivial* to find out what the sequence is, by looking at the encrypted output for different password values. Looks like all jump drives use the same sequence. Hence it is trivial to break. If you had used MD5 here, this would not be possible. Got it?

    20. Re:I'm fuzzy on something... by Anonymous Coward · · Score: 0

      -- Although what these guys did is unpardonable. I mean XOR? Jeez.

      What's wrong with XOR? Example. I've encrypted a short message of ten bytes, by XORing it with a random sequence of ten bytes. Here's the ciphertext:

      26 6B F1 2C 2E 1E 71 12 A9 68

      Since XOR encryption is so weak, this should be no sweat to crack, right?


      No sweat! It's 10 characters long, it's for demonstration purposes... It obviously says "HelloWorld"!

    21. Re:I'm fuzzy on something... by pclminion · · Score: 1
      What you are stating is completely orthogonal to XOR.

      There are ineffective ways to use a gun, too. Loading it with blanks, as one example, would make it particularly ineffective for its intended purpose. It's not the gun's fault, however.

      My point, which I have stated repeatedly and few seem to grasp, is that there is no inherent weakness in the use of XOR for encryption. It is the framework of the surrounding cryptosystem which will either make or break XOR as an effective key-combining function.

    22. Re:I'm fuzzy on something... by Mhtsos · · Score: 1

      Ericsson's T610 mobile phone has an encrypted PIN store that (apparently) doesn't store the passnumber. It asks for a "check word" each time you change the passnum and encrypts it along with the rest of the data. Each time you enter the passnum it happily decrypts everything not caring if it's correct or not. It displays the decrypted check word for you to see if it's the word you put in or gibberish and decide if the passnum was correct. On the manual they warn with the boldest fond they could find that, once the passnum is lost data cannot be recovered.

    23. Re:I'm fuzzy on something... by Marxist+Hacker+42 · · Score: 1

      Ok, just making sure I didn't overlook it in the GP post- I've got to save a link to your solution- looks good.

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    24. Re:I'm fuzzy on something... by Punto · · Score: 2, Insightful
      Unfortunately, you'll never be able to crack it, because you don't know what the key was.

      But where do you store this key? do you XOR it with something else? (and what do you do with that something else?) If you use any other more sophisticated method to hide it, why not just use that for the password in the first place? Also, in this case you alredy know what the password is (after all, it's _your_ JumpDrive, whatever that is), so you can xor it and get the 'secret key'. With that, it should be easy to find out what happens to it (even if it's random).

      --

      --
      Stay tuned for some shock and awe coming right up after this messages!

    25. Re:I'm fuzzy on something... by Psyrg · · Score: 1

      I've got my money on "COWBOYNEIL", no one suspects the joke option! :)

    26. Re:I'm fuzzy on something... by pclminion · · Score: 2, Insightful
      But where do you store this key?

      But that question has nothing to do with XOR, does it?

      My point was simply that XOR is a key-combining operation. The fact that an algorithm uses XOR does not imply insecurity. There are, of course, plenty of bone-headed possible implementations. But none of those problems are the fault of the XOR operation.

    27. Re:I'm fuzzy on something... by YOU+LIKEWISE+FAIL+IT · · Score: 1

      The only problem with this ( it's not much of one ) is that at small key sizes, it means that if you choose to bruteforce the key, you have a much better chance of telling which decryption result is the genuine original plaintext, much like randomly trying wep keys until the IP checksum is correct. For this reason, isn't it better from a cryptographic standpoint ( if not a user friendly standpoint ) to disregard the notion of being able to tell the consumer if their decryption was successful or not altogether?

      Or have I misunderstood? Crypto is not something I know much about.

      YLFI
      --
      One god, one market, one truth, one consumer.
    28. Re:I'm fuzzy on something... by Anonymous Coward · · Score: 0

      Unfortunately this means that your point is not applicable to the discussion, since the discussion is about the security implementation of a specific product.

    29. Re:I'm fuzzy on something... by Anonymous Coward · · Score: 0

      Still, they could at least have used public key cryptography, so that it would be impossible to decrypt the stored password without knowing the key.

      By default this would mean that the vendor has a secret key that can be used to decrypt any of their products, but this need not be so: they could allow the customer IT department to use their own public/private keys. Hey presto, a secure implementation, and now the marketing department can actually advertise their "secure password loss prevention technology"!

    30. Re:I'm fuzzy on something... by Trinition · · Score: 1

      I decrypted it. It says "Terrorist!". I've already contacted the authorities. I Would ask the parent poster to confirm,but he doesn't have access to slashdot from his new vacation home in Guantanamo Bay, Cuba.

    31. Re:I'm fuzzy on something... by robfoo · · Score: 1

      Or '1337h4xx0r' :)

    32. Re:I'm fuzzy on something... by wolrahnaes · · Score: 1

      God damn at least someone here gets it!

      I see all these replies saying how they should have found a better way to store the key on the device. What morons. In no way should you ever store the key on the device when you can just do exactly as you described. The driver can just check the first few blocks and see if they look like a valid partition map, and if so, the key was right.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    33. Re:I'm fuzzy on something... by chgros · · Score: 1

      So what we usually do in these situations is store the main key in the device itself, encrypted with a smaller key which can be generated from a user-selected password. Why not just use the password-generated key as your main key? Because easily-remembered passwords don't have enough entropy to generate a key strong enough to protect megabytes of data, but they are good enough to protect something small like an encryption key.
      passwords are not really better to encrypt something small than something long, bruteforcing time is still the same (as long as you can verify the output of course). It's just that this way you need 3 separate pieces of information instead of 2.

    34. Re:I'm fuzzy on something... by Anonymous Coward · · Score: 0

      I think I solved it! Could you post an md5sum of the message?

    35. Re:I'm fuzzy on something... by judebx · · Score: 1

      ok I was just needling you :-)

    36. Re:I'm fuzzy on something... by nzhavok · · Score: 1

      Ideally, they should not be storing the password on the disk itself at all for it to be a secure drive. But I've seen a lot of these decisions that seem boneheaded because a *lot* of people will forget their passwords and come back *demanding* that you decrypt their shit. If this is someone that even remotely knows the CEO of the company or somebody higher up and if you try to explain them one-way math functions, you will be getting the pink slip in no time.

      Then the password should be installed using a public/private key system. The company distributes the pubkey with the app, this is used to encrypt the password. They keep the private key themselves, if you want to recover your password then you have to send the drive in with a processing fee. Simple.

      --

      He who defends everything, defends nothing. -- Fredrick The Great
    37. Re:I'm fuzzy on something... by pclminion · · Score: 1
      The only problem with this ( it's not much of one ) is that at small key sizes, it means that if you choose to bruteforce the key, you have a much better chance of telling which decryption result is the genuine original plaintext, much like randomly trying wep keys until the IP checksum is correct.

      The thing is, if you decrypt with an incorrect key, the result looks like random data. So it's easy to tell whether you've found the plaintext by looking to see how random the data is. A simple mutual information test can quickly tell you if there is any kind of organization to the data.

      Of course, if the plaintext is actually random data, or something close to it (like compressed data), this trick won't help you. But the point is, there are other ways to tell if you've decrypted with the correct key besides validating a checksum. So I don't consider it to be a particular weakness.

  20. I couldn't remember what by 2names · · Score: 5, Funny
    "redundant" meant...until I got the Jerry Jackson memory system.

    I was always forgetting important things, like the meaning of the word "redundant." But thanks to the Joe Johnson memory system, I can now remember things like the meaning of the word "redundant." Thanks, Jack!

    Copyright 2004, Jake Johannson Memory systems.

    --
    "I'm just here to regulate funkiness."
  21. rot13? by Anonymous Coward · · Score: 2, Funny

    That's why I use ROT-13 for my encryption needs

    Pshaw...That's real secure! You really should be using double, or better yet, quadruple Rot-13...

    1. Re:ROT13? by einhverfr · · Score: 1

      Right. You see, encryption depends on prime numbers. This means that ROT 12 is not secure at all, but ROT 3, 5, 7, 11, 13, 17, 19, and 23 should be of some use.

      People use ROT13 because the shorter key length is short enough to be easy to work with. If you want to be more secure, use ROT 17, 19, or 23. ;-)

      --

      LedgerSMB: Open source Accounting/ERP
    2. Re:ROT13? by maxwell+demon · · Score: 1

      Yes, that's why I encrypt with a series of the first 49 primes, i.e. ROT-2, ROT-3, ROT-5, ROT-7, ROT11, etc.

      Actually I don't do them in that order, but derive the order to apply them from my password (but I'll certainly won't tell you the algorithm for that!)

      --
      The Tao of math: The numbers you can count are not the real numbers.
  22. On an alternative note .. by snaggled · · Score: 2, Interesting

    Check out this enigma machine for sale. How cool is this.

    http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem& ca tegory=4721&item=2269717995&rd=1&ssPageName=WD VW

    1. Re:On an alternative note .. by abb3w · · Score: 1
      How cool is this.

      Very not-- EBay blocks viewing it with Safari, but not Netscape or IE. Interstink.

      --
      //Information does not want to be free; it wants to breed.
  23. @stake by trybywrench · · Score: 1

    ahhh good 'ol @stake.. not to be confused with l0pht heavy industries and their ill tempered sibling the CDC ;) i guess this is what happens when old school hackers realize they need to make a living somehow.

    --
    I came to the datacenter drunk with a fake ID, don't you want to be just like me?
  24. ROT-13?!? by Groo+Wanderer · · Score: 0

    "That's why I use ROT-13 for my encryption needs."

    Igpa atinla oobna!

    -Arliecha

    1. Re:ROT-13?!? by Anonymous Coward · · Score: 0

      hzzz, v ungr gb gryy lbh ohg gung vf cvt yngva, abg EBG-13.

    2. Re:ROT-13?!? by Anonymous Coward · · Score: 0

      Nunl nunl nunl, vfgunl bhoylqnl rapelcgrqjnl rffntrznl vfjnl bgnyylgnl haoernxnoyrjnl. Vvaanejnl = rznl!

  25. This shows once again... by piquadratCH · · Score: 5, Insightful

    ...that the best encryption algorithm is worth nothing if you fuck up the implementation...

  26. Man, that's scary... by naer_dinsul · · Score: 3, Interesting

    Geeze... This is probably the first /. story I've read that ACTUALLY applies to me...

    But seriously, I own one of these... In fact, they're pretty popular in my area just because their cheap and sold at Wal-Mart... I don't personally use the password protection because I always felt it was just an extra step and I didn't really need that much security on my Flash Drive anyways...

    (It's not like I was storing all of my server's passwords on it or anything..... Honest...)

    Thank you @stake and people like you for making sure products are as secure as they say they are...

  27. Are you sure that wasn't my computer? by Trigun · · Score: 2, Funny

    Re-check that ip address.

  28. the punchline by soybean · · Score: 2, Informative

    [The password] is stored in an XOR encrypted form and can be read directly from the device without any authentication.

    That's not much of a punchline when you realize that XORing something to something unknon (and presumibly unknowable) is unbreakable excryption.

    1. Re:the punchline by Spad · · Score: 1

      Yeah, it's great until you want to read the data again and don't know what you XOR'd it with :)

    2. Re:the punchline by Anonymous Coward · · Score: 0

      Presumably unknowable?

      Yeah, if you're incapable of doing a plain-text attack.

    3. Re:the punchline by Hrolf · · Score: 2, Funny


      No, the password is XORed with itself. It's the ultimate form of protection. Plus the resulting encrypted string can be compressed very tightly, saving disk space.

    4. Re:the punchline by Alizarin+Erythrosin · · Score: 1

      But due to the nature of binary, couldn't you brute force it to find the original values? Because of XOR's properties, we know certain things about the original data based on the result.

      A 1 means that each number in that slot was different. A 0 means either they were both 0's or 1's.

      --
      There are only 10 kinds of people in this world... those who understand binary and those who don't
    5. Re:the punchline by hymie! · · Score: 5, Informative

      Um...

      If A XOR B = C , then A XOR C = B and B XOR C = A.

      So if MYPASSWD XOR SECRET = ENCRYPTEDCODE, and I know both MYPASSWD and ENCRYPTEDCODE, then I can find SECRET.

      I don't know if all of the drives have the same SECRET or not, but, having determined what SECRET is on my drive, I can give the drive to you, or I can try my SECRET on another drive and see if it works.

      --hymie!

    6. Re:the punchline by Anonymous Coward · · Score: 0

      Absolutely correct. In fact, theres no brute forcing involved here.

      A XOR B = C

      A XOR C = B

      B XOR C = A

      So, you have some password A and you xor it against an unknown B and get C. xor'ing A and C gives you the unknown B.

      Once you know that B is constant and you know B from your own work above, then xor'ing it against any other person's C gives you back that person's A.

    7. Re:the punchline by stromthurman · · Score: 1

      A 1 means that each number in that slot was different. A 0 means either they were both 0's or 1's.

      You do know those points, the problem is, which is it? If the xor'd slot was 1, was the 1 in the first character, or the second? If the xor'd slot was 0, were both slots in both characters zero's or ones? If you try every iteration for these choices, the possibilities explode.. In fact, you'd be doing the same amount of work (maybe less, technically) just abitrarily picking 0's and 1's to place in the data.

      --
      I have discovered a truly remarkable sig which this margin is too small to contain.
    8. Re:the punchline by pclminion · · Score: 1
      Once you know that B is constant and you know B from your own work above, then xor'ing it against any other person's C gives you back that person's A.

      Right, but the weakness is that B IS CONSTANT, not the fact that we're using XOR. Sheesh.

    9. Re:the punchline by oGMo · · Score: 1
      That's not much of a punchline when you realize that XORing something to something unknon (and presumibly unknowable) is unbreakable excryption.

      Not quite... what you're referring to is a One-Time Pad. Basically, a one-time pad works by taking the plaintext, and an equal-length string of random noise, and combining them with a simple mathematical operation (usually XOR, because XOR is very simple). (Read the link if you do not believe this is perfectly secure.) However the details are important:

      • You need a completely random string to use. Technically, it should be truly random, not pseudorandom. Certainly not repeating.
      • It has to be the same length as the input text. For small messages this may be fine. If you have a gig of data, you need a gig for your key, too.
      • It has to be one-time! If you reuse the key, ever, then it's not a one-time pad, and it's not secure.
      • The security is only as secure as the key. If you send the encrypted message, you have to find a secure way to transport the key, too.

      OTPs do have some advantages, of course, such as being unbreakable, and any part of the pad being indistinguishable from mathematical noise. But not easy to use.

      --

      Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    10. Re:the punchline by brainnolo · · Score: 1

      Well if the jumpdrive can decrypt the password, it means that the other XOR factor is known and stored somewhere in it, else it couldn't be decrypted at all neither giving in input a right password.

    11. Re:the punchline by abb3w · · Score: 1
      [The password] is stored in an XOR encrypted form and can be read directly from the device without any authentication.
      That's not much of a punchline when you realize that XORing something to something unknon (and presumibly unknowable) is unbreakable excryption.
      ...provided, of course, that that the unknown something is only used for encryption ONCE. Breaking a message encrypted from a securely exchanged one time pad is impossible; breaking a two-time pad, given copies of both encrypted texts, is routine.

      There is no indication this "pad" for the password is encrypted by is one-time only; contrariwise, in fact.

      --
      //Information does not want to be free; it wants to breed.
    12. Re:the punchline by ebrandsberg · · Score: 1

      Incorrect. If you set the password several times with different values, you can compute the value yu are xor'ing against, and determine the key. At that time, if all users are using the same key (which it sounds like they are) then the information is now open to everybody that knows it.

    13. Re:the punchline by Retric · · Score: 1

      If the drive does it once then you copy the data from the drive wipe it clean and type in a new passward and wow guess who found the passward to your XOR function.

  29. My password is twice as secure as yours!!! by Anonymous Coward · · Score: 5, Funny

    I use ROT-26.

    -

    1. Re:My password is twice as secure as yours!!! by dfiguero · · Score: 1

      Mine is even better:

      ROT-39

      Ha!

      --
      My penguin ate my sig
    2. Re:My password is twice as secure as yours!!! by Slime-dogg · · Score: 1

      I use something called "Shift-1." It goes something like: jr;;p@ Jpe str upiZ.

      Then again, it's probably not that bad of a scheme... it is sorta dependant on a key, after all.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
    3. Re:My password is twice as secure as yours!!! by julesh · · Score: 2, Funny

      I use ROT-26.

      I don't advise that. All crypto experts know you should do something unexpected to throw the analysts, like performing extra rounds or something.

      I use 3 rounds of ROT-8 followed by one of ROT-2. They'll never work that one out.

    4. Re:My password is twice as secure as yours!!! by TheFairElf · · Score: 1
      I use ROT-26

      Well, that's good I guess, but I prefer using a dynamic scheme:

      1. Split up the data to be encrypted into 10 parts (11 will do too.. for that matter choose whatever number you want)
      2. Take each block and apply ROT-<length of that block>
      3. Put the parts together again.
      4. Um...profit?
    5. Re:My password is twice as secure as yours!!! by the+eric+conspiracy · · Score: 1

      I use double ROT-13.

    6. Re:My password is twice as secure as yours!!! by Anonymous Coward · · Score: 0

      Mine is the best. ROT-(Infinity + 1)

      Ha! ^ (infinity + 2.3)

      P.S. You are gay.

      P.P.S. No, really.

    7. Re:My password is twice as secure as yours!!! by iamatlas · · Score: 1

      I just use 26 rounds of ROT-26. I've become so used to it I don't even need to reverse the system to read my data.

  30. Security through obscurity sucks... by GillBates0 · · Score: 2, Funny

    That's why I store and transmit all my data as plain text.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:Security through obscurity sucks... by abb3w · · Score: 1
      That's why I store and transmit all my data as plain text.

      ...scattered in with several terabytes of PR0N, thereby insuring both security and replication.

      --
      //Information does not want to be free; it wants to breed.
  31. ROT13 - Only once? by Reorax · · Score: 2, Funny

    Sure, ROT13 is secure. But why not give potential crackers something to cry about: encrypt it twice!

    --
    This sig is only here so people stop skipping the last lines of my posts.
    1. Re:ROT13 - Only once? by tag · · Score: 1

      I would read your obviously dual-ROT13-encrypted post, but then I'd definitely be violating the DMCA.

  32. Re:Almost... by Lemmeoutada+Collecti · · Score: 1

    Um, I thought (correct me if I'm wrong, but the matrix is more like: if one or the other bit but not both is 1, return 1, else return 0

    1 1 0 0
    XOR 1 0 1 0
    == 0 1 1 0

    --

    You can have it fast, accurate, or pretty. Pick any 2.
  33. I store all my passwords on... by Anonymous Coward · · Score: 2, Funny

    a DOS floppy disk, as straight text in a file, called COMMAND.COM. I have a a big red label on the disk, "BOOT".

    Noone ever stole any of my passwords.

    1. Re:I store all my passwords on... by ozric99 · · Score: 1

      They will now. Better rename it to msdos.sys ;)

    2. Re:I store all my passwords on... by Anonymous Coward · · Score: 0

      Obviously, we search in context, looking for something somewhere, with at least as much weight on where as on what.

      That is why the most shocking revelations tend to come from the most shocking (out of pre-assumed context) places.

      Like the search for God.

      We are looking to find God somewhere, and we can't find God. Maybe we are just looking at the wrong place. According to Anonymous Coward (random.nick), if God exists, God is not somewhere, but everywhere.

      Pretty cool hiding place.

  34. *holds down shift* by ARRRLovin · · Score: 3, Funny

    There we go.........my little brother won't keep his porn on one of these anymore. haha

    --
    -Randy
  35. Shift Key by Nom+du+Keyboard · · Score: 1

    You mean I can't just hold down the Shift Key when I insert my JumpDrive?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  36. Yet more proof by Todd+Knarr · · Score: 1

    Proof once again that this sign is appropriate. In this case we need to s/use the Internet/design secure hardware/, but you get the picture. :)

  37. Before you post about the DMCA by neoThoth · · Score: 1

    Make sure you check out 1201(g) which states that encryption research is a valid exemption. Of course I really think they should redefine the word encryption in this case.

  38. XOR is not the problem by Anonymous Coward · · Score: 0

    While it does sound like their crytosystem is for show only, I'd just like to point out that XOR by itself is not the problem. It's a question of what you XOR the plaintext against. If its a truly random bit-stream that the attacker doesn't have access to, then you're OK. If it's the bitwise representation of the english alphabet, you're in trouble.

    1. Re:XOR is not the problem by Anonymous Coward · · Score: 0


      "If its a truly random bit-stream that the attacker doesn't have access to, then you're OK."

      If the attacker had a good sample of passwords, this would be vulnerable to statistical analysis attacks.

    2. Re:XOR is not the problem by pclminion · · Score: 2, Informative
      If the attacker had a good sample of passwords, this would be vulnerable to statistical analysis attacks.

      Not if the key was exactly as long as the message. In that case, we'd have a system equivalent to a one-time pad (i.e., unbreakable) so long as the key was kept secure.

      In this case, it might be feasible to XOR an 8-character password with 8 random bytes (those 8 random bytes would be the key). The problem isn't the XOR operation. The problem is maintaining the security of the key itself.

      Statistical attacks can only work when there is a lot of ciphertext, AND the key is significantly shorter than the message.

    3. Re:XOR is not the problem by jnaujok · · Score: 2, Informative

      But the key cannot be kept secure, as I need only enter a known password on a known device, get the "encrypted" text and XOR it against my original password. Since XOR is symetrical, A^B = B^A, then we are guaranteed that (A^B)^A = B, and *poof* we derive the magic password.

      A single XOR when I can generate more than one "encrypted" text is no security at all.

      One-Time pad means ONE-TIME ! If you use it twice, the security becomes exactly Zero.

      Jeff Naujok

      --
      Life, the Universe, and Everything... in my image.
    4. Re:XOR is not the problem by pclminion · · Score: 2, Informative
      One-Time pad means ONE-TIME ! If you use it twice, the security becomes exactly Zero.

      Yes, but the problem is using the pad again. Nothing to do with XOR. Notice that any key-combining operation must be a bijective operation (i.e., "one to one, and onto"). Thus, at least theoretically, you can determine the key by comparing various plain/ciphertext pairs, regardless of which key-combining operation was chosen. Yes, XOR makes this slightly easier. So?

      XOR is not the problem. The fact that the key is reused, and is most likely much shorter than the plaintext, is the problem.

    5. Re:XOR is not the problem by Anonymous Coward · · Score: 0

      Granted that this is correct. XOR ing with a key the same size as the data IS secure OTP equivalent. Hoewver, that would take a key ~300,000,000 characters long for the smaller jump drive.

      How long to type that in?!!?!

  39. ROT13? by twigles · · Score: 2, Funny

    ROT13 ... oooohhhh! 13!!! Shit, I was using 11! No wonder it wasn't working.

  40. Tried contacting them... by Vexler · · Score: 4, Interesting

    I tried both calling them and trying their live chat feature from their website, but so far no response. The company is in California, and I am calling them about 3:30 PM EDT. So far, no responses from either the phone call (I am still on hold) or the live webchat.

    Sounds awfully like a head-in-the-sand approach to security to me.

    1. Re:Tried contacting them... by owlstead · · Score: 2, Funny

      Sounds awfully like a head-in-the-sand approach to security to me.

      If you would try that long enough it would probably work. Any data that was in the brain is probably irrecoverable.

  41. Re:Almost... by Anonymous Coward · · Score: 1, Informative

    That's AND.

  42. This is a page... by Jace+of+Fuse! · · Score: 1

    This is a page their engineers may find useful, and prevent further embarassment.

    Of particular interest is the bottom section.

    --

    "Everything you know is wrong. (And stupid.)"

    Moderation Totals: Wrong=2, Stupid=3, Total=5.
  43. Re:For my encryption needs - I, or G !! by Nom+du+Keyboard · · Score: 1
    hashing is irreversable, and therefor only an idiot would use it for encryption.

    Idiot, or genius. I'd certainly like to meet the man (or woman) who successfully decrypts his (or her) MD5 encrypted files.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  44. Re:Almost... by conrausch · · Score: 1

    that' AND, not XOR XOR is 0 if input bits are equal, 1 otherwise...

  45. Re:Almost... by Anonymous Coward · · Score: 5, Informative

    XOR means "exclusive or". A regular "or": if one of the inputs is 1, return 1. An "exclusive or": if one of the inputs is 1, but not both, return 1.

    OR:
    0101
    0011
    ----
    0111

    XOR:
    0101
    0011
    ----
    0110

    AND:
    0101
    0011
    ----
    0001

  46. Re:Almost... by josquin00 · · Score: 1

    And I missed the preview button by *that* much. You are, of course, correct. Thanks.

  47. Not so fast! by PaulBu · · Score: 5, Informative

    Because of this, hashing is irreversable, and therefor only an idiot would use it for encryption. It's proper purpose is for checksuming.

    MD5 *does* have something to do with cryptography (why else would Schneier devote the whole 14th chapter of Applied Cryptography to "One-way hash functions"), and the reason is simple: it is used to encrypt your *password*, not your data (Lexar was claiming that they use 256-bit AES encryption for the data itself).

    For authentication you do not store the password in plaintext, only its MD5 hash, when user enters the password, MD5 of that is computed and compared to the stored MD5 string, if they match -- your user is authenticated. Of course XOR with a "magic number" could be used for the same purposes, but it would be much weaker. Thus, I think that the GP was not a troll and made a valid point: use MD5 to hash your passwords, and preferrable add some salt value to prevent against dictionary attack.

    The other questiuon is why did Lexar had to store passwords on the drive at all, one does not need to authenticate users in their scenario (the drive itself is not a self-cointained computer to which a user needs to gain access) -- they could've just asked for the password, convert it to the key used in AES algorithm, decode the data and give the result: if password is incorrect, the decoded data is garbage.

    Paul B.

    1. Re:Not so fast! by Aardpig · · Score: 1

      Agreed -- I guess I was making a mental distinction between reversible encryption for protected data storage, and irreversable encryption (i.e., hashing) for authentication.

      --
      Tubal-Cain smokes the white owl.
    2. Re:Not so fast! by JoshMKiV · · Score: 1

      Why? Because the average user (or OS or application) is not going to respond well to being returned garbage =)

    3. Re:Not so fast! by Anonymous Coward · · Score: 0

      use MD5 to hash your passwords, and preferrable add some salt value to prevent against dictionary attack

      The salt doesn't have anything to with protecting against dictionary attacks, it is used to make the algorithm computationaly harder to break. The salt is simply the first two characters in your hash, all of the subsequent characters are based from the salt. The salt must be known so that when a password is encrypted and compared it doesnt go through 52^2 combinations trying to figure out which salt was used.

    4. Re:Not so fast! by Anonymous Coward · · Score: 0

      That would cost the CIA too much time.

    5. Re:Not so fast! by Piquan · · Score: 3, Informative

      Reading your post is like one of those "How Many Mistakes Are In This Picture" things you see in Highlights.

      The salt doesn't have anything to with protecting against dictionary attacks,

      The salt is exactly to prevent against dictionary attacks. A dictionary attack (using the term old-school) is where I prepare, in advance, a dictionary of passwords and their hash values, indexed by the latter. Then, when you're making your attack, you look up the hashed password and voila! you know the password. In a world without salts, I expect that many security folks would be able to recognize many common passwords' hash values on sight.

      it is used to make the algorithm computationaly harder to break.

      The salt does nothing (or rather an insignificant amount) to make the computation harder. It's specifically used to prevent a dictionary attack.

      The salt is simply the first two characters in your hash,

      The salt is a randomly-generated sequence. It's stored as the first two characters of the encrypted password in traditional crypt() passwords, and is followed by the hash. But it's not the first two characters of the hash.

      all of the subsequent characters are based from the salt.

      They're based off of both the salt and the password. Your post makes it sound like the password is hashed, the first two characters of the hash are the salt, and the rest of the password entry are generated from that. This is not at all what happens.

      The salt is generated randomly (from the time of day, number of processes running, etc), to get 12 bits of randomness (note that the salt is isomorphic with the space [A-Za-z0-9/.]{2}). The password is hashed using a DES, with the password as the key and a string of 0s as the plaintext. Partway through the DES operation (specifically, after the E-box), some of the bits are swapped based on the salt.

      After DES outputs the hash value (its ciphertext), it is appended to the salt. This concatenated value is stored in the passwd field of your passwd file. So the salt is the first two characters of that output, but it's not the first two characters of the hash. It's used to perturb the hash in one of 2^12 ways.

      Note that the specifics I gave (length of salt, use of DES) only applies to traditional Unix passwords. Most modern Unixes use a different hash scheme by default, such as MD5. The role of the salt still applies: it's used to perturb the hash function to prevent dictionary attacks. There are differences in how it's stored and how it perturbs the hash.

      For further study, I recommend reading Password Security: A Case History by Robert Morris and Ken Thompson.

    6. Re:Not so fast! by Anonymous Coward · · Score: 0
      and the reason is simple: it is used to encrypt your *password*

      That is not encryption, your cypher can 'decode' to more than one plaintext. It's not encryption, because you can't decrypt it. It's a hash. It's really trivial to find MD5 collisions.

      http://eprint.iacr.org/2004/199.pdf

  48. It's funny you say that... by Anonymous Coward · · Score: 0

    Usually, when someone says it's "just XOR" and they're a security researcher, they mean that the programmer did a XOR against some known constant, which is probably hidden somewhere in the program.

    In other words, what they did the XOR against is not secret, like it needs to be to be secure.

    On the other hand, @stake "sold out" some time ago (I forget what all they've done just now, but I remember a slow decline in the quality of their work, until they were doing TCO studies for Microsoft or somesuch nonsense, whereas they used to be an outlet for realling interesting security news, back before they ditched HNN), so I have no idea if anyone still there knows anything whatsoever about security any more.

    Still, I'd hazard a guess that they're right on this one--XOR against some constant has been used by programmers as a "security" measure for some time now, and I mean the case where the constant it known, not secret. Merely obscuring it somewhere in an executable or in memory does not make it a secret upon which you can rely for an encryption scheme. In other words, this is rather common as far as "stupid programmer tricks" goes.

    I mention this lest someone misread your comment and think they can get away with this as being "perfectly secure" -- XOR only works if the secret key is secret, and it's positively amazing how many programmers forget that...

    1. Re:It's funny you say that... by stromthurman · · Score: 1

      Another important point about XORing for encryption: The key NEEDS to be at least as long as the data you're encrypting. Sometimes, with a short 8 character (or however long you like) password system, the *encryption* will take the password, repeat it over and over again until a string is generated that's the same length of the data, and then XORing is done. This is a really bad idea. If you know a few characters of the plain text, and can figure out the length of the password, it will not take long to break this encryption. This may also be something these people were doing.

      --
      I have discovered a truly remarkable sig which this margin is too small to contain.
  49. I use ROT-26... by Tracy+Reed · · Score: 1, Funny

    ...because it must be twice as secure!

  50. Security through stupidity? by schmaltz · · Score: 1

    Hello? Did they think of running their design past a security specialist to get a sniff-test, and then just forget? Maybe it fell off their to-do list and nobody thought "oh wait! the product's name is 'Secure'! Let's see if it really is!" Nutz.

    --
    Big Daddy, Johnny, Burp, Aunt Zelda, Scott, Slurp, Big Momma ... where's Siggy?
    1. Re:Security through stupidity? by easter1916 · · Score: 1

      Wife cheat on you? Aiming to establish Turkish-style criminalising of civil issues? Let it go, man. She cheated, she's gone.

    2. Re:Security through stupidity? by Plural+of+Mongoose · · Score: 1

      Hokey dokey, the parent wins the 'most disgusting net sig of the day' award.

      Sheesh, didn't I see you constantly refreshing the thread on using WAP-phones to stalk ex's?

      Wanker...

      --
      The last fucking thing you want is my undivided attention...
    3. Re:Security through stupidity? by schmaltz · · Score: 1

      Ah, no. That sig was part of a proposed set of amendments to the U.S. Constitution, designed to help all Americans comply with *Christian* Biblical Law. It's meant to complement the recent attempts at amending the U.S. Constitution to prevent homosexual-type gay Americans from marrying.

      If you missed it, when the Texas Republican Party announced its platform earlier this year, it included a plank defining the U.S. as a "Christian Nation."

      AMENDMENT XXVIII.
      No state may sanction marriage between people of the same gender (Nothing mentioned in the Bible).

      AMENDMENT XXIX.
      No state may sanction marriage between a man and a woman who was married previously but has since divorced (Matthew 5:32).

      AMENDMENT XXX.
      No state may sanction marriage involving a widow (unless it is to her brother-in-law-sea amendment 34). All women whose husbands have passed away are to refrain from intimacy and pleasure for the remainder of their lives (1 Timothy 5:5-15).

      AMENDMENT XXXI.
      No state may sanction marriage between people of different races (Deuteronomy 7:3; Numbers 25:6-8; 36:3-9; 1 Kings 11:2; Esra 9:2; Nehemiah 13:25-27).

      AMENDMENT XXXII.
      No state may sanction marriage between a Christian and a non Christian (2 John 1:9-11; 2 Corinthians 6:14-17).

      AMENDMENT XXXIII.
      No state may sanction marriage involving a man who has had sexual thoughts about a woman other than the one he intends to marry (Matthew
      5:28).

      AMENDMENT XXXIV.
      No state may sanction marriage between a man whose brother has passed away and any woman other than his brother's widow. Each state must require the brother of a deceased man to marry his brother's widow (Deuteronomy 25:5-10).

      AMENDMENT XXXV
      No state may sanction marriage between a man and any woman unwilling to promise in her wedding vows to obey her husband and submit to his every whim (Ephesians 5:22-24; 1 Corinthians 11:3; Colossionas 3:18; 1 Timothy 2:11-12; Titus 2:3, 5; 1 Peter 3:1).

      AMENDMENT XXXVII
      No state may sanction marriage in which the wedding ceremony is to occur during the woman's menstrual cycle unless the prospective spouses agree to refrain from intimate relations until the woman's period of uncleanness has terminated (Levitious 18:19, 20:18; Ezekiel 1825-6).

      AMENDMENT XXXVIII
      No state may sanction marriage between a minister and any woman other than a virgin (Levitious 21:13-14).

      AMENDMENT XXXIX
      No state may sanction marriage between a rapist and any woman other than his victim. States must require a rapist to marry his victim (Deuteronomy 22:28-29) unless the victim failed to cry out, in which case the rapist is relieved of this obligation (Deuteronomy 22:23-24).

      AMENDMENT XXXX
      No state may sanction marriage between a man and an aggressive or contentious woman (Proverbs 21:9, 21:19, 25:24, 27:15).

      --
      Big Daddy, Johnny, Burp, Aunt Zelda, Scott, Slurp, Big Momma ... where's Siggy?
    4. Re:Security through stupidity? by schmaltz · · Score: 1

      See this.

      --
      Big Daddy, Johnny, Burp, Aunt Zelda, Scott, Slurp, Big Momma ... where's Siggy?
    5. Re:Security through stupidity? by easter1916 · · Score: 1

      Are you being sarcastic...? Not American, but I thought one of the strengths of the US constitution is the separation of church and state, freedom to worship, etc. Wouldn't these amendments discriminate against non-Christians?

    6. Re:Security through stupidity? by schmaltz · · Score: 1

      Yes, sarcastic! The republicans here recently tried to ban gay marriage in the U.S. - and their reasons for banning it come from their christian beliefs. I think that is stupid. (Note I said "_their_ christian beliefs" - I don't believe all christians are stupid or unspiritual.)

      I don't think it makes sense for them to be mucking about in the relationships of others. None of their damnable business.

      The bible is filled with laws and rules, many of which are broken by today's christians, the very ones who want to ban gay marriage, so the Amendment list was made to protest their very un-christian-like judgemental behavior. Their biblical god reserves the right to judge and punish, but many christians seem to've taken it upon themselves to do judge and punish those whom they don't like, who are different. I wonder if their god considers that good or bad?

      Peace.

      --
      Big Daddy, Johnny, Burp, Aunt Zelda, Scott, Slurp, Big Momma ... where's Siggy?
    7. Re:Security through stupidity? by easter1916 · · Score: 1

      Oh thank God, you were freaking me out there... I couldn't believe some of the crap you were proposing, particularly the stuff about rape victims marrying their attackers.

      The Republicans are a bunch of wankers... I'm a permanent resident in the US and am considering applying for citizenship just to have the right to vote against them.

      Have a good one!

  51. Re:Almost... by josquin00 · · Score: 1

    You're right - I described it incorrectly. Looks like I should switch to decaf this afternoon...

  52. So in other words... by radd0 · · Score: 1

    Lexar got haxXORed?

  53. Snuffle by tepples · · Score: 5, Interesting

    Because of this, hashing is irreversable, and therefor only an idiot would use it for encryption. It's proper purpose is for checksuming.

    Try telling that to Daniel Bernstein. His "Snuffle" code converts any hash into a cipher. To put it shorter: sampling the output of a well-designed hashing algorithm after every n bytes produces a suitably random bitstream; XORing that against the message produces a stream cipher.

    1. Re:Snuffle by Aardpig · · Score: 1

      Try telling that to Daniel Bernstein.

      I'm sure Daniel Bernstein does not 'protect' his valuable data by calculating their MD5 checksum, and then deleting the originals. Which is the point I was making.

      --
      Tubal-Cain smokes the white owl.
    2. Re:Snuffle by Anonymous Coward · · Score: 0

      go snake oil pseudo-otp systems!

  54. XOR Encryption is NOT unbreakable by bahamutirc · · Score: 3, Funny

    I've seen a number of posts stating the XOR is unbreakable. Hopefully they're just joking and didn't get modded as such, because I've read in several places that XOR sucks. A quick Google revealed the following.

    Hack-FAQ

    And I quote: XOR encryption is trivially simply to implement and equally trivial to break. XOR encryption should not be utilized for any data which you would want to protect.

    I could go grab my Applied Cryptography book and make sure, but it's out of arms reach right now.

    1. Re:XOR Encryption is NOT unbreakable by dJOEK · · Score: 1

      depends what you xor it with ...
      see also one-time pads

      --
      Exercise caution when modding this message up: the author acts like a jerk when his karma is excellent.
    2. Re:XOR Encryption is NOT unbreakable by Svennig · · Score: 1

      XOR is incredibly secure if the key length is equal to the plaintexttext length. At that point you have a one time pad system which IS unbreakable. The problem then is distributing the key to the recipient.

    3. Re:XOR Encryption is NOT unbreakable by Huogo · · Score: 1

      From what I've gathered, XOR is the basis of the OTP, which is unbreakable. XOR is also the basis of ROT and such, so it depends on how it is being used. XOR in a OTP is unbreakable, XOR in ROT isn't by a long shot.

    4. Re:XOR Encryption is NOT unbreakable by SuiteSisterMary · · Score: 1

      It depends on what you're XORing with.

      If you're XORing with, say, the text of Romeo and Juliet, then no, it's not going to work very well once people figure that out.

      Hence, the idea of the One Time Pad. You get a list of truely random characters (sampling atmospheric noise is a favourite) and never reuse a given segment.

      You can't brute force it; there's nothing to brute force. You can't figure out the algorithm; there's no algorithm. Unless you get your hands on the Pad used to do the XOR, you literally have NOTHING to go on. Unless, of course, the original Pad isn't actually random. Then, you might be able to create your own copy of the Pad.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  55. What is rot-13 and what does Unscramble (ROT-13) d by anandpur · · Score: 1

    What is rot-13 and what does Unscramble (ROT-13) do?

    http://help.netscape.com/kb/consumer/19990114-1.ht ml

  56. In related news... by Artie_Effim · · Score: 0, Offtopic

    all my passwords are on a yellow POST-IT(tm) which I crumble up and put in my pocket, just like Bruce http://www.schneier.com/crypto-gram.html.

  57. UPDATE from conversation with Lexar... by Vexler · · Score: 5, Informative

    After being put on hold for over twenty minutes, I finally spoke with a man named Henry who said that he has never heard that JumpDrive had a security problem (even after I confronted him with the advisory from @Stake), and did not know that @Stake was trying to contact them for over a month. He was quite shocked but promised to check out /. and @Stake to verify the claim.

    The ostrich finally wakes up.

    1. Re:UPDATE from conversation with Lexar... by fishbowl · · Score: 2, Insightful


      >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.
  58. A better way to make "secure zones" by g_adams27 · · Score: 4, Informative


    I needed a way to make a "secure zone" similar to what Lexar was advertising - a place where I could drop files and have them automatically protected. After doing a fair amount of research, I decided to use PGPDisk. It allows you to create a PGP-encrypted file on any device (hard drive, CD, USB key, etc) which "expands" into a virtual drive (e.g. "C:\Private\SecretStuff.dsk" becomes a new "Removable drive G:" in Windows once you enter the password). Anything you drop into the virtual drive becomes encrypted. It uses 128-bit symmetric CAST algorithm, which is plenty strong enough for anything I'd need. (I believe the newest versions may also have a Twofish algorithm option). PGPdisk virtual drives can be up to 4Gig on a FAT32 machine, or unlimited size under NTFS.

    You can check out the commercial version at http://www.pgp.com/, but I would also seriously consider PGPckt 6.58, a forked and free version that works just fine under WinXP (and previous versions of Windows). That's the version I've been using.

    1. Re:A better way to make "secure zones" by RDPIII · · Score: 1

      In Linux this is known as cryptoloop, and you get a choice of different ciphers.

      --
      Marklar: marklar
    2. Re:A better way to make "secure zones" by chill · · Score: 2, Insightful

      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.
    3. Re:A better way to make "secure zones" by pclminion · · Score: 1
      Anything you drop into the virtual drive becomes encrypted.

      No problem. I'll just grep through your swap file. The data might be secure on the encrypted volume, but it isn't encrypted in memory. If your system thrashes, as all Windows systems do, then chances are your "secure" information is there in unencrypted form in your swap file.

    4. Re:A better way to make "secure zones" by Anonymous Coward · · Score: 0

      And Linux does not need a swap file? Or are you saying that even though every install insists on creating a swap partition that in reality "it is never used"?

      Why the stupid pointless dig at Windows? That entire comment could have been made in a generic way and applied equally well to ANY OS! Your comment certainly applies to all OSes even though you applied it to Windows only.

      Even though the rest of your comment was correct, you will get a lot more respect if you leave out the stupid biases...

    5. Re:A better way to make "secure zones" by Anonymous Coward · · Score: 0

      Security through obscurity!

      At the great expense of convenience, which makes it meaningless except as a theoretical exercise when it comes to the convenience-oriented device that is the USB drive.

      If you want your data to be that secured, don't let it leave your head. Then lock yourself in a dungeon. Use strong crypto for the door lock

    6. Re:A better way to make "secure zones" by Anonymous Coward · · Score: 0

      That entire comment could have been made in a generic way and applied equally well to ANY OS!

      First, the software in question (PGPDisk and PGPckt) only runs on Windows. Pay attention.

      Second, each OS uses different algorithms for determining when to use swap space. So no, it's actually very hard to generalize that comment without going into a long discussion of how this would be a bigger problem on some OSes than others. Windows, as it happens, start using swap space at lower memory usage than other OSes, which may also be part of the motivation for the grandparent post to refer only to Windows.

    7. Re:A better way to make "secure zones" by pclminion · · Score: 1
      And Linux does not need a swap file?

      Where did I mention Linux?

      Why the stupid pointless dig at Windows?

      Show me where the "dig" was. For the life of me, I don't know what you're talking about. Unless you're referring to my comment that "Windows thrashes." That's a fact. Stating a fact, last time I checked, is not a "dig."

      Your comment certainly applies to all OSes even though you applied it to Windows only.

      The OP was referring to a Windows system. I continued the thread of discussion from where it left off. I think you're hallucinating things, buddy.

      Now, to answer your question, which was legitimate despite your asinine attitude, no, Linux does not require a swap file. And yes, a Linux swap file/partition is equally vulnerable to this, if you don't encrypt it. However, it's easy to use the cryptoloop driver to have an encrypted swap partition.

      Is that possible under Windows? I see no technical reason why it couldn't be done. I'm not aware of a product which does it.

      Now quit smoking that damiana, or whatever else is making you so fucking paranoid.

    8. Re:A better way to make "secure zones" by Anonymous Coward · · Score: 0

      Do you have a complete trust in the security hygiene of the Windows OS?
      Does sensitive data remains in the clear in the swap file?
      I would worry about data being manipulated by high level APIs (such as that virtual disk thingy) on any OS, but on Windows, oh well...

    9. Re:A better way to make "secure zones" by Anonymous Coward · · Score: 0

      > Show me where the "dig" was. For the life of me, I don't know what you're talking about. Unless you're referring to my comment that "Windows thrashes." That's a fact. Stating a fact, last time I checked, is not a "dig."

      He probably don't know that trashing is the technical term meaning moving a running program in the swap...

    10. Re:A better way to make "secure zones" by mamba-mamba · · Score: 1

      Actually, windows XP has EFS, which (on SP1 and above) provides decent encryption. I use it. I also used syskey to set up a bootup passphrase (rather than allowing syskey to "hide" its key in the registry).

      I used the security policy manager to tell windows to delete the swap file on shutdown.

      I think I'm protected against the easy attacks. ;-)

      MM
      --

      --
      By including this sig, the copyright holders of this work or collection unreservedly place it in the public domain.
    11. Re:A better way to make "secure zones" by nzhavok · · Score: 1

      Assuming you use Linux or BSD and not Windows.

      Hi, I use loop-aes under windows for my email on removeable storage. It's not straightforward, but possible. Instead of partitioning the device into two partitions, just use one and store a file on the other partition. The file itself is a loopback filesystem (which you can encrypt if you like). Now you still can't use this under windows, so I have a colinux installation which can mount the filesystem.

      IIRC the colinux installation (including a basic debian image) is around 15MB, which could also fit on the removeable drive, although I just have it installed on my harddrive. In my case the colinux only exists to run an IMAP server which I can connect to from windows, although it should be quite possible to transfer files on/off the encrypted filesystem using SCP to the colinux machine (or even installing samba). The benefit to me is that I have access to my email when I'm online or offline, under windows or linux. I often work in knoppix, which can of course natively mount the filesystem (I have precompiled binaries for the IMAP server in a tgz on the storage).

      I'm sure given enough motivation someone could develop a small read-only boot image which could sit on the drive, however you would still have to install colinux on the PC you wanted to run this on.

      --

      He who defends everything, defends nothing. -- Fredrick The Great
  59. Re:ROT-13? by Anonymous Coward · · Score: 0

    No, the article come *before* the first post so repeating something that was evident from the artice is redundant.

  60. No by Sycraft-fu · · Score: 1

    Encryption is precisely the technology of keeping something away form an unauthorised person that gets their hands on it. You can sniff my SSH traffic and capture it all, but since it's encrpyted (properly, unlike this) you can get any usable information out of it.

    That woul dbe the idea for a jump drive, you encrypt it such that if it is stolen, there is no way the person can get at your data.

  61. XOR "encryption"? by jszep · · Score: 1

    Shades of Digital Convergence and CueCats...

  62. I store all my passwords... by ajlitt · · Score: 1

    ...between my ears. Nobody would ever think to look for anything of use there!

    1. Re:I store all my passwords... by oshy · · Score: 1

      I remember a Dilbert about that one. If you forget all your passwords (a slight attack of amnesia) you wouldnt be able to logon at work, get money out the bank, etc. You would eventually starve to death.

  63. JumpDrive sabotaged iBook by rjamestaylor · · Score: 0, Offtopic
    I bought an iBook last Spring (needed a quick replacement to my ailing Dell Inspiron 5150 and didn't want to waste time loading Linux over Windows just to have a useable development box) and everything was going along nicely until I inserted my 256MB JumpDrive into a USB slot...then I saw a kernel panic (or whatever they're called in OSX-land). No problem. I rebooted and...kernel panic. After calling tech support and spending nearly an hour on the phone with Apple support and running various attempts to fix OSX I was instructed to...reload the OS from the CDs. Yes! A Lexar JumpDrive FUBAR'ed my iBook to the extent I had to resort to MCSE tactics!

    I immediately returned the iBook to MicroCenter and demanded (and received) a complete refund without having to pay a restocking fee.


    I am writing this from my new iBook G4 -- which has never seen a Lexar JumpDrive and never shall.

    --
    -- @rjamestaylor on Ello
  64. Grrrr by c++ · · Score: 4, Informative

    This kind of thing just burns me up. Clueless companies hire clueless developers who think they can make software or hardware relatively secure by mearly applying encryption in whatever way they think is convenient. Never mind the plain-text password behind the curtain. Never mind that xor is equivalent to plain text (Lexor). Never mind that supporting multiple decription keys reduces the effective key length (DVD). Never mind that if you somehow store the decryption keys in a way that the software retreive (DVD again) that anyone can extract them. Never mind that storing a strongly-encoded password along with a weakly-encoded one buys you nothing (Microsoft). Never mind that encryption can't prevent copying (DRM). Never mind that this list can go on forever...

    I own a JumpDrive Secure. Don't laugh; I only got it because Wally World didn't have the regular 256MB one. I plugged it in and the first thing it did was install their security software *without asking me*. Yes, Windows XP. Yes, I had turned AutoRun off on my CD. No, I have no idea how to disable AutoRun on a device that has never been plugged in before. Grrrr.

    What did I do? I used Linux to reformat the JumpDrive then uninstalled the software it added without my permission. Now I have a perfectly usable device. (This was 4 months ago)

    1. Re:Grrrr by julesh · · Score: 1

      I plugged it in and the first thing it did was install their security software *without asking me*.

      Do they sell these things in the UK? Modifying the contents of a computer system in any way without authorisation (which may, admittedly, be implicit) is an offense here under the Computer Misuse Act 1984, I believe.

    2. Re:Grrrr by eric2hill · · Score: 1

      "No, I have no idea how to disable AutoRun on a device that has never been plugged in before."

      Just hold down the shift key. You can also change the NoDriveTypeAutoRun registry key to permanently disable this functionality.

      --
      LOAD "SIG",8,1
      LOADING...
      READY.
      RUN
  65. OTP vs Quantum Encryption by phyruxus · · Score: 1
    An OTP is "unbreakable" because given any cryptogram, there exists an OTP to resolve to any message of equal length. But with Quantum Encryption, any attempt to even read the cryptogram alters it en route, and (ideally) the sender stops sending, leaving the attacker S.O.L.

    The OTP is ~unbreakable if used right, but there's technically the possibility (if you have 10^99 years and alien supercomputers) to find cracks in the armor of randomness of the OTP. Don't forget that randomness is not a trivial resource to come by and "anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin." Whereas QE is just flat-out un-f***ing-breakable 'cause you can't get the whole message without setting off the "alarm".

    --
    "A witty saying proves nothing." ~Voltaire
    "d'Oh!" ~Homer
    1. Re:OTP vs Quantum Encryption by Anonymous Coward · · Score: 0

      No, no. It's not like that. OTP is *unbreakable* if used right because any decrypted message is equally probable.

    2. Re:OTP vs Quantum Encryption by psetzer · · Score: 1

      I think that one group came up with some method using lava lamps to generate random numbers. They had some way to ensure an even distribution, but I don't know if it's practical.

      --
      "Anyone who attempts to generate random numbers by deterministic means is living in a state of sin." -- John von Neumann
  66. This reminds me of an "un-pickable" lock my .... by StressGuy · · Score: 4, Interesting

    dad once bought.

    It had no keyhole, just a bunch of magnectic "reeds" that would line up when a special magnetic key was put along side of it. My dad had just purchased it that day and was explaining to me how it worked. I asked, "couldn't you just shake it until the reeds lined up?". He tosses the lock to me and says, "here...try it then". I shook the lock for a couple of seconds and, sure enough, it popped right open.

    my dad was pretty grumpy for the rest of the day...

    --
    A goal is a dream with a deadline
  67. Re:What is rot-13 and what does Unscramble (ROT-13 by kidgenius · · Score: 1

    ROT-13 is a an "encryption" method that is fairly simple. You assign each letter a number. A=1, B=2, C=3.... You then take that number, add 13, and put the resultant letter in it's place. So.... A would become N, B would become O, etc. It's simple, and it's a joke, and it's not supposed to be used for encryption. As you can imagine, if you used double ROT-13, you'll have the same letters as you started with.

  68. ROT-13? by jvollmer · · Score: 1
    That's why I use ROT-13 for my encryption needs.

    Ha! I use the stronger ROT-26 encryption.

    If it's not Consolidated Lint, it's just fuzz!

  69. XOR? I can do better! by Caharin · · Score: 0, Redundant

    Bah, my encryption scheme is way better than that.

    I XOR all my data *TWICE*. Try and read that!

    --
    By reading this sig, you agree to be bound by all terms and conditions I choose.
    1. Re:XOR? I can do better! by Anonymous Coward · · Score: 0

      Better to just compress all the data into a single bit. This works, and is very easy to implement. Of course, there's no way to decompress the data, but it IS secure.

  70. ROT13??? you gotta be shittin' me by McNihil · · Score: 0

    Yeah yeah I haven't RTFA but who really does. I don't belive this.

  71. That is why.. by trendescape · · Score: 1, Interesting

    I use gpg on everything I put on my jump drive. It's not like the software to "secure" the data runs on linux anyway.

    --
    irc.enterthegame.com #linux
  72. "Milk Experiment" by sremick · · Score: 2, Funny

    For some bizarre reason, this reminded me of a story I once heard somewhere (no longer rememeber where).

    Some guy was living with a bunch of others and always had a problem with them drinking up his milk. So one day he simply wrote "Milk Experiment" in big letters on the carton and never had another issue.

    1. Re:"Milk Experiment" by Catharsis · · Score: 1

      "Milk Experiment" was a trick by one of William Gibson's characters in Virtual Light, one of the Bridge Trilogy.

      I believe it was Chevette Washington, the girl who found the glasses, that came up with the idea, but please correct me if you remember otherwise.

      --

      "The wise man proportions his belief to the evidence." -- David Hume

    2. Re:"Milk Experiment" by sremick · · Score: 1

      You are most likely correct, as that is a book I've read. It was long ago... so that would explain why I was so confused as to where I heard/read it from. heh.

  73. XORred with what? by owlstead · · Score: 1

    PlEaSeDoNtHaCkMe xor ${PASSWORD}?

  74. More effective, more expensive solution.. by deacon · · Score: 1
    So someone steals your PC, and all your data is gone.

    You have backups, right? [Sounds of repressed snorting and manical laughter here].

    A better solution might be to seperate the disks from the computer. After all, your hardware value drops 50% a year (wild assed guess), so the loss of hardware is sort of inconsequential (except for that Sony Monitor ).

    Your data is really what you care about. New hardware comes from Newegg.

    So why not seperate the disks from the system.

    Using Fiber Channel , you can bury the disks in a waterproof cavern under the fake outhouse behind the barn.

    Only a cable connects your disks to the PC, and no casual thief is going to even know what a fiberchannel cable looks like, much less go looking for where the other end goes.

    The downside is the cost, of course, but the upside is that very few people are going to be able to steal your data by carting away your system before you can recover it, or whatever you need to do with it.

    1. Re:More effective, more expensive solution.. by Zemplar · · Score: 0

      I had a 21" Sony Artisan, and I wouldn't call any loss of it a bad thing. The bugger was the poorest focused monitor I've ever purchased! The colors were the best I've ever seen on a monitor, but without consistant edge-to-edge focus it doesn't mean diddly.

  75. ROT-13? by AyeRoxor! · · Score: 3, Funny

    How's this for ROT-13?

    Bu abrf! Yrkne = shknerq!

  76. Re:This reminds me of an "un-pickable" lock my ... by bhny · · Score: 4, Informative
  77. post it by Anonymous Coward · · Score: 0

    I post the Post-It(tm) with the psswds to my monitor, nobody can read my handwriting anyway...

  78. Quality of Lexar products by Anonymous Coward · · Score: 0

    I'm on holday, I have a shiny new camera, and the SD card that came with it is fast running out. So, I visit a few computer shops, and one place has a Maxell card (best value) and a Lexar card (not best value)

    What's the difference? I ask.
    Nothing, I'm told. The Lexar one costs more, that's it.

    I'm certain if the Lexar provided any advantage, the sales monkey would have said so, and gone for the extra cash in till.

    Conclusion: Lexar kit is overhyped and overpriced. Avoid it.

    1. Re:Quality of Lexar products by Gentlewhisper · · Score: 1

      Well... one of my lexar CF cards died... and i paid almost $300 for it.

      Makes me wonder if there is a warranty or anything for it, and the best thing is, most of its lifetime is spent sitting in my drawer!

      I think they supposedly have 'lifetime' warranty, but does make me wonder how easy it is to claim :(

  79. Save your Lexmark (or any other USB key) by jlcooke · · Score: 1

    Give this a whirl. Cross platform (afaik). Send feedback to: jlcooke@certainkey.com

    Encryption of files using AES128-CBC, no MACing sorry.

    Key used for encryption is:
    key = SHA256(pswd)

    Password verification is stored as: {pswdEnc, pswdHashEnc}

    Where pswdEnc = AESEncrypt(key, key)
    pswdHashEnc = AESEncrypt(key, HASH(key))

    Provided password "test" is considerd to be the orginal "pswd" if:
    key' = SHA256(test)
    t1 = AESDecrypt(key', pswdEnc)
    t2 = AESDecrypt(key', pswdHashEnc)
    t2 == SHA256(t1)

    It's written in Java, so no promises about memory attacks (I did my best). But at least file-based attacks are much more difficult.

    JLC

  80. Bleh by Anonymous Coward · · Score: 1, Insightful

    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.

    1. Re:Bleh by bhtooefr · · Score: 2, Insightful

      I know this is a troll, but interesting point. Make it so Winboxes (except those with Ext2 for Windows (or whatever it's called)) can't read it... But there's a couple problems. You might NEED it on Windows eventually (I use Linux on my main computer, but I interact with Windows computers EVERY DAY), and that Ext2 for Windows. The second cancels out the first, but then how do you get it on the box? Carry TWO JumpDrives, or a CD with it burned on?

      Also, if you only work with Win2K/XP boxes, there might be a way to use NTFS encryption, and format it like that. You could also use some Linux filesystem's encryption, and have a FAT12 partition with a driver for that filesystem (AFAIK, you can partition JumpDrives with Linux).

  81. SanDisk CruzerLock software by Call+Me+Black+Cloud · · Score: 1

    My SanDisk came with "CruzerLock" software. I wrote the company some time ago and they couldn't tell me about the encryption used. Now a search turns up a page by the authoring company on the software. Here's what they say about the algorithm:

    The CruzerLock(TM) 2 software uses the powerful and fast Blowfish encryption algorithm with a 448-bit key length. Blowfish is a symmetric block cipher that has been analyzed considerably and approved by the United States government. It was a finalist in the Advanced Encryption Standard (AES) competition.

    I wonder if the software has the same flaws as the JumpDrive software. You can download the software here, though I don't know if it will work with non-SanDisk drives.

  82. One-time pad is *the* strongest. by Anonymous Coward · · Score: 0

    The one-time pad is provably unbreakable. Your fancy quantum cryptography isn't as strong. The great thing is that the one-time pad only needs a pencil and paper.

    As to your query, the article implied pretty clearly that the password was xor'd with some string or constant that was present as plaintext in the software.

  83. Refunds? by ShavenGoat · · Score: 2, Interesting

    I sent an email to Lexar support demanding a refund for my "Secure" Jumpdrive. While I never used the "security" feature that they offer (I bought this because it was cheep at Sam's Club), this is still deceptive advertising. I don't think you can claim a product as "secure" when it is trivial for someone to bypass security.

    As one poster commented, "Why not just use ROT-13 to hide the password?"

    If Lexar replies, I'll post a follow up. If they don't, then it is off to the BBB to get things fixed.

    1. Re:Refunds? by Anonymous Coward · · Score: 0

      Oh stop.

      Your Brinks "security system" is marketed as being secure, right up until someone finds out that a six dollar walkie talkie from Radio Shack has just the right frequency to disable the entire Brinks system, simply by pressing the transmit button.

      Stupid design? Most definitely. Deceptive advertising? Not in the slightest.

    2. Re:Refunds? by fmaxwell · · Score: 1

      Stupid design? Most definitely. Deceptive advertising? Not in the slightest.

      It was advertised as being secure when it was nothing of the kind. That sounds deceptive to me. They advertised that your data was protected by AES encryption when, in fact, the only thing between the bad guy and your data was an easily snooped password that was stored in the device itself.

      I'd agree with you if the problem had been some subtle flaw discovered in AES or some exploit that relied on accessing the computer on which the device was actively in use after the owner had entered the password. But that's not the case. Sorry, but they didn't use due diligence to make sure that the item that they advertised as secure really was.

  84. A better solution by DamienMcKenna · · Score: 1

    Truecrypt (mirror 1, mirror 2) does the same as PGPdisk but is open-source and seems to still be actively developed, unlike PGP658ckt. It also doesn't have the drive size limitations of some competing commercial products.

    Damien

  85. How about my Dick Tracy Decoder Ring? by Ralph+Spoilsport · · Score: 1
    It works! I can make things really hard to read!

    Unfortunately any message sent to me decrypts to read "Drink More Bosco."

    RS

    --
    Shoes for Industry. Shoes for the Dead.
  86. You forgot the most important ones by cft_128 · · Score: 1
    You forgot the most important logical operators, the universal ones:
    NAND:
    0101
    0011
    ----
    1110

    NOR:
    0101
    0011
    ----
    1000
    With those two operators (gates...) you can create every other possible operator.
    --

    Underloved Movies and Pub Quiz: donotquestionme.org

    1. Re:You forgot the most important ones by Anonymous Coward · · Score: 1, Informative

      AFAIK, all you actually need is NAND to make every other operation.

    2. Re:You forgot the most important ones by Anonymous Coward · · Score: 0

      NOR? What luxuary, you can do everything you ever need with just NAND gates, for your evil NOR'ing ways you shall burn forever in the pits of hell, heretic! :)

    3. Re:You forgot the most important ones by cft_128 · · Score: 1
      AFAIK, all you actually need is NAND to make every other operation.

      Yes, you are very correct; it was my faulty memory: no parity check. Both NAND and NOR are universal.

      For the interested: NAND and NOR gate logic.

      --

      Underloved Movies and Pub Quiz: donotquestionme.org

    4. Re:You forgot the most important ones by Anonymous Coward · · Score: 0

      I took it as a thinko:
      s/with those two/with either of these/

  87. Figlet encryption by iamatlas · · Score: 1
    [secure@root ~]$figlet dont_peak.txt | figlet

    symetric figlet encryption... never defeated.

    Oh, and sure, I use tcsh- wanna make somethin' of it?

  88. XOR can provide perfect security by Anonymous Coward · · Score: 0

    Stop beating up on XOR. One time pad combined with XOR is one of those "perfect" encryption scemes. Of course, bad implementations are still garbage if debuggers can get at the information.

  89. another @stake advisory published today by neoThoth · · Score: 1

    busy little bees over there
    Advisory Name: Pingtel Xpressa Denial of Service
    Release Date: 09-13-2004
    Device: Xpressa phone (Model PX-1)
    Firmware: Core Apps: 2.1.11.24 Kernel: 2.1.11.24
    Severity: An attacker can cause the phone to fail. A power
    cycle is required to restore functionality.
    Author(s): James Vaughan
    Vendor Status: Vendor has halted sales of device
    CVE Candidate: CVE Candidate number applied for
    Reference: www.atstake.com/research/advisories/2004/a091304-2 .txt

  90. Mac Users by agentkhaki · · Score: 2, Informative
    If you're using a Mac, I'd suggest doing the following:
    • Format your pen drive to MS-DOS
    • Create an encrypted, password protected disk image roughly the size of your pen drive (also in MS-DOS format)
    • Store the disk image on your pen drive
    The reason I recommend using MS-DOS format for both the disk and disk image is two-fold. First off, you can use the extra space not taken up by the disk image to grab files from a PC (since both the Mac and PC can read the MS-DOS file system), and because if you use HFS+, the Mac will store all sorts of file extras on the disk, giving you much less usable space (same reason you can't get the full 654 or 700 MB when you burn an HFS+ CD).

    I would also recommend storing a fake .Trash file on the disk -- that way, when you delete stuff, it dies immediately (after warning you), rather than going to the trash. Google for more info.
    --
    Ack!
  91. ROT13 != encryption by Vague+but+True · · Score: 1

    I use rot13 to create simple cryptograms.

    --

    I'm not a doctor, but I play one in bed.

  92. (fixed) A better solution by DamienMcKenna · · Score: 3, Informative

    Truecrypt (mirror 1 [freewebtown.com], mirror 2) does the same as PGPdisk but is open-source and seems to still be actively developed, unlike PGP658ckt. It also doesn't have the drive size limitations of some competing commercial products.

    Damien

  93. I tried that... by Gordonjcp · · Score: 3, Funny

    ... but I found that the decryption key was inconveniently large, being the same size as the original data.

  94. We are talking about _security_ here,... by PaulBu · · Score: 1

    ... not warm and fuzzy feelings towards an average user! ;-)

    If software would verify user's password immediately without actually spending the time to decrypt the data it will increase the chances of successful dictionary attack on the password. If you were trying to login into a remote system it can disable the account you are trying to use after small number of unsuccessful attempts, but here the software runs not on the drive itself, but on the computer which is completely controlled by the attacker and he can try as many times as he wishes.

    Thus, it makes sense to perform full "decryption" on every attempt and return just garbage, or, to make it a bit more user-friendly, run 'file' command on the decrypted file afterwards and verify that it has meaningful signature.

    Paul B.

    1. Re:We are talking about _security_ here,... by JoshMKiV · · Score: 1

      Warm and fuzzy is what sells. But they could have gone about their usability issues in other ways. I have written similar code and implemented it correctly, I'm sure they could have if they had spent enough time/$$.

  95. Simple solution by Mithrandur · · Score: 1

    "256 bit AES encryption" must indicate a 256 bit key size, since the block size is fixed at 128 bits. Why a 256 bit key? Because it's a large number and looks good in the marketing material. It is inconceivable that any brute force search effort could find a 128 bit key, at least before the sun dies.

    So, we really only need 128 bits of entropy to make a "good enough" AES key. There are about 1.3 bits of entropy per character of English text, so around 20 words will give us a decent pass phrase. We need a standard size, so we take the SHA-1 of the pass phrase, and append a constant padding value to get us up to 256 bits. This is ok, because we really only have a 128 bit key, but marketing wants 256 bits, and AES has no known weak keys.

    We have now derived an encryption key from a pass phrase. We use this key to encrypt the files on the device, and we never store it anywhere.

    If, for support reasons, we need to be able to recover the encrypted data for a user, then we could set up a voluntary (opt-in) key escrow service using a secret splitting algorithm.

    This problem is fixable. What remains to be seen is whether Lexar will stand behind their product and get serious about security, or whether they will take the easy out and back down on their claims.

    --
    vi is my shepard, I shall not font.
  96. Why have it at all? by gr8_phk · · Score: 1

    Why is the password there at all? Can't they just have the user provide the AES key to save/read data? Why does there need to be a password stored in the device at all?

    1. Re:Why have it at all? by Jahf · · Score: 1

      ... and all of a sudden the world realizes that ANY storage device can be as strong as you make it.

      The JumpDrive however is meant for the people in the world who don't have that level of skill.

      And there are a LOT of them.

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
  97. Fraud? by mr_zorg · · Score: 1

    Doesn't this constitute fradulent advertising? To advertise the device stores data with AES encryption, and then store something (the password) using something else is clearly at odds with their advertising.

    For that matter, why is the freakin' password stored on the device at all? The password should be used as the key to the AES encryption/decription ONLY and not stored on the device at all. What reason is there for that?

    1. Re:Fraud? by null+etc. · · Score: 1
      Doesn't this constitute fradulent advertising? To advertise the device stores data with AES encryption, and then store something (the password) using something else is clearly at odds with their advertising.
      The data is encrypted with AES. The password is not. Since the password is not explicitly a part of the user's data, their claim probably stands.

      They might be nailed for giving a false sense of security through their advertising claims. However, as it's unlikely that they were intentionally deceptive or criminally negligent in their programming, a judge would be unlikely to fine them (and would instead let the "invisible hand" of the market balance things out.)

  98. Breaking XOR encryption by neoThoth · · Score: 1

    With all the heated debate about XOR I thought I'd point to one of my favorite posts about this topic. One quote in particular I like is "Xor encryption is not inherently breakable by it's nature, however it is easy to use incorrectly, leading to breaks in the encryption scheme. In fact, xor can be unbreakable if used correctly. "
    given that the key is seen decrypted in the debugger one can easily say that Lexar's did NOT use it correctly.

    1. Re:Breaking XOR encryption by null+etc. · · Score: 1
      given that the key is seen decrypted in the debugger one can easily say that Lexar's did NOT use it correctly.
      I never recall seeing any statement that suggested the key could be seen plaintext in memory. For all we know, the password is never decrypted, but instead is used to decrypt the data.

      The problem is that the one-way hashed value of the password was not hashed with a sufficiently complex algorithm, and could be easily reverse engineered.

    2. Re:Breaking XOR encryption by neoThoth · · Score: 1

      "I never recall seeing any statement that suggested the key could be seen plaintext in memory"

      Which advisory did you read?
      "It is also possible to attach a debugger to the Safe Guard software and read the password from memory. The Safe Guard software takes care of the decryption and the password can be seen in plain text within memory when the software does a compare between the stored password and the supplied password."

  99. Re:What is rot-13 and what does Unscramble (ROT-13 by jfw25 · · Score: 1
    it's a joke, and it's not supposed to be used for encryption
    Actually, in a security product I worked on a few years back, I did use ROT-13 for encryption.

    For test purposes, you see. I wanted to be able to verify that the encryption algorithm was correctly negotiated and hooked into the data stream while being able to detect missing or added bytes. The actual product used your choice of AES or 3DES, but ROT-13 actually makes a pretty good "nearly null" algorithm for testing.

    And no, we didn't store the password anywhere, clear or XORed. I can't confidently swear our product was perfectly secure, but I'm reasonably confident we didn't design in any really boneheaded errors.

    I think.

  100. I didn't buy it for the security by digitalgimpus · · Score: 2, Insightful

    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.

    1. Re:I didn't buy it for the security by OneFix · · Score: 1

      I have 2 of em...but here's the problems I've found with them.

      I know at least 4 people that had theirs die after only 6 months of use.

      And then we get to the idea of size...the size doesn't worry me...it's the fact that the plastic "lip" around the usb connector makes it too big to fit into about half of the USB slots I've ran into (so that it puts undue pressure on the port)...

      The 6 months thing I may be able to live with, but the connector problem is bad...

      The Sony Microvault (also available at most Wal-Marts) fixes this by extending the connector...because of this, the microvault will be the next USB flash drive that I buy.

  101. But is it really cluelessness? by myowntrueself · · Score: 1

    Or is it a legal requirement?

    I thought that in the USA, land of the free, home of the brave, it was a requirement that any commercial encryption system be breakable by the government?

    And given how stupid the government of the USA seems to be, lexar probably thought it best to use something that even they would be able to crack, ie xor.

    Yeah yeah troll, flamebait, *whatever*.

    --
    In the free world the media isn't government run; the government is media run.
  102. Clearing things up... by t_allardyce · · Score: 1

    I read the article it didnt explain much, people keep talking crap and speculating, can anyone explain.. when they say the password is stored on the device in XOR form do they mean XOR'd with some obvious key or just binary-flipped? Does this thing have its own CPU to do authentication/decrypting etc or does it install something on Windows etc? (im guessing it installs something on Windows and they just used a debugger to see what was going on?) if so why doesnt it have its own hardware to handle everything? that way theres nothing to sniff.. im sure you can get cheap enough hardware that would be small enough and powerful enough to pass all the data in time?

    --
    This comment does not represent the views or opinions of the user.
    1. Re:Clearing things up... by null+etc. · · Score: 1
      CPUs add significantly to the cost of these devices. If you want a device that can be upgraded with new security releases, you'd need flashable firmware, which increases the complexity, support, and cost of the device.

      I'd love to find a USB key drive that encrypted data via its own hardware, and didn't require ANY software. How it might work:

      1. The device emulates two USB devices - one is a USB input device, one is a USB drive.
      2. The USB drive is not powered until the USB input device receives the password.
      A variation of this theme discards the USB input device, and instead has the password entry theme on the device itself (such as a dial combination lock.)
    2. Re:Clearing things up... by Anonymous Coward · · Score: 0

      It seems from the article that someone is claiming a coup simply because they know the encryption scheme.
      Hey, I know the encryption scheme for SSL. Does that make it less secure or more secure?

    3. Re:Clearing things up... by t_allardyce · · Score: 1

      No i think its abit more than that, they know how to get the key without leaving a trace..

      --
      This comment does not represent the views or opinions of the user.
  103. Now With Extra-Powerful Duping Action! by Anonymous Coward · · Score: 0
    @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."

    Not content with duping stories weeks or even days later, now /. is duping stories within the same story!

  104. Not so fast! by Retric · · Score: 1

    I have seen people do stuff like this all the time. MD5 is almost useless in cryptography if I can see the hash I can just use that hash in the funciton you where going to use it for. If the location of the hash was secured then just store the data in plan text in that location.

    Just about the only use is an Server that uses an MD5 hash of the passward to see if it should decript the data using some other hash of the passward as the key, which helps with ease of use not security.

  105. Are they stupid? by Brandybuck · · Score: 1

    ...the password can be seen in plain text within memory when the software does a compare between the stored password and the supplied password.

    Are these guys stupid or what? It boggles my mind that such a scheme ever made it to the marketplace. I have this strong urge to go over there and whack them with a big clue stick. They deserve all the flack they get over this.

    --
    Don't blame me, I didn't vote for either of them!
  106. Important to remember: by Anonymous Coward · · Score: 0

    Cracking stuff like this will NEVER get you laid. EVER.

    Try creating something instead of just trying to invalidate the work of others.

    P.S. Spare me your 'white-hat' 'for-the-good-of-all-involved' pablum.

  107. stupid response #1 by snake_dad · · Score: 2, Funny

    "me" is too short for a decent password :)

    --
    karma capped .sig seeking available Slashdot poster for long-term relationship.
    1. Re:stupid response #1 by Rosonowski · · Score: 1

      Yeah, my "Myself" isn't too bad.
      It's a weak password, but it's approaching decency.

      --
      01101001 01100001 01101101 01101110 01101111 01110100 01100001 01101100 01100001 01110111 01111001 01100101 01110010
    2. Re:stupid response #1 by mattyrobinson69 · · Score: 1

      m3t3h133thax0r

      there - numbers and letters, id do a better job but im not fluent in 133t h4x0r speak

    3. Re:stupid response #1 by Marxist+Hacker+42 · · Score: 1, Offtopic

      Ok, this will get buried in the responses, so it will get somewhat hidden, which is what I wanted. In the GGP post, the 9 billion names of God refers to an Arthur C. Clarke story in which the ultimate Devil, the Hindu diety Shiva which destroys the universe, will come if this group of monks actually writes down all 9 billion names. In the story, some idiot sells them a computer- and as soon as they program the computer with their writing system, the universe is destroyed.

      I combine this with my Scientific Catholic definition of God as "That force or being which created the universe". Since Shiva is the Destroyer, not the Creator, Shiva simply isn't in the list.

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    4. Re:stupid response #1 by tabrnaker · · Score: 2, Informative

      You need to read more about shiva. Shiva is not a destroyer. Shiva disolves so that creation can happen. Shiva represents creation as well as dissolution. If you want to reach enlightenment it is through shiva. Shiva is nothing close to the christian belief of devil which is naught but a fallen angel.

    5. Re:stupid response #1 by jack_csk · · Score: 1

      1vv4n770b30vvn3d is a cooler one, if the system accepts the password that long

    6. Re:stupid response #1 by Marxist+Hacker+42 · · Score: 1

      I don't pretend to follow Hinduism closely, or in fact at all. My definition of God is based on Christianity, and would never destroy to create. The circlular meta-history that Hinduism is based on is not a part of my belief system; that's why the joke needed to be explained.

      My form of enlightenment also doesn't require the destruction of ego as does the Hindu/Buddhist way.

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    7. Re:stupid response #1 by Anonymous Coward · · Score: 2, Informative

      Only one addition, since from what I know, your post is fundamentally right. I have a Hindu friend, and he got upset when I refered to Shiva as the Hindu equivalent to the devil while trying to make sense of his religion. He explained it this way: Shiva is usually portrayed as benevolent. Old buildings decay to make way for new ones, old people die to clear the way for the next generation, old animals die so they don't slow the herd down, old civilizations fall as new ones are created, and so forth. If not for Shiva, the world would become choked with the old and sick, and the world would be a much worse place. When things are particularly off course, there are large epochs of destruction (Ranging from war to famine to cataclysmic floods, fires, and earthquakes, and that this is also used to reconsile scientific observations like mass extinctions with the religion). There's also a belief (which he says is obsolete and not held as seriously as it once was by many Hindus, at least those living in the western world) that the entire cosmos is periodically destroyed when a great many things get too far gone to be fixed even by global-level catastrophe, and Brama starts creation over anew.

      Also, another thing he pointed out is that the devil (in Judeo-Christian theology) is not a destroyer in himself, only a temptor who can lead humans to destroy, but does not destroy himself. God orchestrates the end of the world in Revelation, and is also caused all the destructive events in the Bible. He rattled off several names (many of which sounded like names for D&D characters to me) for minor Hindu gods who are more comparable to the devil, since they manipulate living beings into distrupting the normal order of things.

    8. Re:stupid response #1 by Ayaress · · Score: 2, Insightful

      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.

    9. Re:stupid response #1 by snake_dad · · Score: 1
      My form of enlightenment also doesn't require the destruction of ego as does the Hindu/Buddhist way.

      This is kinda funny since my response of "me" suggests the utter reverence of ego.

      Disclaimer: beer was an important factor in reaching this conclusion.

      --
      karma capped .sig seeking available Slashdot poster for long-term relationship.
    10. Re:stupid response #1 by nacs · · Score: 1, Flamebait
      My definition of God is based on Christianity, and would never destroy to create.
      I guess you've never heard the story of Noah's ark then. Or Soddom and Gomorrah.
      --
      "I filter at +6, and have yet to miss out on an important comment." (#822545)
    11. Re:stupid response #1 by Marxist+Hacker+42 · · Score: 1, Funny

      Christian, creator God, not Old Testament Jewish Destroyer Vengeful God. Nuance, I know, but there it is.

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    12. Re:stupid response #1 by Anonymous Coward · · Score: 0

      So like, Shiva is taking his sweet ass time with babyboomers.

    13. Re:stupid response #1 by operagost · · Score: 1
      No one said Shiva was the devil.

      Creation is the same as destru... I mean "dissolution", eh? Sounds like, "there is no difference between good and evil." How DOES that Kool-Aid taste?

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    14. Re:stupid response #1 by Anonymous Coward · · Score: 0

      You say that as if they each refer to someone different...

    15. Re:stupid response #1 by Anonymous Coward · · Score: 0

      Aww come on. "Marxist Hacker" is evangelizing about the loving christian god? Welcome to troll city.

    16. Re:stupid response #1 by tabrnaker · · Score: 1

      Perhaps you don't know how to read, but the poster said "in which the ultimate Devil, the Hindu diety Shiva" As far as good and evil, you're entirely correct, there is no difference, they are both human constructs. Kool-Aid will kill you.

    17. Re:stupid response #1 by tabrnaker · · Score: 0, Flamebait

      Really? Have you ever even read the bible? YOu seem quite clueless as to it's contents. I guess you're not a christian because dissolving the ego is the entrance to heaven/enlightenment. Then again, you might be christian since they pick and choose which parts of the bible to follow and twist jesus' words until they're almost meaningless. It's always so much easier when we create our own religions and definitions because then we can tailor them to fit our failings.

    18. Re:stupid response #1 by Anonymous Coward · · Score: 1, Informative

      Actually, in the Christian chronology, the devil is not a destroyer.

      In a parable by Jesus in the Gospel of John, chapter 10, the devil was compared to a thief, who "...only come to steal, kill, and destroy..." (John 10:10).

    19. Re:stupid response #1 by dnoyeb · · Score: 1

      Or Jesus of Nazareth "We heard him say, I will destroy this temple that is made with hands, and within three days I will build another made without hands."

    20. Re:stupid response #1 by Anonymous Coward · · Score: 0

      >>My definition of God is based on Christianity, and would never destroy to create.

      >I guess you've never heard the story of Noah's ark then. Or Soddom and Gomorrah.

      Yeah, and this hippie guy (Joechrist I think) who commited suicide because his father said so, so a lot of sinners could be saved.

    21. Re:stupid response #1 by nickco3 · · Score: 1

      In a parable by Jesus in the Gospel of John, chapter 10, the devil was compared to a thief, who "...only come to steal, kill, and destroy..." (John 10:10).

      The Gospel of John may *claim* the devil is a destroyer, but that's just commentary. All the actual big acts of destruction in the Bible (the kind of stuff Shiva does for the Hindus), Yahweh is the One carrying it out.

      --
      -- Nick "Hallo this is Beel Gates, und I pronounce weendows as ... WEENdows"
    22. Re:stupid response #1 by hplasm · · Score: 0

      Actually, Shiva was not mentioned in this story; the universe was just calmly wound down once it's purpose was fulfilled- ie to write down the 9 Billion Names of God.

      --
      ...and he grinned, like a fox eating shit out of a wire brush.
    23. Re:stupid response #1 by Panaflex · · Score: 1

      So what DID God create after Noah and the flood?

      tap..... tap...... tap......

      Yes, there are simularities, but not the naturalist ideas of God creating within the Earth. Six days and a night cap, he was done with that. The rest could simply be called, System Administration.

      Pan

      --
      I said no... but I missed and it came out yes.
    24. Re:stupid response #1 by Scrameustache · · Score: 1

      Shiva is not a destroyer. Shiva disolves so that creation can happen. Shiva represents creation as well as dissolution.

      Shiva is a destroyer. But not for the fun of it.
      Every act of creation is an act of destruction -Pablo Picasso

      Shiva makes room for the new stuff. There's no need to sugarcoat it with euphemisms like "dissolves" instead of the accurate "destroys".

      Shiva is nothing close to the christian belief of devil which is naught but a fallen angel.

      Not in objective concepts, but in the subjective christian view, he's a pagan false god and therefore the devil. Its a binary system: if (Deity != Jesus) Deity == Satan; //Or Satan += Deity;
      /*Jesus == God == HolyFather == HolyGhost == HolyTrinity;*/

      --

      You can't take the sky from me...

    25. Re:stupid response #1 by Scrameustache · · Score: 1

      All the actual big acts of destruction in the Bible (the kind of stuff Shiva does for the Hindus), Yahweh is the One carrying it out.

      Angels do the actual work, Yaveh just calls the shots.

      --

      You can't take the sky from me...

    26. Re:stupid response #1 by Marxist+Hacker+42 · · Score: 1

      Actually, I'm a Catholic- and I don't see anything about disolving the ego in the New Testament written by Catholics for Catholics. YMMV with other denominations though.

      --
      SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
    27. Re:stupid response #1 by zonker · · Score: 0

      science + catholic haven't historicall sat well together. i'd guess this was another allusion he was making...

    28. Re:stupid response #1 by tabrnaker · · Score: 1

      haha, that's funny. The new testament wasn't written by catholics. The reason why you don't see it is probably because you are catholic. Any intelligent person who has read jesus' words and that of any other enlightened person can see they speak the same truths. Besides, catholics belief jesus is the christ and that he's also part of the trinity(a catholic construct). They hold this belief no matter how many times jesus says that any person can do what he has done. I dunno, how many times do you have to tell the stupid masses that you're the son of man just like everybody else before they believe you? Apparently jesus fell short. How many times do people have to hear god helps those who help themselves before they actually start helping themselves? The world will be a better place when people stop viewing jesus as god and his acts as divine. Then maybe humans will realize their full potential.

    29. Re:stupid response #1 by tabrnaker · · Score: 1

      I think you'll find that if you know anything about yoga, dissolves is the correct term.

    30. Re:stupid response #1 by Scrameustache · · Score: 1

      I think you'll find that if you know anything about yoga, dissolves is the correct term.

      I don't. Care to enlighten me?

      --

      You can't take the sky from me...

    31. Re:stupid response #1 by kargis · · Score: 1

      Wow. Must be fun to take other's peoples' Gods off of lists like that. Cool. You're my hero.

      Shiva is a God. We're just willing to admit that creation and destruction are part of the same process.

      Kargis

    32. Re:stupid response #1 by Anonymous Coward · · Score: 0

      From my own experience, claiming to be Catholic is not a good way to claim you've read the bible. Every Catholic church I've been in has a collection of false idols that Christains were told specifically not to worship (typically saints and Mary).

      However, despite being told Catholicism is the same everywhere, I suppose that may vary. What's your church like?

  108. FLASH: One Time Pad CRACKED by hugesmile · · Score: 4, Funny
    Somebody told them that a One Time Pad encryption scheme is uncrackable. So they used the pad "11111111111..." and did an XOR.

    Since no one else is stupid enough to use that pad, it's a one time pad.

    Another milestone in encryption technology - One time Pad CRACKED!

    Emergency patch: Now they use the Pad "000000000...."

    1. Re:FLASH: One Time Pad CRACKED by Anonymous Coward · · Score: 0

      Uh, yeah, so what do they XOR it with?

    2. Re:FLASH: One Time Pad CRACKED by Anonymous Coward · · Score: 0
      uhhh the password?

      RTFA!

  109. Problem with PGP/Certificate based encryption.. by dwipal · · Score: 1

    I initially thought that they can simply use PGP or similar encryption (like pgpdisk as mentioned in a post), but then to decrypt the data, we would need the private key on the machine. I will have the private key on my own machine, but would not like to have it on some other machine where i want to get data off the drive. Any (insightful) comments ??

  110. Hey! by Ayaress · · Score: 1

    That's not your password...

    1. Re:Hey! by Rosonowski · · Score: 1

      =P

      No, it's not. Although I did once use "fuckyoukeegan" when a kid named keegan kept asking for the password to my guest account.

      --
      01101001 01100001 01101101 01101110 01101111 01110100 01100001 01101100 01100001 01110111 01111001 01100101 01110010
  111. It's kinda like Fight Club by Doomstalk · · Score: 1

    The first rule of DMCA is you do not talk about DMCA.
    The second rule of DMCA is you do not talk about DMCA.
    If someone cracks your security, you send a cease and desist and pretend it never happened.

  112. Somebody call the police by Ayaress · · Score: 4, Funny

    I think you just killed Schrodinger's Cat.

    1. Re:Somebody call the police by Mikeydude750 · · Score: 0

      Or did he? No one knows...until you open the box, that is.

  113. So what is it XOR'd with by Performer+Guy · · Score: 0, Redundant

    Look, XORing is how a lot of encryption works, the deal is you need to make the sequence of bytes you XOR with unique, unknown and difficult to determine/guess. Hashing functions do this by producing the long XOR sequence from a smaller key.

    So what is it XOR'd with? If it is some common or repeating sequence then obviously this is about as pathetic as it gets. Unfortunately the advisory is completely devoid of details on he password storage other than saying it is XOR encrypted.

    The password may be XOR'd with it's own hash function output in which case this isn't as bad as it looks. Looking at the paper it seems that the real flaw is the software in memory decryption of this XOR'd password to reveal it plain text in memory, however again it is still not entirely clear how flawed this is.

    For it to decode that password it would have to know what the encryption key was in software so that would be a *huge* flaw, however plain text comparrisons could work if the password itself was used for the encryption/decryption.

    For example you could encrypt the password with the hash output then store it and decrypt it with the candidate hash output for any new password attempted. Only if it was the correct hash password would this produce a match and only with the correct password typed in in memory could you ever see a correct plaintext password in memory.

    It must be that the software has a fixed key in software which is used for the comparrison for this to be an issue. That would be spectacularly incompetent, either that or this advisory is spectacularly inept. It is actually difficult to tell from the info we have so don't jump to conclusions.

    If it is a bug a simple fix would be to use the password itself to encrypt the password on the disk instead of some fixed key, but I can't believe that this isn't done already.

  114. 1st Rule of the DMCA by Anonymous Coward · · Score: 0

    Don't talk about the DMCA.

  115. xor is easily broken by Anonymous Coward · · Score: 0

    xor is easily broken for most filesystems without the password... Just look for a repeating string of characters in the raw file which appear where you would normally expect a series of binary 0's to appear in a filesystem of a particular type. I broke someone's loopback encrypted filesystem this way in 30 seconds flat, by just trying his 8 characters in sequence one after the other until I hit the correct starting character.....

  116. Another good one.. by Gentlewhisper · · Score: 2, Informative

    would be jetico's bestcrypt.

    http://www.jetico.com/

    supports twofish and blowfish too and even GOST too, all the way up to 446bit of keylength.

    a must have for any paranoid nut

  117. Tough.. by Gentlewhisper · · Score: 2, Interesting

    Bestcrypt http://www.jetico.com/ encrypts swap files too, so all you can get with your grepping is just @(#*)$#)$*)#*(#*^0

  118. Wanna know what happened? by JavaRob · · Score: 1

    This is exactly what I thought of first -- why encrypt the password when you can hash it? You store the hash, you don't store the password (and it's impossible to generate the password from a hash, which is basically a one-way encryption).

    This is pretty standard procedure for storing passwords -- even if an attacker sees the hash you stored, the password is still safe. When the user logs in, you hash the pw they type, and compare it to the hash you have stored.

    Even more secure (if an attacker might be able to edit the hash stored on the drive) is the parent post's suggestion; don't store the hash, use it as a basis for the key you encrypt the data with. Bingo, secure.

    So why wouldn't they do this? Well, what options do they offer if you lose your password? I can't find much at all on their website, but my bet is that they are sacrificing security in the name of customer support. Maybe they're worried about customers who misremember their password (and didn't bother with the hint mechanism) who send back the drive and say "fix it"... and they can! That's just good customer support! Maybe it designed like that originally for debugging purposes, and then the ship date arrived.

    My bet is that at least one of the developers knew full well about the security issue, and either didn't care enough about the company to insist it was fixed, was pressured by a boss, or had "that good, lucky feeling" that the curious techies of the world wouldn't notice the flaw and, say, get it onto the Slashdot front page.

    By the way, feel free to ask Lexar about it: here's the page for talking to a real live customer service rep.

  119. Re:ROT-13? by Gentlewhisper · · Score: 1

    Who cares, this message is typed in ROT-17576

    Strong huh? =)

  120. Re:What is rot-13 and what does Unscramble (ROT-13 by plover · · Score: 1

    As long as you didn't leave the ROT-13 routine as the default in your shipped product. (Man, that was embarassing...)

    --
    John
  121. Unlease? by Anonymous Coward · · Score: 0

    You mean the lawyers are leased?

  122. Re:This reminds me of an "un-pickable" lock my ... by Anonymous Coward · · Score: 0

    At a large UK cash-and-carry store, which I won't name, the tills use a key system to restrict access to various till functions, with the more 'admin' functions needing different keys. For example, to manually enter the prices of items scanned through the till you need a key which will allow you to turn the control to setting 2. Alternatively, the lid from a bic pen will suffice (but only up to setting 2) - no brute force required, just insert and twist like a normal key.
    On a similar note, my brother once owned an old motorbike with modern keyless ignition. A screwdriver did the job. Again, no force required.

  123. Lexar is not alone in bad cryptography by plover · · Score: 3, Interesting
    Don't look to San Disk for any better security.

    I spent a little while analyzing the "CruzerLock" software that came with my Cruzer Mini USB drive. It appears to be using a 64 bit block cypher (perhaps DES) which pretty much rules out any of the more modern encryption algorithms.

    Its biggest readily apparent weakness is that the encryption algorithm is running in ECB mode. If you have a file containing AAAAAAAAAAAAAAAAAAAAAAAA it will encrypt to an 8-byte repeating block on the drive, like this: 123456781234567812345678 When I changed that to AAAAAAAAbbbbbbbbAAAAAAAA I saw the following encoding: 12345678abcdefgh12345678. That indicates Electronic Code Book. If I learn what your first block means, I know the third block means exactly the same data. (Please note that these are just example values with nice visual properties, and not the exact values I saw!)

    Also, the encryption is the same from file to file. AAAAAAAA encoded in one file produces exactly the same results as AAAAAAAA encoded in another. So the IV for the encryption routine is fixed as well.

    At least XORing blocks of encrypted binary nulls with two different keys didn't quickly reveal any obvious common bits, nor did encrypting two successive blocks that differed only by a single bit of plaintext. That means it's at least more than a plain old 8-byte XOR cypher using a folded password.

    I figure if I can find all those holes in an hour of poking around with a hex tool, I know they didn't actually hire any cryptographers to produce the software. All the alarm bells have already gone off, and I never even stepped into it with a debugger to learn how they fold your password into a key, or what the IV was, or what the encryption algorithm itself was.

    --
    John
  124. Re:What is rot-13 and what does Unscramble (ROT-13 by plover · · Score: 1
    Brief history of ROT-13:

    Long ago, it was commonly used in news groups to mask dirty, racist, or otherwise offensive jokes, or to hide the answer to a riddle or something. The idea was that if it was nasty, you could give the person fair warning not to "decrypt" the message because they might not like the contents. The news readers I used to use had ROT-13 en/decryption built right in -- hit X and it ROT-13'd the message revealing the joke, and hit it again and it rotated it right back to the original text.

    I also vaguely remember binding a ksh alias to rot13 that looked something like this:
    rot13=tr A-MN-Za-mn-z N-ZA-Mn-za-m
    so I could translate things from a shell, but that was a long time ago. I may have gotten it wrong.

    --
    John
  125. that survey was full of it by SuperBanana · · Score: 1
    when you can bribe the user to tell you the password with a chocolate bar!

    Nobody ever pointed out the main problem with that study- I bet 99% of the people played along to a)find out who it was to report it to their employer/the cops or b)to get a chocolate bar out of it.

    I'm sure the same 99% had absolutely no intention of actually giving the person their REAL password. "For a candy bar? Sure, "uRaSucker".

  126. Encrypted flash drives? Just say no! by argent · · Score: 1

    We have a bunch of these kinds of drives, because someone got a great deal on them. They're not the Lexar ones, but it hardly matters, we don't use the encryption... but just having all that extra software seems to make them fragile. They have a tendency to corrupt themselves when someone inevitably pulls one out without dismounting it, and unlike normal flash drives which we can reformat, these need a special application to do it.

    And of course the vendor won't provide a copy of that application, because then we would know how the encryption (which we don't use) works...

    Ancrypt files at the application level, using an open encryption standard that you can run on any platform. Anything else is just asking for the f***up fairy to pay a call.

  127. GnuPG 1.3.6 alpha by Compact+Dick · · Score: 1

    Though it's currently in alpha, GnuPG 1.3.6 is stable enough for general use, and supports SHA-256, SHA-384 and SHA-512 -- important now that MD5 and SHA1 may be flawed.

  128. Under linux by john_anderson_ii · · Score: 1

    I use linux at work and linux at home, so I can keep my files fairly secure like so: Make sure you have cryptoloop and cryptogoraphy APIs enabled in your kernel. mount /dev/sda1 /mnt/jumpdrive dd if=/dev/urandom of=/mnt/jumpdrive/mycrypt.img bs=1k count=256000 losetup -e blowfish /dev/loop0 /mnt/jumpdrive/mycrpyt.img Enter password: mkreiserfs /dev/loop0 mount /dev/loop0 /mnt/my_crypt Copy your files to /mnt/my_crypt, then unmount it and run: losetup -d /dev/loop0 To remount it, use: losetup -e blowfish /dev/loop0 /mnt/jumpdrive/mycrypt.img mount /dev/loop0 /mnt/my_crypt Pretty simple to use, but it's for linux only. The only caveat is really with the enter password: dialogue. There is no verification and you can't ever really enter the wrong password. The crypto APIs use the password you enter as the crypto key, so if you subsequently offer the wrong password, it will apply the specified algorithm (blowfish in this case) using the wrong key! That means the decrypted info will still be unreadable gibberish.

    --
    Be Safe! Sleep with a Marine. Semper Fi!
  129. I wouln't trust anything is 'secure' unless... by NoMercy · · Score: 1

    It comes with a detailed explanation of how, and the code used inside it (throw on whatever non-replication licence you like, as long as it can be observed and comments made on it).

    Hence why I'd not vote on a machine, unless they start publishing code there's no way to tell that 1 vote in 10 is converted into a vote for bush.

  130. What they should have done Re:I'm fuzzy on somet by WolfWithoutAClause · · Score: 1
    One word: support.

    Even if they wanted to recover the password in extremis (they could charge money for the service, and customers are very likely to forget the password...), they should have encrypted it using public key encryption- where the hard-drive *does* not have the decryption key.

    Only the manufacturers would keep that in a locked safe; and would fix the harddrive for a high price, and with an agreed on process.

    --

    -WolfWithoutAClause

    "Gravity is only a theory, not a fact!"
  131. that's why... by MoFoQ · · Score: 1

    I use bestcrypt...at least then u can write your own encryption module as well as the key-generation module yourself with the SDK (SDK is free but bestCrypt isn't).

    www.jetico.com

    speaking of which, does anyone know of an open source equivalent (maybe on sourceforge or something)?

  132. WARNING: PROPER USAGE OF MD5 RANT INBOUND!!! by peawee03 · · Score: 1

    I hope you mean that the original owner is included in the set of people who can't decrypt it.

    NOTE: IF YOU MEANT THAT, OR UNDERSTOOD THE PARENT TO MEAN THAT, THEN DISREGARD THE BELOW.

    MD5 is a one-way hashing alg, designed to be as unpredictible as one can get it, with about as much chance of a collision (hash(x) == hash(y)) as I have of getting a one-night stand with, say, Paris Hilton. That means, if you know md5_hash(x), you can't find x. Ever. Even if you can find some y where md5_hash(y) == md5_hash(x), you can only speculate if x == y or not (I suppose if you had infinate monkeys at infinate TI-92's, you might eventually find out).

    Then how are your passwords encrypted via MD5? Easy. They're hashed, and the hash is stored. When you enter in your password to the computer, it hashes what you gave it. If md5_hash(what_I_typed) == my_hashed_password, then you're in.

    Now, in the above example, remember when I said what a collision was (hash(x) == hash(y))? If an attacker finds a collision with x and y, and we're trying to safeguard x, no problem (moot anyway, because there is no way to find x given md5hash(x) to begin with). However, say your password knows the value y. Also say your password is x. If md5hash(y) == md5hash(x), then the attacker logs in to your computer, because the computer assumes no collisions (which were practically impossible until recently). And what good is keeping your password safe if the attacker can log in under his own? None. And then the intruder reset your account's password to something he knows and can remember. And now has access to all your private GPG keys, etc... This is why there was all that bru-ha-ha about it earlier.

    Whew. Again, if you already knew that's how the world worked, I apologize. I honestly knew a kid who spent 2 hours trying to run "md5sum /", and when he finally got something (I don't know how, a tarball, perhaps?) he deleted everything else on his hard drive except for the sum. Yeah, I did an emergency reinstall of SuSE 8.2 that night.

    --
    I wish I could write clever and witty sigs.
  133. Security? by eventhorizon5 · · Score: 1

    This JumpDrive Secure product clearly shows how much they know about security. They claim it uses 256-bit AES encryption, but it uses XOR along with a DEcrypting authentication mechanism?! wtf? This "security" seems to have been made at the script-kiddie level. Why not just reverse the characters to encrypt it? lol

    Next they'll probably release the JumpDrive Secure II featuring their unbreakable OTP (One Time Pad) encryption system ;)

    -eventhorizon

    --
    #Secret Windows Source Code, in MS C% - if (uptime >= "24 hours") then bsod() else print "Windows License Violation!"
    1. Re:Security? by eventhorizon5 · · Score: 1

      I must have not been thinking correctly again when I wrote that. They *are* using a One Time Pad encryption method (shows how much of a genius I am at encryption methods lol). I wonder what type of key they use against it... all you need is the key, and the encryption's screwed. Hopefully all their devices don't have the same key, or that they key is "password" or something.

      -eventhorizon

      --
      #Secret Windows Source Code, in MS C% - if (uptime >= "24 hours") then bsod() else print "Windows License Violation!"
  134. SanDisk Cruzer is the same by Delita · · Score: 1
    Just for fun I went and got a 128 MB Cruzer Micro to test against my 512 MB unit. Just set the password in the new one to anything you want, and all the files from the old one can be decrypted. I'm glad I don't use the CruzerLock application that comes with it for encryption.
  135. What their website should say... by eventhorizon5 · · Score: 1

    The Remarkable Lexar JumpDrive Secure

    -Keep your data safe.
    Lexar's JumpDrive Secure offers both the durability of the JumpDrive Sport with an important plus: security. The pre-loaded security software means that your information will be subject to DMCA^H^H^H^H password-protected XOR superencryption. Lost or stolen, your data is safe. Unless they know what XOR encryption is, which they probably won't. So don't worry, it's unlikely. Trust us. They aren't as smart as we are.

    The Lexar(R) XOR Security System(TM). Patent Pending.

    Lexar. We know security.

    --
    #Secret Windows Source Code, in MS C% - if (uptime >= "24 hours") then bsod() else print "Windows License Violation!"
  136. Re: XOR......AND Encryption Method by iamatlas · · Score: 1
    XOR'ed with what? XOR is just a method of encryption, not a cypher or anything... it's the basis for the one-time-pad, the strongest encryption method next to quantum encryption.

    Ha! all that's for the paranoid tinfoil hat people. I AND my data against itself. just try hacking my server!

  137. Re:stupid response #14 (OT) by cyberchondriac · · Score: 1
    There's also a belief (which he says is obsolete and not held as seriously as it once was by many Hindus, at least those living in the western world) that the entire cosmos is periodically destroyed when a great many things get too far gone to be fixed even by global-level catastrophe, and Brama starts creation over anew.

    In which case Shiva is the big reset button. Well, as John Carmack reluctantly acknowledged a few years ago, "it's a Win32 world". Thank Vishnu for Shiva !

    Oh, and maybe Lexar should take a cue from my sig and encrypt it twice.. :-)
    (Now back to our regularly scheduled topic)

    --

    Look back up at my post, now look back down, you're on the Internet. Now look back up. I'm a signature.
  138. I own this by Anonymous Coward · · Score: 0

    can I get my money back?

  139. I have something better than ROT-13 by Skapare · · Score: 1

    I have something better than ROT-13. It's Triple-ROT-13!

    --
    now we need to go OSS in diesel cars
  140. Re:FLASH: One Time Pad CRACKED-- One WORD... by davidsyes · · Score: 1

    IneXORable

    But, worse than that one word: Their board and exec staff, probably all highly paid, just might endure board-inflicted, ineXORable pain...

    OUCH

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  141. MOD PARENT down: SPOILER by Scrameustache · · Score: 1

    the 9 billion names of God refers to an Arthur C. Clarke story in which [spoiler] this group of monks actually writes down all 9 billion names. In the story [spoilerish] a computer [SPOILER]

    Sigh. Ok, so you don't have to karma-bomb the guy to oblivion, but for the love of god don't mod these kind of things up, its not polite to spoil stories for people. Especially good ones.

    That short novelette, its a good read, don't spoil it for people for the sake of a joke.

    --

    You can't take the sky from me...

  142. oops by Anonymous Coward · · Score: 0

    so how do i attach a debugger.. because. i forgot my password. really. there's not even any data in the private sector, but it's lost space.

    1. Re:oops by Anonymous Coward · · Score: 0

      There are two issues.
      1) The security alert was against the 1.0 version. The 2.0 version does not do this.
      2) For the 1.0 version is is not going to be easy.

  143. Re:This reminds me of an "un-pickable" lock my ... by topham · · Score: 1

    My dad bought a similar lock, it was used to lock the shed for years, and we didn't discover the flaw for a whole. I needed a lock for my chain bike lock and I grabbed that one (long after it was no longer used) and quickly found out that shaking it would allow it to be unlocked.

    A few years later at college the locker next to mine had the same lock on it, I laughed when I saw it and mentioned to a friend of mine that you could just shake it to unlock it. He didn't believe me, so I reached over and shook it for a couple seconds and it popped open.

    My friend wrote a nice note and left it in the guys locker

  144. Noah's Ark by The+Cydonian · · Score: 1

    Incidentally, there's an incident similar to Noah's Flood in Vedic mythology. A Maha- pralaya occured when Hayagriva The Asura stole the Vedas from the sleeping Lord Brahma. The world was rescued only when Lord Vishnu appeared as a fish (matsya avatara) and slew the asura, thus rescuing the Vedas. (There's also a sub-plot involving a boat and protecting the Sapta Rishis, but I'm too tired to narrate that).

    1. Re:Noah's Ark by Scrameustache · · Score: 1

      there's an incident similar to Noah's Flood in Vedic mythology

      There are incidents of great floods with survivors in many mythologies. Its a common event, and makes a good story.

      --

      You can't take the sky from me...

    2. Re:Noah's Ark by The+Cydonian · · Score: 1
      Absolutely; now as I remember, there's a similar tale in (Australian) Aborgine folklore as well.

      Wasn't making any point as such, just an observation.

    3. Re:Noah's Ark by Scrameustache · · Score: 1

      there's a similar tale in (Australian) Aborgine folklore as well.

      Oh? I've never heard of that one. Surprising, Australia isn't really known for its watery qualities...

      --

      You can't take the sky from me...

  145. Some static set of bytes, probably... by Otto · · Score: 1

    Breaking it all down:

    Jumpdrive contains some form of software to perform the decryption of the encrypted data. It claims to use AES, so let's assume it does.

    The right way to do this would be to make the user have the AES key. AES keys are a bit big to carry around though, so the second right way to do this would be to store the AES key on the drive in an encrypted form itself. This is quite common and usually called the keyring.

    The keyring is encrypted with some symmetric cipher that uses a simple passphrase for decryption. DES used to be pretty common, but most people like Blowfish nowadays. Whatever, this is unimportant. What's important is the process at work:
    A. Enter passphrase.
    B. Passphrase decrypts keyring.
    C. Key from keyring decrypts data.

    This is generally considered secure enough because if the keyring is made right, then you can't usually be sure whether or not you guessed the right passphrase without actually attempting the data decryption itself. The key is a pretty random set of bits, in other words, and looking at it after decryption is usually not enough to be able to tell whether or not you sucessfully guessed the keyring's passphrase. This makes the attack computationally hard in that they still have a wide variety of keys to test.

    What these morons appear to have done is to stored the passphrase to the keyring itself on the frickin' drive, XOR'd with some constant that's in the program. The reason for this is to make it more obvious when you enter the wrong passphrase. So their program does this:
    1. Retrieves the XOR'd passphrase from disk.
    2. XOR's it with the constant, leaving the damn password in memory in *plaintext*.
    3. Compares the password to what you typed in (strcmp, probably), and spits out a "wrong password" message when it doesn't match.
    4. Does A,B,C as listed above if the password was correct.

    A slightly less dumb thing to do would have been to store a hash of the passphrase on the disk, then hashed the passphrase and compared the two hashes. This is only slightly less dumb though, because it still provides a shortcut to breaking the decryption, as you can do a dictionary attack on the hash, which is much faster than doing a dictionary attack where you must perform two actual decryptions on every possible passphrase.

    But having the passphrase in memory in plaintext is just frickin' inexcusable from a security standpoint. Having, essentially, every single little thing that you need to decrypt the thing on the disk is even worse:
    -The static XOR block is in the software, on the disk.
    -The XOR'd password is on the disk.
    -The keyring decrypted by the password is on the disk.
    -The data encrypted by the key is on the disk.

    I mean... that's just plain bad.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    1. Re:Some static set of bytes, probably... by plover · · Score: 1
      Storing the key encrypted in a keyring and unlocking it with a passphrase is more common in public key cryptography, where the key must have certain properties (and is typically generated for you by a piece of software.)

      For private key cryptography based on a block cypher, where absolutlely any set of 256 bits will serve as a valid key, it's more common to simply hash a passphrase and directly use that hashed value as the key itself. You can even use the block cypher mechanism itself as the hashing mechanism by encrypting your key as plaintext using a static well-known key, then XORing the resultant cypher blocks. The secrecy of the output is still dependent on the secrecy of the key. However, to be secure, the software must always treat the hashed key exactly as securely as it would treat the raw pass phrase itself.

      If the authors of the software felt it necessary to tell the user when they entered a wrong passphrase, then the more secure way to do that would have been to encrypt a block of fixed text when the passphrase was entered, and save that encrypted data (and not the same fixed text as the passphrase hash fixed text!) Then, when the user enters their pass phrase, it would attempt to decrypt that block to arrive at the original fixed data. Yes, it's a perfect "crib" for cryptographers (a known plaintext attack is orders of magnitude easier than an unknown plaintext attack,) but at least it doesn't immediately reveal the key -- it only confirms when you've guessed the correct one.

      --
      John
  146. Welcome to /.! ;-) by PaulBu · · Score: 1

    Reading your post is like one of those "How Many Mistakes Are In This Picture" things you see in Highlights.

    In these quarters we call 'em "Trolls" and do not really bother responding. If you ever think that "Noone would be THAT stupid!", it is a good sign for a troll...

    Otherwise, thanks for taking time to provide a great clarification to ones here who are actually curious about those things!

    Reading that old Morris & Thompson paper was great fun though! ;-)

    Regards,

    Paul B.

  147. Good call by Anonymous Coward · · Score: 0

    Indeed, creation and destruction are two sides of the same coin. Aversion against either one, strong likes and dislikes, keeps you unfree and far away from the blissful state.

    Notions like the devil are just illusions for people lost in dualistic mindstate.

    What is interesting is that all this is actually true, and can be experienced by everybody wishing to let go of bondage. Funny enough though, most people seem to WANT bondage, mistaking it for pleasure.

  148. Have a look at this one by cjsnell · · Score: 1
  149. Naught But? by geordie_loz · · Score: 0

    I think that tempting adam & eve to their destruction (and all mankind from then), requiring the death of Jesus to fix, kind of makes Naught an understatement.

  150. Interesting sidenote by Anonymous Coward · · Score: 0

    On x86, xor reg, reg is often faster than mov reg, 0.

  151. Dogbert's Tech Support by Anonymous Coward · · Score: 0

    Pointy Haired Manager: My keyboard is broken. It only types asterisks for passwords.

    Dogbert: Try changing your password to five asterisks.

    Pointy Haired Manager: I hope I can remember it.

  152. How do you know? by purduephotog · · Score: 1

    Because I'm not looking.

  153. huh? by Anonymous Coward · · Score: 0

    Ever heard of the Apocalypse? Which God do you think will be in charge of that one?