greenbone-openvas.html
1 <!DOCTYPE html> 2 <html lang="de"> 3 <head> 4 <meta charset="UTF-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 6 <meta http-equiv="onion-location" content="http://bopbopl6lohkl2rts3ltesjnag4hzs4jrx2h6k6etgq5xasbpqekzlqd.onion" /> 7 <title>BOP Wiki: Greenbone OpenVAS Installation</title> 8 <link rel="stylesheet" href="/assets/stylesheet.css" /> 9 <link rel="icon" type="image/x-icon" href="/assets/img/favicon.png"> 10 </head> 11 <body> 12 <header> 13 <!-- --------------------------------------------------------------------------------------------------------------------------------- --> 14 <script src="/assets/js/navbar-OpenClose.js"></script> 15 <script src="/assets/js/lightbox.js"></script> 16 <script src="/assets/js/copyCodeButton.js"></script> 17 <link rel="stylesheet" href="/resources/js-libraries/highlightJS/atom-one-dark.min.css"> 18 <script src="/resources/js-libraries/highlightJS/highlight.min.js"></script> 19 <script src="/resources/js-libraries/highlightJS/highlightjs-line-numbers.min.js"></script> 20 <script>hljs.highlightAll();</script> 21 <script>hljs.initLineNumbersOnLoad();</script> 22 <!-- --------------------------------------------------------------------------------------------------------------------------------- --> 23 <div class="branding"> 24 <button class="toggle-btn-navbar" id="navbarOpenButton">☰</button> 25 <a href="/"> 26 <img class="logo" src="/assets/img/logo.png"> 27 </a> 28 <div class="typing-animation">BytesOfProgress</div> 29 </div> 30 </header> 31 <div id="navbarContainer" class="navbar-container"> 32 <iframe class="navbar-iframe" src="/assets/navbar/navbar.html" frameBorder= "0"></iframe> 33 </div> 34 <main> 35 <article class="blog-post"> 36 <header class="post-header"> 37 <h1 class="post-title">Greenbone OpenVAS Installation</h1> 38 </header> 39 </article> 40 <nav class="breadcrumb"> 41 <a href="/">Home</a> 42 <span class="divider">›</span> 43 <a href="/wiki/">Wiki</a> 44 <span class="divider">›</span> 45 <a href="/wiki/tutorials/tutorials.html">Tutorials</a> 46 <span class="divider">›</span> 47 <span class="current">Greenbone OpenVAS Installation</span> 48 </nav> 49 <section class="post-content"> 50 <p> 51 This method was tested on Kali Linux (via netinstall) with and without a graphical desktop. 52 Make sure to update your system before proceeding. 53 </p> 54 <h2>Installation Steps</h2> 55 <ol> 56 <li> 57 <p>Install Greenbone Community Edition:</p> 58 <blockquote> 59 $ sudo apt install gvm -y 60 </blockquote> 61 <p>or alternatively:</p> 62 <blockquote> 63 $ sudo apt install openvas -y 64 </blockquote> 65 </li> 66 <li> 67 <p>Run the configuration script:</p> 68 <blockquote> 69 $ sudo gvm-setup 70 </blockquote> 71 <p> 72 During the setup, your admin credentials for the web interface login will be displayed. 73 </p> 74 </li> 75 <li> 76 <p>Verify the installation:</p> 77 <blockquote> 78 $ sudo gvm-check-setup 79 </blockquote> 80 </li> 81 <li> 82 <p>Start and stop Greenbone OpenVAS with the following commands:</p> 83 <blockquote> 84 $ sudo gvm-start 85 $ sudo gvm-stop 86 </blockquote> 87 </li> 88 <li> 89 <p> 90 Accessing the web interface: 91 If you are using a desktop environment, you can now login at 92 <strong>https://127.0.0.1:9392</strong>. 93 </p> 94 <p> 95 If you do not have a graphical desktop and want to access the interface remotely, edit the following file: 96 </p> 97 <blockquote> 98 /usr/lib/systemd/system/gsad.service 99 </blockquote> 100 <p>Replace <code>127.0.0.1</code> with <code>0.0.0.0</code> in the ExecStart line:</p> 101 <blockquote> 102 ExecStart=/usr/local/sbin/gsad --foreground --listen=0.0.0.0 --port=9392 103 </blockquote> 104 <p> 105 This change will allow access from other machines at 106 <strong>https://IP-Address:9392</strong>. 107 You can also adjust the port if needed. 108 </p> 109 <p>Reload systemd and restart the Greenbone service:</p> 110 <blockquote> 111 $ sudo systemctl daemon-reload 112 $ sudo systemctl restart gsad 113 </blockquote> 114 </li> 115 <li> 116 <p> 117 Update security feeds before launching your first scan: 118 </p> 119 <blockquote> 120 $ sudo greenbone-feed-sync 121 </blockquote> 122 </li> 123 </ol> 124 <p> 125 After these steps, your Greenbone OpenVAS setup should be ready to use! 126 </p> 127 </section> 128 <footer class="post-footer"> 129 <a href="/wiki/tutorials/tutorials.html" class="cta-button">← Back</a> 130 </footer> 131 </main> 132 </body> 133 </html>