Article View: alt.privacy.anon-server
Article #227131Re: TrueCrypt USERS -- PHEAR TEH DRAMs !!!1!!
From: nemo_outis
Date: Tue, 05 Aug 2008 17:37
Date: Tue, 05 Aug 2008 17:37
82 lines
5431 bytes
5431 bytes
Anon <nobody@pseudo.borked.net> wrote in news:1ae446a64e406114b45ce991034fde6b@pseudo.borked.net: >>I don't fear it. I fear that Microsoft detects TrueCrypt running, > steals the login credentials >>and then stores them somewhere in Protected Storage so that only law > enforcement >>and security agencies can read the contents. Given the fact that > TrueCrypt is unbreakable, >I wouldn't put it beyond the NSA to ask > Microsoft for a favor. > >>If you really want to be safe, you should use TrueCrypt only running > from Linux which is >>booted off a flash-disk or CD-ROM. > > There was an article somewhere recently (I can't find it) about > Microsoft cooperating with the US government in detecting certain > things on a system. However, if you do full disk encryption, should > not this prevent any detection? It would seem that there would have to > be a hardware fix whereby all computer companies would have to include > a battery enables piece of hardware to store key, etc. > Sadly, full disk encryption is NOT enough, at least in principle. You can be compromised (again, at least in principle) by your OS or ANY other piece of software you run once you have entered your decryption key (I'll blur over the distinction between decryption password and key since it doesn't affect the explanation). Nor need there be a special place for the traitor software to stash your compromised Truecrypt (etc.) key - it can store it on your fully encrypted hard disk WHILE STILL FULLY COMPLYING WITH THE ENCRYPTION SYSTEM. I have posted on this before but I'll recap briefly: You fire up your fully encrypted system. The password (decryption key actually) is now in memory. In principle, the OS (or any other piece of software you run, including DLLs, etc.) could find that key. It could then stash it for later use (i.e., after you power down) by your adversary in a number of hidey-holes (in the HPA, as a "bad sector," in the manufacturer's "reserved area" on the HD, in several BIOSes such as the VGA, LAN card, etc.) but it doesn't have to - it can stash the key right back on your fully encrypted hard disk **without** brutally overwriting any sectors or failing to follow the encryption scheme. Here's how: Let's assume, for concreteness, that Windows is the traitor software (it makes things easier to explain) . Having harvested your Truecrypt key from memory it must now write it somewhere. Let's assume that, as is common, the Windows OS uses a pagefile. The pagefile is stored, fully encrypted, like any other file on the encrypted HD, but Windows can *still* leak the key to it using a "side channel" method. Windows does the following: When Windows writes a sector of the pagefile its key leaking process could follow (as one example of many possible alternatives) the following convention: if the bits on the 512-byte sector are an even number, a "1" has been leaked; if an odd number, a "0." Windows can easily and quickly manipulate the data in the sector so that the encrypted number it writes to a sector of the encrypted pagefile on the HD is either a 1 or a 0 as appropriate for leaking the key. If the first bit of your key is a 1, it leaks an even sector, if 0, an odd one. It then simply repeats this process for enough sequential sectors to leak your full key. Notice that the encryption scheme on your HD was never violated - Windows completely followed the Truecrypt (etc.) encryption process even while leaking your key! But, you may say, "How does the adversary know *where* on the HD Windows has stashed the leaked key?" Easy! Windows simply uses a method similar to that described above to write a sector odd/even "signature" that means, "The next xxx sectors contain the key." That signature could be the sequence "1110101000101110011001" (or any other). There will, in the worst case, only be a few sectors whose odd/even pattern match this (but usually just one) and so it's easy for the adversary to grab the key which follows (worst case, the adversary has to try a few alternatives). QED Once you grasp the concept of leaking information through side channels a million variants of this approach will spring to mind. Ain't life a bitch? Regards,
Technical Details
Message-ID:
<Xns9AF176463EEF1pqwertyu@64.59.135.159>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!64.59.134.4.MISMATCH!pd7cy3no!pd7cy4no!shaw.ca!pd7urf1no.POSTED!53ab2750!not-for-mailReferences:
<e4f14$489724b6$9023@news.teranews.com> <1ae446a64e406114b45ce991034fde6b@pseudo.borked.net>Show Full Headers
Complete Article Headers
Message-ID: <Xns9AF176463EEF1pqwertyu@64.59.135.159> Subject: Re: TrueCrypt USERS -- PHEAR TEH DRAMs !!!1!! Date: Tue, 05 Aug 2008 17:37:36 GMT From: "nemo_outis" <abc@xyz.com> References: <e4f14$489724b6$9023@news.teranews.com> <1ae446a64e406114b45ce991034fde6b@pseudo.borked.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!64.59.134.4.MISMATCH!pd7cy3no!pd7cy4no!shaw.ca!pd7urf1no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 70.72.89.161 Newsgroups: alt.privacy.anon-server,alt.privacy Organization: erewhon User-Agent: Xnews/5.04.25 Lines: 82 NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse@shaw.ca X-Trace: pd7urf1no 1217957856 64.59.135.176 (Tue, 05 Aug 2008 11:37:36 MDT) NNTP-Posting-Date: Tue, 05 Aug 2008 11:37:36 MDT