11 ms·
Counterpoint: In the history of the industry no mass-market computing platform has been safer than the flagship hardware/software platforms from Apple and Goog
by tptacek 8y ago
Counterpoint:
In the history of the industry no mass-market computing platform has been safer than the flagship hardware/software platforms from Apple and Google --- on no platform does an exploitable vulnerability cost more to obtain, and no platforms have ever been more capable of establishing secure channels between themselves.
SS7 is insecure. But operational practices at both the carriers and inside governments rely on those insecurities to get jobs done, and some of those jobs are important and enjoy wide support. Anything we do to shore up the security of SS7 will, almost necessarily, include compromises most of us here will find hateful, and we'll be stuck with those compromises for another generation.
Rather than "fixing the potholes" in GSM and SS7, we could instead accept that the cell signaling layer is insecure, and route around those weaknesses with application code that can establish end-to-end secure channels accountable only to their users. That's pretty close to what Apple has already done with SMS text messaging, which opportunistically upgrades to Apple's secure iMessage protocol. We can do even better than that!
That's what we've done with the Internet, where this approach is called "the end to end argument in system design". It worked there and will work just as well for telephony.
- stefan_ 8y agoWho needs to break crypto when you have a baseband processor relay back location, audio and video? The problem with the potholes such as silent SMS are not that they exist, it's that baseband manufacturers have demonstrated unwillingness to address them. Alongside other readily addressable things such as IMSI catchers. It's cool we made the application processor secure, but it's pretty pointless when the 5G chip is in fact a hostile implant.
- tptacek 8y agoThe baseband on an iPhone doesn't see the video or audio frames fed into Signal (or, for that matter, Skype and Hangouts). And the point of end-to-end encryption is not trusting the baseband to set up a secure channel.
- superkuh 8y agoAre you telling me the baseband on an iPhone doesn't have access to the system RAM?
- tptacek 8y agoYes. The baseband on an iPhone is effectively just a USB peripheral. Did you think Apple spent tens of millions of dollars designing a custom secure enclave processor running a separate operating system unrelated to iOS and just said "fuck it, give the whole system to the baseband vendor"?
- mirimir 8y agoThat's very good to know. Thanks! What's the status for Android devices? Is it true, as DCKing says, that the baseband radio doesn't have access in "common chipsets used in Android phones"?
- chupasaurus 8y ago90+% are having cellular modem inside SoC, all the cheap ones do for sure.
- pvg 8y agoFrom https://www.apple.com/business/site/docs/iOS_Security_Guide.pdf https://www.apple.com/business/site/docs/iOS_Security_Guide.... "To protect the device from vulnerabilities in network processor firmware, network interfaces including Wi-Fi and baseband have limited access to application processor memory. When USB or SDIO is used to interface with the network processor, the network processor can’t initiate Direct Memory Access (DMA) transactions to the application processor. When PCIe is used, each network processor is on its own isolated PCIe bus. An IOMMU on each PCIe bus limits the network processor’s DMA access to pages of memory containing its network packets or control structures."
- throwawaymath 8y ago
- LeoPanthera 8y ago> Who needs to break crypto when you have a baseband processor relay back location, audio and video? [Citation really needed]
- tivert 8y ago> Who needs to break crypto when you have a baseband processor relay back location, audio and video? Not exactly a citation for the exact claim, but several people in this thread make the assertion that Qualcomm processors have some kind of location tracking service running on them, running under a parallel OS: https://news.ycombinator.com/item?id=17081684 https://news.ycombinator.com/item?id=17081684 I think that's pretty close. The baseband processor is just one of the many hidden nooks that can run privacy-invading/security-breaking code outside of user view or control. Also, I think it stands to reason that the baseband processor has everything it needs to at least relay a rough location: the list of in-range towers ~= user location, and it has full control of a channel to relay that information.
- mindslight 8y agoAudio and camera don't inherently need to be hooked through the baseband. And without a serious redesign of the cell protocols, any use of the cell network spills your location. With the baseband and application processors being logically separate, strengthening the isolation between them is straightforward. For starters, you can use a phone with a discrete baseband chipset, like the Samsung Exynos lines. Or use a Wifi-only application computing device with a separate not-always-on Mifi for a data connection. If you want to be more paranoid, use an application processor with an Atheros chip and MMU, or a third device as a protocol converter to translates Wifi to RS-232. But the real point is that with IP-based protocols and Free software, you can unilaterally do any of the above without requiring your friends to also do so in lock step.
- subway 8y agoFor folks who fall in the "more paranoid" category, and want a nice package: https://www.gl-inet.com/products/gl-mifi/ https://www.gl-inet.com/products/gl-mifi/ This little fella hangs an lte modem off a qca wisoc via usb (on a mini pcie slot). The stock modem is a little spotty, but is trivially replaced. They ship with a fork of OpenWRT, or you can use an official OpenWRT build on it. When I find a few free hours, I'm hoping to put together a set of Buildroot configs as well.
- kevin_thibedeau 8y agoThere is a reason why POTUS can't have an iPhone.
- tptacek 8y agoThe President in fact uses an iPhone. More than one, in fact.
- throwawaymath 8y agoDo you have a source for this? A casual search online shows that both Obama and Trump use(d) iPhones in office.
- deleted 8y ago[deleted]
- judge2020 8y agoHe has three according to an earlier times article: https://www.nytimes.com/2018/10/24/us/politics/trump-phone-security.html https://www.nytimes.com/2018/10/24/us/politics/trump-phone-s...
- lemoncucumber 8y agoObama used a Blackberry for years before eventually switching to a hardened Galaxy S4 that was so locked down that "it doesn’t take pictures, you can’t text, the phone doesn’t work, you can’t play your music on it" [1] Trump, on the other hand, does use an iPhone but doesn't have it checked by security experts as often as his aides would like [2] [1] https://www.digitaltrends.com/mobile/obama-ditches-blackberry/ https://www.digitaltrends.com/mobile/obama-ditches-blackberr... [2] https://www.politico.com/story/2018/05/21/trump-phone-security-risk-hackers-601903 https://www.politico.com/story/2018/05/21/trump-phone-securi...
- kevin_nisbet 8y agoThis is an interesting perspective, however, I think this still falls short in a few areas where users have a reasonable expectation of privacy and security. Just a note on background, I spent over 9 years in cellular telecom, so take these biases as a long term industry insider. Apple/Google have made great progress in several areas, but there are just pieces of the puzzle we entrust the carriers with: General Location Information: By the nature of the way cellular networks work, they require all times the device is powered the relative location of the device. There are lots of rules and carrier preferences around this, but when the radio is active, the cellular network needs to know which are the closest towers, and when the radio is inactive, a wider location (think a postal/zip code). I think most people would reasonably consider leaking this information or allowing it to be public unreasonable. Specific Location Information: So I'm not totally sure about this one, since I unfortunately never took the opportunity to test it. There exists a diameter API for e911 services, that allows requesting the GPS coordinates of a device. I never tested this out, to see if the device would notify if this API was used, or whether it was only functional form within a 911 call. So take it with a grain of salt, but embedded within this might be the possibility to continually request specific GPS coordinates of a device. Denial of Service: A large issue with many of these weaknesses, is it can lead to targeted denial of service. So if I have access to the diameter network, I can send routing updates to a location where you aren't, and continually deny you access to the network. The device might be secure, but if you can't use it, it's still a problem. This wouldn't require much sophistication, probably on a similar level to say running a ddos attack against a website. Inflated Billing: Another side effect, I can target you and generate inflated bills, by indicating you are roaming on an expensive network. When I left, I believe the most expensive roaming location was still $65 CDN/MB. Try and deal with a carrier explaining that you can't possibly be in Canada and Africa at the same time. Detectability: These problems can be hard to detect, if you suspect fraud on you're account due to denial of service or inflated billing, there are only a select few people at the carrier that can find these problems. Diameter protocol also has a specific weakness, in that requests are routed by destination network, but answers are routed back along the path the request took, and may cross 3-4 companies networks. So even if you try and implement source based policy, it's trivially easy to spoof the source when implementing these types of attacks. Sim Updates: I'm not totally familiar with this part of the architecture, but if your able to spoof the device into connecting to a rogue network, you may be able to do more nefarious things than just route or block the user plane traffic. You may actually be able to send sim updates, that could brick the device or maybe even run programs on the sim card. Don't hold me to this though, I'm pretty far removed from this part of the spec. I'm also not totally convinced the internet model has all the answers yet, but I'm happy to see the progress made over the last several years. But I think that's really a different topic, so won't dive into it here. I think my argument would be progress need to be made on both sides of the equation. Carriers should work towards being able to operate with the least privilege necessary (good luck... I don't have my hopes up seeing the inside), and still protect the privacy and integrity of the information it does need (routing locations, e911 services, record keeping, OTA updates, metadata).
- lisper 8y ago> no mass-market computing platform has been safer than the flagship hardware/software platforms from Apple and Google That's a pretty low bar, because, as you say: > SS7 is insecure Also... > operational practices at both the carriers and inside governments rely on those insecurities to get jobs done, and some of those jobs are important and enjoy wide support Sure, law enforcement is easier then the citizenry isn't free. But the U.S. used to pride itself on being the one place on earth where that argument does not carry the day.
- tptacek 8y agoI'm sorry, Ron, but this is a non-sequitur. The premise of my argument is that SS7 is insecure, and that doesn't matter, because modern phones don't rely on SS7 as a secure channel.
- lisper 8y agoThey do if you are making a regular phone call. But (and you and I have been down this road several times now) even if you are not using the baseband you have only apple’s word that the rest is secure. No one outside apple can audit their products.
- tptacek 8y agoThat's pretty obviously hyperbolic, since Apple's OS and firmware code is one of the two most aggressively reverse-engineered codebases in the industry.
- lisper 8y agoiOS 12.1.2 is 1.6 GB. If you could reverse-engineer it at the rate of one byte per second (which I think is wildly optimistic) it would take you 50 years to get through the whole thing. So no, I don't think it's "wildly hyperbolic" to suggest that Apple could hide a backdoor in there somewhere if they wanted to.
- 8y ago
- xte 8y agosafer/exploitable by whom ? Because if you are named Google, for instance you have a very big safety to know pretty anything from anyone thanks to your spy network everybody use, want to use, buy from you, more and more. However if you are a "typical citizen" well... You have less and less choices, for instance you want a classic mobile phone? Good luck to find one. And even if you find it did it still can operate? In many developed country we start talking about cutting GSM/2G network leaving only 3G backups and invest in 4G massively... Do you want a car that you and only you can control? Hum... Ok... You have few options: buy a history car (feasible if we do not need to move too much until we close gas stations transforming them to recharge stations) or create one from scratch and good luck not only for the technical part but also for the needed bureaucracy to get them legally usable on roads. That's the problem. Today dictators does not need strong power anymore: why forbid traditional non-connected, non-autonomous cars? You simply stop to produce them. With actual centralization is super easy. We are NOT in a free market capitalistic society, we are in a kind of planned economy not much different than Soviet Union's one, only instead of a formal dictatorial government, with clear powers and symbols, we have a vague corporatocracy without symbols and formally "constrained" by some kind of "democratic laws". And that's is even worse than classic dictatorship because with them you know your enemy, now you can't really know it and you can't fight an enemy you do not really know nor see.
- icebraining 8y agofor instance you want a classic mobile phone? Good luck to find one. It would take me a 15m walk and $20 to get a basic dumbphone right now. Where do you live that these are hard to find? Or do by "classic", do you mean old? But if so, what's the advantage? But the classic phones are exactly those that run a closed OS and only support protocols (SMS and phone calls) that can be spied upon by the ISP. If you don't trust Google and Apple, why would you trust a classic phone? Do you want a car that you and only you can control? Hum... Ok... You have few options: buy a history car (...) or create one from scratch Infotainment systems have been becoming too invasive, yes, but you still have options. For example, the Nissan Micra comes with a FM/AM radio with MP3 support. No GPS, mobile data, etc.
- 8y ago
- alexnewman 8y agoTell that to the 14 year olds with IMSI catchers outside my window