Page 1 of 2
Openvas 9 Released
Posted: Mon Mar 20, 2017 8:53 am
by scott
Openvas 9 is now available for RHEL/Centos 7, and Fedora 24-25
Re: Openvas 9 Released
Posted: Fri Apr 21, 2017 11:31 am
by MikeLim
Many thanks to Atomicorp for this.
Here are my updated install notes for OpenVAS 9 on CentOS 7.3.1611 (minimal install).
Hope someone finds it useful.
1) Disable SELINUX (edit /etc/selinux/config) and reboot
2) Update your CentOS installation and reboot if necessary
yum -y update
3) Install the follow packages
yum install -y wget bzip2 texlive net-tools alien gnutls-utils
4) Add Atomicorp repo (see
https://wiki.atomicorp.com/wiki/index.php/Atomic)
wget -q -O -
https://www.atomicorp.com/installers/atomic | sh
5) Install OpenVAS 9
yum install openvas -y
6) edit /etc/redis.conf. Add/uncomment the following
unixsocket /tmp/redis.sock
unixsocketperm 700
7) Restart Redis
systemctl enable redis && systemctl restart redis
openvas-setup
Follow instructions and remember your admin password. If rsync throws error, check that your network allows outgoing TCP 873 to internet
9) Open firewall port for tcp/9392
firewall-cmd --permanent --add-port=9392/tcp
firewall-cmd --reload
firewall-cmd --list-port
Go to https://<IP-ADDRESS>:9392 and login.
To verify your OpenVAS setup, run
openvas-check-setup --v9
PDF generation
Posted: Sun Apr 30, 2017 8:03 pm
by MikeLim
If you need to generate PDF from OpenVAS, refer to CentOS 7 instructions at
https://wiki.openvas.org/index.php/Gene ... PDF_report
Re: Openvas 9 Released
Posted: Tue May 09, 2017 7:39 am
by spoonerandrew
I have just set this up on Fedora 25 using slight tweaks to those instructions (dnf instead of yum). Thanks very much.
Did hit a snag at the point of installing OpenVas. It appears there is a missing dependency of pnscan for Fedora 25 (and I am guessing 24) as it doesn't appear in the repo. I manually installed the rpm from the Fedora 23 repository which so far appears to be working.
Re: PDF generation
Posted: Fri Jun 02, 2017 4:49 am
by sam.whoami
I found this was needed also
# yum -y install texlive-changepage texlive-titlesec
# mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment
# cd /usr/share/texlive/texmf-local/tex/latex/comment
# wget
http://mirrors.ctan.org/macros/latex/co ... omment.sty
# chmod 644 comment.sty
# texhash
Re: Openvas 9 Released
Posted: Thu Jun 08, 2017 11:08 am
by scott
We've added a lot of this input to the openvas package, but havent had the time to test the PDF support completely. That could use some extra vetting if anyone has the opportunity.
Thanks again for all the feedback on this!
Re: Openvas 9 Released
Posted: Tue Jul 25, 2017 5:00 am
by Adi85
Hello Guys!
I`m new here in this Forum and first i want to say thanks for the great Jobs you are making here.
I´m trying to use Openvas-V9 in my Project on a CentOS 6.9 (Final).
Tryed this Manual two times now, but i am not able to get OpenVAS running, did all the Steps that MikeLim posted above.
Some of the Errors that came up after "openvas-check-Setup" could be fixed with Google(e.g. redis was not installed).
But now i am at the end of my (little) knowledgement.
The Situation ist currently(only the error-part in check-Setup):
ERROR: OpenVAS Manager is NOT running!
FIX: Start OpenVAS Manager (openvasmd).
"service openvas-manager status" says the process is running(it also have a PID).
The openvasmd.log says:
lib auth: INFO:2017-07-25 08h58.54 utc
Authentication configuration not found.
A solution shall be the command: openvasmd --rebuild and/or --update.
I tried both but it changed nothing.
Can anybody help me?
Thanks
Re: Openvas 9 Released
Posted: Tue Jul 25, 2017 5:19 am
by Adi85
Edit: Sorry for second post. I`ve read over that a mod has to check my post.
Re: Openvas 9 Released
Posted: Wed Jul 26, 2017 4:40 pm
by scott
is redis running and listening on the right socket?
Re: Openvas 9 Released
Posted: Thu Aug 03, 2017 3:58 am
by Briner
scott wrote:is redis running and listening on the right socket?
Hi Scott, how can you tell what the right socket is?
Re: Openvas 9 Released
Posted: Tue Aug 08, 2017 8:10 am
by scott
THe default is to look for it at /tmp/redis.sock (this is configurable inside openvas too), anything that might keep that from working could be the culprit. Like selinux, permissions, etc
Re: Openvas 9 Released
Posted: Sun Aug 13, 2017 8:56 am
by diego123
Hi
I followed the above guide to install Openvas to my CentOS 7 box.
openvas-check-setup --v9
https://pastebin.com/PCvwQEBf
My problem is that, when i create a new single task or host check, the status is "Requested", but when I click on it to see the result it becomes "Internal error". See the below logs.
openvasmd.log
https://pastebin.com/h2JcsqfT
openvassd.log
https://pastebin.com/Qx7BFd5K
[root@testvm neut]# uname -a
Linux testvm 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@testvm neut]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I tried googling, but it wasn't successful. Any idea?
Re: Openvas 9 Released
Posted: Mon Aug 14, 2017 8:26 am
by parkview
I have the exact same problem as Diego. My system is a fresh installation on Centos 7 in AWS.
Any advice is appreciated.
j
diego123 wrote:Hi
I followed the above guide to install Openvas to my CentOS 7 box.
openvas-check-setup --v9
https://pastebin.com/PCvwQEBf
My problem is that, when i create a new single task or host check, the status is "Requested", but when I click on it to see the result it becomes "Internal error". See the below logs.
openvasmd.log
https://pastebin.com/h2JcsqfT
openvassd.log
https://pastebin.com/Qx7BFd5K
[root@testvm neut]# uname -a
Linux testvm 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@testvm neut]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I tried googling, but it wasn't successful. Any idea?
Re: Openvas 9 Released
Posted: Mon Aug 14, 2017 8:45 am
by diego123
Okay guys, i give up. OpenVas is unable to run on KVM i guess....
I tried:
CentOS 7
CentOS 6
Ubuntu 14.04
Ubuntu 16.04
Debian 8
OpenVAS never worked on any machines. I followed the guides on the official page... Unfortunately i need to find another software with same knowledge....
Re: Openvas 9 Released
Posted: Tue Aug 15, 2017 9:37 am
by edgarsblackanom
Greetings,
I have the same problem when running a new scan openvas presents the following message "Internal Error"
Does someone know how to solve this problem?
When run the command openvas-check-setup indicate that the installation is OK
It seems like your OpenVAS-9 installation is OK.