News for hackers. Stuff that matters.
Re:The Sad Saga of Purism and the Librem 5 by megous on Sunday October 27, 2019 @04:44PM (#21372266)
It's nice, but not enough. Modem will still have access to a lot of things, like all unencrypted communication, all metadata, content of all regular calls and SMS, etc.

It's nice that it can't control other devices in the SoC, but that's of little value. Modem, given it's connected over USB can also immitate any other USB device, including keyboards, pointer devices, storage devices, display devices, etc. and actually control the UI.

It can even try to exploit Linux USB stack/drivers by providing specially crafted USB messages to less used/tested USB drivers.

It's somewhat disappointing people repeat this thing about direct memory access as the only way modem can attack the device. It's not nearly enough to use USB. A lot of other mitigations are needed, if you don't trust the modem.

Re:The Sad Saga of Purism and the Librem 5 by lperkins2 on Tuesday October 29, 2019 @12:57PM (#21389345)
I raised a concern about USB isolation about a year ago, both about the modem launching a fake USB attack and potential issues with USB peripherals via the USB C port. The underlying issue is that, unlike bluetooth, USB devices are approved and enabled automagically by the kernel.

In general this is desired since you really want your USB keyboard to work on system setup, or you can't do anything with the computer (unless, like me, you have a PS/2 keyboard). Also, the USB device gets initialized by the BIOS/UEFI on a typical computer, which means it could launch an attack before the kernel is even loaded.

Good news is neither you nor I are the first to spot this problem, and there is already a project which adds authentication/pairing for USB to the linux kernel. It doesn't solve the boot-time issue, but it does solve the USB stick (or USB 3g/4g card) pretending to be a keyboard+hdmi monitor issue.

Re:The Sad Saga of Purism and the Librem 5 by megous on Tuesday October 29, 2019 @02:39PM (#21390609)