Scan EC2 using OpenVAS
Scanning your EC2 instances periodically to check for vulnerabilities and security loopholes is definitely something that no Systems/DevOps engineer should miss out on. There are several scanning tools available for these purposes but very few free ones. OpenVAS is an opensource and free tool which originated as a fork of the now commercial Nessus scanning tool.
Follow these steps to quickly get started with OpenVAS
- Launch an Ubuntu EC2 instance. how-to
- Add the following PPA:
sudo add-apt-repository ppa:mrazavi/openvas - Update apt-get:
sudo apt-get update - Install OpenVAS:
sudo apt-get install openvas - Run the following commands to update OpenVAS scripts and data:
sudo apt-get install sqlite3sudo openvas-nvt-syncsudo openvas-scapdata-syncsudo openvas-certdata-syncsudo service openvas-scanner restartsudo service openvas-manager restartsudo openvasmd --rebuild --progressThe above commands will download large amounts of data from the internet. It might take several minutes to complete depending on the internet speed.
- After the downloads have finished, Goto
https:<instance-public-ip>:443and login. The default username and password isadmin
Comments