🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #245064

Re: Secure deletion program

#245064
From: nemo_outis
Date: Thu, 10 Feb 2011 06:53
91 lines
4896 bytes
Rooster <remailer@reece.net.au> wrote in
news:FTQ8JCQU40584.537974537@reece.net.au: 

...
>> PS  With full disk encryption you also get the benefit
>> that there's no place to insert a software keylogger, a
>> trojan, or a modified file anywhere on your system (with a
>> minor caveat re MBR and "evil maid").  No one can -
>> meaningfully - change any file on your system.
> 
> tell me more about these two caveats.


Just one caveat, really.  

For most full HD encryption products the entire disk (usually 
on a partition by partition basis) is completely encrypted.  
With one exception: a tiny stub of unencrypted boot code 
(usually on track 0, the MBR track) that starts up the 
encryption product when the BIOS first passes control to the 
HD.

That tiny remnant of unencrypted code could, in principle, be 
compromised to 'harvest' your bootup encryption password. In 
general, using this technique would require surreptitious 
access to the encrypted computer twice: once to insert a 
compromised bootup encryption software stub and a second 
access at a later time (after you have used the computer in 
the meantime) to get the encryption password that the 
corrupted bootup stub had harvested.

Rutkowska, a security researcher (and my heroine) described 
this potential attack in detail.  It is particularly likely to 
happen with a laptop you take to, say, a hotel.  The typical 
person who might have access to your unguarded laptop in your 
room twice would be a maid on each of two successive mornings, 
perhaps while you were having breakfast.  In the interval you 
would have used the laptop, thereby exposing the encryption 
password to harvesting.  Because of the hotel scenario used to 
descibe it, Rutkowska named the exploit 'evil maid'.  Of 
course, it can occur in a number of other situations as well.

The defences are fairly obvious:

1)  Physical security, continuous control & custody by trusted 
parties (e.g., always carry with you, the hotel safe, etc.) 

2)  Either hashing and confirming the integriity of your boot 
stub software before each time you use it (e.g., by first 
booting with a known-good CD/DVD/USB etc. to confirm HD MBR 
integrity and then from the HD itself), or

3)  Simply always replacing/rewriting the boot stub software 
from a tamper-resistant known-good copy (e.g., CD/DVD/USB) 
before using the laptop's HD and entering your encryption 
password (less futzing around with hashes but no explicit 
check of whether you were attacked).

4)  A BIOS boot password can help a bit especially on some of 
the locked-down corporate laptops where it's a bitch to 
change.  You could even get cute and put on a HD hardware ATA 
password (i.e., of the kind *every HD* inherently supports but 
which few know about)

Points 2 or 3 require a boot-twice protocol.

That's the basic drill but there are some alternatives and 
variants possible.  For instance, Windows makes a subtle 
distinction between the boot and the system drive.  It is 
possible to have a CD (etc.) do just the initial startup using 
GRUB or some such bootloader and then pass control over to the 
laptop HD fairly seamlessly.  A one-boot protocol (but in 
kinda, sorta two stages).

Some encryption products make special provisions for their own 
variants of bootup processes that protect against 'evil maid'.

http://theinvisiblethings.blogspot.com/2009/10/evil-maid-goes-
after-truecrypt.html

Regards,

PS  Of course, if anyone has repeated surreptitious access to 
an unguarded computer there are lots of other potential 
attacks such as *hardware* keyloggers - but not software ones 
on the full HD encryption. [Actually I do know of some, but 
they're considerably more exotic.]



Technical Details
Message-ID: <Xns9E87E8DE1BD7Epqwertyu@69.16.185.247>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.misc.mbox.zip!g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe02.iad.POSTED!00000000!not-for-mail
References: <iit70e$j18$1@news.mixmin.net> <iit7c6$k73$1@speranza.aioe.org> <Xns9E86E94A7602Bpqwertyu@69.16.185.247> <FTQ8JCQU40584.537974537@reece.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9E87E8DE1BD7Epqwertyu@69.16.185.247>
Subject: Re: Secure deletion program
Date: Thu, 10 Feb 2011 06:53:30 GMT
From: "nemo_outis" <abc@xyz.com>
References: <iit70e$j18$1@news.mixmin.net> <iit7c6$k73$1@speranza.aioe.org> <Xns9E86E94A7602Bpqwertyu@69.16.185.247> <FTQ8JCQU40584.537974537@reece.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.misc.mbox.zip!g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe02.iad.POSTED!00000000!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,comp.security.misc
User-Agent: Xnews/2006.08.24
Lines: 90
NNTP-Posting-Host: 24.108.23.214
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe02.iad 1297320810 24.108.23.214 (Thu, 10 Feb 2011 06:53:30 UTC)
NNTP-Posting-Date: Thu, 10 Feb 2011 06:53:30 UTC