Hackfest 2015: Theo de Raadt presented "Pledge: A new security technology in openbsd"

Channel:Hackfest Communication · Length:53:52 · Published:2015-11-23 · Views:26719

Watch on YouTube

Summary

Theo de Raadt presents pledge, a new OpenBSD security mechanism that kills processes which exceed the system calls they declared they need. The talk was given late at night at Hackfest 2015.

Why HN recommends it

HN points to it as the canonical overview of pledge and the ideas behind OpenBSD's exploit mitigations.

I thoroughly enjoyed Theo de Raadt recent talk — HN, 2015

Operating systems & kernels · Linux & open-source ecosystems · Security & hacking

Subtitles (excerpt)

okay okay okay thank you um so I'm going to talk about pledge which is a a new um mitigation mechanism that we that I we've recently started introducing in openbsd okay so first I'll just uh mention some stuff about open BSD for in case as any of you are not familiar so we sort of started off as um about 20 years ago started off at the same sort of space as everybody else trying to make an operating system for ourselves and then a bunch of people thought that' be we'd be sort of competing you know competing against other operating systems and we haven't really gone that way these days we're more sort of a research operating system trying to uh develop new um ideas because many of the other oper systems out there we see are kind of locked into um they have consumers and so they don't do change as often so this is really what we do we take a whole system approach so what that means is if we find that a piece of the operating system is hard to secure we'll still try to agitate in there and see if we can change something um and then if that influences us towards fixing something somewhere else then we go and fix that so we we we we're always trying to find some little tweak that will change Unix

On Hacker News

I thoroughly enjoyed Theo de Raadt recent talk, "Pledge: A new security technology in openbsd". It left me itching to try OpenBSD. "Pledge() is designed as a mitigation rather than a cure-all, de Raadt explains, but it's a mitigation with an interesting approach: a process or application stipulates the system services it needs, and if it steps beyond its boundaries, it's killed." [LINK] Hackfest … — lloydde, 2015-12
Until we build in security mitigation into the kernel and standard libraries of our operating systems, we will always have failure modes where minor errors in code can result in critical vulnerabilities and privilege escalation. I love what OpenBSD is doing with pledges[0] and hope to see this gain traction in other operating systems. Here is a good overview of Pledge[1] by Theo de Raadt. Unfortu… — Timothycquinn, 2017-04
The specific syscalls are quite new. Theo de Raadt gave this talk on pledge in 2015, and you can see that it was a bit different then. The "pledge path" feature never had a good enough API that didn't slow down the system too much, so they split that functionality into unveil a few years later. [VIDEO] — Rendello, 2022-03
I was just listening to Theo's pledge presentation ( [VIDEO] ) and immediately wondered how this is applied to scripting languages. The github link for Python seems to be a high-level wrapping of the entire Python environment itself. I was wondering if there is a way to surface pledge in an environment such as Python so that a developer could drop privileges, for example, open files for writing a… — rgacote, 2016-04
...and the slides and linked presentation address this. Here is the slide: [LINK] And here is a link into the presentation video: [VIDEO] — cuckcuckspruce, 2015-12

Related videos