System SEcurity Flashcards
Best practices for Kernel Security
Apply kernel security patches
implement kernel module signing
update /etc/syscrl.conf with secure configurations when possible
disable booting from external drives
set a grub bootloader password
Best practices for app security
Update software apps regulary
remove unnecessary pacakges
disable unnecessary services (systemctl disable)
implement security best practices for common system services (apache, nginx, php etc)
setup dedicated users for services
File System Security Best practices
Use separate partitions for suer files and system files
Use separate partitions for services
Utilize relevant mount options for security
Implement SELinux for apparmor
manage bash history
impelment instrusion detection with AIDE
Authentication and Authorization Security
Disable root login
Implement SSH key pairs
Enforce strong passwords
Enforce password expiration
Limit user permissions