Skip to content

Cyberpatriot Linux (Ubuntu specific/tested) commands for cybarra team.

Notifications You must be signed in to change notification settings

maytees/cypat-ubuntu-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyberpatriot UBUNTU Script

TERMS OF USE -

This script/project cannot be used for Cyberpatriot teams other than Cybarra.

This can be used for learning or makingy your own script.

Notes/checlists to self -

  • Add -y to every apt command
  • Create backups for config files in case some stuff break

Status (more to come as this script progresses) -

  • 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

About

Cyberpatriot Linux (Ubuntu specific/tested) commands for cybarra team.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published