Lynis – Security auditing and hardening tool, for Unix-based systems
11–20 of 24 posts
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#12Rules like https://cisofy.com/lynis/controls/HRDN-7222/ make me think the whole thing is snake oil. There is zero security benefit to making publicly-available compilers not be world-readable.
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#13Rules like https://cisofy.com/lynis/controls/HRDN-7222/ make me think the whole thing is snake oil. There is zero security benefit to making publicly-available compilers not be world-readable.
I assume you don't work in security. The "HRDN" means it's a Hardening rule, and hardening is the action of reducing the attack surface for possible attacks as much as you can, even for the most crazy types, like a normal user or malware having access to download an exploit from exploit-db.com and being able to compile it without being root.
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#14Rules like https://cisofy.com/lynis/controls/HRDN-7222/ make me think the whole thing is snake oil. There is zero security benefit to making publicly-available compilers not be world-readable.
> If a compiler is found, execution should be limited to authorized users only (e.g. root user).
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#15Seems like a good thing. Anyone here has experience with this tool?
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#16Seems like a good thing. Anyone here has experience with this tool?
I just heard about this tool but someone else said it simply enumerates defaults already present in most distros. I can tell you one thing that makes real changes to RHEL at least, CIS Benchmark. It hardens your system by tightening up file permissions, user logins, disables old protocols, sets partition flags and more. But the best hardening imho doesn't follow any set standard, rather application dependent isolatio…
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#17Rules like https://cisofy.com/lynis/controls/HRDN-7222/ make me think the whole thing is snake oil. There is zero security benefit to making publicly-available compilers not be world-readable.
Where does it say on that page that the hardening is not making them world-readable? > If a compiler is found, execution should be limited to authorized users only (e.g. root user).
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#18Seems like a good thing. Anyone here has experience with this tool?
Doesn't offer much utility IMO as most distributions come with secure defaults ootb these days. Unfortunately it's checklist is not thorough enough to keep you ahead of the security curve.
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#19Seems like a good thing. Anyone here has experience with this tool?
I just heard about this tool but someone else said it simply enumerates defaults already present in most distros. I can tell you one thing that makes real changes to RHEL at least, CIS Benchmark. It hardens your system by tightening up file permissions, user logins, disables old protocols, sets partition flags and more. But the best hardening imho doesn't follow any set standard, rather application dependent isolatio…
Re: Lynis – Security auditing and hardening tool, for Unix-based systems
#20Earlier quoted context omitted.
Useful if you walk in to an unknown environment, however if standing up your own infra, any competent sysadmin doesn't need this.
If auditors are going to use this, it would benefit even the most competent sysadmin to know what it's gonna say. The average compliance analyst isn't going to understand why some enumerable risk isn't actually a threat because; your threat model makes said issue actually impossible. Even if you can prove it, they're still gonna include it in their needless risk findings. I'd postulate (for fun) that most competent s…