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

Hackfest Communication · 26K views · 2015 · 53:53

Open on YouTube

Security & hackingOperating systems & kernelsLinux & open-source ecosystemstalkdated

Why Hacker News recommends it

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

What it is

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.

Recommended by 2 HN commenters across 2 different months, 2015 to 2022.

What Hacker News said

Strong rec lloydde · 2015-12 · on “Software developed or maintained by the OpenBSD project”

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 2015: Theo de Raadt presented "Pledge: A new security technology in openbsd" video: [this video] slides: [LINK]

Recommends Timothycquinn · 2017-04 · on “Computer security is broken, but things are starting to improve”

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. Unfortunately for Linux ecosystem, the Kernel does not include any standard libs for developers, so this type of security mitigation will take a long time to arrive. But for Unix based operating systems we should expect this much sooner. [0]: [LINK] , [1] [this video]

Cites mrweasel · 2015-11 · on “One of the three OpenBSD users”

Google patches the snot out of the Linux kernel in Android. In fact in now contains a fair amount of ideas from OpenBSD. Theo De Raadt talks about some of the in his Pledge talk: [this video]

Cites cuckcuckspruce · 2015-12 · on “Software developed or maintained by the OpenBSD project”

...and the slides and linked presentation address this. Here is the slide: [LINK] And here is a link into the presentation video: [this video]

Cites rgacote · 2016-04 · on “Support of OpenBSD pledge(2) in programming languages”

I was just listening to Theo's pledge presentation ( [this 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 and then drop the privilege to open any further files.

Cites Rendello · 2022-03 · on “Heap Overflow in OpenBSD's Slaacd via Router Advertisement”

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. [this video]