News for hackers. Stuff that matters.
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Friday September 22, 2023 @02:26PM (#37615742)
It's good to get some more info, but it is a little disconcerting that they only mention patching Chrome. What was the sandbox escape on Android? Even if you had code execution inside the Chrome process on Android, that shouldn't be enough to enable persistence, so clearly there's another vulnerability.

Also in this case the attack vector was MITM of http and one time links as it was a targeted campaign, but it feels there's nothing preventing someone putting this in an ad campaign or sms/discord/matrix/whatever spam and spraying it everywhere to build a botnet or steal user credentials or whatever.

Re:0-days exploited by commercial surveillance vendor in Egypt by waihtis on Friday September 22, 2023 @02:32PM (#37615831)
Im not well versed in mobile environments. Presumedly breaking out of the Chrome sandbox would land you within the underlying OS. Can you not build persistence there without abusing further vulns?
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Friday September 22, 2023 @02:35PM (#37615877)
There's nested sandboxes for browsers in mobile environments. There's the inner layer which the web content is running in, but then the browser itself is sandboxed so it can't do things like access OS APIs it doesn't have permission for, install apps that run in the background, etc. This is why the iOS example needed 3 exploits chained. The fact that a similar example worked on Android, which also has app sandboxing, implies there should be an exploit chain but we've only been told of the first.
Re:0-days exploited by commercial surveillance vendor in Egypt by waihtis on Friday September 22, 2023 @02:37PM (#37615907)
Gotcha, thank you.
Re:0-days exploited by commercial surveillance vendor in Egypt by insanitybit on Friday September 22, 2023 @03:09PM (#37616330)
There's also SELinux on Android.
Re:0-days exploited by commercial surveillance vendor in Egypt by tester756 on Friday September 22, 2023 @03:43PM (#37616758)
that sounds like terrible joke

sandbox in sandbox in sandbox in sandbox in sandbox in sandbox in sandbox

and stuff still manages to escape

Re:0-days exploited by commercial surveillance vendor in Egypt by appplication on Friday September 22, 2023 @04:32PM (#37617382)
That’s the thing about sand. It’s course and rough and irritating and it gets everywhere.
Re:0-days exploited by commercial surveillance vendor in Egypt by hollander on Friday September 22, 2023 @05:01PM (#37617739)
But there is always time for a glass of good wine!
Re:0-days exploited by commercial surveillance vendor in Egypt by djbusby on Friday September 22, 2023 @10:26PM (#37620107)
Re:0-days exploited by commercial surveillance vendor in Egypt by taway1237 on Saturday September 23, 2023 @05:21AM (#37621754)
Defence in depth. Now you need a working chain of 3 exploits instead of one. It's about raising the bar, perfect security is impossible.
Re:0-days exploited by commercial surveillance vendor in Egypt by codedokode on Friday September 22, 2023 @04:42PM (#37617499)
But browsers, especially Chrome, have lots of permissions (including geolocation, accessing SD card, accessing user's personal data, camera and microphone etc.). You don't need to do anything if you can run under browser's privileges.
Re:0-days exploited by commercial surveillance vendor in Egypt by roblabla on Friday September 22, 2023 @05:27PM (#37618020)
None of the mentioned privileges should net you a persistence though, so there's clearly still another vulnerability.
Re:0-days exploited by commercial surveillance vendor in Egypt by djbusby on Friday September 22, 2023 @10:25PM (#37620101)
Above says access to SD card. I think that means write ability. Which means persistence.
Re:0-days exploited by commercial surveillance vendor in Egypt by astrange on Friday September 22, 2023 @10:48PM (#37620193)
Persistence means you can write to something that'll cause your malware to run again after reboot, but external storage isn't enough to do that without another exploit in the boot path, right?
Re:0-days exploited by commercial surveillance vendor in Egypt by tux3 on Saturday September 23, 2023 @05:42AM (#37621847)
Android has clamped down hard on access to the SD card. Chrome certainly doesn't have the special All Files Access, and on my device it doesn't even have Photos or Music, since I never use those permissions with Chrome, and Android regularly turns off permissions that haven't been used recently
Re:0-days exploited by commercial surveillance vendor in Egypt by codedokode on Saturday September 23, 2023 @04:10AM (#37621504)
But smartphones are rarely rebooted so maybe you don't need persistence that much?
Re:0-days exploited by commercial surveillance vendor in Egypt by tux3 on Saturday September 23, 2023 @05:45AM (#37621856)
You still want priv escalation if you're trying to spy on someone. The content process can't see anything you're doing in other apps, and the browser can only access a very restricted view of the storage

Living in memory or living off the land is generally a good idea, but you still want a chain of exploits anyways

Re:0-days exploited by commercial surveillance vendor in Egypt by fullspectrumdev on Friday September 22, 2023 @05:56PM (#37618318)
On Android, you usually need three exploits.

1. Chrome code execution (gain foothold inside Chrome process).

2. Sandbox escape (gain code execution outside the Chrome sandbox, with the privileges of the Chrome process, which aren’t very useful except to stage another exploit).

3. Local privilege escalation, usually a kernel bug or similar, to elevate to root where you can break the process “sandbox” and establish persistence.

Re:0-days exploited by commercial surveillance vendor in Egypt by toasterblender on Friday September 22, 2023 @04:24PM (#37617287)
> What was the sandbox escape on Android? Even if you had code execution inside the Chrome process on Android, that shouldn't be enough to enable persistence, so clearly there's another vulnerability.

This is such a crucial point. Forced to read between the lines of the blog post (because the above information is missing), it sounds like there are currently unpatched issues in Android revolving around this?

Re:0-days exploited by commercial surveillance vendor in Egypt by fullspectrumdev on Friday September 22, 2023 @05:58PM (#37618337)
Likely yes, they were unable to capture the following stages so they don’t know what was exploited after gaining initial execution within the chrome sandbox.

Likely there’s a chrome sandbox escape and a kernel exploit remaining “unknown and unpatched”.

Re:0-days exploited by commercial surveillance vendor in Egypt by vdfs on Friday September 22, 2023 @06:21PM (#37618512)
> Likely there’s a chrome sandbox escape and a kernel exploit remaining “unknown and unpatched”.

There is certainly many of those that we don't know about, if this was done in Egypt, imagine what a 3 letters agency have

Re:0-days exploited by commercial surveillance vendor in Egypt by staplers on Friday September 22, 2023 @07:17PM (#37619025)
Wouldn't be a stretch to assume this is forced by 3 letter agencies and it's details leaked for sale on an exclusive dark web.

Think of all the insidious corruption we find out about via declassification 50 years later. It's not like human nature has changed.

Re:0-days exploited by commercial surveillance vendor in Egypt by conradev on Saturday September 23, 2023 @02:05AM (#37620952)
Every government with money has exploits for every device imaginable.

The going price was $1m for a full exploit chain on iPhone a while ago, and I’m sure it’s gone up, but I’m also sure it is minuscule compared to the amount of money governments have.

Everyone should assume this is fact, and not imagine some secret spy world. If you ever become interesting enough to hack, you will be, and there is little recourse (currently)

Re:0-days exploited by commercial surveillance vendor in Egypt by CobrastanJorji on Saturday September 23, 2023 @02:29AM (#37621036)
Kinda surprising that Apple wouldn't be the highest bidder for a full exploit chain. They've been known to give out $100,000 bug bounties, but you'd think one million would be a pretty good deal for closing a vulnerability vs having it sold to companies that professionally surveil people.
Re:0-days exploited by commercial surveillance vendor in Egypt by apienx on Saturday September 23, 2023 @03:18AM (#37621276)
One million dollars is what some states pay _per target_.

Every major black hat group operates with the blessing of some state. It’s about more than just money. Actual exploits are probably traded for “favours” (e.g. votes in international bodies, collaboration on thorny dossiers, extraditions, etc.). The infiltration of electronic communication is a major aspect in determining a state’s level of “soft power” and - in a software-run world - its weight only increases.

Re:0-days exploited by commercial surveillance vendor in Egypt by taway1237 on Saturday September 23, 2023 @05:04AM (#37621701)
>Every major black hat group operates with the blessing of some state.

Citation needed. As far as I know that's true. Yes, some groups cooperate with the state (true in Russia after the escalation of the war in Ukraine, for example). But that's certainly not true for everyone - not every group has uses as an APT unit, most are just common criminals.

Re:0-days exploited by commercial surveillance vendor in Egypt by bboygravity on Saturday September 23, 2023 @03:44AM (#37621403)
I'd go a step further and state: everybody is interesting enough to fully automatically hack.

I have 0 doubt that literally everybody is being scraped by 1 or more governments and/or companies.

Because if they can, why not?

Re:0-days exploited by commercial surveillance vendor in Egypt by computerfriend on Saturday September 23, 2023 @04:25AM (#37621566)
Because every time you do it, you run the risk of discovery. This can be expensive (you burn your exploit) and politically embarrassing.
Re:0-days exploited by commercial surveillance vendor in Egypt by conradev on Saturday September 23, 2023 @04:53AM (#37621665)
The answer to “why not” is this blog post. Lots of people are likely very unhappy that their expensive exploit has been patched. This is what The Citizen Lab does!
Re:0-days exploited by commercial surveillance vendor in Egypt by carrychains on Saturday September 23, 2023 @10:11AM (#37623372)
Poignant, not really. Prescient, maybe.
Re:0-days exploited by commercial surveillance vendor in Egypt by wyldfire on Friday September 22, 2023 @07:04PM (#37618930)
Is it possible that it was detected but without a sandbox escape? would it still be described as "an exploit" if so?
Re:0-days exploited by commercial surveillance vendor in Egypt by saagarjha on Friday September 22, 2023 @07:42PM (#37619193)
Yes.
Re:0-days exploited by commercial surveillance vendor in Egypt by fredgrott on Friday September 22, 2023 @06:44PM (#37618754)
Read it again, no sandbox attack on Android MITM and one time link attack only .
Re:0-days exploited by commercial surveillance vendor in Egypt by saagarjha on Friday September 22, 2023 @07:43PM (#37619195)
That’s all they were able to gather.
Re:0-days exploited by commercial surveillance vendor in Egypt by throwawaaarrgh on Friday September 22, 2023 @07:12PM (#37618992)
I mean there are always unpatched issues in everything... There's nothing you can do, whether you know about it or not. You have to just assume you're always actively being exploited at some level
Re:0-days exploited by commercial surveillance vendor in Egypt by vardump on Friday September 22, 2023 @09:25PM (#37619827)
Can be multiple vendor specific exploits.
Re:0-days exploited by commercial surveillance vendor in Egypt by kramerger on Friday September 22, 2023 @04:50PM (#37617594)
The article is mainly about the iphone exploit chain: Safari exploit -> PAC bypass -> kernel exploit.

Android version was pretty similar but I think needed two more exploits to bypass Linux kernel mitigations.

PZ has a good technical writeup.

Re:0-days exploited by commercial surveillance vendor in Egypt by 3abiton on Friday September 22, 2023 @05:37PM (#37618121)
Who is PZ?
Re:0-days exploited by commercial surveillance vendor in Egypt by popey456963 on Friday September 22, 2023 @05:39PM (#37618152)
Google's Project Zero.
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Friday September 22, 2023 @05:51PM (#37618272)
The only Project Zero write up recently about android sandbox escapes appears to be on a different, ALSA based and Samsung specific vulnerability.
Re:0-days exploited by commercial surveillance vendor in Egypt by fullspectrumdev on Friday September 22, 2023 @05:54PM (#37618304)
They state that they were unable to capture the follow-on stages of the Android chain, they only got the initial execution component.

Which means there’s missing a sandbox escape and privilege elevation bug.

Also yes while delivery here was apparently ISP level MiTM using lawful intercept capabilities, there’s no reason the exploit couldn’t be delivered as a 1click via a phishing link.

Re:0-days exploited by commercial surveillance vendor in Egypt by nfriedly on Friday September 22, 2023 @08:38PM (#37619563)
There are millions of android devices out there that have been abandoned by their manufacturers, so they might be omitting those details because the flaw hasn't yet been patched (and likely never will be.)
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Friday September 22, 2023 @08:46PM (#37619617)
Even with Google's own flagship device, the latest security patches date from August while this announcement is much newer, so it seems unlikely _any_ Android devices have been patched.
Re:0-days exploited by commercial surveillance vendor in Egypt by flangola7 on Saturday September 23, 2023 @02:46AM (#37621125)
Updates occur all the time, what do mean there's none since August?
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Saturday September 23, 2023 @10:58AM (#37623831)
Apps get updated but what I'm worried about is that the android image view uses libwebp which means all the apps that just ask the OS to display untrusted images are vulnerable to an update.

I'm not sure the image view has been seperated out into any of the play store updated components. None of the ones name and description suggest they'll have OS UI widgets like that.

Re:0-days exploited by commercial surveillance vendor in Egypt by bobviolier on Saturday September 23, 2023 @03:00AM (#37621190)
I got a September security update for my Pixel 5, I think 2 days ago.
Re:0-days exploited by commercial surveillance vendor in Egypt by Macha on Saturday September 23, 2023 @10:56AM (#37623821)
Huh, Pixel 7 Pro here and the last update, even after a manual check, is 5 August
Re:0-days exploited by commercial surveillance vendor in Egypt by kramerger on Saturday September 23, 2023 @03:40AM (#37621387)
I belive you are mistaken.

Firat of all, some part of Android is updated via the store. So the Chrome vulnerability and aystem libraries were probably updated without you noticing.

Also, this started in May. Before it went public both Apple and Google had already patched some vulnerabilities. Latest round was in August/September.

Re:0-days exploited by commercial surveillance vendor in Egypt by Semaphor on Saturday September 23, 2023 @08:28AM (#37622684)
LineageOS on OnePlus Nord, last security update: September 5
Re:0-days exploited by commercial surveillance vendor in Egypt by 0x38B on Saturday September 23, 2023 @02:51AM (#37621150)
Ride public transport in Eastern Europe and you'll see Androids running versions as old as 4; such devices are cheap, and ubiquitous phone repair shops will fix or replace components, such as batteries, speakers, and more. If the situation in Egypt is similar among less-affluent users, then there are many Android phones just waiting to be exploited.