On mySimon: Activision DJ Hero Bundle with Turntable
BNET Business Network:
BNET
TechRepublic
ZDNet

October 19th, 2009

'Evil Maid' USB stick attack keylogs TrueCrypt passphrases

Posted by Dancho Danchev @ 10:32 am

Categories: Anti Virus, Browsers, Complex Attacks, Data theft, Hackers, Kernel-level Exploits, Malware, Passwords, Privacy, Research, Rootkits, Spyware and Adware, Tools

Tags: USB, Laptop Computer, Attack, TrueCrypt, Mobile Proximity Alarm, Security, Hardware, Notebooks & Tablets, Dancho Danchev

Security researcher Joanna Rutkowska has released a PoC (proof of concept) of a keylogger that is capable of logging TrueCrypt’s disk encryption passphrase enabling the attacker to successfully decrypt the hard drive’s content.

Dubbed, the ‘evil maid’ attack due to its ‘plug-and-exploit’ functionality requiring 1-2 minutes for the infection process to the take place, works with the latest TrueCrypt versions 6.0a - 6.2a.

Here’s how it works, and TrueCrypt’s response:

“So, let’s assume we have a reasonably paranoid user, that uses a full disk encryption on his or her laptop, and also powers it down every time they leave it alone in a hotel room, or somewhere else. Now, this is where our Evil Maid stick comes into play. All the attacker needs to do is to sneak into the user’s hotel room and boot the laptop from the Evil Maid USB Stick. After some 1-2 minutes, the target laptop’s gets infected with Evil Maid Sniffer that will record the disk encryption passphrase when the user enters it next time. As any smart user might have guessed already, this part is ideally suited to be performed by hotel maids, or people pretending to be them.

So, after our victim gets back to the hotel room and powers up his or her laptop, the passphrase will be recorded and e.g. stored somewhere on the disk, or maybe transmitted over the network (not implemented in current version).”

TrueCrypt’s response to the so called ‘janitor attacks’ is pretty straight forward - as long as someone had physical access to your hardware you should assume the worst if truly paranoid. Moreover, according to the developer, the physical security of the hardware is not TrueCrypt’s problem, and that a good strongbox might offer a clue that the hardware has been tempered with in the absence of its owner.

Similar hardware-based attacks were among the main reasons why Symantec’s CTO Mark Bregman was recently advised by “three-letter agencies in the US Government” to use separate laptop and mobile device when traveling to China, citing potential hardware-based compromise.

And whereas strongboxes can improve the physical security of the laptop, there are many other alternatives to achieve better awareness on what is going on around your laptop while you’re away from your hotel room. Low-cost mobile proximity alarms are ubiquitous, however they will now raise an alarm in the case of ‘Evil Maid” attacks due to the fact that the laptop will get infected without moving it to another location. There are on the other hand much more pragmatic motion detection laptop alarm solutions, as well as portable wireless cameras with 3G connectivity in event of wireless signal jamming, taking snapshots, emailing and SMS-ing detected activity while you’re enjoying your drink.

Attacks similar to the full disk encryption ‘Evil Maid’ one, have been demonstrated against PGP Whole Disk Encryption (2007), and most recently against Utimaco SafeGuard Easy v4.5.x, once again emphasizing on the importance of physical security.

Dancho DanchevDancho Danchev is an independent security consultant and cyber threats analyst, with extensive experience in open source intelligence gathering, malware and cybercrime incident response. He's been an active security blogger since 2007, and maintains a popular security blog. See his full profile and disclosure of his industry affiliations.

Email Dancho Danchev

Subscribe to Zero Day via Email alerts or RSS.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

  • Talkback
  • Most Recent of 51 Talkback(s)
one more thought
Use the HD with built-in AES-256 hardware-based encryption of entire volume. It's independent of the OS, and with strong password (like one generated by PasswordSafe, 20-30 random characters) will giv... (Read the rest)
Posted by: the_fiddler_on_the_roof Posted on: 11/04/09 You are currently: a Guest | | Terms of Use
nonsense  pacman7777 | 10/19/09
Then all I'd do  Michael Kelly | 10/19/09
Huh?  pacman7777 | 10/19/09
Can't you password protect from even booting up?  kd5auq | 10/19/09
I assumed a paranoid person using encrption  GuidingLight | 10/19/09
Wrong password  rpmyers1 | 10/19/09
re: Wrong password  astro_z | 10/19/09
Nothing but physical security works  aandruli@... | 10/20/09
Hear hear! So which encryption software?  MuddyWaters | 10/21/09
Bitlocker  DaveN_MVP | 10/21/09
Which encryption software?  Naugahyde | 10/21/09
Interesting  JT82 | 10/19/09
Yes but this is what happened to me..  MuddyWaters | 10/21/09
your idea just adds a moment  Narr vi | 10/19/09
removing hard drive  pacman7777 | 10/19/09
Um, $6.95 for a set of special screwdriverheads?  wolf_z | 10/20/09
unattended critical data?  wolftalamasca | 10/21/09
POC Deveoper admits there are simple actions to prevent the problem  dblevins54 | 10/19/09
thank you  Narr vi | 10/19/09
Not quite  alex@... | 10/19/09
The posting itself, very useful  Narr vi | 10/19/09
Unfortunately most hotel safes are too small for a laptop  rsmith187 | 10/19/09
Use the hotel safe  FiOS-Dave | 10/20/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  genede | 10/19/09
I am just WAITING for a USB or E-SATA external hard drive  Lerianis10 | 10/19/09
So that way  Michael Kelly | 10/19/09
Don't forget to back up.  n.ang | 10/21/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  angelisnight2000@... | 10/19/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  mrgushi | 10/19/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  doods@... | 10/19/09
Simple. Place /boot on a USB flash drive or HDD  dayjm | 10/19/09
I Assume...  QueenMama | 10/19/09
How to prevent:  CobraA1 | 10/19/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  marccco | 10/20/09
Damn you leave a laptop in a hotel room?  Altotus | 10/20/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  solagrtia | 10/20/09
Evil Maid et al  seamountie | 10/20/09
solution  pgit | 10/20/09
Not leaving the laptop unattended has problems, too  goyta | 10/20/09
Why let this guy write? He never makes sense.  akritchie | 10/20/09
read carefully or pass the article up  cnet@... | 10/20/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  ximian | 10/20/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  conflagration2100@... | 10/20/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  MuddyWaters | 10/21/09
not a waste of time  frylock | 10/21/09
Keyloggers are just something we have to live with from now on  Breetai | 10/21/09
RE: 'Evil Maid' USB stick attack keylogs TrueCrypt passphrases  galley | 10/21/09
Couldn't it be done via E-mail?  ulrichburke@... | 10/21/09
Noobs, Run truecrypt in a VM...  Tommy S. | 10/22/09
Good luck not needed, just experience and wits  the_fiddler_on_the_roof | 11/04/09
one more thought  the_fiddler_on_the_roof | 11/04/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here