HardenedBSD: Feature comparison vs other BSD distros
11–20 of 43 posts
Re: HardenedBSD: Feature comparison vs other BSD distros
#12A better list would start with design techniques and assurance activities that led to systems with few to no vulnerabilities during pentests by well-funded, knowledgeable attackers. That's on top of what survives in the field with lots of attention. In the 80's-90's, those techniques included precise specifications of behavior or security policy, ways of proving/testing that in the code, hierarchical layering with simple coding to facilitate analysis, small kernels with most code deprivileged, memory-safe languages where possible, verification that object code matches source w/ no compiler errors/subversions, partitioning GUI's/filesystems/networking limiting apps effects on each other, covert channel analysis of entire system, secure repo's containing these artifacts w/ secure transfer to users, and option to re-run the analyses or rebuild the kernel themselves for independent replication.
Each of these techniques found or prevented many vulnerabilities in systems they were applied to. They even became mandatory requirements under the first, security certification: the TCSEC. Trusted Xenix in 1990 used some of them for that reason. Unlike often-bypassed mitigations, each of these methods still work today. Some work even better due to tooling improvements. The BSD's are largely ignoring these methods to maintain legacy compatibility with insecure architecture, unsafe code, and configuration scripts that can be just as risky. Unsurprising given early attempts at applying strong methods to UNIX, like UCLA Secure UNIX, showed the UNIX design had covert channels and such built in. You couldn't fully secure a UNIX without breaking legacy compatibility in lots of ways on top of a significant performance hit from memory safety and context switching. Led high-security projects to just virtualize UNIX/Linux on top of secure, isolation kernel. Projects that are attempting to follow some of these lessons in low-privilege architecture or language use include GenodeOS, Muen separation kernel, seL4, JX OS, and ExpressOS for mobile. EROS was an interesting older one that added persistence on top of capability-based kernel.
I figure someone should mention the methods that stopped NSA's hackers in various evaluations since they're strangely not on the list.
Re: HardenedBSD: Feature comparison vs other BSD distros
#13That comparison doesn't seem to include OpenBSD's biggest security feature, their track record of robust code review, eliminating countless security bugs before they're ever exploited.
Track record of robust code review doesn't make as much difference as people like to believe. There is a great talk on ccc about this: https://media.ccc.de/v/34c3-8968-are_all_bsds_created_equall...
Re: HardenedBSD: Feature comparison vs other BSD distros
#14https://hardenedbsd.org/article/shawn-webb/2018-04-30/harden...
Re: HardenedBSD: Feature comparison vs other BSD distros
#15The list is mostly the kind of tactical mitigations that get bypassed a lot by private individuals and academia. Clever people write one, clever people break one, rinse, repeat. The untested theory is that they would be really hard or impossible to bypass in combination. The kind of people that could test that have mostly been smashing things like Chrome or mobiles where there's enough users to justify their efforts…
Re: HardenedBSD: Feature comparison vs other BSD distros
#16Earlier quoted context omitted.
Track record of robust code review doesn't make as much difference as people like to believe. There is a great talk on ccc about this: https://media.ccc.de/v/34c3-8968-are_all_bsds_created_equall...
The video doesn't support your conclusion at all, quite the opposite.
If you are just reading the slides, they are too out of context.
Re: HardenedBSD: Feature comparison vs other BSD distros
#17No insult to the BSDs, but running a less popular OS can help too.
Re: HardenedBSD: Feature comparison vs other BSD distros
#18Earlier quoted context omitted.
On the other hand, upgrading OpenBSD to a new version is just about as easy as updating the packages on any other OS. If not easier! Also, yes, syspatch makes the paching between releases a five seconds task.
Unfortunately, OpenBSD normally requires booting into a special kernel for upgrading unless you do this: https://www.openbsd.org/faq/upgrade63.html#NoInstKern . This really makes it hard to use on AWS.
Re: HardenedBSD: Feature comparison vs other BSD distros
#19Kudos on a list where features HardenedBSD doesn't have but others (OpenBSD) do are also listed. Recently I've become accustomed to seeing overly tuned feature lists where the product in question has, apparently, all the things you could want.
Re: HardenedBSD: Feature comparison vs other BSD distros
#20No JIT then?
I could see a locked down server process wanting to drop access to this, but I feel like it's unreasonable to have on by default. (Also looking at you, Apple.)