Slashdot Mirror


Encryption Cracked On NIST-Certified Flash Drives

An anonymous reader writes "USB Flash drives with hardware based AES 256-bit encryption manufactured by Kingston, SanDisk and Verbatim have reportedly been cracked by security firm SySS. These drives are advertised to meet security standards suitable for use with sensitive US Government data (unclassified, of course) as emphasized by the FIPS 140-2 Level 2 certificate issued by the US National Institute of Standards and Technology (NIST). It looks likes the Windows-based password entry program always sends the same character string to the drive after performing various crypto operations."

21 of 252 comments (clear)

  1. It's not just the algorithm by Anonymous Coward · · Score: 3, Insightful

    One weakness in the entire crypto-system can bring the whole thing down.

    1. Re:It's not just the algorithm by hey! · · Score: 5, Insightful

      Only? It's *mainly* defects in the rest of the system that tend to bring things down.

      Algorithms, once they get to the point where the experts trust them, are very seldom broken in the everything-laid-completely-bare way that faulty system design gets you. It's usually more like "could be broken with a week of supercomputing time ten years from now" or "can calculate a hash collision for certain specially constructed messages" variety of crack.

      Of course once you get to that point, you have to assume that some really bright people will find a way to generalize the fault in the algorithm. If they'd broken AES, or even found an unexpected weakness in it, that'd be *huge* news. Instead, what they've found appears to be a classic case of plain old brain damaged design.

      If the article is to be believed, the researchers found a really, really stupid flaw, the kind a non-expert like I could understand and probably exploit with not much effort. I would paraphrase this way: all these drives *effectively* have exactly the same key, but that fact is obscured by the software.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    2. Re:It's not just the algorithm by witherstaff · · Score: 2, Insightful

      If only it was just a private bank, instead of being a government mandated monopoly. Corporatism is not libertarian friendly.

  2. How does this differ from Truecrypt? by NeutronCowboy · · Score: 2, Insightful

    Can anyone explain to me why the disk manufacturers chose to reinvent the wheel, instead of using Truecrypt? As far as I know, Truecrypt encryption hasn't been broken yet.

    --
    Those who can, do. Those who can't, sue.
    1. Re:How does this differ from Truecrypt? by ragethehotey · · Score: 2, Insightful

      Assuming your last comment wasn't a rhetorical question, you already know the answer to this: Because the perceived value-add of selling an encrypted drive allows them to charge more than simply bundling TrueCrypt with a bog-standard USB drive. The public justification would be that their software is easier to use (and, if they're feeling particularly full of themselves, more secure).

      But with a minimal amount of work they could simply take the source, rename it and give it a pretty interface, and never have problems like this?

    2. Re:How does this differ from Truecrypt? by Archangel+Michael · · Score: 2, Insightful

      If what you are saying is true, that it uses the same encryption key for all devices, that would have to be by "Design", or worse, negligence. I seriously doubt that the engineers for this thing thought one key to rule them all would be acceptable, which leaves us with "Design".

      However, I'm reminded of the old addage, "Any sufficient level of incompetence is indistinguishable from malice".

      My view is that sufficient levels of incompetence should be treated exactly like malice. And in this case the company(companies?) should be held responsible on a criminal level. Criminally incompetent, or Fraud.

      Why don't we have a corporate death penalty?

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    3. Re:How does this differ from Truecrypt? by ogdenk · · Score: 2, Insightful

      I don't allow my users to have admin privs on their desktops but they all have thumb drives. That's suicide. It becomes a maintenance nightmare and I can't stand it when I go to a user's desktop and find 500 IE toolbars and 20 icons in the System Tray. Get a clue. I hope you're not a network admin.

      All my users have unprivileged accounts. Windows users are further restricted via Group Policy.

  3. Re:Truecrypt by sakdoctor · · Score: 4, Insightful

    Didn't you even read TFS?

    The moral of the story is to buy a normal flash drive and encrypt it using Truecrypt, then you are not at the whims of Kingston/SanDisk/Verbatim, keeping their closed source, windows only software patched.

  4. Article title misleading... by JazzyJ · · Score: 4, Insightful

    The encryption hasn't been cracked, it's the program that unlocks it that's been compromised.

  5. Shouldn't trust the host computer AT ALL by georgewilliamherbert · · Score: 5, Insightful

    I don't believe why any portable secure drive needs to or should trust its host computer. This is a particularly stupid implementation, with an obvious and blatant exploit. But the host computer could by definition be compromised, and could intercept or store / cache or misbehave generically with the password you enter to get in.

    Put a thumb-key sized numeric or hex keypad on the device, and make the owner punch in the code on insertion into a host device. One could still physically break into and tap the keys somehow, if the device is stolen and then returned without the owner knowing, but the user interface moves to right next to the data...

    1. Re:Shouldn't trust the host computer AT ALL by plover · · Score: 2, Insightful

      While I agree that trust belongs on the device (via a device-based keyboard), you still have to trust the host computer to not abuse the trust by copying the now-unlocked data or otherwise tampering with it. You are still at risk if you unlock the device and plug it in to a coffee shop PC.

      --
      John
  6. Re:IronKey? by Andy+Dodd · · Score: 3, Insightful

    Actually, the way I read it, these drives all do use hardware crypto... But they use the SAME DAMN KEY. Authentication is handled in software.

    Key management FAIL.

    --
    retrorocket.o not found, launch anyway?
  7. Re:Truecrypt by plover · · Score: 4, Insightful

    This problem is only that of "closed source" and not one of "Windows only". It would be equally insecure on any OS.

    --
    John
  8. Re:some data by mick232 · · Score: 4, Insightful

    The flaw clearly is in the device! The access software is irrelevant because anyone can copy or modify such software. The device must protect the data regardless whether the access software has been compromised. If the FIPS approval does not consider this, then it's nothing more than a marketing gag.

  9. Re:Insider by vlm · · Score: 2, Insightful

    1. Performance is sacrificed since your PC CPU needs to perform all security operations in software, rather than on the hardware of the flash drive.

    You're assuming your short production run / limited power / simple architecture / limited heat dissipation hardware is faster than running it in software on a commodity processor, which RAID card manufacturers have falsely been pushing for years (decades now?). Think about it, it implies a USB sized and USB powered gadget runs faster than the PC its plugged into.

    Also assumes the limiter to overall system speed is processing the data. Feeding "a couple megs" to a multicore processor running "several gigs" is not going to saturate it... The processor is going to spend most of its time doing something else.

    Not to say HW encryption isn't a good idea from a security standpoint.

    Or if, in some crazy world, the drive is attached to something that is actually lower powered than the flash drive (maybe a data logger appliance or something) then it makes sense.

    Or, if the add on device has a special ATX connector so it can suck down almost as much power as the CPU, like modern video cards, and is hyper parallelizable like a modern video card, then "doing it in dedicated HW" makes sense.

    But in general, always a bad idea to replicate what the main processor already does, but badly or more slowly.

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  10. Re:Truecrypt by plover · · Score: 2, Insightful

    Read some of the other posts then. One Linux user says that if he plugs one of these drives in and simply mounts /dev/fdd2 he has full access to the data. It doesn't matter much how you implement the software on any OS when that's the security model.

    --
    John
  11. Re:Truecrypt by space_hippy · · Score: 3, Insightful

    There should be nothing preventing you from putting a Truecrypt volume on the FIPS140-2 compliant drive. It would be similar to having a hidden truecrypt volume within another encrypted volume. So this would satisfy the 'pointy hair boss' with compliance to FIPS140-2 while keeping data secure from the 'crack' mentioned in the article.

  12. Re:some data by Alsee · · Score: 2, Insightful

    Note that they approve the module and not the access software. The flaw is in the access software.

    As a programmer and hardware geek with a passing familiarity with crypto. It is quite clear what this device is doing (and what it is not doing). In fact the design issue here is so fundamental and blatant that I hesitate to even call it a "flaw". The hardware does not actually offer any crypto security at all, none.

    The hardware is doing one of two things, although I don't have enough information to be sure which of the two.

    The less likely possibility is that all of these modules are encrypted with the exact same key. To use the standard car analogy, it's like a manufacture advertising that their cars use super-secure AES locks on their cars (and yes AES locks are insanely uncrackable locks) but they manufacture all the cars to use the same key. The software us written not to sick that key in the car unless you enter your password, but that is not a software flaw - the is hardware designed to open for anyone who sicks in that public key. It is flagrant deception to advertise these cars as being "protected by super locks". Yeah, the superlock is technically present but it is effectively unused. Anyone can stick in the blank key and drive off with your car and your data.

    The second and much more likely possibility is that each car lock really does use different random keys, but the hardware actually keeps a copy of that key mounted inside the lock, and the car merely has a button on the outside of the door to rotate that key in the lock. Again the software may be written not to press that hardware button unless you enter your password, but again it is not a software flaw. The hardware flaw is that it stores the key duct-taped to your data, and to make matters worse the hardware has a public button to automatically use that key to unlock your data for anyone. Again, the "superlock" is technically present, but again it is effectively unused.

    Either way, the hardware is designed to open for (1) anyone with a blank key or (2) anyone without any key at all.

    Tossing unused solar panels in the trunk of a car does not make it a solar powered car. That's not a "flaw", and it is completely false to advertise it as a solar powered car.

    This hardware is advertised as superduper AES data encryption, but the hardware does not actually bother to use your password to encrypt the data.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  13. Re:some data by Facegarden · · Score: 3, Insightful

    First, here's the NIST list of approved 140-1 and 140-2 modules.

    Note that they approve the module and not the access software. The flaw is in the access software. Therefore, 140-2 compliance or approval isn't proof that your data is safe. It just means that some approved form of encryption is implemented by the crypto module. It appears that the modules in question were given some form of TEMPEST examination as well, but once again, that means nothing in terms of the access software.

    Actually, the flaw is indeed in the modules. They ALL use they same unlock key. I'd say that makes them flawed. The software is not helpful - it just obscures the fact that they all use the same unlock key by asking for a unique password that it converts to the common unlock key - but as unhelpful as the software is, it isn't the issue.

    To put it another way, there is no way of fixing the software to change the fact that all of these drives can be accessed with one known key, which means its not the software that is broken, its the keys.

    Of course, it doesn't help that the software gave up that key, so that is certainly a flaw but if the modules all had different keys it wouldn't be as helpful and it certainly isn't as big as a problem as the modules all being the same!
    -Taylor

    --
    Worldwide Military budgets: $2100 billion. Worldwide Space Exploration budgets: $38 billion. Really, world? Really?
  14. Re:IronKey? by Jon+Abbott · · Score: 2, Insightful

    Thanks for posting this update. I've always had respect for IronKey and that level of respect just went up a few notches.

  15. Re:Hmm by Chili-71 · · Score: 3, Insightful

    Having spent 8 years in the Naval Security Group working with NSA and another 10 years as a defense contractor working with NSA on secure communications, I can tell you for a fact that if you don't have physical security, you don't have security. Period.