Top Things to After Installing Kali Linux in 2023
24K views
Nov 7, 2022
The Top Things to do After Installing Kali Linux in 2023 - Freshly Updated! Check out the best things you can do after installing Kali! Article: https://www.ceos3c.com/security/top-things-after-installing-kali-linux/ Install OpenVAS: https://www.ceos3c.com/security/install-openvas-kali-linux/ 00:00 Intro 00:25 Install Kali 01:25 Kali Article 02:00 Snapshots 03:20 Changing Keyboard Layout 06:45 Updating & Upgrading 09:40 Changing Default Passwords 11:35 Shared Clipboard 12:30 Creating a new User 16:00 Upgrading Rolling Releases 16:59 Installing Guake Terminal 20:30 Customizing the Terminal 22:20 Installing VSCode 24:30 Next Steps
View Video Transcript
0:00
Hey guys, what's up everyone
0:02
Welcome back to a new video. It's been a while since I've released the last Kali Linux video and it's definitely been
0:08
too long since I recorded a top things to do after installing Kali Linux video
0:13
I think the last one was from 2019. So it's way past time to update that
0:17
With that being said, this is the top things to do after installing Kali Linux in 2023
0:25
As you guys know, we always provide articles that go along with our
0:29
videos and this is no different. In case you didn't install kaly Linux yet and you want to try
0:35
it out, we have several tutorials up on the YouTube channel as well as on the website cosec.com
0:41
and if you just head over to the website, I'll leave a link in the video description below
0:45
and you go to learn and you choose cybersecurity. You will find all the kailinux things that you ever
0:52
need. So here is a couple of things that you could look into that are one of the most popular
0:56
articles and you will also find all of the how to install video so we have how to
1:01
install kailinux on virtual box we have how to install kali linux in dual boot with windows 10
1:07
and 11 and we also have how to install kailinux on vmware and of course how to install kali
1:12
linux on a laptop if you want to use a laptop solely for kali linux we have a complete step-by-step
1:17
tutorial on that as well the top things to do after installing kali linux
1:22
article can also be found there and i'll leave a link in the description below to
1:26
So I highly recommend you guys you pull up this article to go along with the video because you can just scroll down to the steps
1:33
I will go through all of these steps in this video now and If you want to follow along then you can just scroll down and copy and paste all of the syntax that I'm going to use throughout this video
1:43
So this might be helpful for you to pull up on the side while you follow through with this video
1:48
All right with that of the way. Let's get right started Since most of you will probably run Kali Linux on virtual box as well in these
1:56
first thing I recommend you do after installing Kali Linux freshly even without
2:01
updating it in anything just to be sure is to take a snapshot and I don't know
2:06
why Virtual Box has moved that snapshot button from here I was actually just
2:10
searching it for a while to here you have to click on those three or this hamburger
2:15
menu and then you can go to snapshots and then you can take a snapshot and what I
2:20
usually like to do is right after installing Kali Linux I just do a snapshot with
2:25
fresh install Now you can choose to do this snapshot after you have configured, updated, etc
2:31
Your Kali Linux install if you want to. I just take one now because I will need it anyway
2:36
And we're going to probably take another one later on in this video. So now I just do fresh install, freshly installed Kali Linux and I just hit OK
2:45
And now it took a snapshot. And in case something gets messed up throughout this whole process, when we install some tools, etc
2:52
then we can just head back to this freshly installed state without the need of reinstalling Carly Linux altogether
3:00
So this is the first time I start up this Cali instance and if it's the first time you boot that up, the default login is Cali and the password is Carly as well
3:08
So it's Carly, Cali, Cali for the login. And once you click login, you should automatically have full screen modes available to you
3:16
It comes pre-installed in the Cali Linux VM that I downloaded from the Carly Linux website
3:22
actually didn't install it I imported it and that is also the same thing we do in the
3:26
how to install Kiley Linux on virtual box video that we have up so if you follow that
3:31
video before following this video you will be in the same state that I am now in
3:36
and so this is a freshly installed version of Kiley Linux as I said in case full
3:42
screen doesn't work go ahead and maximize or minimize and maximize the screen a couple
3:46
of times this usually does the trick all right so before I do anything usually because
3:52
I'm sitting on a German keyboard here on a keyboard layout and some of you will watch this video from all over the world
3:58
So you probably want to change that too before you end up figuring out what keys to press to type in certain syntax
4:06
So the easiest way to do that is to go through the GUI here and let's just head to the settings
4:11
And then we go to keyboard settings. So you go settings and then you find keyboard or you just type in keyboard here in the search button
4:22
And you can see I press the Y key on my German keyboard and the Z comes up and that's exactly why I want to change that first
4:28
So I click on keyboard here and then I click on layout and you can see this is the English one
4:33
and you have to remove this use system defaults thing and then you can choose a different layout and you click on the add button here
4:40
And in my case I'm just gonna choose the German one. Where is it? There it is
4:47
German and I have no idea which one to take here because they have so many
4:52
I'll just take is there not a normal German one that acute sounds good okay whatever
5:00
let's try this one and then you have to move your new keyboard up to the top to have it as a default keyboard and you can of course
5:06
then remove the other one that was in there before and now if I press the Y button why should actually be typed out
5:13
so this is the first thing I usually like to do there's another way doing that if you like to prefer the terminal way
5:20
you can open up your terminal up here let's quickly pull that up here in the middle
5:26
because that's what we're gonna need again in the second just making that bigger for you
5:31
so you guys can actually read something and zoom in there we go so the other thing you can do
5:36
is you can type out is pseudo dp KG reconfigure a keyboard minus configuration
5:46
and then you enter the pseudo password which is still Kali we're gonna change that in the
5:50
And then the keyboard configuration tool comes up in the shell and then again
5:55
This is just generic PC. This is the first option here just press okay and then you can choose again that's what we just did
6:04
You go on other if you have some other keyboard some other language keyboard layout and then you scroll down in my case it's German
6:12
And then again I have this all those options here again and I'm just gonna choose the same because it looked like it works
6:20
Okay, okay and this usually the default for the keyboard layout. Yeah, I'm just going to leave that as it is
6:26
Press okay and tap and okay and tap and okay and just go through that
6:35
No, I'm just going to leave that as default and it should still work. Yeah, that's the German keyboard that I'm used to
6:40
Okay, so this was the first step. Let's move on to the next one. The next thing I like to do is to completely update and upgrade the system
6:48
Now if you just have freshly downloaded, maybe even a weekly build of the virtual box image from the Kali website
6:54
You probably don't need to do that, but just to make sure I like to do it anyway
6:57
So we do pseudo-apt and update minus Y to not have to enter another prompt
7:03
And then we do two end signs here, and then we do pseudo-apt upgrade minus Y as well
7:11
And then it downloading the latest update packages and tells us probably that a bunch of packages have to be updated
7:21
Let's see. All right. So it updated the app repository here. And then it's starting to update all the packages
7:30
And as you can see, this is going to take a while. Depending on your internet connection, I'm downloading with about 6 megabytes per second at this moment
7:37
So you can see that quite a lot of packages are going to. to be updated so we let that to finish and then we continue from there after or during the
7:45
upgrade process when the packages are actually getting installed sometimes you get some questions
7:50
if you want some services to be updated or restarted or whatever and i just walk you through that
7:56
and i usually choose here restart services during package upgrades without asking yes because i don't
8:02
want to be asked every time that they restart a service and usually that's fine on a fresh install
8:06
anyway because you probably don't have anything running in the background right after you install
8:11
kali linux so we let that finish you can see the download has finished and now it's installing
8:16
and upgrading the packages which is going to take another while while this is installing just a little
8:21
plug for you guys for everyone who is interested in learning python we are currently heavily
8:25
investing time in our python category if you go to zeusac.com you go and learn on on python you find
8:32
a whole series on python tutorials and um or we are just in the process of putting together a whole beginner tutorial
8:40
on how to get started with Python programming. Because Python programming is something that everybody
8:45
who is into cybersecurity or ethical hacking or bug bounties should know at least the basics of
8:50
and we try to put something together that makes it really, really easy to learn the Python programming languages
8:56
All of our tutorials come with a written article, with a Replit repository, so you can directly code along with us
9:03
while we go through, and as well as with a VATOnguels. video of course and you probably have seen a couple of Python videos popping up on the
9:10
channel lately so this is just a little plug for that if you want to get into
9:15
Python this is a great way on how to get started with that all right the update
9:20
and upgrade process has finished and just for a good measure we are going to do a
9:25
reboot so we do pseudo reboot now and then we enter the password once more because
9:30
we did a major update and upgrade so it's just good practice to do a quick
9:36
reboot before we continue with the tutorial. Okay, we are back, let's lock right back into Kali and the next thing we want to do
9:44
is to change the default passwords. And this is an important step
9:48
Don't ever leave your password as default, especially not on Kali Linux because everybody
9:53
knows the default password for Kali Linux. Let's track that up and make it a lot bigger
10:02
So to change the default password of your Kali user, we do pass WD
10:06
and then you enter the current password which is Kali and you enter your new passwords twice
10:15
Oh yeah, it tells me now to choose a longer password, so let's do that
10:22
Okay, now we have the password updated for the default user and I'm going to show you how to create a new user in the second in case you don't want to use the default Kali user, but let's continue with this first. So the next thing we want to do is we want to also change the default root password
10:36
which is still Kali at this point. So we do pseudo-passWD root to change the password for the root user
10:44
Now the pseudo-password is then your new password that I just mistyped
10:51
Okay, that's the new password we just set up. And now you can choose to either choose a different root password
10:56
or the same password that you use for your user. And now we have both passwords updated
11:02
Now since this took quite a while, we can go ahead and take a
11:06
another snapshot now so that in case something goes wrong. Now we can revert back to a working state
11:12
So click on machine up here on the left in the virtual box menu and click on tape, take snapshot
11:17
And then I do fresh install plus update and upgrade. And that's all I'm going to do here
11:26
And now we have two snapshots, one right after installing Kiley Linux
11:30
and one after updating it and it just takes a few seconds here
11:35
The next thing we want to do. to check and make sure is if the shared clipboard and drag and drop are enabled, that's
11:42
meaning that you can copy something from your host machine. So if you run that on Windows
11:47
you can go ahead and copy something from the browser or whatever and paste it inside of your VM
11:51
You can also drag and drop files between the VM and your host, but the setting needs to be
11:56
enabled. In the newer versions of Virtual Box, that's enabled per default, but we just want to make
12:01
sure that this is actually still the case. So we go on devices in the Virtual Box menu here
12:06
and then we go to shared clipboard and that should be set to bidirectional
12:11
that's already set and drag and drop the same should be set to bi-directional both is set
12:16
so we should be able to copy and paste something from our host machine
12:21
to Kali Linux on the virtual machine and we just test it I'm just going to copy
12:25
one word from the article and I'm going to try to paste it paste clipboard and it is in fact working
12:32
so I just copied that from my host machine All right. I've mentioned it and let's just do it right now
12:39
We are going to create a new user in case you don't want to use the default Kali user
12:43
Now there is nothing wrong using the default Kali user. It's more of a do you want to have your name there or not
12:48
You want to have your own user name there or not. Perfectly fine to use the default Kali user for most of us
12:55
But in case you want to know how to do that, this is how you do it. So to create a new user, you do pseudo, add user and then username
13:02
So I'm doing SeOSAC here. And then you set the password for that user as well
13:09
Okay. And then you can either enter a name or leave that all empty
13:13
I'm just going to enter my name. And then we can see that adding the new user to supplemental extra groups and adding CSAC to group users
13:22
Now the thing is, since we create a new user, we can also check if the user was created
13:28
And we can see that the home folder here for the new CSAC user was in fact created
13:34
Now we need to also add our Seusac user or our new user to the Sudoors group because otherwise
13:40
if you log in with the new user here now, then you are not able to run pseudo commands because
13:45
we are not added to the Sudo group. And to do that, clear the screen here, we do Sudo user mod minus small lowercase A and capital
13:56
G and then Sudo user name, which is our user that we created
14:02
I think that's the user. So this is your username that you put in there, and then it is added to the list
14:08
And now we need to set the path for bash. And to do that, we do pseudo-c-h-sh-h-h-h-h-mines-S-forward-slash-Bash-Bash-Bash, and then again, your username
14:21
And that should be added. Now we should be all set and we can log in with our new user To do that we click on this log button on the upper right corner and we go on You can either go switch user or you can go to lockout
14:36
Let's do logout and now we should be able to look in with our new user
14:44
And okay, that's working It's the first login. It usually takes a little bit longer, but we are in now and if we pull up the terminal we can in fact see
14:55
that we are now locked in with our new user that we just created, which is Seosec in that case
15:02
and to make sure that the pseudo command works, we do pseudo-apped update, and then we enter
15:08
the password, and it should allow us to run a update of the app repository here
15:15
Skip that a second. Yes, that works. So it says, again, three packages can be upgraded, so we can, could-do pseudo-apt upgrade again
15:23
but for the sake of this video I'm not going to do that now. One more thing we can do is to clean things up after all the upgrading thing is what I usually like to do
15:34
That's the auto remove feature which removes old packages that we no longer need
15:40
And to do that we can just simply run pseudo-apt auto remove minus y
15:45
And then we see that 203 megabytes of disk space will be freed up
15:50
Because of the upgrade process that we went through earlier, we now have some old packages lying around that we don't need anymore
15:58
And this is basically like an auto-clean feature. Just keeps things tidy and I recommend you to run that command
16:05
Takes a little while. That should be done rather quickly. 99% sounds good
16:13
And there's another option just in case so that you know that
16:17
in case you downloaded or you have already installed a, lower version of Kali Linux, let's say you installed Kali Linux released 2022.1 and you want to
16:29
upgrade to the latest one without reinstalling it. You could also do pseudo-apt disk minus upgrade
16:35
And in my case, there shouldn't be any upgrade available. So this is just a minor. That's just
16:41
the three upgraded packages here because I'm on the latest version. But if you are on a lower
16:45
version, let's say 2022.1 and you want to upgrade to the latest as of now, which is
16:50
is 2022.3, then it would offer you this upgrade as well, and therefore you could upgrade your whole
16:58
operating system to the latest rolling release, just as a side note
17:02
All right, let's move on. Next up, we are going to install a drop-down terminal called Guake Terminal, which I'm still using
17:08
if I'm on Kali, because it's very convenient to quickly pull up and down a terminal
17:13
And if you remember games like Quake 3 Arena or something, where you could, or old games, even like Doom
17:19
where you could press the tilt key, which is this one, Tilda. I think it's Tilda or whatever it's that called
17:24
And you could pull out a drop-down terminal, and I really like using that on Kaili Linux
17:29
So we are going to install Guwake Terminal, which is done by pseudo-apt install Guake
17:37
which is kind of a name hint to quake. I've researched. And it's a really cool tool here
17:45
So we have installed that, and now we need to all, set that up to start automatically every time you reboot your system and to do that
17:53
I'm just going to copy and paste the line here and that's why I recommend you to
17:57
pull up the article to follow along so I'm going to paste it in and this is the
18:02
command we do pseudo copy and then we copy some things into the auto start of Kali
18:07
into the auto start folder and if you reboot now or the next time Guaka will
18:13
start automatically but we can start it manually for now so we just go
18:19
and open our menu here and this allows us to search for guake and then you can just click on run guacket and i have no idea how to pronounce that word so it's a little bit a little bit stupid and then if you press the f12 key per default that's the default key that is set up you see that the drop-down terminal comes down which is exactly the same shell like here but it just looks different and you can also zoom in with control plus here and now you can always use this terminal and
18:49
The default key to do that is F12. If you want to have it a little bit more old school, like in Quake or something, you can
18:57
right click here and click on preferences, which should open up a lot of preferences that you
19:04
can adjust here and I'm going to just drag that over this window
19:08
There we go. It's a little bit small. I try to zoom in as best as I can during editing
19:13
And you can change a lot of things here, but the only thing I really want to change is probably
19:17
the appearance, at least for me, to have it look different, it can be translucent, you can
19:22
adjust the transparency for the terminal, and I think if you pull that down, it's live updating here
19:29
So you can see that you can make that more translucent, then you also have to change the font color and stuff like this
19:34
But what I want to show you is the keyboard shortcuts, and you can change the default keyboard
19:39
shortcut to the tilt key, so then you have it really like in an old school shooter game where
19:44
you can just press the tilt key and pull down your terminal. Now why is this useful? This is useful I think because when you're working in different programs and you have a lot of tools open
19:54
then it's kind of cumbersome to always have to open up a terminal, which is basically overlaying over your windows
20:02
You need to drag it around and stuff. But if you just have this key that you can press and you can be directly in your terminal, it's really, really convenient
20:09
especially since this has a tab feature here, so you can open as many tabs as you want
20:14
and you can work in multiple tabs, you can make this window also be
20:17
of course you can set it up in the options that you drag it down all the way on the screen
20:22
you can set it up how you want it so I would highly recommend you looking through those
20:26
options it's a really really cool feature that I'm still using today the next step in
20:31
this tutorial I want to talk about is customizing your terminal and I'm having the
20:37
website open here because I want to show you what I'm talking about if you go to the
20:40
website and you go and learn and WSL 2 I give you an example of how my terminal
20:45
looks like now I will not go through everything here in this video how to configure that. I actually have a whole Udeme course on how to set that up
20:52
But here is a free tutorial series. It's a three-part series. As you can see here, there's part one
20:57
part three, and part two. It's according to how I updated these articles. But if you start with
21:03
part one, you can create the same terminal. You can actually do that, those steps, or at least some
21:09
of them inside of Kali Linux with your shell. And what I'm talking about is I have this terminal
21:14
that looks like this and I can get the same on Kali Linux. but it would be way out of scope for this video to do that now inside of the video
21:22
But this is like a translucent shell with everything customized, with customized things set up
21:28
and you can see that it adapts the color of the background with some nice acrylic effects
21:32
and that looks really nice, especially if you have like a nice background here
21:37
like the Kali logo Let me just drag that over here Okay so you can see that it a really really nice terminal to work in and if you want to know how to set that up I highly recommend you checking that out And I basically only using the terminal the WSL2 shell on Windows for both ethical hacking and web development
21:57
I'm rarely using Kali Linux in a virtual machine anymore because this is much faster
22:02
And since I'm working in the shell only, I don't need any GUI tools. This is more convenient for me to use
22:08
But again, you can get your terminal inside of Kali Linux, so the default terminal here
22:14
You can get that looking almost exactly like this if you follow some of the customization steps in those tutorials
22:21
Next up, installing your favorite code editor. Now, I think the most popular code editor right now, and in my opinion, the best one is VS code
22:31
And there is a possibility to install VS code on Kali Linux. It just involves a couple of manual steps
22:37
Now I have all those steps inside of the written article and there is also a separate article if you Google how to install VES code on Kali Linux or you go to our website
22:46
then you find detailed instructions here but regardless I'm going to show you how to do that
22:51
So open up Firefox and then go to the website just open the main website here is code
22:58
dot visual studio.com forward slash download and once you are there you want to download the dot d'eb for debion and Ubuntu package
23:07
and that should just take a couple of seconds. It's, I think it's 100 megabytes or something
23:14
Firefox is still a bit sluggish since this is the first time I started up
23:18
Firefox, probably installing some updates. Okay, that looks good. It downloaded. And then we're going to open up our terminal again
23:25
We see the into our downloads folder. And then we're going to run the command to install it
23:30
which is pseudo-appdinstall. And then you just type code and hit the tab button
23:36
then it should automatically fill that in for you guys. And then it's installing it
23:41
Probably downloading some additional stuff or maybe not. Looks like it's just installing it
23:47
And this is a really easy way on how to install Visc code. There are a bunch of tutorials out there that overcomplicate things by a stretch
23:55
But this is basically it. How you install VS code on Kali Linux
23:59
Couldn't be any easier. Okay. So we have that installed. We can clear that off
24:05
And then we click on file. not on file on the start menu here and then we don't see vS code let's type in visual and there it is
24:13
visual studio code let's open it up and see if it actually works or if you need to follow any
24:18
complicated process to make it work no you don't vs code successfully installed on callilinux
24:24
with the run of a single command all right let's move on guys so the next steps in this guide or
24:31
in this article are more of in-depth steps and all of these next steps basically
24:36
include you following a different article and for each of those steps there is a
24:40
different video available as well so we have a video on how to install open vase
24:44
and all of the other things now this would be way out of scope for this video so
24:48
I'm just going through the next steps that are basically included in the article
24:52
and you can choose or not to follow along with them because those are lengthy steps
24:56
especially installing open vase which is an open source vulnerability scanner so you can choose if you want to follow them or not but it would be making this
25:05
video way too long So the next step I recommend here is installing OpenBus
25:08
Like I said, a popular open source vulnerability scanner used by many and probably something you want to look into
25:15
if you haven't looked into it yet. And there is a detailed article linked here
25:20
on how to install OpenBus on Kali Linux. And you can see this article is very, very long
25:25
So if you want to install that, I recommend you to look through that
25:30
Now the next thing is of course installing your favorite tools and this is different for everyone
25:34
Since Burpsuit and all the stuff is already pre-installed on Kali Linux, you can save yourself from installing that
25:40
but there are a bunch of tools listed that I usually install on a fresh installation of Kali Linux, things like AMS, SubFinder
25:47
Asset Finder, FF, and so on and so forth. But all of these tools can be installed pretty easily
25:53
if you just go to the GitHub pages. If you need specific tutorials on how to install all of those tools
25:58
let me know I'll provide one for each of them on how to install them on Kali Linux
26:03
It's basically just a selection of tools I would go and install on a fresh installation
26:09
So I would definitely go for Chrome, Firefox is already installed, and keep us for all of your logins and stuff like this
26:16
Probably would use Cherry Tree for documentation and stuff like this. Now the next step in here is setting up a VPN and I know that all of you are using different
26:25
kind of VPNs. I like NordVPN. I'm not sponsored by them, but I am an affiliate
26:31
So if you choose to install NordVPN, you can click on this NordVPN link to get a little bit of a discount there if you try to sign up for that
26:40
And basically the instructions are right here on how to install that
26:44
This is a step-by-step instruction, how to download, install and log in
26:49
And then you can use NordVPN. I found it to be one of the best solutions for Carly Linux because it's really fast and working well
26:57
The last step in here, guys, is really just educate. yourself further from this
27:03
Now, this guide will be updated every year, but probably the basics will stay the same
27:10
I don't think that they will change major things in Kali Linux that would make this guide obsolete
27:15
anytime soon. So I will keep adding tools to that. I will keep updating this video and this article once a year
27:23
That's for the video. The article gets updated all the time. But there's basically just some stuff that you can look into at the end of this article
27:31
which is my favorite hacking courses down here by the Cyber Mentor. The practically ethical hacking course by him
27:38
is still one of my favorite hacking courses of all time. And of course, check out our YouTube channel
27:43
where there are regular videos on programming and cybersecurity. With all that being said, guys
27:49
just make sure you know what you're doing when you're using things like Carly Linux. And as for me, I have videos up on the YouTube channel
27:56
and articles on the website on how to install Carly Linux, even with GUI in W
28:01
So you don't need to run any kind of virtual machine. You don't need to boot anything up
28:05
You just click on the icon here. And I will link all of that in this very article so that you guys can pull up all those resources
28:13
and maybe check out some alternatives that suit you better and just play around with things to find your favorite
28:20
Yeah, I think that's it for this video, guys. I hope it was helpful for you
28:24
Give me any feedback in the comment section below and definitely make sure to regularly check on the website
28:29
website because we are publishing articles almost daily. Alright guys, thank you very much for watching. I hope to see you back in the next one