News for hackers. Stuff that matters.
Re:A Kernel Hacker Meets Fuchsia OS by binkHN on Tuesday May 24, 2022 @09:40PM (#31499682)
Very nice right up on how unfinished and insecure Fuchsia is as a result of it being so unfinished.
Re:A Kernel Hacker Meets Fuchsia OS by yellow_lead on Wednesday May 25, 2022 @05:36AM (#31502269)
Unfinished might be a good excuse if it weren't running on Nest devices.
Re:A Kernel Hacker Meets Fuchsia OS by tadfisher on Wednesday May 25, 2022 @02:00PM (#31508169)
Nest devices don't run untrusted code. If you get code running on a Nest display, please let me know how, because I'd love to hack around on mine.
Re:A Kernel Hacker Meets Fuchsia OS by a1369209993 on Wednesday May 25, 2022 @07:26PM (#31512200)
> Nest devices don't run untrusted code.

Yes they do; they run code written by Google. The only thing worse would be Facebook; the literal NSA are more trustworthy.

Re:A Kernel Hacker Meets Fuchsia OS by kernal on Wednesday May 25, 2022 @11:13AM (#31505723)
>Very nice right up on how unfinished and insecure Fuchsia is as a result of it being so unfinished.

Did you even read the write up? The only bug found was the ability to read the kernel log. Everything else was manufactured.

Re:A Kernel Hacker Meets Fuchsia OS by binkHN on Wednesday May 25, 2022 @11:37AM (#31506068)
You’re kidding right? Did you miss the parts about KASLR being broken and syscalls with TODOs for missing validations? And the CVEs created in relation to these?
Re:A Kernel Hacker Meets Fuchsia OS by kernal on Wednesday May 25, 2022 @12:22PM (#31506696)
I saw one CVE (CVE-2022-0882) for the innocuous kernel log bug. How many CVE's did you see? As for the KASLR, this was a known issue to the Fuchsia devs.

>This is a known-issue. KASLR support on the zircon kernel is just there so that it doesn't bit-rot. We are always picking up a static address instead of a dynamic one.

>Once physboot rollout is complete, that should make it easier to support kaslr.

Re:A Kernel Hacker Meets Fuchsia OS by staticassertion on Wednesday May 25, 2022 @11:54AM (#31506326)
KASLR is a pretty meh mitigation. But yeah, "todo" around capability checking probably should have been a higher priority fix.
Re:A Kernel Hacker Meets Fuchsia OS by Someone on Wednesday May 25, 2022 @02:54AM (#31501375)
FTA: But to simplify my first security experiment with Fuchsia, I decided to disable SMAP and SMEP in the script starting QEMU and create the fake vtable in my exploit in the userspace

I don’t see them re-enabling it later, so yes, they found security problems, but they didn’t show a complete attack, either.

Re:A Kernel Hacker Meets Fuchsia OS by kerneis on Wednesday May 25, 2022 @06:25AM (#31502529)
Also from the start they introduce a bug in the kernel (in the TimerDispatcher implementation), and this is the very bug they focus on and eventually write an exploit for.

They explain why they do so, and the article is extremely valuable as a first step and tutorial to get started in Zircon kernel hacking. They also find some actual issues, including one CVE. But I disagree the article shows how "unsecure Fuchsia is as a result of being unfinished".

Re:A Kernel Hacker Meets Fuchsia OS by SpectralTheory on Tuesday May 24, 2022 @11:20PM (#31500240)
Better than being insecure by design, I would think.
Re:A Kernel Hacker Meets Fuchsia OS by ncmncm on Wednesday May 25, 2022 @06:18AM (#31502498)
Insecure is insecure. Or did you mean unfixably insecure?
Re:A Kernel Hacker Meets Fuchsia OS by coldtea on Wednesday May 25, 2022 @06:50AM (#31502683)
Parent means infixably and/or intentionally insecure.
Re:A Kernel Hacker Meets Fuchsia OS by raggi on Tuesday May 24, 2022 @11:07PM (#31500160)
Was that your takeaway from reading it, or something else?
Re:A Kernel Hacker Meets Fuchsia OS by binkHN on Tuesday May 24, 2022 @11:21PM (#31500243)
My take away, but the author goes into a bit of detail on this.
Re:A Kernel Hacker Meets Fuchsia OS by mda on Wednesday May 25, 2022 @07:06AM (#31502797)
"How insecure" a surprising conclusion based on a single exploit.
Re:A Kernel Hacker Meets Fuchsia OS by 29athrowaway on Wednesday May 25, 2022 @07:08AM (#31502815)
If you read the article it mentions that ASLR doesn't work, and it's treated as a "known bug".
Re:A Kernel Hacker Meets Fuchsia OS by kerneis on Wednesday May 25, 2022 @08:05AM (#31503333)
Kernel ASLR. User-space has ASLR enabled and working, in addition to shadow stacks and a number of other hardening techniques.
Re:A Kernel Hacker Meets Fuchsia OS by binkHN on Wednesday May 25, 2022 @08:27AM (#31503544)
The article also references syscalls that are marked with TODOs for validation of those calls.
Re:A Kernel Hacker Meets Fuchsia OS by mda on Wednesday May 25, 2022 @09:49AM (#31504476)
Do you assume I didn't read the article? Calling it insecure based on this is absurd.
Re:A Kernel Hacker Meets Fuchsia OS by rvz on Wednesday May 25, 2022 @12:18PM (#31506656)
Exactly I also find it slightly silly to immediately declare this 'insecure' in this case here.

If it was directly end-to-end on say a Nest Hub running a release version of Fuchsia then that would be a more convincing here, as that would confirm that it can be deployed and the bug can be exploited in the wild and in production and not on a newly built developer version running in an emulator.

The writeup of finding and exploiting this bug is impressive, but whether if you can use that exploit to directly attack a production version of Fuchsia on a device like the Nest Hub is another thing, which is the same way security researchers do to break live versions of other OSes like macOS, Windows, Android and Linux.

Re:A Kernel Hacker Meets Fuchsia OS by ThePowerOfFuet on Wednesday May 25, 2022 @01:47AM (#31501029)
The word you were looking for is _writeup_.
Re:A Kernel Hacker Meets Fuchsia OS by ge96 on Wednesday May 25, 2022 @05:12AM (#31502117)
It's weird in my later 20s I started doing this, writing homophones. I at least get my then/their/effect right still.
Re:A Kernel Hacker Meets Fuchsia OS by 5e92cb50239222b on Wednesday May 25, 2022 @05:27AM (#31502224)
I think this mostly happens to native English speakers for some unimaginable reason. I don't remember ever making this mistake (but do remember plenty others to make up for it), and can't imagine myself doing it. Yet it happens to native speakers all the time.
Re:A Kernel Hacker Meets Fuchsia OS by rosetremiere on Wednesday May 25, 2022 @05:36AM (#31502265)
I would guess that the difference native/foreign is simply due to the way language is learned: for native speakers, it's first and mostly orally. This doesn't explain a later appearance of mistakes though…
Re:A Kernel Hacker Meets Fuchsia OS by michaelmarkell on Wednesday May 25, 2022 @06:05AM (#31502436)
I right a lot less now then I did as a kid, so maybe it’s about just staying sharp
Re:A Kernel Hacker Meets Fuchsia OS by lelandfe on Wednesday May 25, 2022 @06:13AM (#31502477)
You rays a good point!
Re:A Kernel Hacker Meets Fuchsia OS by layer8 on Wednesday May 25, 2022 @07:18AM (#31502906)
I believe “raze” would be the correct pronunciation. ;)
Re:A Kernel Hacker Meets Fuchsia OS by Taywee on Wednesday May 25, 2022 @08:51AM (#31503801)
Both are pronounced identically in American English at least.
Re:A Kernel Hacker Meets Fuchsia OS by layer8 on Wednesday May 25, 2022 @09:23AM (#31504169)
Huh, the IPA indeed seems to be the same, but I would argue that the “z” in “raze” is distinctly more voiced than the “s” in “rays”.
Re:A Kernel Hacker Meets Fuchsia OS by akavel on Wednesday May 25, 2022 @06:52AM (#31502697)
Ah, this remains me of a classique in this field: https://youtu.be/OonDPGwAyfQ
Re:A Kernel Hacker Meets Fuchsia OS by layer8 on Wednesday May 25, 2022 @07:16AM (#31502882)
As a nonnative English speaker (actually mostly reader/writer/listener), I started doing that at some point (many years after English proficiency), to my own dismay.
Re:A Kernel Hacker Meets Fuchsia OS by MauranKilom on Wednesday May 25, 2022 @10:03AM (#31504657)
> I don't remember ever making this mistake (but do remember plenty others to make up for it), and can't imagine myself doing it. Yet it happens to native speakers all the time.

I used to think that, too. But now my fingers just type the words as I hear them spoken in my mind, and that seems to occasionally produce homophones.

Kinda fascinating what this says about our language processing, to be honest!

Re:A Kernel Hacker Meets Fuchsia OS by exikyut on Wednesday May 25, 2022 @10:33AM (#31505107)
I was most disconcerted to find myself doing the same thing of late. It is very curious; like my brain internally just couldn't be bothered anymore to expend the energy to delineate their and there until I'm in the process of actually typing. But that means the signalling fires a tad late, so I'm going back and fixing stuff.
Re:A Kernel Hacker Meets Fuchsia OS by arc-in-space on Wednesday May 25, 2022 @07:40AM (#31503105)
I'm not native and I absolutely do this. 500 grams of flower...
Re:A Kernel Hacker Meets Fuchsia OS by jsjohnst on Wednesday May 25, 2022 @08:14AM (#31503395)
Funny, that fragment actually works as written in some contexts. :)
Re:A Kernel Hacker Meets Fuchsia OS by exikyut on Wednesday May 25, 2022 @10:34AM (#31505123)
Imagining that looks very nice, TIL prettiness can be quantified/measured by weight :D
Re:A Kernel Hacker Meets Fuchsia OS by goodpoint on Wednesday May 25, 2022 @09:17AM (#31504084)
Unfinished does not justify unsecure!

You start with something secure and rudimentary and add features over time.

You don't start with something unsecure and then add security to it.