301 points · by PaulHoule · 3y ago · 124 comments
"some of the compromised keys: Samsung, LG, and Mediatek are the heavy hitters on the list of leaked keys, along with some smaller OEMs like Revoview and Szroco, which makes Walmart's Onn tablets."
That Sony Google TV? MediaTek.
Google Chromecast? MediaTek.
Blu-ray Player? MediaTek.
Random IoT device? Likely MediaTek.
They’ve known about it since 2016!?!
It's much more likely that an employee's account was compromised and then used to sign malicious APKs, or something similar. Once Samsung realized, they could get the logs of every APK signed with the HSM and then revoke those certificates individually through a software update. Not really sure if they actually did that or not, but either way the key doesn't necessarily need to be replaced.
Android doesn't really do revoking certificates in this way. The only way to fix a leak of a system key is to generate a new key and use replace the entire system image.
I hope you're right that this is merely a remote signing account being compromised, because I don't see Samsung building six years of new system images.
The app-signing key can't be changed without just creating a new app, and creating a new app means you users won't be able to upgrade - they have to manually uninstall, go to the app store, and install the new one.
It's not just an app store thing, I think I remember Android itself verifies that the upgrades have the same key as the old version.
https://source.android.com/docs/security/features/apksigning...
https://news.ycombinator.com/item?id=33823946
An important comment from the original story:
> OEMs have mitigated the issues above in previous updates. A new security update from Android is not required to mitigate these issues. Ensuring your device is running the latest version of Android is a general best security practice for users.
Though the ars story says Samsung is signing their first party apps with it still. So who knows.
Extremely cheap brands don't tend to do updates much, especially Android version updates.
Mid-range phones land somewhere in the middle; some have budget hardware with decent support, but other brands get good hardware for dirt cheap in exchange of basically no software support after buying the phone. The latter is great if you're planning on using custom ROMs to extend the life time of your dirt cheap hardware, but quite terrible for people who are used to buying phones four times the price and expecting the same level of support, thinking they just scored a good deal.
source: have owned a samsung and took notice of when the update came
I bought a Galaxy A33 the other day for my mother. It came full of crapware. All kinds of Samsung this-or-the-other. Some of the apps can be disabled, but not all. Like parts of Bixby (= Samsung's assistant? no idea) can be disabled if you click through a warning, but others cannot.
There is also a bunch of 3rd party crap pre-installed, like MS Onedrive, Facebook, Tiktok.
And it pushes hard to use Onedrive instead of google drive.
There's also a separate, Samsung store, and some functions seem to require a Samsung account.
The latest Samsung device i have is tab s8 from this year and the software i would call bloat was all the Google stuff like Youtube, Youtube music, Duo, Chrome, Google search. And worst of all the Google assistant that you have to go to multiple places to disable.
If you don't want it the only option is a non android os such as oxygen.
To add injury Bixby hijacks a physical button and Samsung Pay a swipe direction.
I can dream, but I would love to know what this "somehow" is. Such a leak is a major security threat to a sizeable portion of phone users. Disclaiming what happened and what you are doing about it would be good.
Generally speaking I don't have much trust in anything a large company is building. In this case, this is very likely they haven't used an HSM for something at the root of the security for stuff like Samsung Pay... This is a major smell to me.
Multiple independent business units developing apps and needing to share the same signing key. Probably contracting out development to other firms.
Neither Google or Apple offer robust ways to effectively delegate App develop while retaining secrets needed to publish an App. So you effectively need a FTE managing and supporting all of these groups.
Anyone can do a ELI5 on the app signing key replacement difficulty?
It isn't covered in the article and seems too high level for a layman like me.
On Android, an updated app is validated by the system to be signed by the same signing key hash as was used previously.
The most recent (v3, IIRC) apk signing scheme allows you to update an APK and sign it with the old key, and committing a future new signing key, which permits re-keying an app.
To use this, I believe you need to ship a platform (operating system) update, as the underlying apps are signed using old APK signing schemes.
These OEMs are likely not always shipping the latest OS version, but could look to techniques used in the custom firmware world, where there are tools to allow reflashing the OS without losing app data when changing system signing key.
It requires engineering effort for already released devices though, so I suspect we will see very little action - as usual, the eyes are on the future products, not on previously released products.
I assume Google play protect will be used to carefully patrol and detect apps on devices signed by the leaked keys, but this isn't hugely helpful for anyone concerned about "zeroday" style targeted attacks against them.
Well then they better do some f..ing testing. They're only one of the biggest tech companies in existence. Making phones isn't trivial either!
The stuff around it is where the complexity lies: making sure you get updates and have infrastructure to distribute these to customers, that you apply for and get certifications from regulatory agencies and, in the US, carriers, deal with e-waste and warranty regulatory requirements (which is a pain in the EU), establish a supply chain for spare parts...
I’ve avoided Samsung anything for years because of their total disregard for security and total contempt towards their users.
The thing is, if you live in the west then all the other major Android brands aren't better at all. There just are no good options anymore. HTC went bust, OnePlus turned to shit, LG threw in the towel, Sony's SW updates cycle is unimpressive for how expensive they are, Google Pixels are buggy as hell and not available in every country, and Motorola, Nokia and Blackberry are basically rebadged Chinese OEM designs. This lack of good options explains why Android lost so much market share to iOS in the last years.
Excluding Chinese phone makers, Samsung is pretty much the only big player in town from a western aligned nation, that has its shit mostly together as of present, promising 5 years of updates, having service and distribution centers in most countries around the world and a wide portfolio covering all price brackets.
For example, if you're in the market for a new relatively affordable mid-range ~300 Euro phone, then Samsung is pretty much your safest bet in the Android space.
Sure, there are better option like Fairphone but those are far away from being globally mainstream.
That hasn't been my experience.
1. GPS didn't work in the background for me. A few OS updates and some Waze updates later it seems I do get turn-by-turn directions.
2. GPU artefacts in Minecraft and Firefox. A few OS, Minecraft and Firefox updates later and it all "just works".
3. Fingerprint sensor works well except when you need it. Murphy's law for sure.
4. I'm in a low signal area and it seems to be unable to receive calls sometimes. I've had people tell me they called and my phone just didn't ring (it's not do not disturb).
Overall is a decent phone but it was a struggle for the high price it had.
Google has no quality consistency both with SW and HW, it's all hit and miss with their Pixel range. Some turned out great, some were abasically e-waste.
IMHO they peaked with the Nexus 5 and then went downhill after that. Then current Pixel 7 seems to be an exception.
That aside, Samsung’s shittiness extends far beyond smartphones. Their TVs are a disaster, their appliances fail just outside warranty, their wearable and speakers are spyware just like the rest of their products… the only thing from them not on my shitlist are semis or components like ram because there isn’t much that can go wrong on this kind of commodity product.
I tried to get my mom a 2020 SE since that's the phone my employer gave me and she hated the tiny, dim, low resolution display but she loves her Samsung A52 though, with its big and bright OLED display while being cheaper than the SE. Also battery life is longer on her A52 than on my work SE.
Different people have different requirements for a smartphone that go beyond the brand and reputation (display size, brightness, USB-C, etc). iPhone SE is not a one-size fits all solution for everyone.
They also pioneered the work container before Google started offering this as part of AOSP under the name 'Work Profile'. A feature which is really nice for privacy, separating a user's personal activity from their work activity.
And they're really good at rolling out security patches. Even before apps like SnoopSnitch drew attention to Android OEMs playing loose and fast with patch levels and missing out patches, Samsung was one of the most complete in this area. https://9to5google.com/2018/04/12/android-security-update-mi...
I was a mobile MDM admin of a huge fleet until last year. No commercial involvement with the vendors though because in our company each country picks their own models but technical management is global.
I do have complaints about Samsung like the huge amount of crapware they ship. Upday, facebook, etc. And their ads in their apps. And it's bugging the users to sign up for a personal onedrive account even when they're already signed in to a corporate one :(
But on security I consider them quite good for an Android vendor.
(Do we expect Samsung better protects its TV keys, than its smartphone keys?)
I think you could phrase that better. Sideloading apps is not an "issue", it's an incredibly important tool that developers can use to audit the behavior of apps.
With the continuing security problems, it is increasingly being proven out that Apple got the app ecosystem right, from the get-go, with their walled garden approach. The benefits of such vastly outweigh the costs to a few tinkerers (and malicious actors) when you're building a product for the average bear.
that is the worst idea I have heard in a long time. what happens to developers, like me, that cannot afford a "paid developer account"? and whats to stop Google (or Apple) from raising the fee so high that it prices out important people from the process?
I think this is confusingly phrased and the replies relate to that confusion.
A free Apple developer account allows 'sideloading' for a limited time, currently a week IIRC, and a paid account extends this to a year, which is technically limited but probably not what most people would understand by the phrase.
If you do have a developer account, your device only has to connect to your home WiFi network once a year for your computer to keep the app authorized.