Version 2.0: Change Log
Chev is python based and works on many platforms
Chev (Check Vulnerabilities Script) was designed to help track security vulnerabilities which are published by many Computer Emergency Response Teams (CERT) in the form of RSS feeds. It works as a stand alone script, ran from cron, or with Nagios. It is very easy to use, just add the names of the software you want to track and it will work out of the box.
- Follows sane by default architecture
- Scrapes several standard RSS feeds
- Designed to work standalone or with Nagios
- Checks the results against two lists of software
- Critical software will send a page when a vulnerability is found (Nagios)
- Warning software will bring up an interface error when a vulnerability is found (Nagios)
- Works with syslog
- Leaves audit trail
- Works on remote systems
- Built using crunchtools
Check for new security vulnerabilities. Very simple, just run it and it will check each rss feed and each piece of software.
Sep 9 16:13:51 __WARN__ WordPress 2.8.3 Security Release http://wordpress.org/development/2009/08/wordpress-2-8-3-security-release/
Sep 9 17:06:03 __WARN__ Web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl) http://securityvulns.com/news/CGI/2009.09.09.html
Acknowledge all items in the list and sort through them in a file. It is often easier to pipe output to a file and manipulate it there, than to acknowledge each entry individually.
Acknowledge individual entries. Specify the string of the entry after the acknowledge option.
Add New Software
Add new software to check. Warn is used to bring up an interface error while Crit is used to page in Nagios. If Chev is being used without Nagios, either list can be used.
This file uses the simple format of one per line
Separate Log Files
Syslog-ng can be used to route to certain files based on patterns, it is useful to split chev entries to a separate log in high volume environments. When your system is configured this way, it is necessary to configure Chev to understand what log to use. It uses /var/log/messages by default.
Add to Nagios
Example Command Definiition
command_line $USER1$/chev -f /var/log/chev.log
Example Service Definitiion
service_description Check Vulnerabilities Log