Giter VIP home page Giter VIP logo

kev-dashboard's Introduction

kev-dashboard.py

kev-dashboard.py is a simple tool to generate a dashboard for CISA's Known Exploited Vulnerabilities (KEV).

This tool is written in python, and it can display the dashboard in two (2) modes: text mode or ASCII chart mode. This tools is created after I got inspired by 2 things: Kenna EPSS distribution per cve/vendor (very cool) and the command line utility (termgraph) that draws basic graphs in the terminal. So I decided to take up the challenge to create a similar tool for both the idea.

Usage

To show the help screen.

$ ./kev-dashboard.py -h
usage: kev-dashboard.py [-h] [-c] [-i <n>] [-j <file.json>] [-v]

   Zzzzz   |\      _,,,---,,_
           /,`.-'`'    -.  ;-;;,_   __author__ : [ zd ]
          |,4-  ) )-,_..;\ (  `'-'  __year__   : [ 2022.03 ]
         '---''(_/--'  `-'\_)       __file__   : [ ./kev-dashboard.py ]

         [ Analysis Dashboard for CISA's Known Exploited Vulns (KEV) Catalog ]


optional arguments:
  -h, --help      show this help message and exit
  -c              Show output as chart
  -i <n>          Specifying most common vendor/product. Default is top 5.
  -j <file.json>  Specifying local JSON file
  -v              verbose output

To show the dahboard in text mode.

$ ./ kev-dashboard.py


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



CISA's KEV Dashboard [ 2022.04.06/616 ]


Top 5 Vendors (122)                     Top 5 Products (307)
 [*] Microsoft : 177                      [*] Windows                 :  58
 [*] Cisco     :  54                      [*] Office                  :  17
 [*] Adobe     :  33                      [*] Win32k                  :  15
 [*] Apple     :  29                      [*] Flash Player            :  14
 [*] Google    :  26                      [*] IOS and IOS XE Software :  13


Top 5 Date Added (23)                   Top 5 Due Date (41)
 [*] 2021-11-03 : 287                     [*] 2022-05-03 : 174
 [*] 2022-03-03 :  95                     [*] 2021-11-17 :  98
 [*] 2022-03-25 :  66                     [*] 2022-03-24 :  68
 [*] 2022-03-28 :  32                     [*] 2022-04-15 :  66
 [*] 2022-01-10 :  15                     [*] 2022-04-18 :  31


 [2022-04-07] Completed within [0.45 sec].

To show the dashboard in ASCII chart mode.

$ ./kev-dashboard.py -c

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



CISA's KEV Dashboard [ 2022.04.06/616 ]


Top 5 Vendors [ 122 ]
------------------------------
  Microsoft: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  177
  Cisco    : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  54
  Adobe    : ▇▇▇▇▇▇▇▇▇  33
  Apple    : ▇▇▇▇▇▇▇▇  29
  Google   : ▇▇▇▇▇▇▇  26


Top 5 Vulnerable Products [ 307 ]
------------------------------------------
  Windows                : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  58
  Office                 : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  17
  Win32k                 : ▇▇▇▇▇▇▇▇▇▇▇▇▇  15
  Flash Player           : ▇▇▇▇▇▇▇▇▇▇▇▇  14
  IOS and IOS XE Software: ▇▇▇▇▇▇▇▇▇▇▇  13


# Heatmap Calendar for Vulnerability Due Date [ 41 ]
-------------------------------------------------------------
        Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
 Mon :           ░       ░   ░░           ░   ░
 Tue :            ░   ░░   ░   █
 Wed : ▓ ░ ░ ░                ░    ░         ░   ░
 Thu :               ░  ░▒   ░            ░░   ░
 Fri :      ░     ░░░░ ░    ▒       ░
 Sat :
 Sun :                                  ░

# Heatmap Calendar for Vulnerability Added to KEV [ 23 ]
-----------------------------------------------------------------
        Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
 Mon :           ░       ░  ░░
 Tue :            ░   ░░  ░
 Wed : █ ░ ░ ░               ░
 Thu :               ░  ▒   ░
 Fri :      ░     ░░░░ ░   ░
 Sat :
 Sun :


 [2022-04-07] Completed within [0.21 sec].
 
$ kev-dashboard.py 

./kev-dashboard.py

$ kev-dashboard.py -c 

./kev-dashboard.py -c

References

kev-dashboard's People

Contributors

myseq 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.