News for hackers. Stuff that matters.
Re:AES Finder – the utility to find AES keys in running proc... by dtech on Sunday September 06, 2020 @10:25AM (#24391527)
Truecrypt doesn't change that if the user has the volume open. When computers still had Firewire if they had a warrant for child porn they would use FW and DMA to pull a complete copy of the memory if it was on and get any encryption keys to the Truecrypt volume. They would actually announce that they were coming in on suspicion of child porn because people had a tendency to boot the computer and open Truecrypt to delete all their files.

I suspect similar techniques are still used today, like we see with this tool. If you can get a dump of the computer active memory you can ultimately get the decryption keys on consumer hardware.

Re:AES Finder – the utility to find AES keys in running proc... by Drip33 on Sunday September 06, 2020 @10:31AM (#24391571)
>If you can get a dump of the computer active memory you can ultimately get the decryption keys on consumer hardware

What methods are available to get a memory dump if Firewire is disabled? Feds couldn't break my encryption after ~1.5 years but my devices were all off when they showed up. Ironically the one device they did get into was a cell phone powered on but it had little evidentiary value and in one funny way was partly exculpatory.

Re:AES Finder – the utility to find AES keys in running proc... by koolba on Sunday September 06, 2020 @10:46AM (#24391687)
You can freeze the computer, remove the DIMMs, and then pop them into a different machine to read them: https://electronics.stackexchange.com/questions/32189/freezi...
Re:AES Finder – the utility to find AES keys in running proc... by Drip33 on Sunday September 06, 2020 @10:51AM (#24391720)
I thought that wasn't possible since DDR3 or 4?
Re:AES Finder – the utility to find AES keys in running proc... by ATsch on Sunday September 06, 2020 @04:11PM (#24394284)
Smaller capacitors will keep their charge less long, which makes this more difficult, but I understand that there are no fundamental mitigations.
Re:AES Finder – the utility to find AES keys in running proc... by jleahy on Sunday September 06, 2020 @07:25PM (#24395482)
The fundamental mitigation is full memory encryption using a randomly generated key that changes each time the CPU boots. That exists for some CPUs.
Re:AES Finder – the utility to find AES keys in running proc... by ATsch on Sunday September 06, 2020 @09:32PM (#24395987)
Well, that's not part of the ddr3 or ddr4 spec :)
Re:AES Finder – the utility to find AES keys in running proc... by Spivak on Sunday September 06, 2020 @10:27PM (#24396176)
Where do you store the key?
Re:AES Finder – the utility to find AES keys in running proc... by danielheath on Sunday September 06, 2020 @11:21PM (#24396357)
CPU registers - much harder to pull off and reattach elsewhere.
Re:AES Finder – the utility to find AES keys in running proc... by Avamander on Sunday September 06, 2020 @05:28PM (#24394813)
There's (T)SME.
Re:AES Finder – the utility to find AES keys in running proc... by dtech on Sunday September 06, 2020 @10:41AM (#24391650)
USB-C+Thunderbolt or eSATA with a vulnerable controller. I know modern OSes have protection against driveby-DMA, but don't know if they protect against memory dump if the "user" - or attacker who gained access to a logged in system - consents.

All these attacks target decryption keys in memory, so they don't work on devices which are turned off.

Re:AES Finder – the utility to find AES keys in running proc... by Drip33 on Sunday September 06, 2020 @10:54AM (#24391741)
I'm assuming the computer is "locked" but online, and no users consent to logging in to run anything. Will any of these methods still work if Firewire drivers are disabled?
Re:AES Finder – the utility to find AES keys in running proc... by wongarsu on Sunday September 06, 2020 @01:29PM (#24392988)
In that case USB-C/Thunderbolt won't work, in the default config you need to trust the device and cable before anything too interesting can happen. This can be turned off via bios setting though, so there's room for misconfiguration.

E-SATA or PCIe hotplug might still work. However the former is getting less common, and the latter is uncommon in consumer mainboards.

Re:AES Finder – the utility to find AES keys in running proc... by ra on Sunday September 06, 2020 @11:21PM (#24396359)
Thunderbolt in some cases: https://thunderspy.io/
Re:AES Finder – the utility to find AES keys in running proc... by benlivengood on Sunday September 06, 2020 @12:38PM (#24392565)
There was a neat patch to store the AES key in debug registers and do round key setup for each block. It was even faster than the normal routine. https://www.usenix.org/event/sec11/tech/full_papers/Muller.p...
Re:AES Finder – the utility to find AES keys in running proc... by TACIXAT on Sunday September 06, 2020 @11:23AM (#24391974)
You can do it via PCIe as well. [1]

1. https://github.com/ufrisk/pcileech

Re:AES Finder – the utility to find AES keys in running proc... by IncRnd on Sunday September 06, 2020 @11:35AM (#24392054)
It's a DMA attack, not necessarily a FW attack. DMA is direct memory access, which is how the attacks worked.
Re:AES Finder – the utility to find AES keys in running proc... by srtjstjsj on Sunday September 06, 2020 @12:36PM (#24392554)
It seems unlikely that

(a) FBI understood truecrypt

(b) the target understood truecrypt

(c) the target misunderstood the entire purpose of truecrypt, and they would misuse it to expose themselves

and (d) the FBI expected this and intentionally blew their cover, leaving the target a chance to destroy the drive.

Re:AES Finder – the utility to find AES keys in running proc... by enedil on Sunday September 06, 2020 @03:00PM (#24393752)
It's likely though that they knew that AES keys are somewhere in the memory.
Re:AES Finder – the utility to find AES keys in running proc... by rojaz on Sunday September 06, 2020 @08:36PM (#24395809)
Why did having FireWire matter?
Re:AES Finder – the utility to find AES keys in running proc... by ra on Sunday September 06, 2020 @11:18PM (#24396347)
Because FireWire has direct memory access (DMA).

See https://en.wikipedia.org/wiki/DMA_attack