News for hackers. Stuff that matters.
Re:How I got a Root Shell on a Credit Card Terminal by ComputerGuru on Sunday June 01, 2025 @11:46AM (#44151728)
The (compromised) Linux decides whether to load the “compromised mode” code or the mp1 secure system? Sounds like an avenue to explore. It says the bootloader itself is secure, but that doesn’t mean much if it’s being loaded into a compromised environment, depending on where it is actually being executed. I guess the coprocessor could be considered a Secure Enclave of Sorts, but the fact that Linux could load a separate bootloader and run that (somehow) is of concern.
Re:How I got a Root Shell on a Credit Card Terminal by stgl on Sunday June 01, 2025 @12:29PM (#44152018)
No, it cannot load a separate bootloader. I tried to tamper with the loadercode (the "secure" bootloader), but it wouldn't boot. So I am guessing there is some third party (boot ROM) that verifies it.

Also, I think Linux always loads loadercode + mp1.img, regardless of the tamper state. The different code paths depending on tamper state are taken within the (integrity protected) loadercode.

Re:How I got a Root Shell on a Credit Card Terminal by ComputerGuru on Sunday June 01, 2025 @12:59PM (#44152242)
Keep in mind that no tamper mode will be set if you use the external debug interface. If Linux is used for networking then maybe you could MITM payments.
Re:How I got a Root Shell on a Credit Card Terminal by _djo_ on Sunday June 01, 2025 @05:17PM (#44153813)
The card details and payment are encrypted and then signed by the firmware running in the secure/trusted zone, using public keys provided by the acquirer.