Editing Security

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 10: Line 10:
 
To check your security you can use [https://opensource.com/article/20/5/linux-security-lynis Lynis security scan].
 
To check your security you can use [https://opensource.com/article/20/5/linux-security-lynis Lynis security scan].
  
'''Firstly''', install [https://svnweb.freebsd.org/ports/head/security/lynis/pkg-descr?revision=HEAD lynis]:<br/>
+
With GhostBSD you can get a high score.
 
+
<code>sudo pkg install lynis</code>
+
 
+
 
+
'''Secondly''', conduct an audit:<br/>
+
 
+
<code>sudo lynis audit system</code>
+
 
+
 
+
Hardening your system to receive a better Hardened Index score is trivial.
+
  
 
==How to harden your system==
 
==How to harden your system==
  
To have GhostBSD score a 70 on the audit. Install [http://rkhunter.sourceforge.net/ rkhunter] and change 4 settings.
+
It is easy to get GhostBSD to get a score of 70. Install [http://rkhunter.sourceforge.net/ rkhunter] and change 4 settings.
  
 
[[File:Photo 2020-11-08 12-40-56.jpg|400px]]
 
[[File:Photo 2020-11-08 12-40-56.jpg|400px]]
Line 37: Line 27:
 
[[File:Photo 2020-11-08 12-57-52.jpg|400px]]
 
[[File:Photo 2020-11-08 12-57-52.jpg|400px]]
  
These changes plus adding one pkg (rkhunter) will provide a score of 77.
+
These changes plus adding one pkg (rkhunter) will provide a score of...
 
+
 
+
However, it is possible to attain a score of 82 by enabling several additional security.bsd settings.
+
  
 
[[File:Photo 2020-11-08 13-13-23.jpg|400px]]
 
[[File:Photo 2020-11-08 13-13-23.jpg|400px]]
  
For those that want to have these changes be persistent after reboot, add them to '''/etc/sysctl.conf'''.
+
For those that want to keep those changes after reboot, just add them to '''/etc/sysctl.conf'''.
  
Also, if you do not want to use rkhunter, it is possible to replace it with [https://www.clamav.net/ clamav].
+
Also using [https://www.clamav.net/ clamav] help to raise the score.
Both rkhunter and clamav help to raise the hardened index score.
+
  
 
==How could keep those change - How setting security==
 
==How could keep those change - How setting security==

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)