Samsung reportedly shipped millions of phones with flawed encryption


Some of the top Samsung flagship smartphones were being shipped with a major security flaw that could allow threat actors “trivial decryption” of secret, encrypted keys, experts have warned.
Overall, around 100 million devices are thought to have been at risk, including flagship devices such as the Samsung Galaxy S21 and S20 models, along with older top-end smartphones including the S8, S9 and S10.
The flaw was discovered by a group of cybersecurity researchers, Alon Shakevsky, Eyal Ronen, and Avishai Wool, from the Tel Aviv University in Israel. Their work resulted in the establishment of multiple vulnerabilities, including CVE-2021-25444 and CVE-2021-25490, as well as their subsequent patching, by October 2021.
Poorly implemented encryption
Here are the flaw’s details, described as briefly as possible:
Sensitive secondary functions on virtually all Android smartphones are separated from “normal” Android applications, through what’s known as Trusted Execution Environment (TEE), supported by Arm’s TrustZone technology. TEE basically runs its own operating system, called TrustZone Operating System (TZOS), while individual vendors decide whether or not to implement cryptographic functions within the OS.
At the same time, there’s the Android Keystore, offering hardware-backed cryptographic key management through the Keymaster Hardware Abstraction Layer (HAL), which Samsung implemented through Keymaster TA – a Trusted Application on TrustZone.
This gives Samsung phones the ability to use TEE crypto calculations in other apps that operate on Android.
The cryptographic keys, or blobs, stored by the Keymaster TA, are encrypted via AES-GCM and stored in the Android file system. The trouble is – while these should only be readable within the TEE, in practice – that’s not the case.
Samsung implemented Keymaster TA poorly in S8, S9, S10, S20, and S21, allowing researchers to reverse-engineer the Keymaster app and get the keys from the hardware-protected key blobs.
Commenting on the findings on Twitter, associate professor of computer science at the Johns Hopkins Information Security Institute, Matthew Green, said Samsung could have derived a different key-wrapping key for each key they protect. “But instead Samsung basically doesn’t. Then they allow the app-layer code to pick encryption IVs. This allows trivial decryption,” he said.
Samsung has yet to comment on the findings, but TechRadar Pro has approached the company for comment.
Via: The Register
Audio player loading… Some of the top Samsung flagship smartphones were being shipped with a major security flaw that could allow threat actors “trivial decryption” of secret, encrypted keys, experts have warned. Overall, around 100 million devices are thought to have been at risk, including flagship devices such as the…
Recent Posts
- Reddit is experiencing outages again
- OpenAI confirms 400 million weekly ChatGPT users – here’s 5 great ways to use the world’s most popular AI chatbot
- Elon Musk’s AI said he and Trump deserve the death penalty
- The GSA is shutting down its EV chargers, calling them ‘not mission critical’
- Lenovo is going all out with yet another funky laptop design: this time, it’s a business notebook with a foldable OLED screen
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010