189 points · by sinak · 7y ago · 139 comments
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.
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.
[Citation really needed]
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
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.
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.
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.
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).
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.
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.
I live in south France, and I have zero idea where to find something like a Nokia 3310... Now, and not for now, I only see smartphones of various (crappy) kind or phone for old people that mimic classic phone but with a crappiness of '90s-style dot-com era business software...
Of course 3310 was proprietary but simple enough to have fable means for spying me and the level of centralization is far, far less than now. Banally yes, my carrier can spy on me. But only my carrier, not a super-giant multinational data-mining company. And my carrier is subject of my country's law I know a bit about so I have a certain protection. With Android&c devices there are tons of different subjects that can spy on me from any country of the world. I have essentially ZERO protection. And modern devices can do far more than mere audio recording at carrier level...
> Infotainment systems have been becoming too invasive
Oh but I do not really care about infotainment I do care about being unable to switch ABS off when on snow so to have chances to brake the car under my own control, I do care about the ability to switch on the engine without any possible software crash interference (a friend of mine remain locked inside it's top-of-the-line Audi because of a software fault, for instance). I do care about NOT having the ability of power on my car via a smartphone witch means having a remote control device that connect my car with it's vendor and me via internet, all on proprietary software I do not know nor control.
I can't really use a Nissan Micra, I normally use a car for 30-60Km to 300+Km trips, not distances nor environments to be done with a citycar...
And even on simplest citycars: a friend of mine few days ago ask me if I can help because he left light on and shes car's battery is drained. I came, it was evening with not good light and it's raining. I see a big red plate aside a pole of the battery and a black cable on the opposite pole. My cable nipper start sparking fire suddenly when I connect what I'm thinking it was the + pole... With sound imprecations I grab a headlight and see: TWO damn battery poles are without a fucing +/- sign, TWO have black big cables and the damn big red plate have a rigid connection UNDER the plate, black painted as the battery, that attach it to the farthermost* pole. I do not know how an mechanical engineer can be so dumb to design such a thing.
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.
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-blackberr...
[2] https://www.politico.com/story/2018/05/21/trump-phone-securi...
That’s all possible today.
Meta data is much more powerful than is commonly supposed. Timing attacks are at least as effective as keystroke statistical attacks, which are real. You're better off, if both of you are running VPNs all the time and have lots of background traffic on the same connection.
SS7 is not a "cell tower protocol", its an entire protocol stack that allows a Telco central office switch to talk to any other central office switch on any other Telco anywhere in the world, for both copper and cellular subscribers. It run's the entirety of global phone. Class 5 Telco switches are often old Many of these switches have been in service since mid 1970s. Do an image search for "Nortel DMS 500" and you will get an idea of how old and stodgy a lot of this gear is. And it all needs to interoperate seamlessly as governments, emergency services etc all rely on it. In fact with they add IP capability to SS7 - SIGTRAN, they basically forklifted it as is, warts and all. Presumably to err on the side of caution.
A handset only implements a small subset of the SS7 protocol stack the Mobile Application Part(MAP.)
Consumers are more likely to switch because of coverage than security.
This is, perhaps, because they aren't informed that their communications aren't secure and that coverage is extended despite being insecure.
What does one do about that?
I think it would be amazing if banks and financial institutions used iMessage but I can’t see it happen.
The 4G backend still has a web of trust between operators and their e.g. IP exchange providers. As far as I know, this will change with 5G.
Roaming data confidentiality can then be routed and encrypted until the home operator network, while the associated metadata is accessible for the IP X to provide their services.
The home operator can verify the smartphone is actually in the visited network.
These are all bits and pieces that break up the operator's web of trust.
https://www.aftenposten.no/verden/i/Olkl/Sources-We-were-pre...
Am I the only one often peeved by this kind of slop in thought and expression? Of course somebody could. Some visionaries even did, and not than just Arthur C. Clarke.
So rightly: 'Few envisioned how deeply ...'
We have the means to have secure communication over insecure channels with asymmetric crypto signing+encryption (which doesn't seem broken at least for now), the problem is semi-solved at the software layer -- we now need to solve the privacy/security issue at the layers below software.
[0]: https://riscv.org/
[1]: https://riscv.org/2018/10/hackaday-article-new-part-day-the-...
It's becoming increasingly common to rent portable wifi devices from 3G carriers, and if long distance wifi mesh networks ever take off things will be even better.
The idea is to not have your primary mobile computing platform be compromised, if you can prevent it.
Also, see the sibling post to this -- https://www.gl-inet.com/products/gl-mifi/
Isn’t this one of the major selling points of iMessage etc?
I would love to do an examination of communication via BankIDs app to the internet to see what kind of security exists to protect the user. If you can get the person's social number (personnummer) and their 6-digit code, then spoof their device (probably the easier part) you can basically take over their life in Sweden.
The article is about the basic communication between the phone and the cell tower, which has other issues.
The fact that cellular traffic to this day isn't encrypted properly[1] even though LTE was supposed to should indicate just how horrible cellular providers are at infosec & what happens when they drive security requirements.
[1] https://arstechnica.com/information-technology/2018/06/lte-w...
Unfortunately the very same power is interest for criminal itself to spy on their targets, any kind of criminal from the home thief that may like follow you to know when you go on holidays, what kind of safety you have at home (because yes, you post new shiny photos of your new home surveillance system, together with it's plan, photos of you and few technicians during the mounting phase etc), what you have in your house (because you post tons of photos/selfie with relevant "background") to your insurance company that buy with discretion your data from Amazon/Google/Microsoft/Apple, data recorded by voice assistant, smart devices with cameras everywhere, speaker mic of your phone etc (curiously in the past such kind of spying devices were buy, and they are very expensive, by people who want to spy on you. Today you buy them from the people willing to spying on you and also you pay connectivity and electricity form them) to your government that likes to know your political opinion and influence network like ancient est-German STASI or modern NSA/FBI/CIA/* do.
The real "safety" point is not safety itself but balance of power. A knife good to cut a succulent steak is also good to kill someone and perhaps to open a package. A car the same. A phone the same. etc. They are instruments with more or less effectiveness, comfort and power. If they are balanced so anyone have more or less the same power we have no real safety problem. If too few have too much power we have a problem, bigger as fewer and powerful counterparts are.
Unfortunately to proper balance power as a society we need also a certain level of awareness and civic sense distributed among us, because yes knowledge is power. At any level. Today's and not from today's we evolve in a more and more ignorant society with a more and more reduced élite that rules against tons of sheep.
Fortunately I'm having a little bit more luck on my current project in the health space.
1 - You remove control of the company from being able to plausibly deny that something happened; you become a second subpeonable party that would disclose something if forced to. 2 - You're not pricing it high enough for a big reseller (like CDW, etc) to want to try to sell it.
Not sure how to fix #1 besides selling/licensing the tech (if the patent issues) to a larger company that can roll this into a larger offering (and out to their exiting customers).
Background; I've worked in Enterprise Software Sales and as part of a SaaS Operations Team.
The value prop I tried to push for MSP resellers was that it would result in more incident response work for them. Basically offering to white-label the thing.
Please tell me this is a joke.
Big institutions are fundamentally feudal organizations. If you look back at medieval times, some of the lords and dukes were wise men driven by some higher purpose. Others were not.
The tools have changed, but people are the same.
It’s also why regulation is so important. Like feudal lords, the agents of the overlord (ie the auditors) are feared and respected. Compliance tied to compensation or continued employment is something that is cared about.
(1) https://www.cancer.gov/about-cancer/causes-prevention/risk/r...
This is a tired response that everyone memorizes but fails to back with facts.
1. There are studies showing some effects besides DNA mutation, such as heating, due to non-ionizing radiation, which could cause a number of health effects.
2. The World Health Organization classified cell phone radiation as a potential carcinogen. The CDC has stated that there is no conclusive evidence one way or the other on whether cell phones cause cancer.
3. I said "potentially" above.
A more dangerous Group 2A includes red meat, "Shift work that involves circadian disruption", and "Very hot beverages (more than 65°C)", according to Wikipedia.
Group 1 contains UV light.
So, walking outside in a sunny day sipping coffee after eating BBQ with kimchi is probably more dangerous than cell phones. Doubly so if you're a firefighter.