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 Hacker News points people here: 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 comment, 2015
Talk on pledge, a mitigation that kills processes exceeding declared needs
Full comment
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
RecommendsTimothycquinnApr 2017
“Here is a good overview of Pledge[1] by Theo de Raadt.”
Good overview of pledge by Theo de Raadt
Full comment
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 itmrweaselNov 2015
“Theo De Raadt talks about some of the in his Pledge talk”
De Raadt covers OpenBSD security ideas now found in Android
Full comment
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 itcuckcuckspruceDec 2015
“And here is a link into the presentation video”
Presentation addresses the question raised
Full comment
...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 itrgacoteApr 2016
“I was just listening to Theo's pledge presentation”
Prompted question on applying pledge to scripting languages like Python
Full comment
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 itRendelloMar 2022
“Theo de Raadt gave this talk on pledge in 2015”
Shows pledge in 2015 form, before unveil split off path handling
Full comment
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