Hello, everyone.
So in this video we are going to see how you
can perform both knocking with the help
of nmap. Remember Port knocking is
very helpful in identifying the hidden open ports.
This is helpful in performing various when
testing rules and as well as while playing
many CTF, so
The Syntax for doing this is you can
do it this way also.
by basically typing a script which
is for X in 1 to 10000
which is the range do and map
scan which is - p n hyphen P
which is a port scan of
the X the server IP address that you want to scan and
done. So Port knocking is
an obfuscation as a security technique. It basically means
that after knocking on ports in a specific
sequence a certain Port will open automatically.
It is useful for identifying ports, which are
hidden.
so
Through this way we can identify that
which ports are open. So it
is the Practical time and let's see.
This in action as you can see I have type the command.
To perform Port scanning on our Target that is 43.213
as you can see out of
the range from 1 to 10000.
These many ports are opened.
for 22 80 1 1 9 8
7 6 and 9 9 9
now I'm going to manually identify that the
port number 999 is open or not. So I'm
going to specify the target IP address and hyphen P
the port number and hyphen V to see the output
inverse mode as you can see this specific Port
that we are identified is open.
So I hope you guys understood that how you can perform a port
knocking using and map. Thank you.