Slashdot Mirror


TrueCrypt Master Key Extraction and Volume Identification

An anonymous reader writes "The Volatility memory forensics project has developed plugins that can automatically find instances of Truecrypt within RAM dumps and extract the associated keys and parameters. Previous research in this area has focused specifically on AES keys and led to the development of tools such as aeskeyfind. The Volatility plugin takes a different approach by finding and analyzing the same data structures in memory that Truecrypt uses to manage encryption and decryption of data that is being read from and written to disk. With the creation of these plugins a wide range of investigators can now decrypt Truecrypt volumes regardless of the algorithm used (AES, Seperent, combinations of algos, etc.). Users of Truecrypt should be extra careful of physical security of their systems to prevent investigators from gaining access to the contents of physical memory."

222 comments

  1. So does this mean the TrueCrypt hijacking business by Anonymous Coward · · Score: 0

    is over?

  2. Burn after reading? by bazmail · · Score: 3, Insightful

    Don't people burn memory blocks any more? This is sensitive data handling 101.

    1. Re:Burn after reading? by Anonymous Coward · · Score: 0

      What is the easiest way to 'burn memory blocks' on a Windows machine? Is it something you could do at a moment's notice?

    2. Re:Burn after reading? by DigitAl56K · · Score: 5, Insightful

      TrueCrypt has to keep the keys somewhere so long as a volume is mounted. Whatever happens, so long as it's not currently on the CPU (and potentially even if it is), something that can read its data structures is always going to be able to find the keys in RAM if the structure is known. Maybe if TrueCrypt has some crazy polymorphic engine and corresponding polymorphic data structure that changed on every run it could get very difficult, but probably not impossible, to extract them.

    3. Re:Burn after reading? by MidSpeck · · Score: 2

      Don't people burn memory blocks any more? This is sensitive data handling 101.

      I knew I should have moved to the rim of that active volcano.

    4. Re:Burn after reading? by Anonymous Coward · · Score: 0, Interesting

      What is the easiest way to 'burn memory blocks' on a Windows machine? Is it something you could do at a moment's notice?

      The only thing Windows knows how to do in a moment's notice is crash, which of course brings up the question of memory dump files for those who happened to be running TrueCrypt at the moment of BSOD impact...

    5. Re:Burn after reading? by avltree · · Score: 1

      This would make it much more difficult, but even the current polymorphic version could be reverse engineered and then the key then extracted.

    6. Re:Burn after reading? by Anonymous Coward · · Score: 5, Informative

      Also, you have to ask how much worth would that would be.

      If they have your RAM dump the securiy has been already lost.

    7. Re:Burn after reading? by Penguinisto · · Score: 2, Interesting

      While not perfect, such activity can be mitigated. TruCrypt can be written to automatically unmount the 'drive' as the computer goes to sleep/hibernate/etc, and could even be written to plop the keys into a random section of RAM each time it re-connects. Hell, you could even rig an option to unmount the drive when the screensaver comes on.

      That would only leave the ability to access it when the computer is active - but then it's pretty much game-over in that situation anyway.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    8. Re:Burn after reading? by avltree · · Score: 5, Interesting

      "While not perfect, such activity can be mitigated. TruCrypt can be written to automatically unmount the 'drive' as the computer goes to sleep/hibernate/etc' for FDE, it does dismount and scrub the key during hibernation. Sleep is different though and RAM is not cleared during it. "and could even be written to plop the keys into a random section of RAM each time it re-connects." This doesn't really change anything. TC must still be able to find the key and the current drive version could be extracted from memory and reverse negineering to determine where the key currently is.

    9. Re:Burn after reading? by mrchaotica · · Score: 5, Informative

      Not if it throws away the key and prompts you to re-enter it every time it wakes back up.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    10. Re:Burn after reading? by MightyMartian · · Score: 3, Interesting

      So ultimately, if you want to keep your data secure, you need to shut down your laptop at least several minutes before it could be potentially seized. I remember last year reading a piece about how even volatile RAM, if kept very cool, could be read with some fidelity even after a computer had been shut down, but these seem like lab conditions. I think we're along way from declaring disk encryption "crackable", providing appropriate measures are taken.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    11. Re:Burn after reading? by Anonymous Coward · · Score: 4, Insightful

      Upon unmount, TC should write (and overwrite) lots of random junk to the ram it was using to store keys so you don't have to worry about stale ram recovery techniques.

    12. Re:Burn after reading? by Somebody+Is+Using+My · · Score: 4, Informative

      Actually, TrueCrypt already has most of those features so they don't need to be written in

      TrueCrypt 7.1a for Windows has the following options:

      AutoDismount If:
      - User Logs Off
      - Screensaver Is Activated
      - Entering Power Saver Mode*
      - Dismount if no data has been read/written in (xx) minutes

      I haven't tested ALL of them but I know the screensaver one works. Features may differ depending on platform.

      * with a warning that the Windows OS may not properly alert applications that it is shutting down due to low battery power so this feature is not entirely dependable; this seems more a limitation of the OS than the application

      And according to the Truecrypt website: "As Microsoft does not provide any appropriate API for handling hibernation and shutdown, master keys used for system encryption cannot be reliably (and are not) erased from RAM when the computer hibernates, is shut down or restarted."

    13. Re:Burn after reading? by master5o1 · · Score: 1

      Clearly crashing and dumping is a feature in Windows to appease the NSA.

      --
      signature is pants
    14. Re:Burn after reading? by avltree · · Score: 1

      How would this change anything?

    15. Re:Burn after reading? by NemosomeN · · Score: 4, Informative

      The risk is limited to only when you are sitting at your computer. As soon as you lock your computer, the key is purged from ram.

      --
      I hate grammar Nazi's.
    16. Re:Burn after reading? by avltree · · Score: 1

      ahhh I think we were confusing terms. that makes sense

    17. Re:Burn after reading? by E-Rock · · Score: 2

      At least for hibernation, using BitLocker on the system drive will make sure the hiberfil.sys (and I guess the paging file as well) is on an encrypted volume that can't just be copied and analyzed later.

    18. Re:Burn after reading? by Anonymous Coward · · Score: 0

      which of course brings up the question of memory dump files for those who happened to be running TrueCrypt at the moment of BSOD impact...

      So Windows crashed and produced a memory dump on... the FDE drive.

      Sorry, not seeing the danger of a crash. Of accessing the memory and performing one of those things that allow them to figure out what was on the stick prior to power loss, sure. But from a crash? Nope.

    19. Re:Burn after reading? by VortexCortex · · Score: 2

      Ideally, you'd just use an OS that's secure against arbitrary programs reading out all of your RAM contents. Unforutnately Windows is not such a beast, and GNU/Linux has RAM sims mounted as a gods damned file. Unfortunately none of the mainstream OSs were designed to be secure.

      Unlike my "hobby" OS, yours do not have zero exploitable bugs, and do not employ rigorous unit tests, input fuzzing of all functions, and code coverage of every single instruction. Your OS's built in character or block device interfaces do not have simple whole-device encryption wrappers as standard -- In fact the device interfaces aren't even pluggable, ugh. Your ridiculous monolithic kernels do not use an Agent Oriented Exokernel approach to enforce compartmentalization or utilize spare privilege ring levels for efficient RAM page transfer and RPC between processes (overseen by an IPC_Agent -- Which may be replaced/wrapped in an EncryptionAgent for secure IPC). While in "standby" mode your device encryption keys are not zeroed -- And may even be "frozen" to disk during hibernation (and due to the nature of SSDs and HDDs, could forever pollute your disk with the key). You have no OS SecurityAgent to interface with UserAgent's (in)activity, so your whole device encryption does not rekey when it asks for your password at the login prompt. Your Apple, BSD, Linux (Gnome/KDE) and Windows security screen I can bypass simply by crashing them back to the desktop with a ridiculously cheap firewire device -- which doubles as as RAM dumper anyway, so you're hosed even if the security screen doesn't crash you out. No, your OS probably has USB device mounting enabled by default without requiring admin privileges so when the feds or crooks bust in and plug in their HID compliant "mouse jiggler" device, unscrew your power outlet, plug in a battery and snip the wires, they can haul off your computer away and access it at their leisure without ever getting the "enter password" prompt from your silly screen saver. Your system won't wipe its RAM or keep the encryption key encrypted via the unique OS install key, and spread across multiple RAM SIMs.

      No, since your whole device encryption is not backed by your non-security focused OS (which must be the ultimate arbiter of security in any sane application), then you are utterly fucked -- Not that you have to be fucked, mind you, just that you're noobs is all, and that's what noobs get.

    20. Re:Burn after reading? by Tool+Man · · Score: 1

      The thing with hibernate is that it's capturing an image of memory, and storing on your disk. Handy when you want to wake up from really-powered-off, but also handy for anyone who wants to do a forensic analysis of everything in memory when it went to sleep. Ditto iPhone backups too IIRC, which is why (a) I don't use hibernate, and use sleep unless I'm expecting something invasive like going through US Customs where they apparently have free reign over your constitutional rights, and (b), iPhone backups are set to use encryption.

      Powered off with no image written to disk is a good combination.

    21. Re:Burn after reading? by LordLimecat · · Score: 1

      THats called hibernate.

    22. Re:Burn after reading? by LordLimecat · · Score: 1

      Autodismount is not, of course, applicable to FDE.

    23. Re:Burn after reading? by Hal_Porter · · Score: 3, Funny

      It's that Southern Cypherpunk series of books about a hacker/waitress, Mary Sue Stackdump.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    24. Re:Burn after reading? by AmiMoJo · · Score: 2

      You can defend against such attacks with some work. First make sure that the BIOS is locked with a password and set to do a full memory test a boot. That way even if they grab the machine and hit the reset button to boot their malware CD/flash drive the BIOS will first erase the entire contents of RAM and they won't be able to stop it (make sure your BIOS doesn't allow the test to be cancelled). The password makes booting from CD/USB impossible without forcing you to reveal it either

      Unfortunately they may be able to reset the BIOS with the Clear CMOS jumper. Ideally you want the BIOS to default to the full memory test, and most don't clear the password when you use this jumper. You can download BIOS modification tools to make the full memory test the default.

      To prevent the RAM being removed and placed in another machine for reading just glue it in, or buy a laptop with it soldered to the mobo.

      To prevent PCIe attacks destroy all your PCIe slots, including the PC Card one on your laptop. Thunderbolt ports are obviously totally insecure. Firewire is also vulnerable.

      Hard work but chances are 99% of attackers would be unable to recover your keys from RAM if you made a real effort to build a secure machine.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    25. Re:Burn after reading? by Anonymous Coward · · Score: 0

      > even volatile RAM, if kept very cool, could be read with some fidelity even after a computer had been shut down

      Perhaps have a GRUB multi-boot with default to memtest?

    26. Re:Burn after reading? by TangoMargarine · · Score: 2

      Well, you can set Windows 7 to wipe your RAM on shutdown, at least. It takes a good minute or two for 2 GB of RAM.

      Although if you're really serious about running TrueCrypt on Windows, you should have virtual RAM disabled, too. And never hibernate. And have hidden volumes. And and and...

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    27. Re:Burn after reading? by Zero__Kelvin · · Score: 1

      No. It is not called hibernate when a system goes in and out of screensaver mode. It doesn't matter what happens in the background. Unless the Sleep State changes to S4 it isn't hibernation.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    28. Re:Burn after reading? by LordLimecat · · Score: 1

      If youre throwing away the key to an FDE'd drive, you must shut the system down to hibernate. FDE means the OS itself cannot be read from disk without the key; if you throw the key away, youre going to have a rather hard time interacting with your OS.

      Perhaps thats possible to do, but AFAIK truecrypt does not dismount FDE'd drives or throw the key away unless you hibernate for that very reason.

    29. Re:Burn after reading? by Zero__Kelvin · · Score: 1

      Ignoring your ridiculous use of the non term "Full Disk Encryptioned" (by which you really mean OS Encryption, since I can fully encrypt my entire disk if it is not my root partition), you suddenly threw full disk into the mix. Nobody was talking about that in this thread prior to your behaving as if everyone was.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    30. Re:Burn after reading? by Anonymous Coward · · Score: 0

      ?!? Hiberfile.sys should be written back encrypted. You get asked for the new key at bootup by truecrypt's own loader which only then hands off to the Windows loader. Yes, there's another copy of the key in the encrypted hiberfile.sys, and yes that is the copy that will survive.

    31. Re:Burn after reading? by Anonymous Coward · · Score: 0

      And does Chrome run on your super ridiculously secure hobby OS?

    32. Re:Burn after reading? by Anonymous Coward · · Score: 0

      You never seen a Linux core dump before?

      (Hi 1990s!)

    33. Re:Burn after reading? by NemosomeN · · Score: 1

      There's nothing "magic" about hibernate. When your system boots up, the OS initializes whatever it needs to the get to a state in which it can boot, then checks to see if their is a hibernation file. If there is, it will load it into RAM, and do whatever it needs to bring the system into an operational state. If not, the OS will continue the boot process. Regardless, decryption of your disk occurs long before the system has even checked for the existence of a hibernation file, let alone needed to start using its contents.

      --
      I hate grammar Nazi's.
  3. at least this is old fashioned forensics work... by Midnight_Falcon · · Score: 3, Interesting

    Way too tedious (and requiring physical possession of the hardware after encryption passwords/etc have been entered!) for the modern NSA -- they'll just install keylogging hardware that communicates over radio frequencies and not the internet if they need your encryption key. Then, your hacked ethernet/bluetooth port will also send them image of your drive over RF or some other discreet channel. Who needs this!?!

  4. Still working as intended by MidSpeck · · Score: 2

    While good to know these types of attacks exist, TrueCrypt's security model is still holding strong. http://www.truecrypt.org/docs/security-model

    1. Re:Still working as intended by al0ha · · Score: 5, Interesting

      I wouldn't be claiming this until the audit is completed.

      http://istruecryptauditedyet.com/

      --
      Did you ever wake up in the morning, with a Zombie Woof behind your eyes? -- FZ
    2. Re:Still working as intended by Jane+Q.+Public · · Score: 2

      "I wouldn't be claiming this until the audit is completed."

      Why not? Nobody else has cracked it, so unless and until the audit is completed, it is indeed "holding strong".

    3. Re:Still working as intended by al0ha · · Score: 3, Informative

      Sorry bad logic. Nobody has any idea of Truecrypt's integrity as the entire project has never been peer reviewed and nobody knows all of the persons who contribute to it, so until proven it can't be and hasn't already been compromised, nobody can be confident of its security.

      Nobody has claimed to have compromised Truecrypt, that is true, but as we know the NSA and other spook orgs would never admit it if they have and for all we know one of the anonymous developers works for a spook org.

      --
      Did you ever wake up in the morning, with a Zombie Woof behind your eyes? -- FZ
    4. Re:Still working as intended by Jane+Q.+Public · · Score: 1

      It's not bad logic.

      Compare it to a new design for a physical safe. It's claimed to be too strong to crack. Now, it may be that eventually somebody will find a weakness, but until they do, the safe is still holding strong.

      There's nothing at all wrong with that. It's just a matter of what assumptions you make about what the phrase means.

      It's true that the NSA might have cracked it, but it's pointless to argue about that because it's likely that nobody else will ever know... unless of course the audits find something. But the point is: so far they haven't.

    5. Re:Still working as intended by Anonymous Coward · · Score: 0

      Compare it to a new design for a physical safe.

      A physical safe which you have no knowledge of how it was constructed or what it's constructed of. It may just be cardboard and Scotch tape, but nobody's checked yet. That doesn't count as "holding strong."

    6. Re:Still working as intended by Hal_Porter · · Score: 3, Interesting

      Suppose I find a vulnerability in some software. I've got two choices

      1) Make it public and at best get a mention on slashdot when it is fixed.

      2) Sell the details to either the NSA/GCHQ etc or to criminal types. In which case no mention on slashdot, but cash up front.

      See the problem with security - any security - is that revealing vulnerabilities to the project so they can be fixed is likely to be much less lucrative than selling them other people who want to exploit them.

      If I were cynical here's what I'd do

      1) I'd sell details of the exploit to whoever paid the most (Russian Mafia/NSA etc) using an untraceable identity. At this point the vulnerability starts to be exploited by them.

      2) I then wait until other security researchers notice this or look like they're about to figure it out. However before they can figure it out completely I report it to the vendor with my normal identity. E.g. Microsoft and Google for example pay cash, so I'd get that.

      3) Then even later I'd then announce it publicly at Black Hat and say the vendor hadn't fixed it quickly enough so I've decided to go public. For an open source project (e.g. TrueCrypt) I'd submit a patch and say "Look, I fixed this before anyone knew about it") and make the Black Hat talk about that. So I skip the vendor report stage completely because they won't pay me. However I'd keep stage 1 i.e. "flog it on the open market to the mafia", because that's where the money is.

      This - call it Irresponsible Disclosure - optimizes my income - I get it from the criminal types and the vendor if they pay it. It also optimizes my publicity.

      Of course the downside is that if the NSA/FBI etc think you're doing this they'll seize your laptop when you go through customs

      http://yro.slashdot.org/story/10/11/20/0332243/whitehat-hacker-moxie-marlinspikes-laptop-cellphones-seized

      Then again, that's no bad thing for publicity too - tech sites will cover it as "Fascist government harassing well meaning security researchers". And of course if you get detained for a few hours just use it as an opportunity to negotiate a deal with them to sell the exploits to them exclusively. The government has loads of cash and may well use it to buy up your worthless one man company in return for you agreeing to sell to them exclusively in future.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    7. Re:Still working as intended by TangoMargarine · · Score: 1

      Nobody else has cracked it and publicly admitted it

      FTFY. Obviously if the NSA did so, there is no way in hell they would tell anybody.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    8. Re:Still working as intended by Anonymous Coward · · Score: 0

      Sorry bad logic. Nobody has any idea of Truecrypt's integrity as the entire project has never been peer reviewed and nobody knows all of the persons who contribute to it, so until proven it can't be and hasn't already been compromised, nobody can be confident of its security.

      Nobody has claimed to have compromised Truecrypt, that is true, but as we know the NSA and other spook orgs would never admit it if they have and for all we know one of the anonymous developers works for a spook org.

      But a refusal to admit such a capability is a weakness for them as well, if they ever discover something via their super secret method they have to plausibly invent another method that could have provided the data. This is less trivial than it sounds. As a working example, look to what lengths England had to go during WW2 to warn the US about the potential Mexican attack in order to not reveal their capabilities at Bletchley Park.

      Effectively, having this ability and having to absolutely keep it a secret under all circumstances means that even very few people at the NSA would even know that the NSA could do this. You can mass deploy a secret of this level without creating a leak, because the manpower becomes too involved.

    9. Re:Still working as intended by Jane+Q.+Public · · Score: 1

      A physical safe which you have no knowledge of how it was constructed or what it's constructed of. It may just be cardboard and Scotch tape, but nobody's checked yet. That doesn't count as "holding strong."

      No, because people HAVE tried to crack it, and as best we know so far have been unable. So yes, it's "holding strong".

  5. What would be sweet... by DigitAl56K · · Score: 5, Insightful

    Given that we're in an era of low-cost portable devices (Raspberry-Pi, BeagleBoard, etc.), it would be really nice if TrueCrypt could implement a driver that passed data off to an external, open-source device for processing that held the keys in its own memory, and provided no other service than to perform the cryptographic functions and hand back the data. It would be slower, but at least then you don't have the keys in memory on a general purpose computer running browsers, java, flash, adobe reader, etc. etc.

    Take one of those devices and attach a small screen to them and you could enter your passphrase using a keyboard attached directly to them, and use a keyfile on a flash stick plugged into the USB port too. The distro powering all of this could be minimal and audited.

    1. Re:What would be sweet... by Anonymous Coward · · Score: 2, Funny

      And dont forget to put the RPI inside a Faradey Cage....

    2. Re:What would be sweet... by Anonymous Coward · · Score: 0

      A Raspberry Pi is not a general purpose computer?

    3. Re:What would be sweet... by DigitAl56K · · Score: 3, Insightful

      There's already a market for Pi cases, I don't see why not..

    4. Re:What would be sweet... by Anonymous Coward · · Score: 1

      Perhaps not the ideal terminology, but obviously what was implied is that you have a desktop machine that's likely running all kinds of non-audited, high-risk applications that could be exploited, and you have a Pi that is running an audited, single-purpose OS with minimal attack vectors that should provide heightened security to your keys.

    5. Re:What would be sweet... by jonwil · · Score: 4, Interesting

      An even better idea would be to eliminate software from the equation completly.

      Have a hardware device that contains the keys in secure storage that's on the same die as a fast hardware AES implementation (so they cant be read out by someone with full physical hardware access). Or alternately have the keys on some sort of removable storage that plugs directly into the specialized hardware (so as not to expose the keys to the host machine). The hardware would sit between the disk controller and the secure drive and basically MITM all data flowing in either direction and encrypt it as it went to the drive/decrypt it as it came from the drive).

      Done properly it would prevent a lot of attacks including the attack described in TFA.

    6. Re:What would be sweet... by Anonymous Coward · · Score: 1

      Sounds great. Where's the guarantee of no NSA backdoor ?

    7. Re:What would be sweet... by Threni · · Score: 1

      CPU with its own memory,eh? Hmmm.
      http://www.bunniestudios.com/blog/?p=3554

    8. Re:What would be sweet... by AC-x · · Score: 1

      Why not just use the RPi etc. as an encrypted NAS?

    9. Re:What would be sweet... by DigitAl56K · · Score: 1

      Sure, assuming you want to share your mounted volumes, you don't mind your decrypted files traveling over the network via whatever protocol your desktop OS is compatible with and its associated security model, and it handled all the underlying file systems you wanted to mount volumes on, and all the code to support mounting all those base file systems was trusted and fully audited too, and the act of running a samba server or something and all of the auth code that might go along with supporting the stack etc. didn't concern you, and you didn't care if the volumes it was mounting from might contain exploits against the Pi, etc.

      The more you support, the harder it is to audit, the harder it is to secure, the easier it gets to exploit.

    10. Re:What would be sweet... by Anonymous Coward · · Score: 1

      You don't even need an NSA backdoor -- if it's all in hardware, all someone has to do is have the hardware. If they're close enough to dump the memory (assuming it's not hidden malware aimed at this purpose) then they're close enough to get you to hand over the "secure" hardware. The problem with hardware is that it is physical, can't be destroyed as easily, and can't easily be sent through a second channel.

      However, having a hardware dongle that acts like an authentication token would be useful -- like TrueCrypt + Yubikey for example. Modifying TrueCrypt to hand over part of the calculations to the yubikey would be a requirement however, and a keylogger would still gather useful information (as yubikey pretends to be a USB keyboard).

    11. Re:What would be sweet... by DigitAl56K · · Score: 1

      Sounds great. Where's the guarantee of no NSA backdoor ?

      Not only that, but what if I don't want AES? What if I want one of the other algorithms, or a chain? What about different modes of operation, like XTS, that are added over time? How do I test this hardware implementation does what it says it does?

      I can look at the code for the pi easily. Firmware for a hardware device, if anyone even gets access to it?

    12. Re:What would be sweet... by pcwhalen · · Score: 1

      It seems they have the key to all the locks as soon as the lock gets built.

      http://www.spiegel.de/international/world/catalog-reveals-nsa-has-back-doors-for-numerous-devices-a-940994.html

      I think nothing is safe. Unless you're in a Faraday cage with a computer plugged into a UPS running a virtualized OS and ...

      Fuck it. The NSA can have my data. Jack booted pricks.

      --
      Pay no attention to the man behind the curtain with all your metadata.
    13. Re:What would be sweet... by DigitAl56K · · Score: 1

      To add to this, I explicitly *do not want* the device holding my keys attached to/addressable via the network. NAS is out.

    14. Re:What would be sweet... by Anonymous Coward · · Score: 0

      You mean something similar to the support that TrueCrypt has for security tokens? Or do you mean exactly like the support that TrueCrypt has for security tokens?

    15. Re:What would be sweet... by jinchoung · · Score: 1

      manufactured in the soviet union?

    16. Re:What would be sweet... by EETech1 · · Score: 1

      The key is something used constantly, can't it be kept in on die L1 or L2 cache? If it ever had to pass through RAM on the way from the HDD, just overwrite the area in RAM a few times, and leave it on the die for the whole time the computer is running.

      I''d venture to guess that keeping the key in the on CPU cache makes it an order of magnitude harder to get than keeping it in RAM.

    17. Re:What would be sweet... by Anonymous Coward · · Score: 0

      TrueCrypt can load keyfile data off a security token. It then has the key in RAM. It also does all encryption and decryption in RAM. Tokens are in no way a solution to this problem as currently implemented.

    18. Re:What would be sweet... by Anonymous Coward · · Score: 0

      An even better idea would be to eliminate software from the equation completly.

      Have a hardware device that contains the keys in secure storage that's on the same die as a fast hardware AES implementation (so they cant be read out by someone with full physical hardware access). Or alternately have the keys on some sort of removable storage that plugs directly into the specialized hardware (so as not to expose the keys to the host machine). The hardware would sit between the disk controller and the secure drive and basically MITM all data flowing in either direction and encrypt it as it went to the drive/decrypt it as it came from the drive).

      Done properly it would prevent a lot of attacks including the attack described in TFA.

      Yah... like TPM?
      http://www.truecrypt.org/faq#tpm

      I just read TrueCrypt's rationale for not using TPM in their FAQ, and I have to agree with them pretty much. With less access than required to get the keys while in memory, you can just read the contents of the disk while it's online.

      Presumably this would all be part of a very targeted attack because otherwise there's not much reason to make off with TrueCrypt keys. In this case the attacker would be better off analyzing the mounted volumes for pertinent information and siphoning what's needed, the keys would just be a cherry on top for when the equipment could be seized.

      The point of full data encryption is to protect data while offline/outside the trusted system.
      Ultimately, you have to trust the system at runtime to enforce access controls, and if you're scrapping RAM.... erm...

    19. Re:What would be sweet... by ArtForz · · Score: 1

      Isn't that basically what the TRESOR proof-of-concept did?

    20. Re:What would be sweet... by nateman1352 · · Score: 1

      All the newer Intel SSDs have that exact feature. Built in hardware based encryption with the keys stored in the SSD's controller. The keys are completely inaccessible to the PC's CPU.

      Combine that with a HDD password (the ATA/IDE password command that has been around since forever.) And this type of attack is pretty much impossible. The user has to input the HDD password through the BIOS before the disk becomes accessible (the SSD stores the password in its internal memory and won't allow read/write operations until the password is provided). You would need to get the user's disk password somehow.

      My employer exclusively uses Intel SSD's for our corporate laptops for this reason.

    21. Re:What would be sweet... by Anonymous Coward · · Score: 0

      Trezor.

    22. Re:What would be sweet... by Anonymous Coward · · Score: 0

      You can audit software. Auditing hardware is much, much harder.

    23. Re:What would be sweet... by Prune · · Score: 1

      The other issue to address is physical security. However, there have been cheap ICs for years that store a key and securely wipe it nearly instantaneously if signaled on a given pin--this allows you to hook it up to physical interlocks on a computer case, alarm system, remote control, or whatever (or OR-gate a few of those). Due to low power draw, these could easily run off a battery, preventing the security being defeated by the attacker shutting off power.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    24. Re:What would be sweet... by tlhIngan · · Score: 1

      Have a hardware device that contains the keys in secure storage that's on the same die as a fast hardware AES implementation (so they cant be read out by someone with full physical hardware access). Or alternately have the keys on some sort of removable storage that plugs directly into the specialized hardware (so as not to expose the keys to the host machine). The hardware would sit between the disk controller and the secure drive and basically MITM all data flowing in either direction and encrypt it as it went to the drive/decrypt it as it came from the drive).

      Actually, such devices already exist - a modern SoC with encryption accelerator almost always has this function.

      It usually consists of three parts - first, a fuse-based OTP memory containing a public signing key used to verify the first stage bootloader, second, a secure key-cache (that is either preloaded again from OTP, the hardware RNG, or secure storage) and the hardware accelerator.

      The OTP keys can be loaded into the key cache with a simple software setting, basically you tell hardware to transfer the OTP key to the key cache. The key cache can be used by software for encryption/decryption keys but is not accessible by software - the key cache is referenced by index (i.e., encrypt data using key 1, decrypt using key 2, etc). It's also possible to preload the key cache using the hardware RNG (again, the hardware does it automatically while the software doesn't have access).

      Or, the key can come from software itself - usually the initial bootloader is signed by the OEM, who programs the public key into the OTP. the bootloader contains within it the public key of the next bootloader in the chain (the entire bootloader and key are signed, so you can't change it), etc. etc. etc.

      How do I know? I actually worked with such hardware and worked with the ROM code to deal with signatures.

    25. Re:What would be sweet... by AC-x · · Score: 1

      Will a Raspberry Pi running a minimal Debian (or other Linux) installation on an air-gapped network (it can even be just the Pi plugged directly into the host via a crossover cable) using an encrypted tunnel like SSH really be any less secure than a running a custom decryption service over some kind of custom USB bridge? (I assume you were thinking this, otherwise it's back to being networked anyway)

      If your host PC is compromised than nothing is going to stop it requesting decrypted data from the Pi anyway.

    26. Re:What would be sweet... by AmiMoJo · · Score: 1

      Some SSDs are supposed to do this, but unfortunately they all seem to be either flawed or not explaining how it works. Hitachi and Seagate used to make hard drives that implemented it too.

      Basically the drive uses AES to encrypt all data. You enter your password via the BIOS and it is passed with an ATA command. Not ideal because key handling isn't really secure and you can't verify the AES implementation, but it shows that at least in theory it could be done if manufacturers could figure out security.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    27. Re:What would be sweet... by Anonymous Coward · · Score: 0

      This needs gigabit connection speeds. Do you use ethernet or USB? One requires extra connection hardware (either a switch or an extra port in your PC), the other is hard to find in devices costing less than a home NAS.

  6. Well shit by Anonymous Coward · · Score: 0

    I guess this means no hibernating any more.

    Now I'll have so much extra time every winter!

    1. Re:Well shit by avltree · · Score: 2

      hibernating is okay if you use full disk encryption as the hiberfil.sys will be within the encrypted filesystem.

  7. DMA attack by Anonymous Coward · · Score: 0

    This seems like the almost classical DMA attack, which I was first acquainted with on Apple G4 PowerBooks via FireWire. My ExpressCard-equipped laptop is probably vulnerable as all PCIe devices get full DMA access by their nature, unless I disable the whole slot from the BIOS.

    Fun times. But nothing /really/ new, or is it?

    1. Re:DMA attack by avltree · · Score: 2

      The DMA part is not new, but several other aspects are: 1) Other tools only find AES keys, the new plugins find any algo that truecrypt uses as it inspects the truecrypt data structures in memory to find the values instead of scanning memory hoping to find a key 2) Volatility shows you files that were being accessed (along with their full path) inside the TC mount 3) All of it is automated for Windows XP through 8 and the server versions

  8. Re:Memory dump lol by avltree · · Score: 3, Informative

    Nothing that you mentioned would prevent someone from taking a memory dump of your machine.... With firewire, pci slots, or other DMA-capable hardware slots, memory can be captured with physical access and no user credentials required. With (root) user credentials, memory can be captured through projects such as LiME that are kernel modules that dump physical memory to disk or over the network.

  9. Re:Memory dump lol by Desler · · Score: 5, Funny

    A billion people not in your parents' basement?

  10. Re:Memory dump lol by Anonymous Coward · · Score: 1

    Or you could just read the ecryptfs key from memory just like this does, the "vulnerability" here is that the software needs to actually have the key someplace in order to do the encrypting and decrypting, which is kind of hard to get around. OS makes no difference.

  11. Re:Memory dump lol by AndroSyn · · Score: 1

    Well a few points...

    Well, you can use swap partitions, if they're encrypted. There are other ways to get a memory dump as well, you know. There are various nefarious ways to do this, if you are clever ;)

    But what makes you think that if an attacker were able to get a memory dump of your system somehow(perhaps via firewire as an example), that ecryptfs on Linux would fare any better than TrueCrypt with regards to extracting the key from said memory dump.

    The choice of operating system isn't really relevant here...

  12. Why is physical access needed? by timeOday · · Score: 1

    The summary implies physical access is needed. But if they have remote (root) readout they could still get a ram dump and go at it, couldn't they?

    1. Re:Why is physical access needed? by avltree · · Score: 1

      yes, but the idea is to grab the key in order to get around disk encryption. I guess you could remotely compromise the machine, grab the key, and then later get the disk image.

    2. Re:Why is physical access needed? by Anonymous Coward · · Score: 0

      If the sstem is running, volume is mounted, and they have root access, they can just read the files right off the disk. They don't need to struggle to find keys decrypt the file data, since TrueCrypt will do it for them.

  13. Core dump scrubber? by Anonymous Coward · · Score: 0

    Is there a tool that automatically removes sensitive information (like encryption keys) from core dumps?

    1. Re:Core dump scrubber? by Anonymous Coward · · Score: 0

      Is there a tool that automatically removes sensitive information (like encryption keys) from core dumps?

      No, prolly 'cuz the tool'd have to retain identifiers for what's "sensitive," so you'd need another thingamajigger to wipe the tool (or its data). Just use one o' them file-scrubber McDealies.

      I use Eraser 5.something (before the guy from .ie fucked the UI and reliability up a bit) with 1-pass CSPRN w/ cluster-times & filenames on files, and the the same (minus cluster-tips) scheduled nightly for free space (doing cluster-tips on whole disk takes a long time and drives up drive temp). In regards to Eraser and the like, remember that rhyme Public Enemy spit: "Get up, get, get, get down. 35-pass is a joke in yo' town." Pete .nz Guttman himself agrees it's a joke in yo' town; it was a list that was never meant to me used in full, serial-style.

  14. In other words by msobkow · · Score: 4, Insightful

    Shut your machine OFF before you get to the border; don't put it to sleep.

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:In other words by Chris+Mattern · · Score: 1

      Shut your machine OFF before you get to the border; don't put it to sleep.

      And when the spooks turn it back on, the key gets copied into RAM again because that's part of the bootup process, and necessary if the system is to read the disk and finish booting.

      In the end, it's difficult to secure something when you're handing them both the lock and the key, no matter how cunningly you've wrapped up the key.

    2. Re:In other words by Anonymous Coward · · Score: 0

      You'll need to turn that machine off well before approaching the border. Cold temperatures can also affect how long RAM can be physically scraped.

    3. Re:In other words by Nimey · · Score: 2

      Only if they have probable cause to compel you to supply the password. Have you ever used Truecrypt in disk mode? You have to enter the volume password first thing after the BIOS.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    4. Re:In other words by luther349 · · Score: 1

      yea this has no effect in disk mode but for folder encryption etc its now broken.

    5. Re:In other words by Anonymous Coward · · Score: 1

      RAID 5 across the internal drive and and 2 external USB drives. Ship the USB drives via separate methods (UPS, FedEx, USPS, whatever) and reassemble on the other end of the trip. Any one missing portion of the volume can be recovered, but no recoverable portion travels as a single unit. And TrueCrypt the whole thing from a USB-stick installation of TC, with keys stored on the USB stick with TC, but not with any of the portions of the actual protected data. Throw in a fake TC volume on the USB stick for indirection.

      (And yes, external drives can be put into RAID configurations. Heck, there are videos of floppy RAID setups out there.)

      Yes, it's a pain in the ass. But it shouldn't be impossible. If your data is worth that much to keep out of the hands of some numbnuts at DHS/ICE that has "TURRISTS!" on the (lack of?) brain, then it shouldn't be too much to ask, really.

      Just beware the $5 wrench.

    6. Re:In other words by Jane+Q.+Public · · Score: 4, Informative

      "And when the spooks turn it back on, the key gets copied into RAM again because that's part of the bootup process, and necessary if the system is to read the disk and finish booting."

      No, it isn't. Have you ever actually used TrueCrypt?

      When the program quits normally (or after a configurable time period), the key is GONE. It may linger in RAM for a very brief period but then it's gone. Truecrypt stores the key only in RAM, so when a machine is shut down, again the key is GONE. If your machine is on sleep or hibernate, the RAM might be preserved, but otherwise no. GP said "turn it off". Turn it off and the key is GONE.

      Booting up has zero effect on this; the key is not stored anywhere on disk (unless YOU stored it somewhere on purpose, which would be dumb).

    7. Re:In other words by Jane+Q.+Public · · Score: 4, Informative

      "Only if they have probable cause to compel you to supply the password. Have you ever used Truecrypt in disk mode? You have to enter the volume password first thing after the BIOS."

      Nope. Check out the recent court cases, and past Supreme Court cases. Probable cause is NOT sufficient to compel you to turn over your password. Only a court can do that, and in order to do that legally, the court has to have a great deal more evidence than mere probable cause. In fact they have to pretty much know in advance that the drive contains material that proves you broke the law.

      Forcing someone to give up their password raises 5th Amendment questions. Pretty much the only time they can do that is if they ALREADY KNOW beyond reasonable doubt that something illegal is there, because in that case you would not be incriminating yourself; you are already "incriminated".

    8. Re:In other words by Threni · · Score: 1

      Or boot from a usb key which contains a micro sd card and don't touch the laptop's harddrives whenever you're using it.

    9. Re:In other words by luther349 · · Score: 1

      no it will not the key will not go back into ram until its reentered by the user.

    10. Re:In other words by luther349 · · Score: 1

      shutting it down still works the key in ram in now lost unless they grabbed a dump before you shut it down.

    11. Re:In other words by Entropius · · Score: 1

      Is that true also at the border?

      Specifically: if someone, US citizen or not, comes over the border with a laptop, can the border goons compel someone to boot the machine (supplying whatever passwords are necessary to do so) to enter?

    12. Re:In other words by hawguy · · Score: 3, Informative

      RAID 5 across the internal drive and and 2 external USB drives. Ship the USB drives via separate methods (UPS, FedEx, USPS, whatever) and reassemble on the other end of the trip. Any one missing portion of the volume can be recovered, but no recoverable portion travels as a single unit. And TrueCrypt the whole thing from a USB-stick installation of TC, with keys stored on the USB stick with TC, but not with any of the portions of the actual protected data. Throw in a fake TC volume on the USB stick for indirection.

      (And yes, external drives can be put into RAID configurations. Heck, there are videos of floppy RAID setups out there.)

      Yes, it's a pain in the ass. But it shouldn't be impossible. If your data is worth that much to keep out of the hands of some numbnuts at DHS/ICE that has "TURRISTS!" on the (lack of?) brain, then it shouldn't be too much to ask, really.

      Just beware the $5 wrench.

      Since parts of your data will still be recoverable from a single RAID-5 volume, you have little to gain by splitting up a RAID-5 volume set, unless you don't care that someone can recover up to one third of your data.

      If you want your laptop to be unreadable without one of the external drives, you'd be better off storing random data on one or more external drives to use as a one-time-pad. Without one of the OTP drives, the data on your laptop is unreadable (for bonus points, encrypt the OTP to reduce the chance that someone can intercept it and copy it). You can fill each OTP drive with the same random data so you only need to receive one of them to recover your data, or fill them with different random data so you need all of the drives to recover data.

    13. Re:In other words by Anonymous Coward · · Score: 0

      GP said 'border' there are no laws or courts at international borders.

    14. Re:In other words by TapeCutter · · Score: 3, Insightful

      can the border goons compel someone to boot the machine (supplying whatever passwords are necessary to do so) to enter?

      No legal power to compel, but refusal is "suspicious behaviour" and is going to fuck up your trip until some real lawyers show up and say the court battle isn't worth the prize. Your name will go on a watch list and goons the world over will give you grief for years to come, but your porn collection will remain private.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    15. Re:In other words by chihowa · · Score: 1

      Is there anything to prevent someone from tampering with the (necessarily unencrypted) bootloader (or whatever the program that accepts your password and decrypts the volume is called)? Why not replace that piece with one that logs the password or otherwise weakens the encryption? Access to the computer for 60 seconds would be sufficient to install something like this.

      This is of course relevant to any full disk encryption that doesn't have access to a TPM (and even then, can you trust the TPM?), like FileVault or BitLocker.

      --
      If you want a vision of the future, imagine a youtube comments section scrolling - forever.
    16. Re:In other words by Jane+Q.+Public · · Score: 1

      Your name will go on a watch list and goons the world over will give you grief for years to come

      And if that's true, then tens of thousands of businessmen with perfectly legitimate encrypted data, who don't want to (or have any reason to) show it to government, would get put on lists and have their travels complicated or curtailed for years to come.

      That's not just intrusive, it's asinine. The government should not be interfering with business like that. It hurts everybody.

    17. Re:In other words by Anonymous Coward · · Score: 0

      Ram doesn't actually lose data as quickly as one would like to believe. it's like a capacitor, the energy has to go or come from somewhere. If say you used a laptop on airplane, shut it off (lets say properly, even taking out battery), there's still a chance someone could boot the machine and dump the contents of ram. I'd imagine truecrypt would overwrite the key on shutdown, and that the key is only in 1 place in ram (with multiple cache levels, the key could be in half a dozen physical places, even though in software it's just a single structure).

    18. Re:In other words by steelfood · · Score: 2

      If you have a pagefile, there's a chance it could still reside in the pagefile. Do not use a pagefile if you're using truecrypt.

      There are also possible caching mechanisms behind the scenes that may also store parts of the key or the data contained in the truecrypt volume. There's nothing you can do about it, really. Best you can do is wipe your drive's free space periodically.

      But it doesn't matter. If you're a target, you're done. Your mouse, keyboard, and monitor all leak signals through the cable and user interface. Software can analyze the sound of your typing and determine to some ungodly degree of accuracy the typed message Software can capture the emissions of your monitor to reconstruct a fairly accurate picture of your screen.

      All of this really is to prevent abuses like the NSA giving your opponent an advantage when you run for public office. Or making your love life hell after you break up with an NSA employee.

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    19. Re:In other words by Anonymous Coward · · Score: 0

      Shut your machine OFF before you get to the border; don't put it to sleep.

      Well no shit, if the encrypted volume is mounted, that's like leaving a safe open. People need to be told this?

    20. Re:In other words by Anonymous Coward · · Score: 0

      Plugin an SD card with a live Linux distro and that should be sufficient to pass.

    21. Re:In other words by msobkow · · Score: 1

      Powering down ensures that any cached passwords aren't in memory, regardless of the mounting status of individual volumes.

      I wouldn't just take someone's word that the cache is cleared when the volume is dismounted if I were paranoid enough to be using TrueCrypt in the first place.

      --
      I do not fail; I succeed at finding out what does not work.
    22. Re:In other words by Anonymous Coward · · Score: 0

      Remember, it's TC'ed at the full-RAID level, not at the individual disk level. TC only works when the whole RAID set is present, and the whole RAID set is only readable when TC can decrypt. If a file is stored in the RAID, parts of that file and parity information for that file are stored on each of the three disks. But, since the entire RAID volume is under TC, the portion of the file being written to that particular disk and the file's parity info are encrypted before they hit the platter. So not only would they not be able to recover from a single disk, they wouldn't be able to even tell what's on the platter or how it's encrypted, since only part of the encrypted data is present, along with some parity info that isn't even really in the data being encrypted, but is stored with it like it belongs there.

      It's RAID for the sake of breaking things up rather than RAID for the sake of redundancy.

      But you'd still be able to rebuild the RAID by telling TC to "pretend" a new replacement drive was the third drive of the RAID, and let the RAID rebuild itself with TC present. You would NOT be able to recover any of the individual pieces independently, and especially not without the TC component. And the TC component can be crushed under a boot if necessary. You should have backups of that on multiple keys in safe places elsewhere, or transported via other secure means as necessary.

      For gits and shiggles, add the OTP layer in, under, around, and through this setup and watch the TLA's heads' burst into flames trying to get at it.

    23. Re:In other words by bloodhawk · · Score: 1

      pagefile? does it have protection to ensure it is never written to the pagefile?

    24. Re:In other words by Prune · · Score: 1

      You can easily encrypt your pagefile on Windows by at least three methods: http://www.sevenforums.com/tutorials/143662-page-file-encryption-enable-disable.html

      --
      "Politicians and diapers must be changed often, and for the same reason."
    25. Re:In other words by Anonymous Coward · · Score: 0

      Your method makes no sense.

      How about just ship one single drive in your laptop ahead of time? Or.. ship the whole laptop? Unless you think shipping services are opening packages looking for hard drives and also attempting to decrypt them. I know the NSA is doing a lot of strange stuff but that would be amazing.

    26. Re:In other words by Anonymous Coward · · Score: 0

      And if that's true, then tens of thousands of businessmen with perfectly legitimate encrypted data, who don't want to (or have any reason to) show it to government, would get put on lists and have their travels complicated or curtailed for years to come.

      That's not just intrusive, it's asinine. The government should not be interfering with business like that. It hurts everybody.

      What do you mean if... like they might but you just haven't heard of it yet?
      We didn't open the border yesterday sweetie. Throngs of encrypted business laptops cross borders every day. Duh.

    27. Re:In other words by LordLimecat · · Score: 1

      Thats not 100% true; the key generally IS stored on-disk, and is itself encrypted with your passkey.

      The reason they do this is so that you can change your passkey without re-encrpting your whole drive; instead they just have to re-encrypt your 256/512 bit key.

      For FDE, the key is stored as part of the bootloader, which is why you have to burn your own recovery disk: if the bootloader goes heels up, you need to recover it as it is the only place the actual key is stored. It also means that you can trivially wipe a truecrypt FDE'd drive by killing the bootloader and any backups securely.

    28. Re:In other words by LordLimecat · · Score: 1

      Thats called an evil maid attack, and it is a real threat-- as is hardware keyloggers. There is mitigation, however: its not super easy to do ahead of time, because each truecrypt bootloader is unique. The drive encryption key is encrypted with the passphrase, and stored with the bootloader-- and it must be present for the "fake" bootloader to be able to decrypt the drive. So for such an attack, someone would need to have access to the drive, make a copy of the bootloader, modify the bootloader with the keylogger, get access to the computer again, wait for you to type the key in, and then get access a third time to image the drive and retrieve the logged passcode.

      Its doable, but it requires 2-3 accesses.

    29. Re:In other words by Jane+Q.+Public · · Score: 1

      "GP said 'border' there are no laws or courts at international borders."

      Yes, there are. Read some of the Supreme Court decisions about precisely what laws there are at those borders.

      There are no "normal" U.S. laws outside U.S. borders... that is true. But there ARE U.S. laws AT the border. And by damn, they enforce them too.

    30. Re:In other words by Anonymous Coward · · Score: 0

      I agree, it is asinine, but it's happening.

      http://www.infowars.com/how-nsa-mass-surveillance-is-hurting-the-us-economy/

    31. Re:In other words by cfalcon · · Score: 1

      No dude, it PROMPTS you for the password. It's not in the "bootup process", that's the whole point.

    32. Re:In other words by Anonymous Coward · · Score: 0

      can the border goons compel someone to boot the machine (supplying whatever passwords are necessary to do so) to enter?

      No legal power to compel, but refusal is "suspicious behaviour" and is going to fuck up your trip until some real lawyers show up and say the court battle isn't worth the prize. Your name will go on a watch list and goons the world over will give you grief for years to come, but your porn collection will remain private.

      DHS simply ceases your computer and will return it at some unspecified date after the contents have been duplicated and processed. You have no expectation of privacy nor rights at an international border according to the United States Supreme Court. Papers please and welcome to "Little Brother."

    33. Re:In other words by Kythe · · Score: 1

      That's the entire point of the exploit being discussed in this article. While this tool lets you recover the key of an open encrypted volume and re-open it at leisure later on, if someone has access to your computer while the encrypted volume is open in the first place, it's pretty much game over.

      --

      Kythe
    34. Re:In other words by Anonymous Coward · · Score: 0

      That's not just intrusive, it's asinine. The government should not be interfering with business like that. It hurts everybody.

      Go one step further, please. You're almost there... Instead of staying on your convenient utilitarian argument.

    35. Re:In other words by chihowa · · Score: 1

      Cool. Thanks for the 'evil maid' term. It's difficult to research a subject if you don't know the accepted jargon.

      It seems like the extracting->processing->writing could be automated fairly easily to make the process need only a single access to install. It's a shame that Trusted Computing was so tied up with efforts to make it untrusted, as it presents a great solution to this problem.

      I suppose you could also keep your bootloader on a read-only USB key (that never leaves your person) and only ever boot from that. This would make changing passwords an arduous task, though (unless you kept the password encrypted key in the volume header).

      --
      If you want a vision of the future, imagine a youtube comments section scrolling - forever.
    36. Re:In other words by TangoMargarine · · Score: 1

      Forcing someone to give up their password raises 5th Amendment questions.

      Yeah, because the courts lately have been *so concerned* with constitutionality or any kind of constructionism other than lax. I think law enforcement has proven that "reasonable cause" now means "I feel like it."

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    37. Re:In other words by TangoMargarine · · Score: 1

      Since parts of your data will still be recoverable from a single RAID-5 volume

      Yeah, but it's encrypted. Until they get out the wrench, anyway, which will be a problem with any setup.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    38. Re:In other words by hawguy · · Score: 1

      Since parts of your data will still be recoverable from a single RAID-5 volume

      Yeah, but it's encrypted. Until they get out the wrench, anyway, which will be a problem with any setup.

      If you trust the encryption, why go with the split RAID in the first place?

    39. Re:In other words by TangoMargarine · · Score: 1

      If we assume that TrueCrypt won't mount the volume without all of it present (would RAID even work?) and you remove one of the physical devices from the equation, shouldn't it not even matter whether they have your key? Or is that being naive.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    40. Re:In other words by hawguy · · Score: 1

      If we assume that TrueCrypt won't mount the volume without all of it present (would RAID even work?) and you remove one of the physical devices from the equation, shouldn't it not even matter whether they have your key? Or is that being naive.

      I'm assuming that anyone that's interested enough in your data to try to break the encryption is familiar enough with Truecrypt to not need to run the application itself to decrypt the data.

      I'm also assuming, that individual blocks of a truecrypt volume can be decrypted independently of the rest of the volume -- unlike a stream cipher where decrypting each block might depend on the successful decryption of the block before it, Truecrypt needs to be able to randomly seek to and decrypt a random block, from their FAQ:

      What will happen when a part of a TrueCrypt volume becomes corrupted?

      In encrypted data, one corrupted bit usually corrupts the whole ciphertext block in which it occurred. The ciphertext block size used by TrueCrypt is 16 bytes (i.e., 128 bits). The mode of operation used by TrueCrypt ensures that if data corruption occurs within a block, the remaining blocks are not affected.

    41. Re:In other words by TangoMargarine · · Score: 1

      Ah. Okay, good point. Maybe run an xor pass over the whole volume before you go traveling? ;)

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    42. Re:In other words by Anonymous Coward · · Score: 0

      So? Governments are asinine. Remember that there are a number of countries (starting with the UK, NZ, most Middle Eastern nations) where border agents do have the power to compel or confiscate and consider yourself lucky.

  15. Quick mitigation: by Anonymous Coward · · Score: 0

    Wire up that case intrusion detection switch and tie it to a key destroyer. Plenty modern boards have'em, might as well use'em. Still not a panacea, but a start, and useful along with disconnecting external usb ports and so on.

  16. Moral of the history by robmv · · Score: 2

    The moral of the history: if you have sensitive encrypted information on your laptop, never travel on standby mode, always turn off or use hibernation over an encrypted file or partition

    1. Re:Moral of the history by Anonymous Coward · · Score: 0

      Is there a secondary moral to the story? If you have a server hosted by someone else (cloud server for example), then Full Disk Encryption is pointless, since the person hosting your server can relatively easily get your encryption key and decrypt your data.

  17. So let me understand this ... by chuckugly · · Score: 1

    Are they saying that it's possible for someone to read the contents of an encrypted drive if it's mounted? Wasn't this always obvious, or did I miss something?

    1. Re:So let me understand this ... by avltree · · Score: 1

      It is getting the key out of memory to then decrypt the drive. Not reading the unencrypted drive live. Example scenarios are: 1) You get a memroy sample from a machine and the disk image. FDE was in use. This would allow you to extract the key and decrypt the whole drive. 2) Someone was using file containers and hibernated the machine. The key (could) still be in memory and you could decrypt the containers.

    2. Re:So let me understand this ... by luther349 · · Score: 1

      would 3 also be memory sample to descriptor the containers at will as well.

    3. Re:So let me understand this ... by chuckugly · · Score: 1

      In a hibernated machine with full disk encryption, isn't the memory streamed to the encrypted disk, requiring a login to resume?

    4. Re:So let me understand this ... by Kythe · · Score: 1

      While true, the OP's point is valid: if you have access to the RAM, you pretty much have access to the machine. Since the only way you're getting that key is if the encrypted drive or volume is open at the time, getting around the encryption was already a done deal.

      This just lets you go back and re-open the encrypted volume if you screw up and e.g. turn off the computer.

      --

      Kythe
  18. more FUD from Slashdot's owners by Anonymous Coward · · Score: 5, Informative

    -a KEYLOGGER is an infinitely greater risk to the use of ANY encryption system, and keyloggers are trivially inserted into a PC via almost unlimited numbers of hardware and software methods.

    -gaining access to the current RAM of a system is just about the most convoluted and 'expensive' method of a targeted attack. The contents of RAM, of course, are lost once the system powers down. If you are targeted, there are a million easier ways of gaining your password. Many simply use the placement of hidden cameras. At the other extreme, remote equipment can be used to recreate your screen content via EM radiation emitted by the display and drivers.

    If Truecrypt is coded properly, it can attempt to keep the 'key' within the caches of the CPU only, and avoid 'write-back' on most processors. If RAM must be used, there are numerous obfuscating RAM usage methods that can prevent the key from living in predictable sequences of RAM bytes. However, you can assume Trucrypt is doing such as much as is useful. Truecrypt FAILS the moment the user is a LIVE (as in current Truecrypt user) target of a 1st class US intelligence operation. Gaining the password from a person who is still entering the password on a regular basis, when money is no object, and the Law is bent as is required, can be taken for granted.

    The owner's of Slashdot promote stories like this for one reason- to DISCOURAGE as many people as possible from bothering with Truecrypt in the first place. If naive sheeple THINK Truecrypt is as compromised as the NSA back-doored products from Microsoft et al, they'll 'think' they might as well use the Microsoft or similar product, because of ease of use.

    EVERY anti-Truecrypt story is NSA FUD. EVERY commercial encryption package, for instance, allows warrantless searches at the border to reveal the use of encryption, and allows the agents to strong-arm the KNOWN existing passwords from you. However, despite what the vile shills tell you here, used properly there is ZERO trace of actual encryption use on your laptop with Truecrypt, so the probability of warrantless hassle is reduced to as close to zero as you are going to get.

    1. Re:more FUD from Slashdot's owners by luther349 · · Score: 1

      i rember hearing a wile back its weakness was in the ram storage. just seems it was confirmed . as long as your encrypted stuff is not being auto mounted this attack will not work unless the machine was suspended via sleep or hibernate with the volumes still mounted or they stole a ram snapshot wile true crypt was running. as you said a keylogger will save the spooks alot of time and trouble and what they will use.

    2. Re:more FUD from Slashdot's owners by LordLimecat · · Score: 1

      sheeple

      You lost me here, gunpistolman.

    3. Re:more FUD from Slashdot's owners by TangoMargarine · · Score: 1

      used properly there is ZERO trace of actual encryption use on your laptop with Truecrypt

      Um...other than the volume itself? If you're using full-disk encryption, that's going to be rather suspicious, and if not, they can find the TrueCrypt program files on the disk. And why would you have TC on your machine if you're not using it? This is admittedly circumstantial evidence, but come on: anybody who knows about TC and has it installed on their machine is most likely currently using it.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    4. Re:more FUD from Slashdot's owners by Anonymous Coward · · Score: 0

      Wow, that post went off the rails at paragraph four.

  19. Plenty of ports can do DMA by crow · · Score: 1

    Plenty of ports can do DMA, dumping all physical memory without any say by the operating system, all without opening the case. Anything on the PCI bus can do it; do you have an external PCI port? No? Did you know that PCI is routed over DisplayPort? And of course Firewire can do it. And so can ESATA. And laptops have card slots and docking station ports that expose a lot more avenues for attack.

    Good luck getting all those disabled, not just in the OS, but in the hardware layer.

    1. Re:Plenty of ports can do DMA by hawguy · · Score: 1

      Plenty of ports can do DMA, dumping all physical memory without any say by the operating system, all without opening the case. Anything on the PCI bus can do it; do you have an external PCI port? No? Did you know that PCI is routed over DisplayPort? And of course Firewire can do it. And so can ESATA. And laptops have card slots and docking station ports that expose a lot more avenues for attack.

      Good luck getting all those disabled, not just in the OS, but in the hardware layer.

      I don't think PCI is exposed over DisplayPort... Are you thinking of Thunderbolt (which combines Displayport and PCIe)?

      Firewire does have a DMA attack vulnerability, but is eSATA susceptible too? I thought the SATA host controller had to set up DMA transfers, can a client SATA device set up DMA transfers without cooperation from the host controller?

    2. Re:Plenty of ports can do DMA by crow · · Score: 1

      You are correct. Tunderbolt is essentially an extension to Displayport that includes PCIe. My bad.

      I know that SATA does DMA, unlike USB, but I'm not clear on how much control can be initiated from the outside. A quick search suggests that it's safe.

      I found this, which discusses the issue further:
            http://support.microsoft.com/kb/2516445
      It talks about dealing with 1394 and Thunderbolt DMA attacks.

      I doubt there's much you can do to prevent a DMA attack through a laptop's docking port, though you might be able to disable the card slot (Express Card, PCMCIA, or whatever it is now).

    3. Re:Plenty of ports can do DMA by Anonymous Coward · · Score: 0

      Plenty of ports can do DMA, dumping all physical memory without any say by the operating system, all without opening the case. Anything on the PCI bus can do it; do you have an external PCI port? No? Did you know that PCI is routed over DisplayPort? And of course Firewire can do it. And so can ESATA. And laptops have card slots and docking station ports that expose a lot more avenues for attack.

      Good luck getting all those disabled, not just in the OS, but in the hardware layer.

      How about a dead man's trigger script that detects (via udev or whatever the equivalent is) if anything gets connected to these ports when you are not in front of the machine and, if a passphrase is not correctly typed on a black screen, umounts all volumes, scrubs ram and shuts down fast? Or if the webcam detects any movement or change in lighting?

      What's wrong with that idea?

  20. Re: at least this is old fashioned forensics work. by Anonymous Coward · · Score: 0

    Yes, that's way too difficult for us. You are totally safe. No need to do anything else. We've all quit and found regular jobs in the private sector.

  21. Re:at least this is old fashioned forensics work.. by luther349 · · Score: 1

    they need to get a ram dump wile true crypt is running and mounted. and at the point if they can tell what is running and when aka full remote access they can use a key logger for the same effect.

  22. Ahh editors... by Anonymous Coward · · Score: 0

    Seperent hunh? Interesting...

  23. Re:at least this is old fashioned forensics work.. by Anonymous Coward · · Score: 0

    Way too tedious (and requiring physical possession of the hardware after encryption passwords/etc have been entered!) for the modern NSA -- they'll just install keylogging hardware that communicates over radio frequencies and not the internet if they need your encryption key. Then, your hacked ethernet/bluetooth port will also send them image of your drive over RF or some other discreet channel. Who needs this!?!

    Corporate spies, private contractors, miscellaneous extrajudicial entities, local brute-squads that don't want to communicate with their local fusion center (or other organizations with greater jurisdiction (i.e., up to no good (i.e., everyday "police business"), don't get along, etc.)).

  24. Re:So does this mean the TrueCrypt hijacking busin by Anonymous Coward · · Score: 0

    no you can encrypt with public key but need to decrypt with a private key, there is no reason the private keys would be stored in the malware thats doing the encryption and as a result not in the memory either

  25. TC is usually still mounted after sleep anyway by rduke15 · · Score: 2

    TruCrypt can be written to automatically unmount the 'drive' as the computer goes to sleep

    It could, but it isn't. I was shocked to discover that my TC volume was still mounted after resuming from sleep. After all, notebooks get stolen, and that is why I have my passwords and SSH keys in a TrueCrypt volume. And notebooks are not normally shut down but put in sleep mode instead. So I discovered that the way Truecrypt worked made it's encryption quite irrelevant...

    I fixed the problem on my Ubuntu notebook with a "tc-unmount" script in /etc/pm/sleep.d/ but I guess not many people do that. In Windows, I think there is a configuration setting for unmounting on sleep, but it was not enabled by default last time I looked.

    So, while it may sound impressive that it is possible to extract the keys from RAM, it is usually unnecessary. The volume may simply be mounted and directly accessible, even after sleep.

    1. Re:TC is usually still mounted after sleep anyway by CrimsonAvenger · · Score: 4, Interesting

      I use Truecrypt for the entire harddrive on my laptop. And when it hibernates, I have to feed it my Truecrypt password to get it back awake.

      Presumably, the difference is that I use whole disk encryption, rather than just a part of the disk....

      --

      "I do not agree with what you say, but I will defend to the death your right to say it"
    2. Re:TC is usually still mounted after sleep anyway by Anonymous Coward · · Score: 0

      It's not wise to use the same password for the encrypted disk and Windows login.

    3. Re:TC is usually still mounted after sleep anyway by Anonymous Coward · · Score: 0

      Why not just do it like the old fashion way of putting keys into a bowl and then spending 30min searching for the right one? It at least keeps me occupied!

  26. Re:Memory dump lol by Anonymous Coward · · Score: 0

    But who the hell uses Windows anymore?

    Not-so-Serious Business, grandma, and gamer "dude."

  27. Actual exploits by gmuslera · · Score: 1

    That probably counts as accesible any truecrypt volume you have in AWS and other cloud servers. Regarding your PC and laptops, there is anything in the NSA catalog targetting specifically this? They could had put it in when you bought it. If well a backdoor installation could make things simpler, this hardware approach could survive OS reinstalls/replacements.

  28. Re:Memory dump lol by fisted · · Score: 1

    The choice of operating system isn't really relevant here...

    Well TrueCrypt kind of implies Windows, as Linux people tend to rather use cryptsetup/LUKS/dm-crypt, BSD people use geli/cgd and Apple people use something shiny

  29. What about a face recognition trick? by Entropius · · Score: 2

    It seems like the attack vector people are worried about here is "people get physical access to your machine while the key resides in RAM and extract it".

    Could you program Truecrypt to maintain a continuous watch via a laptop's built-in webcam for the physical presence of someone at the keyboard (face detection, say), and upon detecting that the person has moved, dismounts the volume, overwrites the section of memory storing keys with random bits (to protect against "put the RAM modules in the freezer" attacks), kills the bulk of the Truecrypt software, overwrites it, and then kills itself? You could add other failsafes if you wanted, I suppose (based on the machine's microphone input, perhaps), but the idea is to have a dead-man's switch that will automatically dismount the partition and remove the keys from memory when Something Goes Wrong, so the keys are only around when you are actually sitting there working, and as soon as you aren't there, they are wiped.

    1. Re:What about a face recognition trick? by mrt_2394871 · · Score: 1

      Face recognition (at least the Android Jelly Bean/Kit-Kat version) gives too many false positives at the moment. Somewhere between 5% and 20% of the time, my face does not unlock my phone/tablet, and I need to enter a PIN.

      Also, the scope for involuntary unlocking is much larger.

    2. Re:What about a face recognition trick? by Entropius · · Score: 1

      I'm not talking about recognition of a particular face -- this isn't a replacement for a password/passphrase. It's not a technique for unlocking; it's a technique for automatic *re*locking: "unmount everything and wipe the keys if this guy leaves the keyboard."

  30. Re:So does this mean the TrueCrypt hijacking busin by Anonymous Coward · · Score: 5, Interesting

    Even better, start not just having one TC volume, but many. Separate your stuff out by what you are doing, and unmount it when you are done. Word documents for client "A", open that specific volume, make an edit, unmount. Excel spreadsheets? Same thing.

    This way, if the computer gets taken and the master drive image key slurped off, it means control of the OS, but not much else.

    Even better, to prevent data leakage (/tmp files), the next step up is having virtual machines or Evalaze-sandboxed applications that channel all writes to one volume, that is easily unmounted.

    TrueCrypt is just one tool in a toolbox.

    Of course, there is the fact that people may not have to worry about seizure. My biggest security threat are the meth-heads who will break into a place just to grab stuff to take to a pawn shop or fence in order to stop their DTs. They don't care what's on the machine, so basic encryption turns a hardware + data theft into just hardware lost... which is easily replaced by insurance.

  31. Why can't encryption be in the SATA controller? by Myria · · Score: 1

    Why can't there be SATA controllers with drive encryption support? Your drive encryption program could then just be an expansion UEFI ROM card that prompts you for your password and sends it to the SATA controller, then erases it from main memory. There's no need to do anything else after that point, because encryption and decryption would be completely transparent to all software on the system.

    --
    "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
    1. Re:Why can't encryption be in the SATA controller? by cfalcon · · Score: 1

      Fuck that bro. You want to trust the private little OS that disks have running in them? If you can't audit the source code, it's crap.

      I'm sure they would implement fucking 3DES or some shit and call that secure, or a terrible version of AES that is accidentally on purpose super weak, and that's assuming they don't just cache the fucking keys.

      Hardware encryption solutions that you can buy? You have no reason to trust them.

    2. Re:Why can't encryption be in the SATA controller? by Anonymous Coward · · Score: 0

      You are already trusting that "private little OS" as the data from your TC volume has to be read by it.

    3. Re:Why can't encryption be in the SATA controller? by LordLimecat · · Score: 1

      SATA drives dont have OSes, they have firmware.

    4. Re:Why can't encryption be in the SATA controller? by Anonymous Coward · · Score: 0

      Fuck... crap... fucking... shit... fucking...

      Eloquence to make the angels weep.

    5. Re:Why can't encryption be in the SATA controller? by cfalcon · · Score: 1

      The google terms for this don't gimme shit, sadly. But there is logic stored on the drive that is executed internally- I'm pretty damned sure. It's not firmware in the classic sense (it is stored on parts of the drive that are not exposed externally), and it's complex enough that you definitely don't want to trust it with your encryption.

      On this topic, about a year ago a slashdot was on this topic. You can see people shred the stupid fucking idea of trusting encryption that security experts can't inspect:
      http://it.slashdot.org/story/13/02/27/194234/rsa-self-encrypting-usb-hard-drives-for-all-operating-systems-video

  32. Key recovery from memory by benjfowler · · Score: 1

    Can somebody give us some pointers about the techniques for recovering arbitrary information such as how keys, card tracks, passwords, etc from memory?

    Presumably, hostile code is injected into a running process, but once that happens, is it a brute force search? Or is something cleverer done, e.g. monkey-patching subroutines in memory, and reading fixed offsets on the stack, or indexing something off the stack into the heap?

    Memory-scraping has been in the news (mostly for the wrong reasons lately), and I'm wondering how this is actually achieved in practice.

    1. Re:Key recovery from memory by Smerta · · Score: 3, Funny

      Nice try, NSA.

    2. Re:Key recovery from memory by Anonymous Coward · · Score: 0

      I don't know crap about this stuff and even I could see that guy is some sort of shill.

  33. Re:Memory dump lol by AndroSyn · · Score: 2

    Yes, TrueCrypt implies windows.

    The parent implied that his use of Linux and ecryptfs somehow protected him from this type of attack, which really it doesn't, just this particular implementation of this attack.

    My point is, that other full disk encryption implementations are typically vulnerable to the same sort of attack, that is the encryption key is going to be stored in memory.

    There are in fact tools to extract keys over firewire(or other methods) for a variety of operating systems, not just Windows and TrueCrypt, consider Inception

  34. Stop please by ArchieBunker · · Score: 1

    Oh man windows crashes, you must have been the life of the fucking party in 1996. Your wit knows no bounds, I am humbled by your comedic genius. Of course Ubuntu does the same thing you just described...

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
    1. Re:Stop please by Anonymous Coward · · Score: 0

      Ubuntu might do the thing just described but with months of uptime in between. And we call those crashes "rebooting for kernel upgrades".

      Back on topic, I've found the best way to burn those sensitive memory cells on a Windows machine is with a jet lighter. Cheap and effective like Archie's mom but doesn't leave you feeling gross after.

    2. Re:Stop please by ArchieBunker · · Score: 1

      I meant Ubuntu sends crash reports and memory dumps. Oh and Sun has had hot swappable CPUs since the 90s. Although I don't think anyone (sparc or x86) has ever seen an actual failed CPU.

      --
      Only the State obtains its revenue by coercion. - Murray Rothbard
  35. Hardware Key to Encryption by pcwhalen · · Score: 2

    You mean like the Yubikey?
    http://www.yubico.com/products/yubikey-hardware/yubikey/

    Don't forget: you can still encrypt with a keyfile you keep on a microSD card in your wallet. [copy to a USB stick in a lockbox, in case you lose it or get robbed.] Then, they can have your key, they still need the file.

    --
    Pay no attention to the man behind the curtain with all your metadata.
    1. Re:Hardware Key to Encryption by Anonymous Coward · · Score: 0

      You mean like the Yubikey?
      http://www.yubico.com/products/yubikey-hardware/yubikey/

      Don't forget: you can still encrypt with a keyfile you keep on a microSD card in your wallet. [copy to a USB stick in a lockbox, in case you lose it or get robbed.] Then, they can have your key, they still need the file.

      Better. Use a gpg-encrypted keyfile as with loop-aes. You only need to remember the passphrase for the gpg-encrypted keyfile.

  36. Re:Memory dump lol by Anonymous Coward · · Score: 0

    The choice of operating system isn't really relevant here...

    Well TrueCrypt kind of implies Windows, as Linux people tend to rather use cryptsetup/LUKS/dm-crypt, BSD people use geli/cgd and Apple people use something shiny

    Why would TrueCrypt imply Windows? I use it all the time on OS X and Linux.

  37. Re:So does this mean the TrueCrypt hijacking busin by icebike · · Score: 1

    Word documents for client "A", open that specific volume, make an edit, unmount. Excel spreadsheets? Same thing.

    You will spend your entire days entering keys.
    Because you have so many of them, you will have to write them down, or use some trivial progression algorithm.
    Your keys will be weak because getting all those random gibberish keys just right will drive you to drink.

    This is one of those ideas that sounds good, but is totally impractical in application.

    What other methods of key storage are there other than relying on wetware ?

    --
    Sig Battery depleted. Reverting to safe mode.
  38. Re:So does this mean the TrueCrypt hijacking busin by flyingfsck · · Score: 1

    Pass, Keepass, Xkeepass and so on, all do the same obvious thing. Just like a physical key ring, they allow you to lose all your keys at the same time.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  39. "Any Port In A Storm" by westlake · · Score: 2

    Shut your machine OFF before you get to the border; don't put it to sleep.

    The first question to ask is "Why you are carrying high risk/high value files across an international border?"

  40. Reminds me of TRESOR by Wrath0fb0b · · Score: 1

    No affiliation, but this sounds like a good reason to move to TRESOR-like implementation in which the AES key is kept in hardware registers that are cleared when you go to S3 and on each reset. It's still vulnerable to anyone that gets root access to your OS, but a cold-reboot attack or a DMA attack on the RAM are not going to work -- so that's some forward progress.

    Anyone want to take a stab at porting it to TrueCrypt?

    1. Re:Reminds me of TRESOR by Z00L00K · · Score: 1

      That is only one option when it comes to hiding the key. I foresee that we will have an arms race, and one alternative would be to change the key storage and keep a decoy key in the standard location just to confuse.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    2. Re:Reminds me of TRESOR by Wrath0fb0b · · Score: 1

      Won't help -- the time it takes to try even thousands or millions of decoy keys is trivial (10^6) complexity.

      Security through obscurity of the key storage is papering over the fundamental new assumption that RAM Is accessible to a hostile attacker.

  41. Encrypt The RAM? by DroneWhatever · · Score: 1

    Talking out my ass with a basic layman understanding, and no education to back it up, but here goes... Encrypt/decrypt what goes in/out of RAM? I have always thought a light sensor that uses the lighting of the room/wavelength/brightness as a means of generating random encryption keys would be useful. Or pull random info from your face moving around on a webcam, something that just can't be duplicated.

    1. Re:Encrypt The RAM? by Z00L00K · · Score: 1

      The problem you have is that the decryption key is stored in RAM when it is accessed using a password.

      But if the PC has been powered off then the key is not available in RAM.

      However if there is a trojan in you PC then it may have the ability to read the decoded key and upload it somewhere, which means that the NSA or other authority may be able to dump the readable contents of your hard disk if they ever get their hands on it - or through the trojan.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    2. Re:Encrypt The RAM? by Thor+Ablestar · · Score: 1

      And there IS such a troyan. http://xakep.ru/post/58104/ (in Russian). Shortly, the BIOS of Chinese-made Intel boards contained a hidden hypervisor having access to everything. The BIOS had exactly the same (VISIBLE) contents that the official Intel BIOS should have but reflashing the BIOS with THE SAME (again VISIBLE) contents fully removed the hypervisor.

  42. no need to reboot for kernel, cpu upgrades by raymorris · · Score: 1

    If you're an uptime freak, you upgrade the Linux kernel without rebooting. I even had an employee swap out a CPU without a reboot once. I guess that CPU was completely idle at the time. (The machine had two CPUs.)

  43. Re:So does this mean the TrueCrypt hijacking busin by smash · · Score: 1

    And like a physical key-ring, no one else has developed a better solution that actually works in the real world.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  44. Done. WD World & other external drives embed L by raymorris · · Score: 1

    Western Digital World Edition drives and some other network capable external drives run Linux. Truecrypt runs on Linux, so there's no reason you can't run Truecrypt (or cryptsetup) in your external drive.

    cryptsetup may well be included already in the default firmware.

  45. Encrypt your pagefile by Prune · · Score: 2

    If you're using TrueCrypt but without full disk encryption, encrypt your pagefile: http://www.sevenforums.com/tutorials/143662-page-file-encryption-enable-disable.html

    --
    "Politicians and diapers must be changed often, and for the same reason."
    1. Re:Encrypt your pagefile by phorm · · Score: 1

      Isn't this the default on many newer Ubuntu/Debian variants?

    2. Re:Encrypt your pagefile by Anonymous Coward · · Score: 0

      Even better: Don't use a pagefile.

    3. Re:Encrypt your pagefile by Anonymous Coward · · Score: 0

      He was talking about Windows.

  46. Re: So does this mean the TrueCrypt hijacking busi by Anonymous Coward · · Score: 0

    You could get a non-NSA backdoored cryptocard from the German Privacy Foundation and store your stuff behind a PIN in a tamper proof device.

  47. In Soviet Russia, the Memory wipes YOU! by Thor+Ablestar · · Score: 1

    I just don't understand why your bootloader cannot be modified to fill all the memory with zeros and then give you the opportunity to power-off.

  48. Re:So does this mean the TrueCrypt hijacking busin by xenobyte · · Score: 1

    Actually they have - sort of. The general idea is to replace the metal thing on your keyring with (a part of) yourself. You can get door locks that uses bionics to unlock/open the door instead of keys, which can be lost, stolen, duplicated or circumvented with picks. Most bionic solutions today are insecure, flawed, buggy or just not good enough, but I'm sure that will change as the technology matures.

    --
    "For every complex problem, there is a solution that is simple, neat, and wrong." -- H.L. Mencken (1880-1956) --
  49. Is this really that surprising by DrXym · · Score: 1

    If attackers have sufficient access and sufficient privilege to dump a snapshot of your RAM then all bets are off. Dumping RAM is the least of things they could do - they could directly steal the secrets off the volume itself if they were that interested in them, or log keystrokes, or install rootkits etc. Heck, why not just replace the TrueCrypt binaries with modified ones which write the passphrase off somewhere and lift that later?

  50. Re:So does this mean the TrueCrypt hijacking busin by MrDoh! · · Score: 1

    Biometrics is your username, you still need a password.

    --
    Waiting for an amusing sig.
  51. Re:Memory dump lol by cfalcon · · Score: 1

    Truecrypt is used across many platforms. Unlike cryptsetup / loop fun, you can walk it to a windows box, mount and modify, and walk it back.

  52. A cure for ransomware? by Anonymous Coward · · Score: 0

    Will this help beat ransomware like Cryptlocker?

  53. Re:Memory dump lol by fisted · · Score: 1

    Sure. My point was, nobody actually uses it outside the Windows world.

  54. Re:Memory dump lol by fisted · · Score: 1

    well you're doing it wrong then

  55. Re:Memory dump lol by Anonymous Coward · · Score: 0

    The NSA's makin' a list, checkin' it twice... It's like Christmas all over again!

    CAPTCHA: approved

  56. Ugh. by Anonymous Coward · · Score: 0

    >With the creation of these plugins a wide range of investigators can now decrypt Truecrypt volumes regardless of the algorithm used

    Yeah, just want we want, people _helping_ the NSA and GCHQ.

  57. Radeon ramdisk... IE... by Anonymous Coward · · Score: 0, Troll

    Haha you're using windows, binary closed blob driver Radeon, and IE... and yet you talk about serious security! How cute :)

  58. A simple fix by DizTorDed · · Score: 1

    For Windows: System Properties > Advanced > Startup and Recovery > set Write debugging information to (none).

    This is the file (memory.dmp) needed to do the scan if the computer has been turned off and there are no volumes mounted.

    This file gets written when there is a System failure unless the switch is turned to (none).

  59. So the solution is a RAM wipe? by erth64net · · Score: 1

    I understand that reading from RAM (or a dump of) is a valid issue, but we're talking about RAM here. It's not persistent storage. Why can't there be a kernel level tool which, upon a complex keystroke, RAM is zeroed-out. Obviously this would crash the running OS, but then, you probably don't care at the point you saw such a need.

    What about tools that cleanly shutdown an OS, and wiped RAM just before cycling the power supply? Maybe linked with the computer's bluetooth sensor (to detect that the user has moved a certain distance away). Some systems have motion sensors now too - I can see ways to integrate, say, detection of a strong shock (such as slamming the laptop lid down, or someone snatching the system and trying to run)...

    Frankly - if your data security needs are so sensitive, that you're worried about someone snatching the system from you while its running. You're going to need to give up some luxuries of convenience.

  60. Re:So does this mean the TrueCrypt hijacking busin by TangoMargarine · · Score: 1

    And you have more faith in KeepAss's security than TrueCrypt's?

    --
    Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
  61. RAM dump by phorm · · Score: 1

    Indeed. If they have access to your RAM, they could copy that and probably filter an open document of there just as well as a password.

  62. Re:So does this mean the TrueCrypt hijacking busin by sexconker · · Score: 1

    Actually they have - sort of. The general idea is to replace the metal thing on your keyring with (a part of) yourself. You can get door locks that uses bionics to unlock/open the door instead of keys, which can be lost, stolen, duplicated or circumvented with picks. Most bionic solutions today are insecure, flawed, buggy or just not good enough, but I'm sure that will change as the technology matures.

    Biometrics? It's just a signal on a fucking wire. The biometric reader scans your finger, your retina, your anus, whatever, and creates some sort of flimsy hash of that scan and sends that hash over to the authenticating system. The hash is flimsy because you need to be able to log in tomorrow when your finger is slightly different due to how you pressed it on the reader, your retina has aged and deteriorated, and your anus is covered with a different patterns of shit particles.

    Morons who like biometrics like to tout "Something you have, "something you know, and something you are" as some sort of trifecta of authentication.

    With biometric scanners, "something you are" is simply something you have.
    "Something you have" is pointless. When you're arrested, THEY have YOU and everything YOU have.
    "Something you know" is the only thing that means a damned thing. When you authenticate with remote systems, it's all "something you know" anyway. Your bank doesn't send someone to your house to verify who you are or that you have their little temporal password authenticator.

  63. Hibernate/Sleep init file by phorm · · Score: 1

    Is there a file that or something in init that gets activated on sleep?
    If so, should just be a matter of "truecrypt -d" or something like that whenever the machine is going into a suspended state.

  64. TRESOR avoids storing encryption keys in memory by lars_stefan_axelsson · · Score: 1

    These types of "attacks" are very common in police forensics and hence the forensics community have studies ways of how to do encryption with stored keys that don't store them in memory (to for example avoid cold-boot attacks.

    One of the interesting approaches are taken by the TRESOR team. They store encryption keys in CPU registers instead of main memory, making a cold boot attack, or hibernation attack impossible.

    They have implementations for Linux and Android phones. The Linux implementation on an Intel with AES-hw support is even slightly faster than doint key expansion in memory! It's an interesting approach, but perhaps a bit over the top for most cases.

    --
    Stefan Axelsson