# Build OpenVAS ###### tags: `public`,`build`,`openvas` ![](https://hackmd.io/_uploads/Hybs8_w4h.png) ## Ref Link [Mikesplain's OpenVAS Docker](https://github.com/mikesplain/openvas-docker) [Feed Update Step](https://github.com/mikesplain/openvas-docker/issues/263) [OpenVAS org - GreenBone](https://openvas.org/) [GreenBone Github](https://github.com/greenbone) ## Following Step sudo docker --version ### Download Docker on Mac - Download Docker Desktop https://docs.docker.com/desktop/install/mac-install/ - Check Docker Version ``` sudo docker --version ``` ### Pull Docker Image or Docker Run - Pull docker image ``` docker pull mikesplain/openvas ``` - Or docker run ``` docker run -d -p 443:443 --name openvas mikesplain/openvas:9 ``` Ref :https://hub.docker.com/r/mikesplain/openvas/ ### Update Feed - To run bash inside the container run ``` docker exec -it openvas bash ``` - Feed Link Change ``` export COMMUNITY_NVT_RSYNC_FEED=rsync://$FEED:/nvt-feed export COMMUNITY_CERT_RSYNC_FEED=rsync://$FEED:/cert-data export COMMUNITY_SCAP_RSYNC_FEED=rsync://$FEED:/scap-data ``` - Feed Update ``` greenbone-nvt-sync openvasmd --rebuild --progress greenbone-certdata-sync greenbone-scapdata-sync openvasmd --update --verbose --progress /etc/init.d/openvas-manager restart /etc/init.d/openvas-scanner restart ``` ### Open OpenVAS Portal - Open Login Page , it will be localhost or other following your setting when container running. ![](https://hackmd.io/_uploads/Syy8N_DNn.png) - The Default account & password on OpenVAS acc : admin pw : admin - Go Extras -> Feed Status ![](https://hackmd.io/_uploads/Skbj4uP43.png) - Make sure you feed was up-to-date - Click Scans -> Task -> Wizard -> Advanced Task Wizard ![](https://hackmd.io/_uploads/rJGMSuwV3.png) ![](https://hackmd.io/_uploads/SJFNB_P42.png) - Setup what you needed than Scan it ![](https://hackmd.io/_uploads/SJlOBOPN3.png) - Go to Scans -> Result to get your report --- ![](https://hackmd.io/_uploads/S1I5rEF42.png)