Code Monkey home page Code Monkey logo

centsecure's Introduction

CentSecure

A tool for automating parts of CyberCenturion.

Website & Docs

Build Status


Overview

CentSecure is a tool for automating parts of CyberCenturion. We are focusing on tasks which are easy (e.g. running a single command) and/or time consumung (e.g. removing backdoors).

โš ๏ธ Warning: Use of this tool when it is open source is against CyberCenturion and CyberPatriot rules. However, you may still use it for inspiration for your own tools.

CyberCenturion is a blue-teaming exercise run by Cyber Security Challenge UK which involves securing 3 virtual machines. See more about how it works here.

CentSecure fixes security holes automatically which gets some of the 'lower hanging fruits' leaving us to focus on some of the harder things. It is designed to work on all platforms and adapt to the platform that it is being run on. Instead of having a bash script for Linux based systems and a batch script for Windows based systems, it makes sense to keep everything in one place.

Usage

Run CentSecure with Python: python centsecure.py

$ python centsecure.py --help
[#] Searching for plugins...
usage: centsecure.py [-h] [--list-plugins] [--run-plugin N [N ...]]
                     [--run-all] [--disable-root-check]
                     [--disable-python-check]

Automatically fixes common security vulnerabilities.

optional arguments:
  -h, --help            show this help message and exit
  --list-plugins, -l    Lists all plugins
  --run-plugin N [N ...], -r N [N ...], -p N [N ...]
                        Run specific plugins
  --run-all, -R         Run all available plugins
  --disable-root-check, --no-root, -d
                        Disable root check
  --disable-python-check
                        Disable Python version check

Default behaviour is to attempt to run all plugins

These are the most common parameters:

  • python centsecure.py - Run with all of the 'default' plugins. This will run all of the plugins except some of the more destructive ones.
  • python centsecure.py -R - Run all of the plugins.
  • python centsecure.py -r ssh -r pam - Run just the SSH and PAM plugins.
  • python centsecure.py -l - List all of CentSecure's plugins.

Installation Scripts

We have installation scripts for both Ubuntu and Windows which are in the scripts folder. Simply clone the repository (or download as a ZIP from GitHub) and run one of the scripts from this folder to install Python and CentSecure dependencies.

Manual Installation

If you don't want to use the installation scripts, you can manually install CentSecure. Read our Installation Guide for more information on manually installing dependencies.

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.