Ultimate Linux Checklist
Ultimate Linux Checklist
Ultimate Linux Checklist
2. 127.0.1.1 ubuntu
3. ::1 ip6-localhost ip6-loopback
4. fe00::0 ip6-localnet
5. ff00::0 ip6-mcastprefix
6. ff02::1 ip6-allnodes
7. ff02::2 ip6-allrouters
8. Services:
a. GUI:
i. Install Bum
1. sudo apt-get install bum
2. sudo bum
ii. Check the services that are running
b. Terminal:
i. Run:
1. service –status-all
ii. To stop a service:
1. service stop service
9. Ports
a. To see active ports:
i. sudo ss -ln
b. Necessary ports:
i. 80 & 443 (https, https)
c. Potential threats:
i. 20-21, 23, 135, 411-412 (ftp, telnet, remote desktop, peer-peer)
d. To close a port:
i. sudo lsof -I :$port
10. Server Configurations:
a. Apache 2
i. Edit apache2.conf
1. TraceEnable off
2. Leaving on could allow hacker to steal cookie info
3. User apache
4. Don’t let apache run as root
5. Group apache
6. Don’t let apache run as root
7. ServerSignature Off
8. ServerTokens Prod
9. <Directory /var/www/html>
10. Options -Indexes
11. </Directory>
12. Options -FollowSymLinks
13. Options -Includes
14. Options -ExecCGI
Ultimate Linux Checklist Page 4