Securing Ubuntu 14.04 LTS

satishtechsatishtech Member Posts: 243
Could anyone tell me some really good steps to secure Ubuntu
and also test its security ?

Comments

  • shodownshodown Member Posts: 2,271
    1. Look into IP tables
    2. Don't allow users to login as root
    3. If its public facing put it in a DMZ
    4. If in a cloud service and only internal company users need to access it, setup a VPN to it.

    My cloud business is based off internet facing ubuntu server's learning how to lock them down with IPtables and fail to ban isn't that hard, but does require some time.
    Currently Reading

    CUCM SRND 9x/10, UCCX SRND 10x, QOS SRND, SIP Trunking Guide, anything contact center related
  • discount81discount81 Member Posts: 213
    To give a basic run down

    I generally block anything on the Firewall that is not required, including entire countries

    Remove any services you don't need

    Turn off SSH logins and use public key authentication
    install modsecurity
    install fail2ban
    install rootkit hunter
    install grsecurity
    install snort
    http://www.darvilleit.com - a blog I write about IT and technology.
  • DoubleNNsDoubleNNs Member Posts: 2,015 ■■■■■□□□□□
    Install/Run LSAT (Linux Security Auditing Tool) as Post-Install.
    Install rkhunter or chkrootkit and run periodically (cronjob?)

    Install ClamAV as Anti-Virus and run periodically(cronjob?) (Might be more suited for desktops, not too sure)

    Root login should be disabled by default, but have to set up sudo privileges for users other than admin.

    I view monitoring tools and logging part of security.
    Goals for 2018:
    Certs: RHCSA, LFCS: Ubuntu, CNCF CKA, CNCF CKAD | AWS Certified DevOps Engineer, AWS Solutions Architect Pro, AWS Certified Security Specialist, GCP Professional Cloud Architect
    Learn: Terraform, Kubernetes, Prometheus & Golang | Improve: Docker, Python Programming
    To-do | In Progress | Completed
  • BlackBeretBlackBeret Member Posts: 683 ■■■■■□□□□□
    hardenubuntu.com
    blog.mattbrock.co.uk/hardening-the-security-on-ubuntu-server-14-04/
  • devils_haircutdevils_haircut Member Posts: 284 ■■■□□□□□□□
    It would help to know what kind of server this is (LAMP, SFTP, email, etc.) and how it is situated (behind a hardware firewall? in your mom's basement?).
Sign In or Register to comment.