by jcranmer · 2y ago · 0 comments
If you consider it to refer to the supply chain attack, well, OpenBSD is too minor a platform for anyone to consider it worthwhile trying to invest in the long supply chain attack for the OS.
If you view it as the break-xz-to-attack-sshd, OpenBSD is designed as a single system with a single codebase, and has a general aversion to features such that it is difficult for an undersecured random library to become a vehicle to breaking a major, important component.
If you view it as the techniques used to publish an exploit in open source code, well, OpenBSD is filled with the kind of developers whose self-confidence is such that they believe that they are uniquely capable of writing code without those kinds of issues and will denigrate the use of newer technologies that mitigate that risk with the attitude that it coddles programmers and coddled programmers aren't good programmers. Or, in shorter terms, OpenBSD is actually one of the projects I'd expect to have a relatively high chance of a clever contributor being able to smuggle in an exploit in plain sight.
(Excluding shellshock/log4shell kind of vulns)
I mean an exploit against some service running on openbsd, or even necessarily the os contents..
Edit: I don’t mean an 0day, just an exploit that worked on some combo of openbsd and x. X being anything like e.g Apache or Bind or whatever
I agree that OpenBSD is a minor sized target, but I recall these bits from back in the day.
EDIT: accusations from ~2010 about actions ~2000
"FBI accused of planting backdoor in OpenBSD IPSEC stack" [0]
"A Chapter from the FBI's History with OpenBSD and an OpenSSH Vuln (twitter.com/rooneymcnibnug) 127 points by signa11 on July 21, 2019" | 23 comments [1]
"Theo de Raadt summarizes the OpenBSD IPSec "backdoor" situation"[2]
and HN discussion "36 points by there on Dec 21, 2010 | 47 comments [3]
[0] https://arstechnica.com/information-technology/2010/12/fbi-a...
[1] https://news.ycombinator.com/item?id=20489904
> OpenBSD is designed as a single system with a single codebase, and has a general aversion to features such that it is difficult for an undersecured random library to become a vehicle to breaking a major, important component.
From what I understand, those security benefits aren't incidental; they are a major reason for doing those things.
> a clever contributor
Doesn't seem like it would be very hard for someone to join the team and obtain maintainer status? Also, remember the social engineering done by the xz attacker to get their exploit included in updates - that also seems a bit challenging in the OpenBSD project.
OpenBSD seems to do more careful code reviews than other projects, but I don't know that I have an objective measure of it.
Honest question.
One significant reason that pledge was implemented was because it is possible to disable or mis-configure user-controlled policies. Theo mentions this in his presentation that unveiled pledge, and he's basically referring to things like seccomp and systrace:
https://www.openbsd.org/papers/hackfest2015-pledge/mgp00005....
More explicitly mentioning seLinux / seccomp:
https://www.openbsd.org/papers/hackfest2015-pledge/mgp00008....
https://www.openbsd.org/papers/hackfest2015-pledge/mgp00011....
More explicitly mentioning systrace:
https://www.openbsd.org/papers/hackfest2015-pledge/mgp00009....
Certainly, it's possible to debate the relative merits of this approach, but this is why OpenBSD has moved away from user controlled policies.