241 points · by nix23 · 4y ago · 182 comments
>KataOS provides a verifiably-secure platform that protects the user's privacy because it is logically impossible for applications to breach the kernel's hardware security protections and the system components are verifiably secure.
The wording seems quite confident, maybe it could use some additional "at least according to its specification". This approach doesn't protect against hardware bugs and side-channel attacks.
Especially when one thinks of unexpected attacks like Rowhammer, there is probably no way to include them in a formal systems model beforehand.
Notice also that they're doing the traditional Google trick of pretending that it respects the user's privacy because it's secure, while ignoring the fact that most of the users privacy will be destroyed by things they designed the operating system to intentionally do in its security model.
I know a lot of techies opt for prosumer, small business gear for their home networks, but most of those vendors have crap security trackrecords. Ubiquiti, seems to be the sole standout in this space, but I don't trust them any more than google to produce secure hardware.
To be fair, this is an entirely reasonable threat model for a lot of people. For instance, if you're a reporter in an authoritarian country, Google is almost certainly not colluding with the attackers who are literally trying to kill you, and using a Chromebook and Gmail is probably the best option out there. Your threat model is "Don't die," not "Don't be subject to surveillance capitalism."
But it's also something we should collectively be pushing back on. The motivating example for these products is "intelligent ambient systems," i.e., things like Nest hubs and doorbells that capture audio/video all the time. These products probably shouldn't exist at all, and to the extent they do, they should process data locally and discard it as soon as they can.
I really don't care how much data of mine they have while they limit their evil they use it for to deciding if they should show an ad for baseball or football shirts...
And I trust them not to accidentally leak it far more than I trust my government or any smaller/less techy company.
So nobody is being tricked. It just too early to say what real products will do.
> and the kernel modifications to seL4 that can reclaim the memory used by the rootserver.
MMMMMMMMMMMkkkkkk. So you then have to ask: were these changes also formally verified? There's a metric ton of kernel changes here: https://github.com/AmbiML/sparrow-kernel/commits/sparrow but I don't see a fork of https://github.com/seL4/l4v anywhere inside AmbiML.
I mean, it does also claim to be "almost entirely written in Rust", which is true if you ignore almost the entire OS part of the OS (the kernel and the minimal seL4 runtime).
I realize the blog post comes out pretty strongly on this topic, and that's my oversight -- I let my aspirations leak out instead of tempering them (this is not your typical PM-driven project) properly.
Please understand that this is an engineer-driven project in Research with a very small team where we're doing our hardest to do the right thing, so please bear with us.
Side-channel attacks are out of scope for the security model of both seL4 and our KataOS project, so bear that in mind for sure.
Of course that leaves the multitude of programmable peripheral devices. But starting with hardware and software that are implemented to be provably secure is a big change. It is table stakes for systems to be vastly harder to penetrate.
We do not have our changes formally verified yet, but that is definitely on our roadmap -- otherwise, what's the point of starting from this set of options? Likewise, this is why we chose Rust -- there are several projects already in progress to produce formal verification tools for Rust, so we can hopefully use those as additional proofs.
Formally verified applications is such a foreign concept to people that when you say "verified correct" they get skeptical and mistrust the whole concept.
Saying something is "secure" when it has been formally verified will be received with a grain of salt, but it is much easier to say than:
"we wrote a detailed specification that define the whole system via algebra, and then we let a theorem prover run all possible permutations of the specification It has now tested a billion edge-cases and we have reached a state where it no longer finds any deviation from the specification."
At least it is provable better than someone saying "it is secure because we think it is".
@jtgans (or anybody else involved) if you feel comfortable saying, is that something that is being considered/discussed? Google in general (IMHO) has a good track record here with Anroid and Chromebooks (particularly compared to Apple, Amazon, etc). I love that Android phones can be user unlocked and chromebooks have dev mode, but I do worry whether that is just a leftover from an earlier age and whether those sorts of things will soon be a relic of the past.
https://antmicro.com/blog/2022/08/running-rust-programs-in-s...
More about Rust and the architecture. I know Renode of its RISC-V meetup presentations, can't say I was impressed favorably.
I’m only aware of one other attempt to secure the entire stack: Oxide Computing (focused more on data centers I think.)
How so? OBO is a logic error isn't it?
ex: Bounds::Excluded
and iterators like the other commenter mentioned.
This is like a really dumb version of the 90s era MS competing teams nonsense. All I can see is it burning out a lot of really talented engineers.
> Our team in Google Research has set out to solve this problem by building a provably secure platform that's optimized for embedded devices that run ML applications.
Bummer! I recently purchased an STM32 development board specifically to try out Rust-based embedded projects like this.
That being said, seL4 has a hard requirement for an MMU, so I'm not sure an STM32 would work (based upon my admittedly very quick review of their product line for a side project of mine -- happy to be proven wrong!)
Naming convention could use a bit of work, but otherwise good news.
(CAmkES is a hot mess, and "unpleasantly too much C" if you ask me. https://docs.sel4.systems/projects/camkes/ & https://github.com/seL4/camkes-tool/blob/master/docs/index.m...)
It's to the point I just ignore any Google product launch, at least in terms of consideration for my own use. 5-10 years is an incredibly short lifespan, and there's usually no off-ramp. The product just dies off.
This is a reason I’ll never use a new Google product ever again. I’m still stuck with Gmail and Android TV for now but that’s about it, and I’m working on that too. I slowly switch my accounts to a custom domain email, and plan on switching to Plex because they decided to start showing ads on the TV I paid $2000 for.
Google quite explicitly has a startup mentality in trying to launch lots of things and see what sticks, and shut down what doesn't stick. A "fail fast" mentality that is very hacker-y.
Apple is the polar opposite -- they do oodles of internal testing and iteration and feedback and don't launch something until they're super-super-sure they've got a hit on their hands. Microsoft is closer to Apple but more willing to experiment.
So people hate on Google when they cancel products, but nobody hates on all the startups that simply go out of business. To the contrary, they say congrats on trying, hope you try again!
It's a bizarre double standard that I'll never understand.
Yes, Reader was cancelled, but if Google didn't have this "launch and see what sticks" mentality Reader never would have been created in the first place. Products like Gmail and Google News supposedly started as similar 20% products.
Why is HN so supportive of startups that try and fail, but not when Google does it?
Similarly, many people avoid watching Netflix shows until they survive to season 3 at least because it's not worth investing your time in something that's likely to get cancelled after a season or two.
It's their own doing and mocking it is fully deserved
But what would be the point?
For one, as some people said, it's secure but whatever it does will certanily pass information through Google, and you can't trust them.
And two, as some other people said, Google projects don't survive if they get less than 100 million users.
We're all better off when smart people can build something new, that advances the frontier of what's possible, and release it to the world for free, without committing to support it forever.
It's nauseating when lazy commenters parrot the same, worn-out arguments to tear down legitimate innovation.
The comments cannot be considered garbage, since they ask the most pertinent question: why is this announcement worth talking about?
And yes, Google created this situation itself. And now it has to justify each new product's life span. Because we don't trust that at all. Unlike startups, Google can easily afford to run a product at a loss for years. Yet we trust them less than startups with only a few months of runway.
As an engineer, I don't get much say in what other parts of the company do, but unfortunately, I have to bear the brunt of the blowback every time it happens, in social forums like this one, and in B2B interactions. It's quite frustrating, actually.
Same for you. You either need to fix Google’s long term support issues from the inside, or expect more of the same.
Second, I feel for you. This can't be fun, and it's not your fault.
Third, although I think I'm pretty squarely in your "target audience", if you will (Rust & SEL4!? Yes please!), my first reaction was "Oh well, too bad it will be cancelled before it goes anywhere."
Google has done this to themselves. There is a massive undertow against adopting anything Google makes. (I still sting from Reader, still, years later.) Stadia? Etc. Why bother?
Which brings me to my fourth and final point: Y U Googler? What I mean is, on the one hand no one is forcing you to work at Google? On the other hand when (sorry) IF they cancel this project are you going to continue to support it yourself? What is your personal stake in this project?
I'm willing to give you jtgans a break, but not Google.
Talk to your management about it or switch company, don’t whine about it to the users. These comments are a symptom, not the disease.
Overall I love the HN community and think it is the best one on the internet, but it still has a vocal shallow-minded pocket of people who:
1. Seem to forget that they're talking to a fellow human being rather than a username, and don't engage any of their manners that normally filter out unproductive rudeness
2. Feel strong emotions toward big companies and think life is just as simple as telling a single engineer to "fix the company" as though that is even remotely reasonable.
3. Don't seem to understand how big corporate systems work. Suggesting that a single engineer (even if they are a team lead) is to blame for business decisions that get made almost entirely against what the engineers want, is absurd.
Good for you for speaking up though. It won't make a difference to the people you were commenting to, but overall it provides the masses with a reminder that there's a human on the other side of this.
I disagree. Google's habit of killing projects off is interesting/annoying/frustrating but I don't think a trove of shallow "I wonder when google will kill this? lol" comments on every google product announcement add to the discussion.
This is not a product, it's a free and open source OS, a gift to the world. You cannot shut down open source--if it matters so much to you then maintain it yourself.
So if you're betting on a product / service, then relying on Internet sentiment is generally a bad idea.
Analogy: the best time to buy a car from a specific manufacturer is when everyone knows that the manufacturer is only producing crappy cars. Because that's when they're likely doing everything they can to rectify their reputation. (And the other way around.) Examples: French cars manufactured around 2010 have really good quality (especially the PSA models), because they produced crap around 2000 so by 2008 everyone knew that they should not buy a Citroen. BMW's from 2008 have incredibly many quality issues as BMW's reputation peaked around that era, so they reaped the profits that they could (and this was all based on the all-around great cars from a decade earlier).
The (awful) analogy certainly doesn't even hold: my late-2009 BMW is still going strong without a hint of anything beyond routine maintenance, yet according to this screed it should be crap...
Has BMW ever been reliable? Yes in the 90s and before, since then? No. They just don't care, they're sold as lease vehicles to people who care about having the newest stuff for 3 years and then move on.
Maybe—or maybe they’re still in the stage when they’re producing crappy cars, and unwilling to commit to the serious changes that would ultimately lead to a better product and better reputation.
> So if you're betting on a product / service, then relying on Internet sentiment is generally a bad idea.
I don't disagree with this tho.
https://www.youtube.com/watch?v=Raej8C2yIEc
I think your new OS needs realistic elephants.