Start your journey into ethical hacking with this beginner-friendly course on Vulnerability Research. You’ll learn how hackers identify weaknesses, how security professionals scan systems, and how to safely run exploits in controlled environments.
This course is perfect for anyone new to cybersecurity or ethical hacking who wants practical, hands-on experience in identifying and exploiting vulnerabilities.
⭐ What You Will Learn:
How to find vulnerabilities in systems and applications
How to scan targets using ethical hacking tools
How to run exploits responsibly in a lab environment
The fundamentals of vulnerability research
Basic hacking techniques used in penetration testing
Understanding weaknesses in real-world systems
Building the mindset of an ethical hacker
⭐ Why This Course Is Great for Beginners:
No previous hacking experience required
Focused, simple lessons anyone can follow
Learn real techniques used by penetration testers
Safe and legal setup to practice hacking skills
Step-by-step demonstrations of scanning & exploitation
By the end of this course, you will be able to identify common vulnerabilities, understand how exploits work, and confidently practice ethical hacking skills in your own controlled lab setup.
Start learning the fundamentals of vulnerability research today!
So in this video we'll talk about
vulnerabilities and exploits. A
vulnerability is a flaw in the system
and they are not put there on purpose.
Most of the times they're just put there
by accident and an exploit will abuse
that vulnerability to for example gather
information or take over a system.
So a vulnerability in cyber security is
a weakness or flaw in the system and an
attacker can exploit that weakness
usually with a program to gain
unauthorized information and to take
over the over the system. Now there are
many definitions for vulnerabilities.
However, we'll just keep it simple and
say vulnerability is a flow in the
software and an exploit is a program
that takes advantage of that
vulnerability.
Vulnerabilities can be categorized in
several categories. For example,
operating system vulnerabilities. So
that are like Windows vulnerabilities or
Mac OS vulnerabilities. They're really
on the operating system level. There's
misconfiguration based vulnerabilities.
So these vulnerabilities come from
incorrectly configured application or
service. There's weak credentials. So
for example, weak passwords like admin
admin or maybe the administrator is
still using the default passwords. So
those kind of vulnerabilities exist.
Then there's application
vulnerabilities. So within any software,
for example, a web server or mail
server, sometimes programmers make
mistakes and the program makes
unintended flaws called vulnerabilities.
and an exploit program can then take
advantage of that vulnerability and take
over the system. And finally, there's of
course the human factor vulnerabilities
like humans opening a email that is
designed to trick the human the the
person into giving their password. So
different kind of vulnerabilities. Now
in this video we'll mostly talk about
operating system operating system and
application vulnerabilities. So software
level vulnerabilities. In this video, we
won't really get into misconfigurations
or weak passwords or stuff like
that. Now, in order to take advantage of
vulnerabilities in software, we we use
exploits. Exploits are programs that
take advantage of the of the
vulnerabilities. And there exist many
exploits on the
internet. One collection of that is the
exploit DB. So if I open a web browser,
I had already opened one. We can go to
exploit-db.com and this is a resource
that you as a hacker can use. So
exploitd contains a list of software and
exploits for that
software all kinds of software and
exploits. And so it is a very useful
tool when you are hacking.
So it's it's a default website. You'll
see that there's different software
here. Now you can search for a specific
software. For example, the WordPress is
a popular blogging software. And you'll
see there's all kind of exploits for
plugins. And this you'll see that
there's 92 pages here. So you can browse
through the pages and see if different
plugins have uh
vulnerabilities or or which have and
exploits for them. So if I click on this
uh for example the top one here it says
remote code execution. So let's take a
look at that. And they'll tell you that
this is remote code
execution
and it's just one of the the exploits.
You'll see this is the code for the
exploit and you can download it if you
want. So that's the exploit code that
takes advantage of the
vulnerability. And this works for many
differentware. So let's say this
vulnerability local file reads with this
kind of plug-in.
So this very
simple exploit you can download the
code and then you would be able to run
it. Now local file reading of course is
a very bad idea because in the worst
case they can just read your password
file and gain access to your server to
your computer. So the exploit DB lets
you search for applications and it's not
just software you can also search for
operating system. For example, we can
search for Windows and we'll see
exploits for
Windows. We might search for Mac. Okay,
I don't see any for Mac
here. So, some stuff for Mac OS, for
Linux and also like for more um general
application level. So for example, if I
search for
mail, you'll see some mail related
software and and you can search for
whichever software you want that you
think the target might be running and
see if you
can can find exploits for that
specific for that
software. Another database is the
national vulnerability database. Now
this database doesn't have the exploits
so it is less interesting as a hacker
unless you want to develop those
exploits
yourself. So you'll see in this database
the vulnerabilities are started with
C which short for common vulnerabilities
and
exposures and they always have a a year
and a number.
So for example, there's the famous W to
cry vulnerability that was all over the
news and we can search for
that. So if I type for W to
cry, I don't see
it. Okay. But for any kind
of there's vulnerabilities and this is
just like the vulnerability database,
but it doesn't
contain any exploits uh on this website.
So, it's less interesting. The you'll
see for example here we have a
vulnerability for WordPress and it will
tell you some
information but there's no exploit code.
So, exploit DB is the one that you're
interested in because for whatever
software it also contains exploit codes.
So for example, I click this one and you
see we can download the exploit codes
and try to exploit that
software. So let me show you how to find
vulnerability for some software. So
we'll look at a software called Apache
Tomcat and the victim is running version
9.0.170. So we'll type Apache
Tomcat which is the software that
they're running and they are running
version
9.0.17. So sometimes those uh flows get
solved by
the by the programmer and the user
updates. So then the software is no
longer vulnerable. So it's always a cat
and mouse game between the
vulnerabilities and the exploits.
So, let me just search for
Tomcat or Tomcat
9.0. And you'll see
some vulnerabilities
here for Tomcat version
9.0.0 and others. And you can click on
any of
them and you'll see for example
this exploit is for cross-ite
scripting. We can download the
exploit and tells you how to run the
exploit. Sometimes it's the exploit code
itself. There are two ways to find
exploits. One is automatic and the
second is manual. So let's first look at
the manual way. We can go to a website
called github.com which is a website
many programmers use to store their
code. We can type
github.com and we just enlarge it.
So you'll see a search bar here and we
can search for example for exploit uh
for WordPress. Press
enter and you'll see a lot of projects
here different
codes. Uh if you are interested maybe in
a
plug-in exploit for WordPress WordPress
plug-in you'll see there's some exploits
here for many different plugins. So
let's say this one uh the file manager
which had an exploit for uh version in
2020. So you'll see there's the code
here wp file
manager.sh and they also provide you
with some information on how to run it.
So how to exploit that uh WordPress
system. Now sometimes they'll add some
screenshots. So you can search on
github.com for different
vulnerabilities. So we search for
WordPress plug-in or whichever software
you're interested
in. Uh so in this case we found 71
exploits on github.com which not too
many. So perhaps we need to search in
another way. For example, there's a tool
called Search Floits, which is an
automated automated search tool for
Let's close this. We'll open a terminal
and we'll type
search with uh
WordPress and you'll
see many many exploits. So, even
exploits for teams. We were interested
in WordPress plugins.
you'll see some exploits for uh
WordPress plug
plugins. Another way to search for
exploit is using the metas-ploit
console. This is a very popular hacking
tool. So if I type MSF
console you'll see it opens up the
metasloit
console. Now it takes a moment to load
and it has some picture whenever it
starts. So you can type
search with software that you interested
to exploit. So let's say search
WordPress
plug-in. And here you'll see different
exploits
for for
WordPress. So for different
plugins. Scroll up here. You'll see that
there's a ranking for them. So some are
normal exploits and some are excellent.
And it also has some description here.
So see if I can make this window a bit
larger. So it's better readable. So
you'll see different uh
plugins. Maybe an interesting one is to
get a remote shell. So you'll see here
admin shell up uploads. So this is
probably a very interesting exploit
which will give you root shell access.
So complete control over the computer.
So whenever you have shell access that
is a really great exploit and you'll see
different exploits here that you can
use. Um so at exploit is another tool
you can search for plugins. So maybe
you're not interested in WordPress but
in another type of software let's say
Windows so you can find stuff for
Windows. So search whatever software
you're interested to exploit or that you
might know be interested in that's
vulnerable. Now there's another web
database you can use called Rapid 7. So
if I search on the internet for Rapid
7. So Rapid 7 also has a
database. So a vulnerability
database where you can search for
software that can be vulnerable. So
let's say we're searching again for
WordPress
plug-in and you'll
see different vulnerabilities for
WordPress
plugins. You can click on any of this
stuff and get some more
information. And in this case, they also
show you how to exploit it, it seems. So
Rapid 7 is another uh vulnerability
search engine that you can use.
In this course, we'll use a free
operating system called Kali Linux. So,
this system is completely free. It's a
Linux- based system. You can find it on
kali.org,
www.cali.org. It contains all kind of
hacking tools and security tools. So,
it's a really great system for hacking
because it has many hacking tools
installed by
default. Now, this system is completely
free. So, if you click download, you'll
see there are various options to
download the system. So, you'll see
there's bare metal here, which means
that you just install it into your
computer just as you might have
installed Windows or uh or another Linux
system. There's virtual machines. So,
virtual machines means running the
system inside your own system. You can
do that with VMware or Virtual Box.
You'll see there's some other versions
here, even a mobile
version. There's a cloud
version also other version and live
boot. So, this is a really nice one
because this one you install Kali onto
the USB disc. So, onto the USB flash
disc and then you put that disc into
your computer and just restart and it
will start Kali Linux. So in that way
you have a portable hacking system
always at hand
because you can install it just like
that. So there's 64-bit version and some
other versions for Apple and
32-bit and you can just download it and
install it into a USB using a tool
called Balina Etcher or there's other
tools to put um EO onto you'll see this
an this is an EO file if you download
it. It's downloading an EO file.
So you can put that EO file onto a disk
using a tool called Balina
etcher. So that's
balina.io. You'll see can download
it and once you run it, you just select
the image, select the USB drive and
click flash. And that's all. Then you
have a portable Kali Linux system. Now
if you want to use virtualization that's
also possible which is what I'm doing in
this course. So I'm downloading a
virtual machine image
uh I have the virtual box one. So I
download the virtual box image the
OVA or you can also use the use the EO
the live EO with with it. So let me show
you inside Virtual Box it's possible to
run various systems. So this is another
way the way. So if you just want to to
run the Kali Linux from a USB, that's
possible. You just install it with
Balina and you have a
portable Kali system that you can always
start with the hacking tools. If you
don't want to restart your computer and
only have one computer at hand, you can
use a virtual box which allows you to
run multiple systems in one computer.
For example, I can run uh Windows
here and you'll see I have a Windows
computer running here.
At the same time, maybe I want to start
another system here. So, a
Windows 2000
system. So, let me just reduce the size.
So, you'll see we can use multiple
computers at once using Virtual Box. So,
I have Windows 2000 here, here, sorry.
And this must be Windows 7. And it's not
just Windows, right? We can some Ubuntu
system here. to a Linux
system.
And with the Virtual Box, you can run
multiple computer systems at
once. So, let me close all of that. And
the way it works is once you start
virtual box, you need to set up a new
computer. So, you click
new and then the type of system. So, in
this case, we want Kali
Linux. We click
next. Okay. I already have one Kali
Linux. So, Kali Linux 2. Then select the
memory the computer has. So, whatever
memory uh the virtual computer should
have because it emulates the or it
simulates the real computer. So, of
course, it has memory. It has all the
kind of hardware that you have in your
normal computer. You can select a disk
image or in the case of Kali Linux, we
will start it from a USB. So, we don't
need a virtual hard disk. So, click
create.
Now we need to configure it. So right
click
settings and can configure all kind of
things here. So you see advanc you can
clipboard sharing
uh system the amount of memory should it
have a floppy disc or not a hard
disk. Should it be able to start from
the network you'll see the processor we
can modify that. So the amount of course
uh you'll see something with the display
memory we can change and this one is an
important one the storage one because
what we'll do is put the Kali Linux
inside the virtual CD ROM. So click live
CD DVD then select the file from the
disk. So you downloaded it the Kali
Linux live. So it should be a live one
Kali Linux
live. And uh the other thing we want to
configure is inside network. So we want
to be on the same network as our host
computer. So in order to do that go to
network and click bridge adapter. Okay.
Now we click start and you'll see it's
starting Kali Linux system. Yeah. We
click enter. It's a live CD. So you'll
see it will boot and you'll directly
have the system at hand. So you don't
need to actually install anything. Now
this is the case both if you use virtual
box and if you don't use virtual box. So
if you just install Kali Linux on live
USB, you'll see the
same. So Kali Linux would boot
up and you'll directly have many hacking
tools at
hand. So if you click the start menu,
you'll see different hacking tools are
immediately
available to you using the Kali Linux
system. So you'll see this is really a
hacking system. There's all kind of
hacking tools here that a regular user
would not use.
So this is the system you you have a
terminal at hand as well. So you can run
hacking based hacking tools and this is
like what you would see if you started
with virtual box but also if you put
Kali Linux onto a USB flash drive or if
you order one online with Kali Linux
already installed you would see this as
well. So this is the tool the system
will use and it has many hacking tools
available that will show you in this
course.
Before you use the exploitd website to
find exploit. So you would go to
exploitdb.com and search for a specific
software. For example, maybe you're
interested in Windows. You would type
Windows and then find exploits for
Windows software. So this is one way to
find exploits. But you can also do it
through the method plate framework which
is a command line program on Kali Linux.
type msf
console and then once this is
started you'll get a terminal interface
where you can do all kind of things such
as searching for exploits so if we type
search
exploits you'll see in this case
metasloit includes 2600 exploits for
different software so a lot of different
exploits you can search for for example
a specific platform let's say Windows
or
Linux. Maybe you're interested in
exploiting
Android. So you can search for specific
uh exploits faster using
metas-loit
then with the web. So let's say we're
searching for Windows. You can then use
a certain exploit. If you type
use, you can find more information by
typing info. So if you then type info,
you'll get information about the
exploits. So this is one for X radio
uh095 when it was disclosed and also
which options you need to set. So if you
type show
options, you'll see you need to set
these variables here.
But you can use metas-loit to search
for for exploits as well. So msf
console then type search exploits which
whatever software name you're interested
in. So let's say I'm interested in
exploiting the engines web server. Then
you'll see there was a vulnerability
here between version 139 and 1400.
So we can type
use type info for more
information and you can find some
general information about the
exploit the target platform
uh when it was
disclosed and also you can set options.
So I could have show options. You'll see
that for this exploits we need to set
some of these variables. So, Metas-ploit
is an alternative uh or the Metas-ploit
console is an alternative way to search
for vulnerabilities besides using those
websites. So, let's do a practical
example of the of exploitation. Our
target will be a YUbuntu 16 version. So,
YUbuntu 16.
When I type yubuntu, you'll see exploits
for yubuntu. And the exploit I'm going
to use is
4510. So this exploit should work on
yubuntu 16 and fedora
27. And it's a local privilege
escalation exploit. So if you already
have access to the computer basic access
as a user, what this will do is give you
administrator or root access. Now we
need to download the exploit code.
And you'll see the uh the exploit code
here below. So this is all uh exploit
code. It's C programming language code.
And the line we'll need to run is this
line. So this line will make the program
that we can are able to run to get root
access. So let's take a look at the
victim's
computer. So we have the victim's
computer on the left here. This is his
IP address.
and we need to connect to it. Uh so we
need to have initial
access and and we need to be on the same
network. So let me
reconfigure. Okay. So we're on the same
network. This is the IP address of the
victim. He's running an SSH server. So
we can scan our target with N mapap.
You'll see he's running an SSH server.
So, we can connect to that with the same
user and password. We have initial
access to the target
computer. So, we have basic access,
right? But we are not the root user. We
are just a general user. We don't have
complete control over this system. And
what this exploit will
do, this exploit is is it will give us
complete access to the victim's
computer. So local privilege escalation
means that we will become roots on the
victim's
computer. Okay. So we'll
uh just to make sure you should always
have the same target of course the
Ubuntu system in this case and it should
have the same kernel version. So just to
make sure we type uname minus
a. And if you scroll up a bit here
you'll see the kernel versions that are
supported. So the uh core operating
system versions. So you'll see
4.4.0 and our version is a bit older. So
21 is a bit older than the ones listed
here. So let's see if it
works. What we'll do is we'll download
the
codes. So 455010. C. And we need to get
that onto the victim's computer.
So I enter the downloads directory and
the file is
here. So
we'll copy that file onto the victim's
computer and the IP address was
206. So copy that
file. So the file now has been
transferred to the victim's computer. So
if I list the file, you'll see the
exploit code here.
will connect to
it. You'll see I'm a regular user and
then we need to make the program to run
the exploit. So that will be different
depending on the exploit and they always
give you a hint. So if it's a C code,
they will tell you to compile like this.
If it's a Python code or some other
programming language, it will be run
differently. So with a C code to
transfer that into one executable, you
always use the GCC command. So that's
GCC4501
451. You'll see now I'm user YUbuntu.
And if I run the
exploit, you'll see it run. And I am now
root in the victim's computer. So just
to show you where in the home YUbuntu
directory, but if I type who am I, I am
root. And now I can for example read the
etc password
directory
or I can write it. So control O you see
I can write the password directory. So
I'm have now complete control over the
victim's computer just because I run the
exploit as a regular user on his
computer. So for this to work you always
need to have the same version of your
victim's computer and the exploit. So
this exploit will only work on Ubuntu 16
Fedora 27 uh with these kernel versions.
So remember to see the kernel version
you type view name minus a. So on a
newer Ubuntu version this will not work.
Uh so it's always like a cat and mouse
game between the exploits and the codes.
The code will be updated to fix the bugs
and then new exploits will come out for
new bugs which then and like it's a cat
and mouse game. So you always want the
the same uh versions for your exploits
and your target computer otherwise the
exploit won't
work. So you can use metas-ploit for
searching exploits as well. If I open a
terminal and type msf
console metasloit is a exploitation
framework.
So you'll see it starts the metasloit
console and it has 21 or almost 2200
exploits. So different systems we can
target. You can type search and exploit
and it will show you a list of many
exploits that are
included. For example, we might be
interested in
Windows
Windows. So
uh you can search around with the search
commands. If you're interested in
another system, you can type for example
search
Linux or search Android. And you can
find different exploits for different
platforms. So for as a demonstration,
we'll exploit a Windows 2000 computer
and we'll make it crash
remotely. So we'll need to have the
Windows 2000 uh running.
So a Windows 2000 computer
here this will be our target and we need
to know the IP address of our target. So
the internet address we can do it using
start run and then type if config. We
need to know the target's IP
address and we'll then exploit it. So
this is Windows
2000. So we'll type use exploit tap. Uh
if you type tap, you'll see many
different systems you can target.
Pressing space goes down to the list. So
we'll search use exploit
windows and we're interested in an
exploit for
MS04. So Windows 2000
uh for Windows.
So that's Windows
SMB. So a sambar or server sharing file
sharing protocol will
exploit. We'll use this one.
MS04_11
ls. Next we need to exploit the options.
But first let's see what this does. We
can type show
info. And it shows you that this
downgrades the server. So it will crash
a server. You'll see when it's made. So
2004 is a really old one of course
because Windows 2000 is an old system.
You'll see this exploit works for
Windows 2000 and Windows XP. And what we
need to set is the Rhost and the R port.
So we'll type set Rhost with the target
IP address. Remember with if config or
IP config we could find the IP address
of the
target. Now in real life scenario you
might find that using the router or in
other means. And we also need to set the
R port to 445. So set R port
445. And as I mentioned earlier, it says
downgrade the server. So this would be
the exploit would be useful if there's a
Windows 2000 server. So if it's serving
customers, for example, a web server or
mail server. And what you would then be
able to do is to crash it. So in order
to run this exploit now, we just type
exploit. And you'll see Windows has now
crashed. So, we exploited the Windows
2000 system and it's now shutting down.
There's nothing the victim can do. And
of course, if they if this was a server
running a mail server or maybe a web
server, it could be that billions of
people could not access their email
anymore or their websites if they server
was running Windows 2000. So, this is
just a
simple example of exploitation of a
Windows system. Now the newer versions
of Windows will be harder to exploit
than the older versions. So Windows 2000
is a very old Windows of course which is
more easy to exploit than Windows 10.
They upgrade the security a bit but the
principle of exploitation remains the
same. So there are vulnerabilities and
an exploit program takes advantage of
that
vulnerability and the metas-ploit
console contains many different
programs. So whenever we start Metasloit
console, let me just close this Windows
computer here. You'll see it contains 20
2100 exploits. So exploiting 2100
vulnerabilities in different systems and
you can always type use exploit and then
your target system whether that's
Android, Apple iOS or even mobile phones
can be exploited. uh VSD server, Nick
server or uh whether you use uh the
Windows or Mac it doesn't really matter
even browser itself can be exploited. So
any software there are vulnerabilities
and exploits can take advantage of that
vulnerability. Now, exploits have
different outcomes. For example, the
exploit we saw just now was able to
crash the system, which in the case of a
server would be terrible. In the case of
a workstation, just would be a bit
annoying. But some exploits will give
you complete access over the victim's
computer. Like you would be able to
control everything in their
computer because it would open a reverse
shell. So, different exploits have
different outcomes and severity. Some
exploits are very severe and others are
just like minor like listing the
usernames or something like that.
But this is how you would search
exploits with metasloit console and how
you would run an exploit.