Bad Binder: Android In-the-Wild Exploit
googleprojectzero.blogspot.com
googleprojectzero.blogspot.com
>This bug was originally found and reported in November 2017 and patched in February 2018. Syzbot, a syzkaller system that continuously fuzzes the Linux kernel, originally reported the use-after-free bug to Linux kernel mailing lists and the syzkaller-bugs mailing list in November 2017. From this report, the bug was patched in the Linux 4.14, Android 3.18, Android 4.4, and Android 4.9 kernels in February 2018. However, this fix was never included in an Android monthly security bulletin and thus the bug was never patched in many already released devices, such as Pixel and Pixel 2.
Yea, that's a very large number of active devices, for a bug that's believed to be actively exploited. Roughly 75% going by this: https://android.stackexchange.com/questions/51651/which-andr... plus https://developer.android.com/about/dashboards
You can check for yourself at the source code here: https://github.com/MotorolaMobilityLLC/kernel-msm/blob/MMI-P...
Most devices already have the patch from the upstream kernel: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux...
This is a perfect counterexample of a really nasty privilege escalation in Google's own OS.
Security research is inherently adversarial in nature, and it seems fitting to have competiting parties doing security research on one another's products.
Presumably, Android development involves some measure of security assessment?
If project zero never spent a day looking at Android, but all their competitors did, I don't see the issue.
If there aren't any/enough competitors, that seems very unlikely to be a security or security research related problem.
I basically stopped reading Peter Bright's articles on ArsTechnica because of how he spent a couple weeks writing uninformed articles about how responsible disclosure in general and P0 specifically were terrible.
Interesting. My perception is it's often based on bragging rights. Which is more about ego than about an adversary. According to that theory, what matters is how deeply you understand systems or how determined you are to go the extra mile to find issues.
This extends to organizations which want to bolster their image by being at the leading edge of research.
Anyway, having an adversary is part of the picture, but what you really care about is not the victory over that adversary but your superiority on the battlefield
https://www.schneier.com/blog/archives/2008/03/the_security_...
And this is not how I see the motivation and attitude of most security people. For them it is mostly about the satisfaction of (or other inclination toward) understanding how and where something might be vulnerable to exploit. It is a particular type of thinking related to creativity, thinking outside the box, and seeing things from a different perspective. (So basically what Schneier's essay says. Which fits with my point.)
There is nothing sophisticated or clever about a neighbor calling the homeowners' association. What they're interested in is the effect their actions will have on their adversary. But a security researcher doesn't usually care to actually exploit vulnerabilities. Or if they do, it is only to prove that the vulnerability exists, not to gain from it.
So, getting back to the original point, I just don't follow the reasoning that security researchers would prefer to avoid finding holes in their own employer's systems. If they viewed everything as us vs. them, then yes, they would want to take sides and protect their employer. Instead, I think that because what they really care about is understanding vulnerabilities, they would want to understand them wherever they see them, own employer's systems included.
But writing up an exploit that was basically handed to them is pretty weak evidence against the angry narrative.
https://bugs.chromium.org/p/project-zero/issues/list?q=Produ...
You can dispute their intentions, but I'm not all that interested in debating those. What you can't do is debate the effect, which is positive.
This is the same general point that the original comment you had replied to was making which itself was an explanation of why people are distrustful of P0 even if the brass tax is positive for the end user. It's fine if you don't find that political side of it interesting but it's not as simple as just being a donation.
https://dayzerosec.com/posts/analyzing-androids-cve-2019-221...
Apparently this is the "NSO Group" [1], a private company in Israel that sells "Pegasus" [2] (also referred to in the article).
NSO is extraordinarily well known in the security field; they're one of the best known (but almost certainly not the largest or most effective) purveyors of mobile exploits and malware (to governments). For P0 (and Apple), NSO is "the adversary".
Edit: Oh, they ran up against this just a few weeks ago according to their Wikipedia article. How about that.
Google could potentially sue them under civil CFAA if there was some unauthorized access to Google infrastructure needed to develop the exploits, but that's unlikely to be the case.
Using NSO tools against unwilling targets would violate US law, but that's not what NSO does.
Standby while I look for a source.
If Google's syzbot had checked the kernel for the flaw before it was released instead of after, that also seems like it would have prevented the issue from going live in the first place.
Why does the Linux kernel project continue to release code with flaws like this that can be found with automated tools?
Because they have no other option, it's a fuzzer. Therefore, it may take a long time(up to universe heat death) for it to finally exercise the path that causes the issue. And the kernel has a pretty enormous footprint.
Fuzzers never really terminate, so it is not like you can plug it on a CI/CD system and wait for reports.
> The process of reproducing one crash may take from a few minutes up to an hour depending on whether the crash is easily reproducible or non-reproducible at all.
That's for one known crash. But otherwise it will be running 24/7 (across multiple VMs!) looking for issues.
More details here: https://github.com/google/syzkaller
This was fixed by the next release.
What happened here is 100% on Googles android team who don't follow mainline kernel releases & patches.
This is probably the most fundamental issue with Android security. Google patching the bug often doesn't render it benign. There are still far too many places in the Android update process where bugs can remain malign as hell on millions of devices even after Android itself has been patched and the user keeps their device to the latest available version.
> We reported this bug under a 7-day disclosure deadline rather than the normal 90-day disclosure deadline. We made this decision based on credible evidence that an exploit for this vulnerability exists in the wild and that it's highly likely that the exploit was being actively used against users.
It's now nearly two months since discovery of the bug and that it was being exploited in the wild, and my still-in-support Pixel still doesn't have the patch for this. What the hell Google. How is this even close to alright for a CVE such as this? Totally unacceptable.
Give me my damn PinePhone already!
https://source.android.com/security/bulletin/pixel/2019-10-0...