This script/project cannot be used for Cyberpatriot teams other than Cybarra.
This can be used for learning or makingy your own script.
- Add -y to every apt command
- Create backups for config files in case some stuff break
- Updates
- Dist
- Normal
- Config security update rules
- SSH config
- Allow/Deny port 22
- sshd_config file config
- VSFTP config
- Mail server config
- Postfix
- Allow/deny port(s) (25)
- UFW Config/setup
- Lightdm config
- User remove/add
- Stack Overflow
- Group remove/add
- Add users who are supposed to have admin to sudo group
- Stack Overflow
- Passwords
- Password rules - in /etc/login.defs
- chmod 640 /etc/shadow
- chmod 640 /etc/passwd
- chmod 640 /etc/group
- pam config
- Remove bad applications
- Remove media files (mp3, mp4, jpeg, etc)
- Anti virus scanner (clamav, rkhunter, chkrootkit) - kinda
- Firefox Config (not sure how this will be done, there most likely is a config file)
- Remove Samba access (connection between Win and Linux, Google for more info)
sudo apt-get remove --purge samba
- SYSCTL Config (/etc/sysctl.conf)
- Audit config
- Apparmor
- SELinux Conf