Git Product home page Git Product logo

pci-dss-hardening's Introduction

PCI-DSS Hardening Scripts for Ubuntu 20.04 on AWS EC2

This project is a set of shell scripts for applying hardening on an Ubuntu 20.04 system running on AWS EC2 to meet the security requirements of PCI-DSS certification.

The scripts include security settings for various services and packages, including:

  • SSH
  • Firewall
  • Log
  • Passwords
  • Automatic updates

How to use

  1. Download the scripts from the project repository.
  2. Grant execution permissions to all scripts using the command:
sudo chmod +x script_name.sh
  1. Run each script as a superuser. Example:
sudo ./script_name.sh
  1. Be sure to test and verify the applied settings before implementing in a production environment.
  2. It is recommended to make a backup of the system before running the scripts.

Note: The scripts have been tested and developed for Ubuntu 20.04 running on AWS EC2, but can be adapted for other Linux distributions. Be sure to read and understand what each script does before running it. This project does not guarantee compliance with PCI-DSS and it is the user's responsibility to verify that the settings meet the requirements of the certification.

To use this script in the user data when launching an EC2 instance, add the following to the user data field:

#!/bin/bash
wget https://github.com/your-repo/pci-dss-hardening-scripts.zip
unzip pci-dss-hardening-scripts.zip
chmod +x script_name.sh
sudo ./script_name.sh

Please keep in mind that this script is intended to be used on AWS EC2 instances running Ubuntu 20.04

pci-dss-hardening's People

Contributors

diogoalvesrs avatar

Watchers

 avatar

Forkers

epoch-chrono

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.