News for hackers. Stuff that matters.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by zshrc on Thursday September 07, 2023 @04:52PM (#37425405)
Please... Androids no better. At least Apple will have it patched within the year of discovery. Can't say the same for other Android vendors.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by Gigachad on Thursday September 07, 2023 @05:26PM (#37425837)
Android is moving away from C and towards more secure languages. From one of their recent blog posts, the majority of code written for android is now in memory safe languages.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by nielsbot on Thursday September 07, 2023 @05:38PM (#37425963)
Apple also has memory-safer languages it is moving to:

Swift: A memory-safer systems programming language: https://www.swift.org

Firebloom: A memory-safer C variant: https://support.apple.com/en-il/guide/security/sec30d8d9ec1/...

Not sure what the answer is for existing memory-unsafe code.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by ctz on Thursday September 07, 2023 @05:47PM (#37426060)
> Not sure what the answer is for existing memory-unsafe code.

It's an engineering approach that involves writing "A buffer overflow issue was addressed with improved memory handling" an awful lot. Hopefully one day they will finish improving the memory handling!

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by saagarjha on Thursday September 07, 2023 @08:00PM (#37427414)
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by berbec on Thursday September 07, 2023 @05:38PM (#37425955)
Is the programming language likely the issue here?
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by carstenhag on Thursday September 07, 2023 @05:51PM (#37426097)
Well, theoretically all can be secure (in regards to buffer overflows etc). Some just forbid to shoot you in the arm. And head.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by tialaramex on Thursday September 07, 2023 @06:13PM (#37426339)
Of course, it's not necessary to use a language where "Give control of your phone to remote attackers" is one of the possibilities at all.

General purpose languages, whether that's something like C or Rust or even Javascript are not the appropriate tool. Turing Completeness is a bad idea from a security point of view, not a wonderful feature.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by Gigachad on Thursday September 07, 2023 @06:22PM (#37426426)
Yes, almost all of these major exploits are memory safety related and would be mostly impossible in a memory safe language.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by btilly on Thursday September 07, 2023 @06:25PM (#37426463)
That's like asking whether it is the lack of a seatbelt that was the issue after sometime died in a car crash.

Well, of course the real issue was the car crash. But wearing a seatbelt would have sure helped!

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by tialaramex on Thursday September 07, 2023 @05:51PM (#37426099)
And for this problem specifically Android can use WUFFS. WUFFS is a special purpose language for Wrangling Untrusted File Formats Safetly. Trading away generality (the ability to write a program which say, sends email) gets them complete safety and excellent performance.

In Rust we can't trivially write a bounds miss by mistake. But in WUFFS we just can't write a bounds miss at all. Like, that's not a thing in WUFFS, it doesn't compile. You can write your own bounds checks and show WUFFS that works, or you can write code which clearly can't have a bounds miss with no checks, that works too. But you can't just "forget" or "screw up" those won't compile.

This would be frustrating in a general purpose language. WUFFS doesn't have a "Hello, World" program because it lacks both strings and the idea of outputing to the screen. But WUFFS isn't a general purpose language, however it's the correct way to write the code that takes image files we got from some dubious source and processes them.

When Apple announced they wanted to provide proper security for vulnerable iPhone users, this is what that would look like coming from a company which actually cared about security. What you got is what it looks like from a company which prioritised marketing.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by saagarjha on Thursday September 07, 2023 @08:02PM (#37427430)
Would any of your comment change if I told you the bug was in a Google image parser that they currently also ship to production?
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by teaearlgraycold on Thursday September 07, 2023 @06:02PM (#37426208)
Google at large is slowly banning use of non memory safe languages. Android in particular is doing well at adopting Rust.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by teawrecks on Thursday September 07, 2023 @05:41PM (#37426000)
Interesting how your response makes it seem like the person you're responding to mentioned android at all.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by acdha on Thursday September 07, 2023 @05:45PM (#37426041)
I think it’s safe to assume that most people know that’s the only other common choice.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by kernal on Thursday September 07, 2023 @05:54PM (#37426126)
>Please... Androids no better.

The Pixel is.

>At least Apple will have it patched within the year of discovery. Can't say the same for other Android vendors.

And the Pixel would have the patch released quicker.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by chaxor on Thursday September 07, 2023 @06:49PM (#37426722)
The pixel is decent if using graphene is. Not sure if any system is good by default. Apple fans think their defaults are somehow more private or secure, mostly due to marketing.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by kernal on Thursday September 07, 2023 @08:33PM (#37427706)
Decent? From a security perspective it's superior to the iPhone. As for Graphene, unless you've personally vetted the code I don't see how it can be trusted. And I won't even go into the drama that OS comes with.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by paravirtualized on Thursday September 07, 2023 @09:44PM (#37428242)
> unless you've personally vetted the code I don't see how it can be trusted.

As opposed to proprietary Google code that cannot be vetted?

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by kernal on Saturday September 09, 2023 @06:39PM (#37451019)
What about the proprietary binary blobs that Graphene is reliant on? Who vetted those?
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by paravirtualized on Friday September 15, 2023 @04:52AM (#37520248)
I think that we both can agree that less = better, so I don't see your point.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by imchillyb on Thursday September 07, 2023 @10:44PM (#37428601)
Pixel is not an OS, is not Android. Pixel is a series of hardware that make up less than five percent of the android hardware market.

One device series does not offer a glimpse of the market.

Op’s point stands.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by kernal on Saturday September 09, 2023 @06:47PM (#37451070)
>Pixel is not an OS

Then what do you call the custom OS that ships on the Pixel? Of course it's a custom built OS that's designed to work with the custom hardware on the Pixel.

>One device series does not offer a glimpse of the market.

Security is defined by the marriage of software and hardware. The reason the Pixel is so secure is because of this. The OP made a blanket statement which did not apply to the Android ecosystem.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by ok123456 on Thursday September 07, 2023 @05:58PM (#37426169)
On Android you can disable automatic link preview and downloading of MMS messages. You can also swap out the application that handles text messages entirely.

This eliminates this whole class of attack.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by ajross on Thursday September 07, 2023 @07:17PM (#37426996)
Also the application that handles text message is itself sandboxed and limited to a fixed set of permissions (to be fair, that include messaging other humans, so an exploit would still be very bad, just not "remote root" bad).

That's the part that is still unclear with this BLASTPASS business. Surely iOS isn't running the messaging app as a device root, right? There's some other presumably-unpatched privilege elevation attack going on?

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by saagarjha on Thursday September 07, 2023 @08:02PM (#37427438)
Yes. The ImageIO vulnerability just allows for an initial foothold.
Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by ChrisMarshallNY on Thursday September 07, 2023 @06:29PM (#37426503)
I have friends with Android phones that are running 5-year-old operating systems.

I have one friend that absolutely refuses to update his 7-year-old Samsung.

I got the fix on my phones (including my 8), iPads and Watch, today.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by indymike on Thursday September 07, 2023 @07:27PM (#37427099)
> Androids no better.

That does not make the situation right for Apple.

Re:NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in... by fomine3 on Thursday September 07, 2023 @08:12PM (#37427523)
You can just avoid crappy Android vendors. 1 year is low bar.