Salt Open Linux Vulnerability Scanner: Salt Scanner

2017-06-19T18:14:16
ID N0WHERE:171756
Type n0where
Reporter N0where
Modified 2017-06-19T18:14:16

Description

Salt Open Linux Vulnerability Scanner


A linux vulnerability scanner based on Vulners Audit API and Salt Open, with Slack notifications.

Requirements

  • Salt Open (salt-master, salt-minion)¹
  • Python 2.7
  • Salt ( pip install salt==2016.11.5 )
  • Slackclient ( pip install slackclient==1.0.5 )

Usage

[root@localhost ~]# python -V; pip freeze|grep salt; pip freeze|grep slackclient
Python 2.7.5
salt==2016.11.5
slackclient==1.0.5
[root@localhost ~]# sudo SLACK_API_TOKEN="EXAMPLETOKEN" python salt-scanner.py

===========================================================
 _____       _ _     _____
/  ___|     | | |   /  ___|
\ `--.  __ _| | |_  \ `--.  ___ __ _ _ __  _ __   ___ _ __
 `--. \/ _` | | __|  `--. \/ __/ _` | '_ \| '_ \ / _ \ '__|
/\__/ / (_| | | |_  /\__/ / (_| (_| | | | | | | |  __/ |
\____/ \__,_|_|\__| \____/ \___\__,_|_| |_|_| |_|\___|_|

 Vulnerability scanner based on Vulners API and Salt Open
===========================================================

+ No default OS is configured. Detecting OS...
+ Detected Operating Systems:
   - OS Name: centos, OS Version: 7
+ Getting the Installed Packages...
+ Started Scanning '10.10.10.55'...
   - Total Packages: 354
   - 7 Vulnerable Packages Found - Severity: Critical
+ Started Scanning '10.10.10.56'...
   - Total Packages: 332
   - 66 Vulnerable Packages Found - Severity: Critical

+ Finished scanning 2 host(s). 2 Hosts are vulnerable!

+ Writing Output to File: 20170609-115923_b0575ead-c5f1-4ef1-9439-7249afa9d9e6.txt

Salt Open Linux Vulnerability Scanner: Salt Scanner Download