Download Latest Version SecQua_0.6.zip (3.0 MB)
Email in envelope

Get an email when there's a new version of SecQua

Home
Name Modified Size InfoDownloads / Week
SecQua_0.6 2012-08-07
SecQua_0.5 2012-07-10
SecQua_0.4 2012-06-19
SecQua_0.3 2012-05-31
SecQua_0.2 2012-05-16
SecQua_0.1 2012-05-11
README 2012-08-07 3.7 kB
Totals: 7 Items   3.7 kB 0
About
=====
SecQua is an open source project written in Python, that tries to quantify the security of a given Information System, using a novel security metric.
The data that are being used are from the National Vulnerability Database (http://nvd.nist.gov), for latest exports you may visit this http://nvd.nist.gov/download.cfm.

Dependencies
============
The project depends on the following open and free projects/libraries:
	Python
	MySQL Server
	SciPy
	NumPy
	matplotlib and
	MySQL-Python
	wxPython

Install
=======
Ubuntu/Debian
-------------
For Ubuntu users you should have installed MySQL, if not run: 
sudo apt-get install mysql-server 
To install Python and the needed libraries open a terminal and type:
sudo apt-get install python python-mysqldb python-matplotlib python-scipy python-wxgtk2.8
Download the latest version and extract it in a folder. Open file config.ini and edit the file according to your MySQL installation, add your name for author of the report, fix paper size, the type of splines etc.
To import the database, extract the file named nvd.zip, open a terminal and go to the extracted file. Then open a terminal, browse to the folder where you extracted the compressed file and type:
mysql -u root -p <nvd_mysql.sql 

Windows
-------
Download and install the following:
	Python 2.7.3 Windows Installer from http://www.python.org/download/
	MySQL Server from http://www.mysql.com/downloads/mysql/
	SciPy 2.7 super pack from http://sourceforge.net/projects/scipy/files/
	NumPy 2.7 super pack from http://sourceforge.net/projects/numpy/files/
	matplotlib from http://sourceforge.net/projects/matplotlib/
	MySQL-Python from http://pypi.python.org/pypi/MySQL-python/ (for easier installation, get it from http://www.lfd.uci.edu/~gohlke/pythonlibs/)
	wx-Python 2.8 from http://wxpython.org/download.php
Open file config.ini and edit the file according to your MySQL installation, add your name for author of the report, fix paper size, the type of splines etc. Finally, open a command line and execute:
mysql -u root -p <nvd_mysql.sql

Run
===
From the folder you extracted the files run:
python secqua-gui.py
A window will pop up, where you choose the report type by day of week, day of month etc. To add, edit, delete components press the according buttons. The supported format supports SQL regular expression syntax. For example typing windows will try to find any vulnerabilities regarding windows, that means all software that in their name have the word windows. To better quantify the security level, as the previous query will not only return results for Microsoft Windows, but for other software as well, refine the query e.g. windows_server_2008 or windows_xp. Even better, type kernel:2.6.[23][0-9] in order to search for linux kernels from 2.6.20 and above or even microsoft*.windows_server_2003 to ensure that only Microsoft products have been selected.

When finished with the data entry, go to File>Create report, a figure displaying the security status over the selected period will be shown and the calculated security level as well. To save the report, go to File>Save, just remember it is a LaTeX file. If you have installed LaTeX, you may create the PDF file by selecting File>Create PDF report.

A typical report can be download from http://cs.unipi.gr/kpatsak/secqua/example.pdf.

To update the database you go to File>Update... and either type the local address of the XML file you have downloaded from National Vulnerability Database or just the URL with the link to this XML file.

Licence
=======
SecQua is licensed under the GPL ver.2. The full text of the license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Source: README, updated 2012-08-07