Live data from Hacker News

NSO group iPhone zero-click, zero-day exploit captured in the wild

citizenlab.ca

541–550 of 886 posts

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#541
post #520

[flagged]

> The shellcode would then disable memory protections like ASLR and DEP that normally prevent arbitrary code execution. This would allow the attacker to execute a ROP gadget chain or other payload to jailbreak the sandbox and run remote commands on the device.

This sounds like chicken - egg scenario. Can you clarify how original shellcode bypasses those protections?

I don’t think you can disable DEP on runtime.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#542
post #496

Earlier quoted context omitted.

The even more interesting thing is that all functionality increases the attack surface and therefore makes all devices more vulnerable. The most secure state is not to have the device at all or, failing that, to have it permanently turned off. This is true of every device, not just apple. The reason people possess devices is to use functionality and therefore they have to make some tradeoffs in terms of security. The…

Great reply, but don't forget to add Apple's bottom line to the balance beam of user risk and device functionality there

True.

That said, they do give a lot of granular control to the user to turn off individual functions if the user feels differently and wants to change their stance eg iMessage can be disabled with a switch in settings.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#543

Earlier quoted context omitted.

You can disable iMessage and the Messages app will then just send SMS. Or you can install Signal or WhatsApp or whatever

Don’t use SMS instead of iMessage though. Then all your texts will be sent across the network without any kind of decent encryption. And WhatsApp is almost unusable unless you consent to uploading all your contacts to Facebook. (IIRC this was the red line that got crossed that caused the WhatsApp founder to quit FB post-acquisition.) Signal is a good recommendation, but you won’t be able to convince 100% of people yo…

> And WhatsApp is almost unusable unless you consent to uploading all your contacts to Facebook.

What? How-so? I've never allowed it to do that and it works fine for me, across iOS/Mac/Windows.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#544

Earlier quoted context omitted.

This is very different from ActiveX. ActiveX had hundreds of exploits widely available freely on the dark parts of usenet, and exploited by every proverbial scriptkiddie in a basement against a swath of computers across the world. iMessage has had a handful of exploits which are licensed out for extortionate amounts by people like NSO to a very small number of scummy nationstate threat actors in extremely targetted b…

All that's different now is that the script kiddies have grown up.

I really don't think that's true - the state of appsec and security awareness in general has really improved a lot, and all of the major platforms (windows included) are much much more secure now by default than in the activeX era.

It's definitely not the case that anyone can just throw together an iPhone zeroday, which is why the price of these exploits is so much higher.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#545
post #520

[flagged]

There are some misconceptions in your comments that I think could be useful to clear up.

When exploiting a running system, your goal typically won't be to disable ASLR (which would only impact newly spawned processes), but instead to 'infoleak' where ASLR has placed important things you care about, so you know where to access them.

Modern devices have mechanisms like KPP/KTRR, though, which make it impossible to modify kernel code anyhow.

You also propose that CoreGraphics might not be sandboxed. CoreGraphics is a dynamic library which can be loaded into any process. It's _processes_ that are sandboxed, not dynamic libraries, so CoreGraphics can definitely exist in a process that has a sandbox profile applied just fine.

You also mention that graphics functions might not be sandboxed because they need to access graphics acceleration features. This is a good thought! In fact, the kernel extension that enables hardware graphics acceleration, IOMobileFramebuffer, is accessible from the app sandbox for this very reason. As a point of interest, many vulnerabilities have been discovered in IOMobileFramebuffer over the years -- it's an attractive target specifically because it's reachable from the app sandbox.

Lastly, you mention jailbreaking the sandbox. I know what you mean, but "jailbreaking" typically refers to a series of abilities, such as the ability to control the kernel task, the ability to create RWX pages, the ability to bypass the FreeBSD MAC policies, etc. The ability to bypass sandbox restrictions is only one condition of a jailbreak, and a sandbox escape doesn't imply a full jailbreak. Also, jailbreaking doesn't entirely break "the sandbox" -- it's a selective change that can be applied on a per-process basis.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#546

Earlier quoted context omitted.

It does make iOS slightly more inconvenient, such as when adding each other on iMessage. And it severely reduces JavaScript performance in Safari. I think Apple wants to avoid making iOS feel slower or clunkier than Android. And zero-day spyware is usually targeted towards important individuals, not used for mass surveillance, so it indeed is a smaller risk to individual people. I'd prefer a third mode that compromis…

I would argue that iMessage is way to problematic to be used safetly, at all. By anyone. Full-stop. It also seems to be the primary attack vector of NSO related zero-days as well and its become known that phone country/area codes have relevance to its chance of succes in past exploits, which suggests a phone/messaging type attack vector.

It’s an attack vector because it’s convenient. If iMessage didn’t exist people would email you exploits.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#547

How many exploits has iMessage had now? Isn't it time we made first messages from all new contacts plain text only, and all other messages some very restricted subset rather than some crazy extensible system that isn't so different from ActiveX? And on top of that, maybe the whole app should run in a sandbox. And on top of that, perhaps it should all be a webview to give one more layer of protection.

There is even precedent for doing this seamlessly: the Apple Mail client will not render media from unknown senders without user confirmation. iMessage should have the exact same behavior for the same reasons. It’s frustrating to watch greedy project managers re-learning the exact same lessons that a previous generation already learned the hard way, especially when they all work in the same building.

This is how Lockdown Mode works.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#548
post #500

Earlier quoted context omitted.

iMessage is also a huge part of Apple's moat - it's unlikely Apple will ever allow green-bubble alternative text apps that may be more secure.

> will ever As part of Europe's DMA plan they have precisely 6 months to do that.

I'm looking forward to see how Apple will choose to maliciously comply - maybe they'll stick to dire warnings discouraging users.

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#549
I wonder why Apple does not include a hypervisor in iOS, and "risky" processes such as iMessage, Safari (maybe a Secure Safari version) could then be executed in a separate virtual machine. The hardware (CPU + RAM) in the iPhones these days should be able to sustain it. Or would there be serious drawbacks to this ?

Re: NSO group iPhone zero-click, zero-day exploit captured in the wild

#550

Earlier quoted context omitted.

Your phone would reboot with a pineapple logo and console messages flying across the screen like a 1337 h4cker, starting with the "regents of the University of California, Berkeley" message. Then you'd go install a ton of Cydia hacks.

What is the significance of the “regents of the University of California, Berkeley” message? Is it the FreeBSD boot message?

iOS has BSD roots.
Post reply on HN