trimstray / the-practical-linux-hardening-guide

This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
MIT License
9.91k stars 611 forks source link

Please add references #2

Open CAFxX opened 5 years ago

CAFxX commented 5 years ago

I always think that checklists such as this -i.e. especially security-oriented ones- would be much more useful, as they would let you learn the why behind the how, if they provided authoritative references to their assertions.

Let's take a concrete example: https://github.com/trimstray/the-practical-linux-hardening-guide/blob/daf846aab98f0bdafd32acf398589b7468c42a74/README.md#eight_pointed_black_star-secure-proc-filesystem

The proc pseudo-filesystem /proc should be mounted with hidepid. When setting hidepid to 2, directories entries in /proc will hidden.

When I read this, I immediately have the following questions:

I'm not arguing you should provide an explicit answer to all of the above (it wouldn't be a checklist anymore...). I am just arguing such a checklist would become much more useful and credible if it at least included links to authoritative sources that justify[1] the items on the checklist.

Just my 2 cents, keep up the good work!


[1] at least for non-obvious points; e.g. I don't think you need to justify "forcing the use of strong passwords"

trimstray commented 5 years ago

It's a great idea!

This project is still, hmm... at an early stage of development. There are a lot of things to add and improve.

I'll certainly take your suggestion into this. Thank you very much for every support and criticism.

EternalLearner42 commented 5 years ago

A bit of a newbie to open source, but I wouldn't mind looking into this and starting to add some references. Do I have your clearance to proceed?

trimstray commented 5 years ago

@EternalLearner42 : yes please :+1:

EternalLearner42 commented 5 years ago

Alright, I'll get to work. As this is my first issue, I might take a while to get a hang of git. Please be patient

EternalLearner42 commented 5 years ago

There. As I state in the PR, I was unsure what exactly to reference in the later stages of the document.

I submit this more as a way to see if these changes are to your liking than as definitive addition to this project.

Go ahead and tell me what you think and what you'd like to change in the future.