{"id":5545,"date":"2023-12-26T11:48:54","date_gmt":"2023-12-26T17:48:54","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5545"},"modified":"2023-12-28T09:29:12","modified_gmt":"2023-12-28T15:29:12","slug":"install-and-setup-openvas-on-kali-linux-2023-2024","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/install-and-setup-openvas-on-kali-linux-2023-2024\/","title":{"rendered":"Install and Setup OpenVAS on Kali Linux 2023\/2024"},"content":{"rendered":"\n<p>Notes on installing OpenVAS on Kali Linux in 2023\/2024<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install openvas<\/pre>\n\n\n\n<p>Run the setup script.  This used to be called openvas-setup, now it is gvm-setup.  Note that the script can take a long time to run.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gvm-setup<\/pre>\n\n\n\n<p><strong>At the end of the script, it will give you a password.  Use this password to log into the web interface.<\/strong> You can <a href=\"https:\/\/www.incredigeek.com\/home\/openvas-set-password-for-user\/\" data-type=\"post\" data-id=\"2550\">reset the password<\/a> if needed.<\/p>\n\n\n\n<p><em>If you run into issues with PostgreSQL, check out <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-fix-openvas-error-the-default-postgresql-version-14-is-not-16-that-is-required-libgvmd\/\">this post<\/a><\/em><\/p>\n\n\n\n<p>Log into the web interface at <\/p>\n\n\n\n<p><a href=\"https:\/\/127.0.0.1:9392\">https:\/\/127.0.0.1:9392<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p>On Kali Linux, you need to run commands as the _gvm user.  You can do this by prepending the commands with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo runuser -u _gvm -- COMMAND<\/pre>\n\n\n\n<p>There are two &#8212; dashes, between the _gvm user and the COMMAND.  Replace COMMAND with the GVM\/OpenVAS command you want to execute.  <\/p>\n\n\n\n<p>Example, to list the current users do<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo runuser -u _gvm -- gvmd --get-users<\/pre>\n\n\n\n<p>To create a new user run<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo runuser -u _gvm -- gvmd --user=newadmin --new-password=longsecurepassword<\/pre>\n\n\n\n<p> <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Failed to find config \u2018daba56c8-73ec-11df-a475-002264764cea&#8217;<\/strong><\/p>\n\n\n\n<p>If you receive a `Failed to find config &#8216;daba56c8-73ec-11df-a475-002264764cea'&#8221;` error, <\/p>\n\n\n\n<p>try running the following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo runuser -u _gvm -- greenbone-nvt-sync<\/pre>\n\n\n\n<p>This can take awhile, but it should sync all the files needed.  Check the following link for more information.<\/p>\n\n\n\n<p><a href=\"https:\/\/forum.greenbone.net\/t\/cant-create-a-scan-config-failed-to-find-config\/5509\">https:\/\/forum.greenbone.net\/t\/cant-create-a-scan-config-failed-to-find-config\/5509<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>The following link is also helpful for installing OpenVAS<\/p>\n\n\n\n<p><a href=\"https:\/\/stafwag.github.io\/blog\/blog\/2021\/02\/28\/howto-install-opevas-on-kali\/\">https:\/\/stafwag.github.io\/blog\/blog\/2021\/02\/28\/howto-install-opevas-on-kali\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notes on installing OpenVAS on Kali Linux in 2023\/2024 sudo apt install openvas Run the setup script. This used to be called openvas-setup, now it is gvm-setup. Note that the script can take a long time to run. gvm-setup At &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/install-and-setup-openvas-on-kali-linux-2023-2024\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[573],"tags":[1630,268,7,690,704,503],"class_list":["post-5545","post","type-post","status-publish","format-standard","hentry","category-security","tag-gvm","tag-kali","tag-linux-2","tag-openvas","tag-scanning","tag-security"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5545"}],"version-history":[{"count":9,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5545\/revisions"}],"predecessor-version":[{"id":5578,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5545\/revisions\/5578"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}