News for hackers. Stuff that matters.
Re:Linux Hardening Guide by Sebguer on Thursday December 31, 2020 @02:30AM (#25590453)
I'm glad that this called out systemd in the very first section, because it told me that the rest of it probably wasn't going to actually talk about anything actually meaningful for security.

Edit: Oh god I hadn't even gotten to the end of that same section where it recommends Gentoo???? This article is written for people who read Cryptonomicon and took it a little too seriously.

Re:Linux Hardening Guide by someRandoJunk on Thursday December 31, 2020 @04:56AM (#25591242)
Don't see anything wrong with Gentoo in their context.

Author says in disclaimer This guide is focused purely on security and privacy, not performance, usability, or anything else. He's not wrong. Gentoo makes it easier to have compile flags while building your system. Say you want to disable pulseaudio support completely? You can get rid of it completely from anything that might link to it by setting it globally as a flag you want to avoid.

Sure the guide doesn't follow a threat model, but there's still some good advice in there. If someone follows the guide as dogmatic gospel, as a list of rules to follow at all cost, that's on them. If one is responsible for securing down their stack, maybe they should know better than following everything down to the bone as if it's some gospel.

Re:Linux Hardening Guide by BelenusMordred on Thursday December 31, 2020 @03:26AM (#25590730)
Would you honestly say systemd is the most secure init system when writing your own "Linux Hardening Guide"?

That's a big call to make in such a context.

Re:Linux Hardening Guide by lclarkmichalek on Thursday December 31, 2020 @05:56AM (#25591573)
Yeah probably. Its support for easily configuring daemons to run under dynamic users, with private tmp, lesser capabilities, read only root, etc etc makes it quite attractive.

Even more attractive if you’re writing a blog post about hardening Linux against ill specified ill specified threats. Writing a bunch of config files to “lock down” random daemons seems like it’d be right up this guy’s alley

Re:Linux Hardening Guide by Sebguer on Thursday December 31, 2020 @04:02AM (#25590938)
Would you say Gentoo is the most secure distribution to use when writing yours?
Re:Linux Hardening Guide by BelenusMordred on Thursday December 31, 2020 @06:10AM (#25591635)
No, I wouldn't. Qubes likely has the most security features out of the box without configuration for the average person trying to lock down their computer. BSD and Arch-flavours certainly have plenty going for them though and I wouldn't speak badly of their intent+outcomes.
Re:Linux Hardening Guide by Foxboron on Thursday December 31, 2020 @09:17AM (#25592842)
systemd has a strong track record of finding and fixing security issues and getting the CVE published. This is important if you want to consider "secure software" and getting things resolved in a timely manner.

People focus on the attack surface, but most of it is local exploits where the threat model is "someone has shell on your box".

Re:Linux Hardening Guide by chris_wot on Thursday December 31, 2020 @10:09PM (#25600456)
Are you saying that you can’t harden systemd and reduce its attack surface?
Re:Linux Hardening Guide by wantguns on Thursday December 31, 2020 @02:56AM (#25590583)
whats wrong with Gentoo, my guy ?
Re:Linux Hardening Guide by Sebguer on Thursday December 31, 2020 @03:02AM (#25590626)
Absolutely nothing at all, but it is not a 'more secure choice' than an LTS distribution of a mainline distro and while this guide can't really decide if it's targeting local or server usecases, I can't imagine a worse existence than being responsible for a fleet of servers running Gentoo.
Re:Linux Hardening Guide by yjftsjthsd-h on Thursday December 31, 2020 @03:13PM (#25596643)
While I agree that Gentoo is probably not significantly more secure than most LTS distros,

> I can't imagine a worse existence than being responsible for a fleet of servers running Gentoo.

You lack imagination:) NetBSD, AIX, LFS, Arch Linux...

Re:Linux Hardening Guide by wojciii on Thursday December 31, 2020 @02:51AM (#25590568)
Systemd is evil. What alternatives are there which were designed with security and speed in mind? I would prefer something simple instead of a lot of features.
Re:Linux Hardening Guide by viraptor on Thursday December 31, 2020 @03:14AM (#25590673)
Inanimate things without preprogrammed social behaviours are neither good nor evil. There are lots of alternative inits and you can use all the same namespacing tricks yourself with unshare and ip. But you'll have to maintain them for each service yourself and that's A LOT of work.