Git Product home page Git Product logo

cisufw20.04compliance's Introduction

CIS UFW Compliance Suite for Ubuntu Live Servers

Overview

The CIS Compliance Suite is a collection of scripts dedicated to improving and managing the security configurations of Ubuntu Live Servers using Uncomplicated Firewall (UFW). The suite aligns with the Center for Internet Security (CIS) guidelines for secure system configurations.

Features

  • Modularity: The project adopts a modular structure for straightforward maintenance and scalability.
  • Logging: Detailed logs are generated to monitor changes made during the configuration process.
  • Flexible Configuration: Users can choose from various logging options, such as overall logs, control-wise logs, and date-wise logs.

Getting Started

To run the CIS Compliance Suite on your Ubuntu Live Server, follow these steps:

  1. Clone the repository:

    git clone https://github.com/fernandonaime/debian20.04compliance.git
    cd debian20.04compliance
  2. Execute the main script with sudo:

    sudo python3 tester.py
  3. Follow the on-screen instructions to harden the operating system.

Project Structure

  • tester.py: Main script for executing the UFW CIS Compliance Suite.
  • CIS_Ubuntu_Linux_20.04_LTS_Benchmark_v2.0.1-06-29-2023/:
    • Contains CIS benchmark guidelines with automated and manual configuration steps.
    • The scripts in the suite automate certain tasks as per the CIS benchmarks.

CIS Benchmark Guidelines (Example)

3.4.1.1 Ensure ufw is installed (Automated)

This control ensures that the Uncomplicated Firewall (UFW) is installed on the system.

3.4.1.2 Ensure iptables-persistent is not installed with ufw (Automated)

This control ensures that iptables-persistent is not installed alongside UFW.

3.4.1.3 Ensure ufw service is enabled (Automated)

This control ensures that the UFW service is enabled and set to start at boot.

3.4.1.4 Ensure ufw loopback traffic is configured (Automated)

This control ensures that UFW is configured to allow loopback traffic.

3.4.1.5 Ensure ufw outbound connections are configured (Manual)

This control requires manual configuration of UFW rules for outbound connections.

3.4.1.6 Ensure ufw firewall rules exist for all open ports (Automated)

This control ensures that UFW has firewall rules defined for all open ports.

3.4.1.7 Ensure ufw default deny firewall policy (Automated)

This control ensures that the UFW default firewall policy is set to deny.

Contributors

cisufw20.04compliance's People

Contributors

fernandonaime avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.