News for hackers. Stuff that matters.
Re:Disclosure of three 0-day iOS vulnerabilities by JoeOfTexas on Friday September 24, 2021 @12:18AM (#28638581)
The problem is that cybersecurity is ridiculous hard problem. The junior to senior developers are just using existing frameworks with poor documentation. Any consumer technology will be beaten to submission.

It's the same never-ending war as anti-cheat vs cheat.

Re:Disclosure of three 0-day iOS vulnerabilities by concinds on Friday September 24, 2021 @02:29AM (#28639231)
This seems like much more of an organisational dysfunction problem than a computer science problem. I haven’t heard anything like this about Microsoft or Google: both seem responsive and eager to fix within 90 days (mostly), have responsible browser update models (where fixes for 0 days can be pushed to the whole world within hours) instead of Apple’s irresponsible “you need a 3GB OS update even if the only fix is 3 lines of code in Safari, but we don’t push updates when ready since we don’t want to cause update fatigue, so you’ll need to wait 4 weeks for the fix to come in the next programmed OS update”, and so much more. Even Android seems decent security-wise, since many of the processes that would cause security concerns get updated through Play Store, even in really old phones.

Another example: my grandma doesn’t have WiFi, and I bought her an iPhone, but iOS updates can’t be done on 4G, which can only be bypassed by internet-tethering a computer (which she doesn’t have), downloading the full IPSW, and installing it. She was on iOS 14.0 until 2 weeks ago when I fixed it. And with Safari being, according to security researchers, much less secure than Chrome, that makes me shudder. This isn’t an “anecdote” or an edge case, not everyone lives in a developed country and millions are just like my grandma, and Apple’s poor security design leaves her vulnerable for zero good technical reason, where Android wouldn’t. (They just dropped Google Play Services support for Jelly Bean a few months ago, so even an old Android phone would be reasonably secure). Caring about security requires thinking of details like this.

Re:Disclosure of three 0-day iOS vulnerabilities by acdha on Friday September 24, 2021 @07:29AM (#28640998)
> I haven’t heard anything like this about Microsoft or Google: both seem responsive and eager to fix within 90 days (mostly)

Print Nightmare was part of a risky call in the printing subsystem design which was recognized as such when they made it in the 90s. That specific vulnerability was disclosed to Microsoft in 2020, accidentally disclosed in public in June, flailed at with incomplete patches and bad documentation all summer while ransomware gangs exploited it, and has theoretically finally been patched in the September release following multiple incomplete patches.

The Exchange auto discover bug announced yesterday had previously been reported with Microsoft telling the reporter that it wasn’t a bug. Oops.

This is hard but it’s also important to remember that this is an industry-wide failure because it’s been cheaper to clean afterwards than invest in proactive cleanup of old “stable” code, and it will likely continue as long as there are no financial consequences for a breach. Adding consequences would change that dynamic but would also be a massive change to the industry. It could endanger open source and would almost certainly make everything more expensive.

Re:Disclosure of three 0-day iOS vulnerabilities by smolder on Friday September 24, 2021 @12:56PM (#28644973)
It would not certainly make everything more expensive. The cost of breaches is significant, though difficult to quantify, so the cost of effective prevention could be lower.
Re:Disclosure of three 0-day iOS vulnerabilities by acdha on Friday September 24, 2021 @01:07PM (#28645132)
That's _possible_ but fundamentally I'm looking at this from the perspective of requiring new work to be done by expensive people (infosec, dev, ops are all in-demand skills) — maybe some of that comes from changing team priorities, in which case the cost is less feature work, but in most cases I'd expect that to be hiring. There aren't many breaches which have direct costs greater than that because companies have been able to avoid penalties or compensation in most cases. If the cost of a breach was greater than, say, a year of free credit monitoring that calculation could change dramatically.

Ransomware has already changed this somewhat: now the cost is halting operations for a potentially lengthy period of time, and that has spurred a lot more awareness that the current model is insufficient but not from what I've seen significant efforts to change it.

Re:Disclosure of three 0-day iOS vulnerabilities by guntars on Friday September 24, 2021 @03:20AM (#28639505)
The other day I tried to update my Macbook over a personal hotspot and it happily downloaded about 2GB before the computer went to sleep and I was greeted with a "Whoopsie, failed to download the update, try again" message when I woke it and, of course, it would just start over again. They don't even support resuming the download! That's just embarrassing.
Re:Disclosure of three 0-day iOS vulnerabilities by robertlagrant on Friday September 24, 2021 @05:11AM (#28640160)
Strangely I did the same thing last night and it did resume, although you only see the resumption when it starts. There's no prior indication that it will resume.
Re:Disclosure of three 0-day iOS vulnerabilities by merb on Friday September 24, 2021 @07:05AM (#28640829)
it depends on your free storage. if it is less than X % they will try to download it one go. the resumable download will download all in chunks and than concat them.
Re:Disclosure of three 0-day iOS vulnerabilities by guntars on Friday September 24, 2021 @07:26AM (#28640980)
Just tried it again. I have 70GB available. Got on the hotspot, started the download, unplugged the laptop, waited for it to go to sleep, woke it up - same result. I had to accept the EULAs again and it started to download from about 50mb.

Having attempted (unsuccessfully) to write a resumable HTTP/HTTPS downloader, which is what I suspect nsurlsessiond is using behind the scenes - it's really hard to get it right. Meanwhile I expect to be able to start a BitTorrent download, throw the laptop down the stairs, take out the hard drive and be able to successfully resume it on a different computer because that's a protocol that was actually designed for it.

Re:Disclosure of three 0-day iOS vulnerabilities by codetrotter on Friday September 24, 2021 @09:57AM (#28642401)
But Apple has the luxury of controlling both the server and the client. Why isn’t it just a matter of using HTTP range requests?

https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requ...

And if they need to get more clever than that, why not have a BitTorrent-like map of chunk hashes. So you download the update, check the hash of the whole thing and if it fails the hash check, download the chunk hashes which will be say a 256 bit hash for every individual 32 MB chunk of the file. And for any chunk that fails the hash check, use a HTTP range request to download it again.

Re:Disclosure of three 0-day iOS vulnerabilities by guntars on Friday September 24, 2021 @02:06PM (#28645843)
We can only speculate, but my guess is some combination of “didn’t feel the need to” and “the code responsible for this is nested 6 layers deep between 3 different frameworks”.
Re:Disclosure of three 0-day iOS vulnerabilities by wrycoder on Friday September 24, 2021 @11:17AM (#28643601)
I’ve now tried three times to update Safari. The first two times I left the laptop on charge with the lid open (I have it set to auto update). The third time I did it manually and watched. It got the download ok, but failed during install. It told me the update failed, but with no reason or suggestion regarding what to do next.
Re:Disclosure of three 0-day iOS vulnerabilities by wrycoder on Friday September 24, 2021 @11:38AM (#28643870)
Edit: I should point out that not everyone has a high data cell account. For example, I’m retired, and we don’t spend much time on the road. When we do, we’re careful how we use data, and we depend on wifi at restaurants and hotels.

We are pretty heavy Internet users at home (Starlink), but the cell plan is 2GB per month, shared between me and my wife. We rarely overrun that.

I think that there are a lot of retired people with small phone plans and no WiFi. All they do is a few phone calls and a bit of email with the family. So, updating those phones frequently is problematic. They probably take them to the phone store where they bought them.

Re:Disclosure of three 0-day iOS vulnerabilities by rixed on Friday September 24, 2021 @04:55AM (#28640045)
> my grandma doesn’t have WiFi

Tech workers have difficulty taking into consideration lifestyles they don't know exist, which is understandable. At the end of the day this comes as another consequence of the lack of diversity in tech, I guess.

Re:Disclosure of three 0-day iOS vulnerabilities by funcDropShadow on Friday September 24, 2021 @05:53AM (#28640388)
So, is this the lack of grandmas working at Apple in software development? This is nothing you can fix by following some diversity ideology. This is a question of respecting different requirements from different user groups. You cannot mirror every user group in the development teams. How do you represent people of old age, with illnesses, or certain disabilities in a development team? How do you represent people living at certain locations in the world in a development team? How do you represent poor people or people of low education? Or how do you represent people which live under oppressive regimes or are the continued victims of criminals?

All these groups have different needs and expectations to the products they buy or lease. And development teams and their business cannot expect to understand that by having a more diverse development team. They have to do better requirements engineering, they have to listen better to their customers and they have to decide and prioritize those needs and expectations. E.g. A/B testing has abysmal consequences for the needs and expectations of minorities.

Re:Disclosure of three 0-day iOS vulnerabilities by shorner on Friday September 24, 2021 @06:18AM (#28640545)
Now that you mention it, I think there's a real lack of grandmas in tech... maybe I shouldn't be saying this publicly, but we don't have any at our company.
Re:Disclosure of three 0-day iOS vulnerabilities by OldHand2018 on Friday September 24, 2021 @11:03AM (#28643409)
One of our product managers is a grandmother (she is actually taking an early retirement soon because her 4th grandchild is on the way).

We are in the B2B/B2EDU space so the "As a grandmother, I think..." line of thought does not apply. However, she has frequently had insights and observations that none of us would have come up with. Once implemented, they have been very successful/profitable.

So yes, absolutely, unless your company wants to be in a very specific niche, the lack of true diversity in your company is a drag on your success.

PS - my grandfather had a tech job in Sunnyvale. He passed away last year at the age of 92. Point is - everyone alive has lived in a world with pervasive technology and computing. "They're old and can't understand this stuff" is pure BS.

Re:Disclosure of three 0-day iOS vulnerabilities by funcDropShadow on Friday September 24, 2021 @04:12PM (#28647254)
> One of our product managers is a grandmother

> However, she has frequently had insights and observations that none of us would have come up with

> So yes, absolutely, unless your company wants to be in a very specific niche, the lack of true diversity in your company is a drag on your success.

The conclusion you are drawing here, does not follow from your two observations above. The fact that your product manager has had insights, that nobody else had in team, does not mean a "lack of true diversity in your company is a drag on your success." Some diversity may help in certain situations and in others not. The above mentioned insights and observations might just be the result of competence and more experience of the product manager or incompetence of the rest of the team. There may be many other reasons. We don't know. We have one observation and should refrain from generalizing. That this is because of more diversity is just a speculation. A speculation that fits an often repeated narrative, but that doesn't make it a logical conclusion.

Re:Disclosure of three 0-day iOS vulnerabilities by taylodl on Friday September 24, 2021 @11:53AM (#28644090)
All these different groups your speaking of are called personas. Apple should have each of their personas identified based off their technical prowess, their life experiences, health, how they connect for user updates and whatever else may differentiate a group of users from one another and needs to be considered and accounted for.

Once you have that you create a user journey map for each of those personas - in this case they need a user journey map for updating. Your test teams then have to take each persona and run through testing with those constraints and capabilities in mind.

They don't have a high-speed network or are using a cellular network? One or more personas should have accounted for that. Color blind? One or more personas should have accounted for that and there's software available that can make your screen as it appears to those who are colorblind.

These personas should be corporate-wide - these are your customers after all. I would be shocked if Apple isn't doing something like this, but then again, after getting a glimpse at how the sausage is made I've come to the conclusion Big Tech isn't any better at creating and testing software (well, not that much better) than anyone else.

Re:Disclosure of three 0-day iOS vulnerabilities by funcDropShadow on Friday September 24, 2021 @04:01PM (#28647148)
Of course, these groups are called personas in software engineering circles. I was answering to people who believe diversity will somehow fix all problems of this world. And they do not talk about personas. They talk about minorities, victims and races.

Before Apple or any other customer company describes personas, there is an explicit or implicit decision of which personas to consider and which not. But most consumer targeted companies hide which personas they consider and which not.

Re:Disclosure of three 0-day iOS vulnerabilities by rixed on Friday September 24, 2021 @04:35PM (#28647480)
> They talk about minorities, victims and races.

When I mentioned diversity, what I actually had in mind was that all tech workers in California have wifi, and probably find this so normal to connect your phone to wifi that they expect any normal user will do this on a daily basis.

I'm not a grandma but I'm a tech worker with a very different life style. Like the person I was replying to's grandma, I have no wifi. Like her, I have to fake it from time to time so that my Android phone will backup photos, accept to download Google drive documents, etc.

So the diversity I had in mind is rather a diversity in location and lifestyle.

Re:Disclosure of three 0-day iOS vulnerabilities by taylodl on Friday September 24, 2021 @04:54PM (#28647695)
That's what I understood you to mean too. I just added in differently-abled people. I've never seen a persona based off minorities, "victims" (not sure what that means in this context?), or races. It's always been capabilities and life experiences.
Re:Disclosure of three 0-day iOS vulnerabilities by kiklion on Friday September 24, 2021 @07:19AM (#28640927)
Sometimes you need to accept you just aren’t the target audience of a product.

You may love cars. You might think Tesla’s are amazing. But if you live on a small island without an electrical grid, it might not be the car for you just because it doesn’t come with its own solar panels.

Re:Disclosure of three 0-day iOS vulnerabilities by EvanAnderson on Friday September 24, 2021 @12:39PM (#28644766)
Owning an iPhone with no other means of Internet connection makes one not the target market for an iPhone?
Re:Disclosure of three 0-day iOS vulnerabilities by funcDropShadow on Friday September 24, 2021 @07:56AM (#28641177)
But what do you do when you realize you are neither the target sheep, ehh, customer, of iOS nor Android? But that is just the other side of the coin of what I wrote about the development teams. Sometimes, they just have to accept that diversity is not going to solve all problems.
Re:Disclosure of three 0-day iOS vulnerabilities by msh on Friday September 24, 2021 @08:21AM (#28641376)
I don't think this is diversity specific. I know plenty of young people who just use LTE and tether their computer to their phone.

I think its more a legacy thing, when iPhones first came out this made somewhat sense, to spare the mobile networks the load.

If you have a 5G iPhone you can set it to download updates over 5G but its just plain stupid you can't do it over 4G. Over 2G or 3G it makes a little bit sense.

Re:Disclosure of three 0-day iOS vulnerabilities by user-the-name on Friday September 24, 2021 @04:43AM (#28639981)
Apple's entire bug reporting system has always been massively dysfunctional. It is little surprise this extends to their handling of externally reported security issues as well.
Re:Disclosure of three 0-day iOS vulnerabilities by slvng on Friday September 24, 2021 @03:21AM (#28639515)
Microsoft has been all over the cyber security news due to their repeat vulnerabilities in Exchange and Azure AND the way they have handled disclosures made to them
Re:Disclosure of three 0-day iOS vulnerabilities by artiszt on Friday September 24, 2021 @04:46AM (#28639997)
u must have missed reading this : ".. Microsoft or Google: both seem responsive and eager to fix within 90 days (mostly) .."

but then u not need to read it. and who would given all the exquisite experiences with M$ and/or Goo compared to nightmares Apple delivers to u, overpriced, ofc

in a sense it is good reading tho after all in that it indicates that exactly those are not the one's one does meet in Apple-communities

Re:Disclosure of three 0-day iOS vulnerabilities by iso1210 on Friday September 24, 2021 @05:09AM (#28640144)
It's spelt "you"
Re:Disclosure of three 0-day iOS vulnerabilities by Abishek_Muthian on Friday September 24, 2021 @11:57AM (#28644155)
> “you need a 3GB OS update even if the only fix is 3 lines of code in Safari,...”,

If Apple really cared, it would have changed this scenario by now. A 7year old android device which can download/sideload latest Firefox is technically more secure for web browsing than an latest iOS device which is yet to receive an OS update with the critical patch for the Safari.

But as Tim Cook proudly claims, People who use Apple products are those 'don't want to take risky decisions themselves' maybe they'd be willing to wait for that OS update however long it takes.

Re:Disclosure of three 0-day iOS vulnerabilities by scns on Friday September 24, 2021 @07:50AM (#28641138)
I hate blaming people and pointing fingers. It seems to me, that the current CEO, who was the CFO at the same company before, would be well advised to drop the "numbers & metrics" MBA mindset.

Written five years ago but sadly still relevant: https://steveblank.com/2016/10/24/why-tim-cook-is-steve-ball...

Re:Disclosure of three 0-day iOS vulnerabilities by Revercomb on Friday September 24, 2021 @10:20AM (#28642790)
Agreed here.
Re:Disclosure of three 0-day iOS vulnerabilities by wrycoder on Friday September 24, 2021 @11:23AM (#28643670)
Depending on her data plan, downloading several tens of gigs over her 4G could have resulted in a rather exciting phone bill.
Re:Disclosure of three 0-day iOS vulnerabilities by mschuster91 on Friday September 24, 2021 @03:42AM (#28639637)
> but iOS updates can’t be done on 4G

> This isn’t an “anecdote” or an edge case, not everyone lives in a developed country and millions are just like my grandma

In too many countries, mobile data is incredibly expensive. If Apple were to allow over-the-air OS updates, you can bet it would take only a week until the first class-action lawsuit by people having their data caps blown through because they did not understand that updates are huge.

Re:Disclosure of three 0-day iOS vulnerabilities by seszett on Friday September 24, 2021 @03:55AM (#28639705)
In many other countries, 4G is so inexpensive that many people use it as their primary Internet connection though.

They don't see a need for a modem hooked to a wired line necessitating a second subscription and procedures to follow when you move apartments, when in any case you will have a 4G connection that follows you around on your smartphone.

Re:Disclosure of three 0-day iOS vulnerabilities by Reason077 on Friday September 24, 2021 @04:56AM (#28640056)
I've been using 5G as my primary internet connection since January 2020. It's much faster than wired broadband in buildings that don't have fibre installed. It's also cheaper (I pay £30/month for unlimited data), there's no contract locking you in to 12 or 24 months of service, and I can take it with me whenever I travel or if I move house.
Re:Disclosure of three 0-day iOS vulnerabilities by jeffwass on Friday September 24, 2021 @05:04AM (#28640109)
If you have a desktop, how do you provide the 5G connection?

Is there a better way than providing a wifi hotspot with your mobile phone?

Re:Disclosure of three 0-day iOS vulnerabilities by Reason077 on Friday September 24, 2021 @05:28AM (#28640250)
I have a Huawei E6878-870 5G mobile WiFi (other brands are available), which provides a "proper" WiFi base station, so no need for a phone hotspot. I have a separate cheap SIM card for my phone.
Re:Disclosure of three 0-day iOS vulnerabilities by concinds on Friday September 24, 2021 @04:20AM (#28639841)
I get that, but given that some countries have insanely restrictive Wi-Fi data caps (I heard 200GB, which I would probably blow through in a week or less), I don't see the problem. Even if updates-over-4G are disabled by default, power users should be able to turn it on. My grandma has 70GB for 15€ a month; she only makes FaceTime calls, so uses on average 4GB of data a month. I'd love to use SharePlay to share her screen, and teach her how to use her phone, but that won't be possible, because she can't install the update; it'll have to wait until the next time I travel to see her.

I hear that Android lets you enable updates-over-4G, but allows carriers to block the feature. That's detestable! Surely, if I pay for data, I should be able to use it for anything (legal) I deem important? I don't like corporations making those decisions for me.

Re:Disclosure of three 0-day iOS vulnerabilities by mschuster91 on Friday September 24, 2021 @06:34AM (#28640637)
> My grandma has 70GB for 15€ a month

I'm German, and ... wtf, I'm envious. We have three carriers: O2 (which is cheap, but their network is horrible), Vodafone (which is expensive, has a good network, and is constantly plagued by issues with its customer service) and Telekom (expensive, good network and decent customer service).

Telekom's cheapest plan is 40€ a month which has 6GB, and the biggest plan before flat-rate (at 85€) is 24 GB for 60€ a month...

Re:Disclosure of three 0-day iOS vulnerabilities by FabHK on Friday September 24, 2021 @07:54AM (#28641165)
To be fair, looking around a bit, you can get

14 GB for 13€ (https://www.handyvertrag.de - it's a brand of Drillish, reseller of the O2/Telefónica/E-Plus network)

40 GB for 19€ (https://bestellung.vitrado.de/offer/index/2b5pv1)

Re:Disclosure of three 0-day iOS vulnerabilities by mschuster91 on Friday September 24, 2021 @08:40AM (#28641549)
Yeah, all of that is O2. The problem is, their service is straight shit outside and barely tolerable inside of urban areas at best. My s/o is on their network, it's ridiculous.
Re:Disclosure of three 0-day iOS vulnerabilities by iaml on Friday September 24, 2021 @07:16AM (#28640910)
Google makes you explicitly confirm that you want to download using cellular each time you update, noting that it might induce charges. There, fixed, how come geniuses at apple haven’t considered this? Given how nowadays there’s a toggle for 5G and someone on hn told me it’s due to contract with carriers, I reckon the answer is that sweet sweet money.
Re:Disclosure of three 0-day iOS vulnerabilities by danmur on Friday September 24, 2021 @06:36AM (#28640650)
Given they can apply censorship per region I'm sure they could apply a simple setting change per region if they wanted to.
Re:Disclosure of three 0-day iOS vulnerabilities by samhw on Friday September 24, 2021 @07:20AM (#28640933)
> instead of Apple’s irresponsible “you need a 3GB OS update even if the only fix is 3 lines of code in Safari..."

Your comment seems to be implying that Apple could simply ship the delta in the source code: i.e. something like `git diff --minimal --word-diff=porcelain head^1`. Would this not require iOS to be compiled on the device, and store its own source code, à la `.git`? How would you address the issue of the compiler itself needing to be updated as part of this process?

Or are you suggesting they would ship the diff for the binary? For one, I don't think the delta in the resulting binary would be as small as the delta in the source, due to addresses changing, etc. There are tools like bsdiff which can 'intelligently' handle this, but I believe they aren't widely used for operating system updates, as opposed to standard userspace binaries.

In addition to this, the diff shipped would be relative to whatever version the device is currently using, which would necessitate storing a very large number of diffs, especially for binaries, or else computing it on the fly (which simply shifts the burden from disk space to CPU cycles).

Or have I misunderstood you entirely?

Re:Disclosure of three 0-day iOS vulnerabilities by willis936 on Friday September 24, 2021 @07:38AM (#28641057)
They're suggesting a patch in the classical sense of the term. A whole hog OS update does not qualify. These complications were addressed 20+ years ago when whole hog OS updates were unreasonable. It requires a certain amount of cleverness, but that may be too much to ask of the fruit company.

https://en.wikipedia.org/wiki/Patch_(computing)

Re:Disclosure of three 0-day iOS vulnerabilities by samhw on Friday September 24, 2021 @08:04AM (#28641238)
I understand the change would be a patch, but that's separate from the question of how you encode and ship it, surely? How are you suggesting a small patch would be shipped?
Re:Disclosure of three 0-day iOS vulnerabilities by howinteresting on Friday September 24, 2021 @08:41AM (#28641550)
Android does them just fine: https://source.android.com/devices/tech/ota/reduce_size

In particular, bsdiff has been around for a very long time and is an industry standard binary diffing tool.

Re:Disclosure of three 0-day iOS vulnerabilities by samhw on Friday September 24, 2021 @10:38AM (#28643027)
Yeah, I mentioned bsdiff in my original comment. I don't think Android uses it for operating system updates, though, as far as I can tell. I believe that page is describing APK updates (i.e. app updates).
Re:Disclosure of three 0-day iOS vulnerabilities by howinteresting on Friday September 24, 2021 @01:19PM (#28645295)
Well, monthly OS updates for Android tend to be just a few megabytes, so I'm presuming they use some sort of binary diffing algorithm.
Re:Disclosure of three 0-day iOS vulnerabilities by rescbr on Friday September 24, 2021 @10:24AM (#28642843)
In the simplest way, not unlike Windows Update: snapshot filesystem, start filesystem transaction, unzip changed binary files, check new files integrity, end transaction.

Indeed, Apple used to distribute patches this way in the past.

You also could ship a list of updated system files hashes, compare to the installed files and just download the changed ones, like rsync.

Better than shipping a whole new disk image every small update they do.

Re:Disclosure of three 0-day iOS vulnerabilities by samhw on Friday September 24, 2021 @11:11AM (#28643512)
Yeah, I'm sure it's theoretically doable, but it's one of those things which would almost certainly require substantial work given the massively complex edifice of iOS. (And the iOS IPSW format, or even iOS DMGs/ADIs, are very different from the OS X patches you mentioned.)
Re:Disclosure of three 0-day iOS vulnerabilities by EvanAnderson on Friday September 24, 2021 @12:37PM (#28644737)
It's cheaper to make things that aren't maintainable. We optimize for the dev, not the platform or the user.

It's the same lazy dev culture that gives us Electron apps, or the lazy sysadmin culture that gives us docker.

It's cheaper to create massive incomprehensible and unmaintainable edifice that requires massive storage / processor / network inefficiency to maintain versus well thought-out and "clever" systems that work efficiently.

Personally, I wish the days of optimizing for low-resource machines, slow network connections, and expensive storage weren't gone. As an end-user I think the results of moving away from a culture of optimization haven't been good. I think the ship has sailed, though.

Re:Disclosure of three 0-day iOS vulnerabilities by mr_toad on Saturday September 25, 2021 @02:24AM (#28650961)
Those are solved problems. Chrome has being doing binary diffs for years.

The reason Apple doesn’t is because they like to ship updates as bootable disk images. This makes it easier to roll back from than an in—place update, since you can just boot the old image if the update fails.

Re:Disclosure of three 0-day iOS vulnerabilities by wyattpeak on Friday September 24, 2021 @12:33AM (#28638663)
Cybersecurity is a genuinely hard problem, but stuff like this is dropping the ball entirely. It's not hard to solve exploits like faulty permission-checking after they've been reported to you.

Sure, there are always going to be problems you miss. I can forgive them shipping with zero-days, it happens. Failing to respond to reports is just that: failing.

Re:Disclosure of three 0-day iOS vulnerabilities by eloisius on Friday September 24, 2021 @12:41AM (#28638703)
It really helps add some color to the motivations behind notorization. It seems ridiculous to me that I have to jump through so many hoops to run an executable that I trust. Especially when Apple can’t be bothered to follow up on real vulnerabilities that have already been reported.
Re:Disclosure of three 0-day iOS vulnerabilities by chii on Friday September 24, 2021 @01:27AM (#28638917)
Exactly - any PR propaganda about notorization or signing making it safer for users is just BS. It's a gate-keeping mechanism that adds a layer of power to apple and prevent any control of the app market from slipping away.
Re:Disclosure of three 0-day iOS vulnerabilities by noptd on Friday September 24, 2021 @01:31AM (#28638945)
Along with a solid bit of resume building for SecEng, I'd say yeah exactly that.
Re:Disclosure of three 0-day iOS vulnerabilities by concinds on Friday September 24, 2021 @02:36AM (#28639274)
Worse is the fact that the bulk of Apple’s security on Mac is codesigning/notarisation, and a primitive signature-based built-in antivirus. Windows seems to be doing so much better that it’s not even close, and in ways that aren’t user-hostile.
Re:Disclosure of three 0-day iOS vulnerabilities by Bhilai on Friday September 24, 2021 @12:26PM (#28644587)
Not to mention that there are still no mandatory security courses in CS curriculum at most major universities.
Re:Disclosure of three 0-day iOS vulnerabilities by hungryforcodes on Friday September 24, 2021 @12:24AM (#28638615)
You know, I'd love to think that the problem is cyber security is hard -- which it IS -- but I'm starting to get the feeling that the actual problem is that Apple doesn't care about this kind of stuff. So many incredible vulnerabilities going back generations of iPhones and iOS...the zero click iMessages one floored me.
Re:Disclosure of three 0-day iOS vulnerabilities by tyrfing on Friday September 24, 2021 @02:20AM (#28639174)
> the zero click iMessages one floored me.

In case there is any confusion, there has been at least one of those a year for the past 3 years.

Re:Disclosure of three 0-day iOS vulnerabilities by easton on Friday September 24, 2021 @07:18AM (#28640924)
What is dumb about it to me is that the solution in my mind is simple: don’t give Messages.app private API access. They get access other messaging apps from the App Store can’t have and that’s what’s causing these vulnerabilities, but all they need is APNS and access to the SMS service (which is private but shouldn’t be dangerous… right?).
Re:Disclosure of three 0-day iOS vulnerabilities by kenferry on Friday September 24, 2021 @09:59AM (#28642437)
This last one was an issue in an image decoding.. it was public API.

It’s extremely common for an attacker to find a way to exploit a maliciously crafted image. Take a look at libpng, https://www.cvedetails.com/vulnerability-list/vendor_id-7294...

Re:Disclosure of three 0-day iOS vulnerabilities by TaylorAlexander on Friday September 24, 2021 @04:01AM (#28639739)
> The problem is that cybersecurity is ridiculous hard problem.

This is hard for me to believe for a company the size of Apple. They were recently the wealthiest company on the planet and are worth over a trillion dollars IIRC. They could slow down their software development process, focus less on adding new features, and prioritize fewer security holes. It seems like such a huge risk to them that their devices are basically always vulnerable. But the general public never really hear about these 0-days so they may have some ability to ignore the problem.

The cynic in me imagines that someone at Apple knows about these bugs and they are shared with spooks for exploitation. One could imagine that even for a responsible disclosure program, they could share details of every new vulnerability with some three letter agency who could have months of use out of them before a patch is finally released.

Re:Disclosure of three 0-day iOS vulnerabilities by dspillett on Friday September 24, 2021 @06:19AM (#28640552)
> recently the wealthiest company on the planet … They could slow down their software development process, focus less on adding new features, and prioritize fewer security holes.

My inner cynic¹ has a slightly different take on that: You don't get to be the wealthiest company on the planet by doing the right thing at the expense of the profitable things.

¹ He says, pretending it isn't also his outer and all-consuming cynic!

Re:Disclosure of three 0-day iOS vulnerabilities by skylanh on Friday September 24, 2021 @08:57AM (#28641689)
Ah, then the cynical part of you will recognize that selling a widget is more lucrative then avoiding the loss of someone else's private data.

Or at least that's what I just realized.

Re:Disclosure of three 0-day iOS vulnerabilities by someguydave on Friday September 24, 2021 @10:20AM (#28642769)
people are unwilling to wait or pay more for high quality products when a low quality substitute that is just barely adequate is available
Re:Disclosure of three 0-day iOS vulnerabilities by charlchi on Friday September 24, 2021 @04:15AM (#28639813)
If companies respected and paid platform/architecture engineers, or SecOps/SysAdmin types fair amounts of money and treated them with respect, instead of just throwing more and more money at hordes of mindless devs who are "pushing product", as virtually every single company does, maybe this problem wouldn't exist.

I've had this conversation too many times. Security isn't hard, it's just that nobody has respect for it. The guy who understands software security isn't getting the respect he deserves. The situation is so bad, some companies are literally hiring people who know the equivalent of script kiddie "penetration-testing".

Pay security engineers enough and listen very carefully to what they have to say. Literally the only companies who seem to understand this basic concept seem to be the intelligence agencies, and a few other high profile companies.

Re:Disclosure of three 0-day iOS vulnerabilities by emsy on Friday September 24, 2021 @12:30AM (#28638646)
The problem is not that cyber-security is hard, but that a trillion dollar company is incapable to handle security disclosures.
Re:Disclosure of three 0-day iOS vulnerabilities by Mtinie on Friday September 24, 2021 @12:47AM (#28638722)
In which case—if it’s a legitimate deficiency—that doesn’t bode well at all for any other commercial enterprise. This arms race is always tilted in favor of the attacker.
Re:Disclosure of three 0-day iOS vulnerabilities by derac on Friday September 24, 2021 @03:12AM (#28639464)
There are much smaller companies which handle security disclosures much better.
Re:Disclosure of three 0-day iOS vulnerabilities by fragmede on Friday September 24, 2021 @05:33AM (#28640280)
but there are many many many more that don't, which impeaches the few that don't. The fact that I can reach the CEO of my local small business on the phone is a great when they're sympathetic to my plight. it's actually to the company's detriment when it turns out they're a raging asshole.
Re:Disclosure of three 0-day iOS vulnerabilities by numpad0 on Friday September 24, 2021 @02:13AM (#28639148)
I remember some of early Android phones that ran manufacturer maintained Kernel turning out immune to then-undisclosed RCEs years before disclosure.

I think it’s less about disclosure handling but more about being motivated to pay for or build a black magic code analysis tools.

Re:Disclosure of three 0-day iOS vulnerabilities by fragmede on Friday September 24, 2021 @05:41AM (#28640324)
got any links? that sounds like a fascinating story to read!
Re:Disclosure of three 0-day iOS vulnerabilities by foxfluff on Friday September 24, 2021 @04:26AM (#28639877)
> The problem is that cybersecurity is ridiculous hard problem.

I don't believe that. Making perfectly secure software at large scale is indeed very hard, but a lot of security issues we see every day have little to do with lack of perfection. There's a ton of low hanging fruit out there.

> The junior to senior developers are just using existing frameworks with poor documentation.

Yes, I do believe that the modern way of quickly ducktaping junk together while paying little attention to security does make for lots of security issues, which might give someone the impression that cybersecurity is ridiculously hard.

Security requires proactive effort. It's not ridiculously hard, but it needs to be done, it requires time (just as anything). Leaving it for "hope you don't write buggy code" and "does colleague notice the gaping hole in code review" is not doing security, it's just winging it.

And I've never really been asked to do security, even when literally working on a security product. Everyone just seems to assume security is an automatic byproduct of skilled programming, but it's not when the pressing concern is "how many hours/days/.. does it take to ship this new feature oh and we have three dozen other features that need to be implemented soon" and "can we get it sooner?" and "why is it taking so long, it's not that hard!"

It needs to be discussed, planned, designed, reviewed, tested, verified, questioned, audited. Just like anything else, if you want quality. None of this is ridiculously hard, but it needs to be done for it to be done. If it's not being done, it's that the organization doesn't care about it.

In a lot of ways it's similar to technical debt. Are you taking the time to avoid it, reduce it, get rid of it? No? Then you're accumulating it. Security issues accumulate just like technical debt when ignored. And even the most skilled programmers do generate technical debt (because they don't jump into a problem with perfect knowledge of what needs to be done). Depending on the organization, they may or may not get to fix it. Many organizations just don't care and would rather have the devs work on something "more productive."

Re:Disclosure of three 0-day iOS vulnerabilities by wyager on Friday September 24, 2021 @08:39AM (#28641535)
> It's the same never-ending war as anti-cheat vs cheat.

Building secure software and building anti-cheat are nothing alike.

Anti-cheat is fundamentally impossible (on a true general purpose computer) because you’re building software that has to run in an environment where it can be dissected and modified.

Building a secure device (something which has to satisfy certain security properties for all inputs through a constrained API) is fundamentally possible. We’re just too lazy and cheap to do it. I don’t even think it’s “ridiculously hard” - we would just have to spend more money on correct by construction designs, formal methods, etc instead of spending money on flashy UIs and random features no one cares about.

The number of employees at Apple working on security is vanishingly small compared to the number of employees, say, working on random siri features. And the way they approach security in many apps is also wrong. Instead of having people with formal correctness backgrounds designing the APIs against which apps are built, they just have developers with no security background putting everything together and then have a few security people trying to pick up the pieces.

Re:Disclosure of three 0-day iOS vulnerabilities by api on Friday September 24, 2021 @08:44AM (#28641575)
It would really help a lot if:

(1) We used safe languages like Go, Rust, C#, Java, and Swift instead of 1970s YOLO languages like C and C++.

(2) Our operating systems were designed from the ground up to be secure in a modern environment.

Unix (all flavors) and Windows were both built long before security was anywhere near as much of a concern as it is today. Their security posture is very lax by modern standards. Applications have a ton of permissions by default including seeing the whole network and filesystem. Everything runs with only basic memory isolation. Everything has access to an enormous system call surface area.

It is extremely hard to apply security in retrospect to an insecure system, especially a complex one with lots of legacy support requirements. You are going to be playing a whole lot of "whack a mole."

A modern secure OS would begin with the principle of least privilege and be built from the ground up to isolate applications as much as possible from anything they are not entitled to access.

Oddly enough the web browser might be the best attempt. When you browse the web you are basically swimming in malware, and you are relatively safe.

Re:Disclosure of three 0-day iOS vulnerabilities by ziml77 on Friday September 24, 2021 @09:44AM (#28642241)
Entitlements are great, right up until someone has to start manually deciding what access to give. After being blocked or questioned by the OS a handful of times, people are going to either disable the security or effectively disable it with wildcard matches.
Re:Disclosure of three 0-day iOS vulnerabilities by godelski on Friday September 24, 2021 @02:17AM (#28639165)
> The problem is that cybersecurity is ridiculous hard problem.

This is why I wonder why "minimize your data exposure" is such a controversial opinion.

Re:Disclosure of three 0-day iOS vulnerabilities by jeltz on Friday September 24, 2021 @07:43AM (#28641087)
Because it makes developing new features slightly slower and that is for mostly stupid reasons deemed unacceptable.
Re:Disclosure of three 0-day iOS vulnerabilities by Silhouette on Friday September 24, 2021 @03:41AM (#28639631)
The problem is that cybersecurity is ridiculous hard problem.

Security is challenging, but there are lots of things we know how to do better that many software developers still aren't doing. For example, if you're still writing application-level software in an inherently dangerous programming language in 2021 and that application handles important data in a connected device, you're part of the problem. If you ship a networked hardware product with a standard password for all devices or forget to disable the backdoor access used during development, if you use encryption or hashing methods that are known to be weak, etc. These things obviously won't solve all security problems, but they are low-hanging fruit that is still being left on the tree far too often.

Re:Disclosure of three 0-day iOS vulnerabilities by esalman on Friday September 24, 2021 @02:13AM (#28639146)
Apple makes ridiculous amount of money, and many Apple fanboys I know believe their devices are hack-proof.
Re:Disclosure of three 0-day iOS vulnerabilities by toofy on Friday September 24, 2021 @06:26AM (#28640599)
i’m not sure anyone who is at least semi-informed believes their devices to be hackproof.

it’s more likely they’ve considered which security issues they’re personally concerned about and decided the other choices are as bad or worse.

once we actually dig into the specifics of an issue–especially one as complicated as personal threat models combined with actual usability–it’s rarely a “my device is now unhackable” cartoon caricature.

Re:Disclosure of three 0-day iOS vulnerabilities by blowski on Friday September 24, 2021 @03:49AM (#28639673)
I don’t think of my devices as being hack-proof, but as being the best set of trade-offs for me personally between security, privacy, usability, etc.
Re:Disclosure of three 0-day iOS vulnerabilities by esalman on Friday September 24, 2021 @02:08PM (#28645869)
Agreed. I use Windows/Android for the same reason- I know what I'm giving up but the upsides are important enough to me. I am talking about people who don't have much clues about either.
Re:Disclosure of three 0-day iOS vulnerabilities by tester34 on Friday September 24, 2021 @03:17AM (#28639486)
Have they considered asking security questions on interviews instead of algos?

like you know, shitty performing algo can be always rewritten, leak or 0day cannot be reverted

Re:Disclosure of three 0-day iOS vulnerabilities by howinteresting on Friday September 24, 2021 @12:42AM (#28638704)
Or better, we could stop making excuses for trillion-dollar companies with terrible security practices.
Re:Disclosure of three 0-day iOS vulnerabilities by toofy on Friday September 24, 2021 @06:41AM (#28640683)
i agree that we need to hold massive corporations to a higher standard, but security is incredibly difficult. this comment is more directed at all of the comments who are dismissive of how difficult good security is.

even some of the sharpest security/privacy minds on the planet, who work for organizations who exist purely to make secure software or hardware stumble often.

now add in that we actually expect our devices to also be usable, and yes, security is very very _very_ difficult.

if someone hasn’t learned by now that every device will eventually be cracked, we should question their ability to reason.

now again, we should absolutely expect more from apple/google/$company than we do, but we also can’t hand-wave away that security is very hard.

Re:Disclosure of three 0-day iOS vulnerabilities by howinteresting on Friday September 24, 2021 @08:35AM (#28641503)
I mean, Google does a far better job than Apple responding to reported vulnerabilities, pays a team to find vulnerabilies, has extensive fuzzing infrastructure, etc. Even among its peers Apple stands out as particularly bad.
Re:Disclosure of three 0-day iOS vulnerabilities by stjohnswarts on Saturday September 25, 2021 @04:39AM (#28651572)
On anything other than trivial examples it is an impossible problem. Given the gigabyte of code on iphones (and android) it's even more impossible. Best you can do is put an emphasis on quickly fixing any issues found and to practice security hardening. It seems iphone is failing on this pretty hard currently since they didn't fix these errors that were handed to them on a silver platter.
Re:Disclosure of three 0-day iOS vulnerabilities by jonathanstrange on Friday September 24, 2021 @06:39AM (#28640675)
You talk as if the Apple engineers couldn't have fixed those 3 vulnerabilities in half a year because it's too difficult for them...
Re:Disclosure of three 0-day iOS vulnerabilities by dangerface on Friday September 24, 2021 @09:41AM (#28642199)
Don't apple make the frameworks they use? Im pretty sure they could just patch them when they are notified of a vulnerability.
Re:Disclosure of three 0-day iOS vulnerabilities by Bellamy on Friday September 24, 2021 @03:07AM (#28639439)
Existing frameworks?

Does anyone knows the technology stack Apple uses?