Giter Site home page Giter Site logo

sscbs's Introduction

System Software Collector and Baseline Scanner (SSCBS)

Remotely extracts software package information. Creates a Microsoft Excel spreadsheet containing the findings. The generated output can then be used a baseline to compares findings and highlight software discrepancies such as:

  1. Missing software
  2. Version mismatch
  3. Architecture issues
  4. New unapproved software

How to Use


Creating a configuration

Configuration files specify the the hostname and IP address of the remote host as well as the credentials used to remotely access the system. Multiple configuration files can be created.

  1. Open config/example.txt in a text editor
  2. Specify the hostname and IP address within the [hosts] section. For windows hosts prepend windows_ to the hostname
  3. Provide the credentials within the [credentials] section.
  4. Below is an example configuration file containing both Windows and Linux hosts.
[credentials]
# Account used to access hosts
linux_username=yourusername
linux_password=yourpassword
windows_username=yourusername
windows_password=yourpassword

[hosts]
# Add hosts by specifying hostname=ip
# Prepend windows_ to all Windows hosts
ansible=1.1.1.1
windows_laptop=2.2.2.2

Fetching Installed Software

python SSCBS.py

Creating a Baseline

To create a baseline, simply copy an Excel file from the Excel Files directory and paste it into baselines directory making sure to rename it.

COPY: example.xlsx FROM: Excel Files\
To: baselines\  AS: example.baseline.xlsx

Comparing Installed Software with a Baseline

Simply rerun SSCBS.py and if a baseline is located that matches the configuration filename then the scanner will start automatically once updated packages are retrieved.

 System Software Collector + Baseline Scanner for Windows/Linux - Version 1.3


    Using config file: example.txt

    Fetching packages, please wait...
       ansible => OK
                Additional Packages:
                        rubygem-io-console.0.4.2-36.el7.x86_64
                        rubygem-logging.1.8.2-1.el7.noarch
                        rubygem-apipie-bindings.0.0.13-1.el7.noarch
                        rubygem-kafo_parsers.0.0.5-1.el7.noarch
                        puppetlabs-release.22.0-2.noarch
                        ruby-irb.2.0.0.648-36.el7.noarch
                Version Mismatch:
                        gpg-pubkey 4bd6ec30-4c37bb40 installed; requires: a15703c6-5de96087
                        kernel 3.10.0-1062.18.1.el7 installed; requires: 3.10.0-1062.el7
                        kernel 3.10.0-1062.12.1.el7 installed; requires: 3.10.0-1062.el7
                        gpg-pubkey 352c64e5-52ae6884 installed; requires: a15703c6-5de96087
                        kernel 3.10.0-1127.10.1.el7 installed; requires: 3.10.0-1062.el7
                        gpg-pubkey f4a80eb5-53a7ff4b installed; requires: a15703c6-5de96087


    Save As (default 'output.xlsx'):

    File Location: C:\Users\nmarr\Documents\Development\RPM2Excel\SSCBS\Excel Files\output.xlsx

sscbs's People

Contributors

nmarriotti avatar

Watchers

James Cloos avatar  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.