<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: insanitybit</title><link>https://news.ycombinator.com/user?id=insanitybit</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 15 May 2026 21:06:42 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=insanitybit" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>OK, I apologize if I was coming off as glib or condescending. I will take your input into consideration.<p>I'm not looking to argue, I was just annoyed that I was getting so many of the same comments. It's too early for all of this negativity.<p>If you want to discuss this via an avenue that is not HN I would be open to it, I'm not looking to make enemies here, I'd rather have an earnest conversation with a colleague rather than jumping down their throats because they caught me in the middle of an annoying conversation.</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:41:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853387</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853387</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853387</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>It's just silly. I wrote an "imagine if we could trust the kernel as a boundary" and I get 100 posts about the same misconceptions. If people read into my post that I think a Rust kernel would solve all problems, perhaps I was overly simplistic with my language.</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:39:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853372</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853372</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853372</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p><a href="https://web.archive.org/web/20221130205026/graplsecurity.com/blog" rel="nofollow">https://web.archive.org/web/20221130205026/graplsecurity.com...</a><p>The company no longer exists so you can find at least some of them mirrored here:<p><a href="https://chompie.rip/Blog+Posts/" rel="nofollow">https://chompie.rip/Blog+Posts/</a><p>The Firecracker, io_uring, and ebpf exploitation posts.<p>Chompie was my employee and was the one who did the exploitation, though I'd like to think I was at least a helpful rubber duck, and I did also decide on which kernel features we would be exploiting, if I may pat myself on the back ever so gently.</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:35:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853334</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853334</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853334</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>The premise of my post was "imagine a memory safe kernel". I <i>repeatedly</i> use the word "imagine".</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:31:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853303</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853303</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853303</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>Kata is an attempt at solving this problem. There are problems:<p>1. If using firecracker then you can't do nested virtualization<p>2. You still have the "os in an os" problem, which can make it operationally more complex<p>But Kata is a great project.</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:30:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853295</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853295</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853295</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>> Respectfully, do you know what a container actually is?<p>I am extremely familiar with containers, the linux kernel, and virtual machines. In particular from a security perspective.<p>> The kernel itself does very little to prevent containers from interacting with the host (yes, via syscalls) in a way that affects other containers or the host itself.<p>Namespaces, such as process namespaces, file namespaces, user namespaces, etc, will prevent a container from interacting with another container without even getting into the fact that you can leverage DAC to do so further.</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:28:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853284</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853284</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853284</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>> Container vulnerabilities are rarely related to memory bugs.<p>The easiest way to escape a container is through exploitation of the Linux kernel via a memory safety issue.<p>> C-level memory stuff is absolutely NOT the reason why virtualization is safer<p>Yes it is. The point of a VM is that you can remove the kernel as a trust boundary because the kernel is not capable of enforcing that boundary <i>because of memory safety issues</i>.<p>> but there's a lot of magical thinking around the word "safe"<p>There's no magical thinking on my part. I'm quite familiar with exploitation of the Linux kernel, container security, and VM security.<p>> the majority of CVEs I've seen in my career are not things that Rust would have prevented.<p>I don't know what your point is here. Do you spend a lot of time in your career thinking about hardening your containers against kernel CVEs?</p>
]]></description><pubDate>Wed, 03 Jan 2024 12:25:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853256</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853256</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853256</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>I don't think it's <i>that</i> unfair, but I don't want to get into a whole thing about it, people get really upset about criticisms of the Linux kernel in my experience and I'm not looking to start my morning off with that conversation.<p>We can agree that C was definitely the language to be doing these things in and I don't blame Linus for choosing it.<p>My point wasn't to shit on Linux for its decisions, it was to think about a hypothetical world where safety built in from the start.</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:53:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853057</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853057</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853057</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>I've responded to the central point of "there will still be 'unsafe'" here:
<a href="https://news.ycombinator.com/item?id=38853040">https://news.ycombinator.com/item?id=38853040</a></p>
]]></description><pubDate>Wed, 03 Jan 2024 11:51:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853045</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853045</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>Practically speaking, even with `unsafe` the exploitability of rust programs is extremely difficult. With modern mitigation techniques it is required that you be able to chain multiple vulnerabilities and primitives together in order to actually reliably exploit software.<p>Bug density from `unsafe` is so low in Rust programs that it's just radically more difficult.<p>My company (not me, Chompie did the work, all credit to her for it) took a <i>known</i> bug, which was super high potential (write arbitrary data to the host's memory), and found it extremely difficult to exploit (we were unable to): <a href="https://chompie.rip/Blog+Posts/Attacking+Firecracker+-+AWS'+microVM+Monitor+Written+in+Rust" rel="nofollow">https://chompie.rip/Blog+Posts/Attacking+Firecracker+-+AWS'+...</a><p>Ultimately there were guard pages where we wanted to write and it would have taken other vulnerabilities to actually get a working POC.<p>Exploitation of Rust programs is just flat out really, really hard.</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:49:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853040</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853040</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853040</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>No, it's because the malware would have direct access to the (privileged) Linux Kernel via system calls.</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:45:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853018</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853018</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853018</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>The issue of root vs rootless is unrelated to escaping the container. User namespaces lead to privescs because attackers who can enter a namespace and become the root within that namespace have access to kernel functionality that is far less hardened (because upstream has never considered root->kernel to be a privesc and, of course, most people focus on unprivileged user -> kernel privesc). The daemon running as root doesn't change anything there</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:45:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853015</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853015</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853015</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>> . Kernel memory safety is not the main issue with container escapes.<p>I disagree, I think it is the primary issue. Logical bugs are far less common.<p>> the Linux kernel isn't exactly trivial to exploit either these days<p>It's not that hard, though of course exploitation hasn't been trivial since the 90s. We did it at least a few times at my company: <a href="https://web.archive.org/web/20221130205026/graplsecurity.com/blog" rel="nofollow">https://web.archive.org/web/20221130205026/graplsecurity.com...</a><p>Chompie certainly worked hard (and is one of if not the most talented exploit devs I've met), but we're talking about a single exploit developer developing highly reliable exploits in a matter of weeks.</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:44:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853010</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853010</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853010</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>>  the order of magnitudes of container security flaws from memory safety is the same as security flaws coming from namespace logic issues,<p>Memory safety issues are very common in the kernel, namespace logic issues are not.</p>
]]></description><pubDate>Wed, 03 Jan 2024 11:43:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=38853004</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38853004</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38853004</guid></item><item><title><![CDATA[New comment by insanitybit in "Maestro: A Linux-compatible kernel in Rust"]]></title><description><![CDATA[
<p>A memory safe linux kernel would be a fairly incredible thing. If you could snap your fingers and have it, the wins would be huge.<p>Consider that right now a docker container can't be relied upon to contain arbitrary malware, exactly because the Linux kernel has so many security issues and they're exposed to containers. The reason why a VM like Firecracker is so much safer is that it removes the kernel as the primary security boundary.<p>Imagine if containers were actually vm-level safe? The performance and operational simplicity of a container with the security of a VM.<p>I'm not saying this is practical, at this point the C version of Linux is here to stay for quite a while and I think, if anything, Fuschia is the most likely successor (and is unlikely to give us the memory safety that a Rust kernel would). But damn, if Linux had been built with safety in mind security would be a lot simpler. Being able to trust the kernel would be so nice.<p>edit: OK OK. Yeesh. I meant this to be a hypothetical, I got annoyed at so many of the replies, and this has spiraled. I'm signing off.<p>I apologize if I was rude! Not a fun start to the morning.</p>
]]></description><pubDate>Wed, 03 Jan 2024 10:48:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=38852652</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38852652</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38852652</guid></item><item><title><![CDATA[New comment by insanitybit in "Cross-platform Rust rewrite of the GNU coreutils"]]></title><description><![CDATA[
<p>> That this doesn't happen often shows the motivation of most companies using open source is ultimately ... just looking for free work.<p>Entering into contracts is really annoying. Companies don't just hand out checks, they have accountants who ask "what is this for, how is it being spent, how do we pay taxes on it", etc. "Pay this random developer that you have no pre-existing relationship with" is not as trivial as it sounds.</p>
]]></description><pubDate>Wed, 03 Jan 2024 10:44:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=38852624</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38852624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38852624</guid></item><item><title><![CDATA[New comment by insanitybit in "Thoughts on PostgreSQL in 2024"]]></title><description><![CDATA[
<p>This is what keeps me from postgres for large amounts of data. I use postgres to store metadata or small data (ie: "users logged in currently", "customers", etc).<p>If you want large datasets (petabytes) you really need to look elsewhere to something with better compression support or that tiers its data off to S3.<p>It's possible that with bcachefs we're like a decade away from "good fs in mainline kernel with fs compression" but right now it's not a great situation.</p>
]]></description><pubDate>Wed, 03 Jan 2024 00:40:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=38849222</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38849222</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38849222</guid></item><item><title><![CDATA[New comment by insanitybit in "In 2024, please switch to Firefox"]]></title><description><![CDATA[
<p>> Firefox is the only major browser not built by a company that makes money from advertising and/or selling your personal data.<p>Firefox makes almost all of their money from Google, so...<p>> If that’s the case, web developers can easily write sites that work on all browsers<p>Not sure what the point is here but if everyone is using Chromium/Webkit obviously this issue goes away too.<p>And, oh, that's it. I thought this was going to have like... a list of reasons. This feels like a very odd post to be #1 on HN right now, it contains almost no information.</p>
]]></description><pubDate>Fri, 29 Dec 2023 18:07:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=38808137</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38808137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38808137</guid></item><item><title><![CDATA[New comment by insanitybit in "The New York Times is suing OpenAI and Microsoft for copyright infringement"]]></title><description><![CDATA[
<p>omg dude how HOW are you not understanding?</p>
]]></description><pubDate>Fri, 29 Dec 2023 00:14:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=38800349</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38800349</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38800349</guid></item><item><title><![CDATA[New comment by insanitybit in "The New York Times is suing OpenAI and Microsoft for copyright infringement"]]></title><description><![CDATA[
<p>Updated how? By what? Who is going out and <i>investigating the world</i> to write about? An AI does not have LEGS it can not go outside and go talk to someone and interview them, it can't attend a press conference <i>without human assistance</i>.<p>You have not at all explained how an AI is going to somehow write a news post about something that has just happened.</p>
]]></description><pubDate>Thu, 28 Dec 2023 20:07:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=38797966</link><dc:creator>insanitybit</dc:creator><comments>https://news.ycombinator.com/item?id=38797966</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38797966</guid></item></channel></rss>