|
|
|
|
Q: What are the basic things I need to know about securing my Ubuntu?
- Read General Notes
- Ensure hard drive is first in BIOS boot-up sequence
- To prevent trespassers from using Linux Installation CD which allows them to gain root user access
- To prevent trespassers from using Linux Live CD (e.g. UBUNTU/KNOPPIX/MEPIS) which allows them to destroy/browse/share the entire hard drive
- To prevent trespassers from installing another Operating System
- Ensure a password is set for BIOS
- To prevent trespassers from changing the BIOS boot-up sequence
- Ensure computer is located at a secured place
- To prevent trespassers from removing computer's hard drive which allows them to destroy/browse/share the entire hard drive from a different computer
- To prevent trespassers from removing computer's on-board battery which resets the BIOS password
- Ensure passwords used on the system cannot be easily guessed
- To prevent trespassers from cracking password file using brute force attacks (e.g. John the Ripper)
- Create password with minimum length of 8 characters
- Create password with mixture of characters/numbers, and upper/lower case
- Ensure interactive editing control for GRUB menu is disabled
- To prevent trespassers from modifying kernel boot-up arguments which allows them to have root user access
- Read How to disable all interactive editing control for GRUB menu?
- Ensure history listing is disabled in Console mode
- To prevent trespassers from seeing previously issued commands
- Read How to disable history listing in Console mode?
- Ensure Ctrl+Alt+Del is disabled in Console mode
- To prevent trespassers from restarting the system without permission in Console mode
- Read How to disable Ctrl+Alt+Del from restarting computer in Console mode?
- Ensure interactive option is set for remove, copy and move of files/folders in Console mode
- To prevent accidental removal/overwritten of files/folders
- Read How to enable prompt before removal/overwritten of files/folders in Console mode?
- For day to day usage, login as a normal user
- To prevent accidental deletion/modification of system files/folders
- Read How to add/edit/delete system users?
- Disable root user account, use "sudo" instead
- To reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root
- "sudo" provides a more useful audit trail (/var/log/auth.log)
- Read How to disable root user account?
- Install a Firewall
- A firewall does not guarantee security but it is in most environments the first line of defense against network based attacks
- Read How to install Firewall (Firestarter)?
- Perform vulnerability test
- Nessus is a great tool designed to automate the testing and discovery of known security problems
- Read How to install Vulnerability Scanner (Nessus)?
|
|
|