A part of the Windows Win32k GDI module has been ported to Rust and has been merged into Windows — which means Windows will soon be booting with Rust in the kernel! 🥳🦀
BlueHat IL 2023 - David Weston - Default Security
The journey towards default securityThis talk will take the audience through the evolution of Windows security and provide insight into the latest advances. ...YouTube
reshared this
yosh
in reply to yosh • • •The Win32k module in Windows is a common source of vulnerabilities. Which means rewriting it in a memory-safe language could be very impactful.
The performance of the Rust rewrite so far seems really good, and `unsafe` is mostly used for FFI. Meaning as more code is ported, the number of unsafe calls is going down.
yosh
in reply to yosh • • •Rewriting the entire Windows operating system in Rust is not something which is realistic right now — the scale of the project is just too big for that.
Instead this is an experiment in targeting one of the most vulnerable parts of Windows, and rewriting *that*. And that’s been so successful, it’s actually going to be shipping soon! Which is a huge deal!