Install OpenVAS on Kali Linux - The Complete Step-by-Step Guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys what's up everyone welcome back to a new video this video has been requested for a long time a lot of you guys asked me to provide a video on how to install openvast on Kali Linux and today we finally get around to do that now openvoice is a open source vulnerability scanner you probably have heard of tools like Nestles and stuff like this while those tools are rich in features and very good they are also very very expensive and most of us who are working as Freelancers or as Buck Hunters are not willing or can't afford to pay the premium price for such tools and that's where openvas comes in now I've been using openvars in the past it's a great tool it actually works really well and even I know some people who are using tools like nestos and stuff they are still using openvars to just get a different scan result because as we all know you can find different things if you use burp suit and overs Zap for example those results always vary so there's always a small chance that you find something on one tool that doesn't show up on the other so even you use tools like nestos it definitely makes sense to give tools like openvars a look too Alright with that out of the way let's Dive Right In as you guys know by now we always provide a written piece of content to our videos this is no different so if you want to pull that article up on cosac.com and then you just click on the search bar here and you search for openvas or you just click in the link in the video description I will leave it there as well for you guys but if you pull that article up you have the whole syntax here that we are going to use throughout this video and I will make sure to follow the instructions step by step as they are in the article so you can just copy and paste this and follow through and I really recommend you to pull that up there is always a written article on all of our videos so that you have it easier to copy and paste syntax and don't need to type everything so once you have that pulled up we can jump into the installation alright guys so the first thing I usually like to do when installing something new I want to make sure that my system is up to date so I click on the terminal here to open up the terminal then I make that a lot bigger so you guys can actually read something and then I do sudo apt update and the double end sign and sudo apt upgrade minus y to accept the upgrade now you don't need to do the upgrade part I just usually like to do that before I install something new I don't know why it's just a habit I always like to keep my system up to date of course you can skip that and you can just run sudo apt update and that is enough for that so then you enter your pseudo password and I just quickly let that to update here and by the way guys if you need some additional help with Kali Linux in the article there's always this Kali Linux wiki box where you can open up all of our Kali Linux related articles here if you need some specific information okay that already finished and then we can move on to the next step which is installing openvar so to install openvars on Kali Linux we can just simply type sudo apt install and then open vas now you have to accept with yes or you just do a minus y at the end of the command and you can see that it's downloading 500mb so openvas is quite a larger piece of software but that shouldn't take too long the part that then actually takes quite a while is the installation part when we run the setup now the article was just recently updated because they have changed the complete setup process of openvars so I needed to go ahead and update this article and if you're still used to the old installation routine of open bars that has since changed all right let's let that finish here okay this took about two minutes to download and now we can go ahead and install or set up openvars and to do that we need to run the command sudo then gvm minus set up and once we hit that it's starting our postgresql and we get already the first error here and gladly a user pointed that Arrow out and if you run into any kind of Errors usually the users on our blog are really really nice and if you run into any kind of issue I always recommend you to scroll down to the bottom and here we see the error we got a postgres SQL around k4m gfam setup and there's also a solution here so if you scroll down you find a solution and we are going to implement that fix right here in this video because this is what everybody will run into when following this video so always make sure to check the comment section down below as well alright guys so while I was recording this video it actually turned out there are two different versions of this issue depending on which kind of version of postgresql we have installed on your system if you follow along so far and you have updated and upgraded your system it's likely that you are also on version 14 and 15 of postgresql like me and if you look at the solution from Tom here he probably didn't upgrade and update the system fully and he has the error message here that the default postgres dual version 13 and 14 in here and that requires probably a different solution than the one that I have found now so um in case you have 13 and 14 installed you can try to follow this solution and just make sure that the parts are in fact different and if you're in the latest version like I am then you can try the solution that I'm going to show you now that actually turns out to be working now you can check what kind of postgresql versions you have on your system by just doing an LS into the ETC and postgresql uh with one forward slash postgresql folder and if you do an LS here then uh you see that I have only 15 because I already went ahead and deactivated the version 14 here so now I have only 15. so you have to check if you have 13 and 14 or 14 and 15 if you have 14 and 15 here written here then you have to follow my solution so the solution that I found was I do sudo system CTL stop post chrisql at 14 minus Main and then I do sudo user uh for such bin then PG underscore drop cluster minus minus is top 14 Main and I did this already so it shows it does not exist but it did in fact remove it when I was running the command the first time and it solved the issue so you can see this can be a little bit complicated and frustrating to install openvoice hence I'm making this video for you guys to make sure you can get that sorted and um okay so we have that sorted out and everybody should be on the same page again and once we are there and we have everything in place we can then finally go ahead and do sudo gvm minus setup and this time it should be actually working and um this is going to download probably 1.2 1.5 gigabytes of data and this usually takes very very long it took up to an hour at some times for me so we just gonna go back and actually if I read the article it took about two hours for me to finish was when I last updated this tutorial um so I'm just going to let it finish in the background and continue recording once that's done so take some time go for a walk or whatever and then check back once that's finished okay guys this took about an hour to finish so I actually just went to the gym and came back and now it is finished so one important thing here um there is your password for the admin user for the initial login is written right here so you have to copy that for later use once we log into the user interface but don't worry if you missed that out of some reason then there is a command that you can run to reset that password which is written in the written article so you can pull it up if you need to reset your admin password nevertheless I'm gonna copy that real quick from here and we copy that and then to see if everything went smoothly we can run a quick pseudo gvm check setup and this will then check if everything was properly installed and updated since we just did that I would assume that everything should be fine it's checking for the services that are if that is running and once that is done see starting gvmd services seems like that was not running let's just wait for that to finish I think step seven is the latest or the last step checking if all the services are good to go okay that just went through we are all good to go in case the service did not start for you you can start at manually manually by doing sudo gvm minus start and we can see that it's already running because we did the check setup thing that also starts the service up now we can open up a web browser and we can go to https colon and photos forward slash localhost and I think the default Port is nine three nine two should be it yes and we get the warning we need to add an exception here so we click on Advanced scroll down a bit accept the risk and continue that's normal because it's not a secured https session but since you are locally working on your machine it's fine and then we put an admin and we put the default password that was given to us just a second ago and I'm not going to save that because I'm going to change it in a sec so we are locked in the open bus installation thereby is completed successfully and we can now go ahead and use open bus since this is only an installation guide I'm not going to go through showing you how openbus works that will be the material for a different video and I will leave some resources for you guys in the description as well but one thing I want to do is I want to go to Administration and to users and of course we're going to change that default password so that you guys are all set up and ready to go so we click on the admin user and somewhere we should find the edit button I'm not sure oh okay I see they change the settings so this is actually grayed out it's denied so we need to go to our user symbol up here and then go to my settings and I'm sure we can change the password in here somewhere it's not all that easy sometimes there's the edit button up here and then we enter the old password which is the very long one and then we do a new one make sure that's correct click on Save and then we have the password updated and that's about it you can run a quick scan if you go to scan and then or scans and then tasks and then you can go ahead and create a new scan by I recommend you if you're using it the first time to click on this little Wiz icon here and that's so small I hope I can make it bigger there we go and you can click on this little task wizard thing here and just click on it and then start a manual scan on a certain IP address or IP range okay guys that's it for this video this was how to install openvars on Kali Linux I think we covered everything there is to cover if you have any additional questions leave them in the comments below and if you also want a video on how to use openvoice then let me also know in the comments below and I hope to see you back in the next video until then foreign [Music]
Info
Channel: Stefan Rows
Views: 37,844
Rating: undefined out of 5
Keywords: install openvas, install openvas on kali, install openvas on kali linux, openvas guide
Id: OUiRTv4Q80c
Channel Id: undefined
Length: 12min 15sec (735 seconds)
Published: Tue Nov 15 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.