Tutorial Penetration Tools #1 || How to Port Scanning using Nmap on kali linux 2 || Bagaimana Melakukan Scanning Port Menggunakan Nmap di Kali Linux 2

in utopian-io •  7 years ago  (edited)

rara.jpg

What is Nmap...?

NMAP is (Network Mapper) an application or tool that serves to perform port scanning. Nmap made by Gordon Lyon, or better known as Fyodor Vaskovich. This application is used to audit the existing network. Using this tool, we can see the active host, the open port, the Operating System being used, and other scanning features. At first, Nmap can only run on Linux operating systems, but in its development today, almost all operating systems can run Nmap.

2.png

Ability to Use Nmap

many capabilities we can do using nmap, for example:

  • Collect information of any host or computer that lives on the local network
  • Collect information on every ipaddress on the local network
  • Collect information of each operating system on the host and all hosts on the target network
  • Finds every open port of the target host
  • Finding an infection from viruses and malware
  • Collect information about the services (service) on the target host and server on the target network
  • Nmap can be used in local or public networks.

How to use Nmap on Kali Linux 2

Open your linux Terminal and make sure our computer is connected to the internet to download packets needed

then input the following command to install the nmap package:

apt-get install nmap

root@kali_ ~_001.png

then press Y and wait until the installation process is complete.

then to see what command can be used we can type this command :

nmap -help

root@kali_ ~_002.png

note :
Previously I apologize for "mymastah.com" is not my intention to open privacy or drop but I just take the for example just for knowledge about Network Security.

The first thing we have to do is check the open ports, using the command :

nmap mymastah.com

root@kali_ ~_003.png

Here we can see an open port like the example :
Port 80 is used for "http" and the path is using TCP and so also with port 443 used for "https".

5.png

Then to know the target information as a whole with nmap is to use the types command :

nmap v -A mymastah.com

root@kali_ ~_005.png

root@kali_ ~_006.png

Then to find out the operating system in the target network using the following command :

nmap -O mymastah.com

root@kali_ ~_007.png

Next to Check the service that runs on the target pott scanning we can use the command :

nmap -sV -O mymastah.com

root@kali_ ~_011.png

Then to check whether the host is up or not kta can use the command:

nmap -sn mymastah.com

root@kali_ ~_012.png

Then to know the packet data transfer via nmap we can use the following command:

nmap -packet -trace mymastah.com

root@kali_ ~_013.png

After port scanning results here we can find the ip address and some open or close ports from the target.

Nmap scan report for mymastah.com (216.239.32.21)
80/tcp open http
113/tcp closed ident
443/tcp open https

root@kali_ ~_014.png

Note :
-A : To enable OS detection feature, version, script scanning, and network traceroute

-O : Feature to detect the operating system or the target OS

-packet -trace : Feature to know the data transfer on the network server or target host

-sV: Feature to perform scanning by displaying information from service

-sN : Feature to check whether the host is up or not.



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

thanks @rufans

Hey @fandimuhammad11 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

thank for @utopian-io