Author Topic: Unlimited password attempts on self-destructing thumb drive (Kingston)  (Read 1204 times)

Offline Yar

  • Administrator
  • Newbie
  • *****
  • Posts: 20
    • View Profile
    • Anti-Forensics
You've probably come across, seen or even own a USB thumb drive/flash drive which contains an encrypted partition. Some of these flash drives have the ability to "destroy" the data or otherwise make it inaccessible after "x" amount of failed authentication attempts.

I do not own any USB thumb drives with this ability but I had in my possession recently a Kingston Data Traveler Secure which claimed the drive would need to be reformatted after three failed login attempts. This is to prevent brute-force attacks and password guessing.

So how did I get around this?

By write protecting the USB drive (see attachments and end of post). After three failed login attempts the password prompt still gave an error that the drive was inaccessible and needed to be reformatted but simply unplugging and plugging the USB drive back in reset the counter and allowed more password attempts. I'm guessing it does all of its work in RAM and then once the 3 attempts are up it flips a single bit on the flash drive marking the partition inaccessible or maybe it actually writes over the partition. I don't know, I didn't test that as the drive was not mine and it was write protected the entire time. I may end up purchasing one of these flash drives for myself just to see how badly the encryption software can be manipulated.

The attachments are simple .reg files which modify the registry. Open the attachments in notepad to see exactly what is going on. There is a registry key which enables and disables write protect for USB devices on Windows XP which these .reg files manipulate. I believe the key exists on Vista as well.

Now obviously I can't say this works for all USB thumb drives as I've only tested this on a Kingston Data Traveler Secure. However, I bet this will work for any secure USB thumb drive that executes the "destruction" routine from on top of Windows because then it will have to abide by the write protect rule in registry. Since it is write protected, the software running from the thumb drive in RAM cannot actually write to the drive to destroy the data.
« Last Edit: March 29, 2009, 07:26:00 AM by Yar »

Anti-Forensics


Offline Trinity

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • SOGSF
That's very interesting. A brute-force script could forcibly dismount the USB drive then remount it after 2 or 3 failed attempts. That way you could speed up the process without having to remove the card. But still... the odds are stacked high against anyone breaking in. They even force the user to enter complex passwords.

Offline KenTheFurry

  • Newbie
  • *
  • Posts: 15
  • Ken Nek
    • View Profile
    • Underground
Re: Unlimited password attempts on self-destructing thumb drive (Kingston)
« Reply #2 on: February 21, 2010, 01:17:01 AM »
Or maybe a better attack on something like that would be a copy of the encrypted partition and the program could just load a section of the header to try to decrypt it...
If the header is jumbled then the password must be incorrect so move on to a different one right?
-KenTheFurry
Team Infection
http://www.underground.mn/