r/linux • u/speckz • Nov 05 '16
Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening.
https://github.com/CISOfy/lynis4
u/EmperorArthur Nov 06 '16
Just tried it, and it seems pretty nice.
Not all the recommendations work for everyone, but it has some easy to do things a few quick utility suggestions.
4
3
2
2
u/bubblethink Nov 06 '16
How does this compare to openscap, which is bundled with RH/Satellite ? I've never used either, but would like to try something like this.
2
u/TotesMessenger Nov 06 '16
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
[/r/arcosynth] Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening.
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
2
u/spamfajitas Nov 06 '16
That's interesting...a subreddit dedicated to someone's saved items instead of something like RES or Reddit's save feature. I guess that's useful if you want to easily share everything with someone else? Or if they want to archive everything including stuff not on Reddit...
-7
u/hatperigee Nov 06 '16
On Arch Linux, it recommends installing arch-audit, which is on AUR
....
0
Nov 06 '16
[deleted]
3
u/hatperigee Nov 06 '16
Well, for one, I was pointing this out because it seems a little crazy that an audit app (which recommends things like "remove your usb module when not in use") would recommend users install software from AUR in the first place. AUR is like the wild west, and while everyone around here says "review your PKGBUILDs and install scripts kids" I seriously doubt that many folks actually do that for all installs/upgrades. So, while this one package in particular might be OK, this software seems to be ignoring the fact that users have installed unsigned packages on their systems from AUR which, IMHO, is a pretty big miss for a security auditing suite.
0
Nov 06 '16
[deleted]
-2
u/hatperigee Nov 06 '16
If you rely on a security hardened system then why the hell are you using Arch to begin with?
Because I trust the maintainers for Arch, and like the package manager. I do build some things myself (e.g. kernel w/ SELinux/grsecurity patches). But your question is a red herring.
I was merely pointing out the questionable practice of "security auditing" and then recommending that users install software from AUR. That's weird. I'm sorry if you don't understand that.
0
Nov 06 '16
[deleted]
4
u/RealFreedomAus Nov 06 '16
Then you've already lost anyway.
Who do you trust for software? Nobody?
You scratched out bitpatterns on stone tablets to produce your first editor and compiler?
There's a world of difference between packages signed with a key that belongs to someone lots of people know, and an anonymously uploaded PKGBUILD. Yeah you've already lost but you already lost the moment you trusted a binary compiler...
1
u/hatperigee Nov 07 '16
Then you've already lost anyway.
Ha, and you're presumably running software that you have written from scratch?
17
u/_-Justin-_ Nov 05 '16
Excellent tool, used and recommended.