Jan 26, 2024

CEH: Identifying Services & Scanning Ports | Gathering Network And Host Information | NMAP


CEH scanning methodology is the important step i.e. scanning for open ports over a network. Port is the technique used to scan for open ports. This methodology performed for the observation of the open and close ports running on the targeted machine. Port scanning gathered a valuable information about  the host and the weakness of the system more than ping sweep.

Network Mapping (NMAP)

Basically NMAP stands for Network Mapping. A free open source tool used for scanning ports, service detection, operating system detection and IP address detection of the targeted machine. Moreover, it performs a quick and efficient scanning a large number of machines in a single session to gathered information about ports and system connected to the network. It can be used over UNIX, LINUX and Windows.

There are some terminologies which we should understand directly whenever we heard like Open ports, Filtered ports and Unfiltered ports.

Open Ports means the target machine accepts incoming request on that port cause these ports are used to accept packets due to the configuration of TCP and UDP.

Filtered ports means the ports are usually opened but due to firewall or network filtering the nmap doesn't detect the open ports.

Unfiltered means the nmap is unable to determine whether the port is open or filtered  while the port is accessible.

Types Of NMAP Scan


Scan Type Description
Null Scan This scan is performed by both an ethical hackers and black hat hackers. This scan is used to identify the TCP port whether it is open or closed. Moreover, it only works over UNIX  based systems.
TCP connect The attacker makes a full TCP connection to the target system. There's an opportunity to connect the specifically port which you want to connect with. SYN/ACK signal observed for open ports while RST/ACK signal observed for closed ports.
ACK scan Discovering the state of firewall with the help ACK scan whether it is stateful or stateless. This scan is typically used for the detection of filtered ports if ports are filtered. Moreover, it only works over the UNIX based systems.
Windows scan This type of scan is similar to the ACK scan but there is ability to detect an open ports as well filtered ports.
SYN stealth scan This malicious attack is mostly performed by attacker to detect the communication ports without making full connection to the network.
This is also known as half-open scanning. 

 

All NMAP Commands 


Commands Scan Performed
-sT TCP connect scan
-sS SYN scan
-sF FIN scan
-sX XMAS tree scan
-sN Null scan
-sP Ping scan
-sU UDP scan
-sO Protocol scan
-sA ACK scan
-sW Window scan
-sR RPC scan
-sL List/DNS scan
-sI Idle scan
-Po Don't ping
-PT TCP ping
-PS SYN ping
-PI ICMP ping
-PB ICMP and TCP ping
-PB ICMP timestamp
-PM ICMP netmask
-oN Normal output
-oX XML output
-oG Greppable output
-oA All output
-T Paranoid Serial scan; 300 sec between scans
-T Sneaky Serial scan; 15 sec between scans
-T Polite Serial scan; .4 sec between scans
-T Normal Parallel scan
-T Aggressive Parallel scan, 300 sec timeout, and 1.25 sec/probe
-T Insane Parallel scan, 75 sec timeout, and .3 sec/probe

 

How to Scan

You can perform nmap scanning over the windows command prompt followed by the syntax below. For example, If you wanna scan the host with the IP address 192.168.2.1 using a TCP connect scan type, enter this command:

nmap 192.168.2.1 –sT

nmap -sT 192.168.2.1

More information
  1. Best Hacking Tools 2019
  2. Hacker Tools 2019
  3. Hack Rom Tools
  4. Ethical Hacker Tools
  5. Pentest Box Tools Download
  6. Hacking Tools 2019
  7. Hacking Tools Pc
  8. Nsa Hack Tools Download
  9. Easy Hack Tools
  10. Hacker Tools Mac
  11. Pentest Tools Website Vulnerability
  12. Hacker Tools Online
  13. Hack Tools Github
  14. Pentest Tools Nmap
  15. How To Hack
  16. Pentest Reporting Tools
  17. Hacking Tools For Mac
  18. Hacking Tools Kit
  19. Kik Hack Tools
  20. Hacking Tools Download
  21. Hacking Tools Software
  22. Pentest Tools Find Subdomains
  23. Pentest Tools Download
  24. Hacker Tools 2020
  25. Hacker Tools Free
  26. Pentest Tools Download
  27. Hacker Tools Online
  28. Hack Tool Apk
  29. Pentest Tools For Ubuntu
  30. Physical Pentest Tools
  31. Hak5 Tools
  32. Pentest Tools Url Fuzzer
  33. Hacking Tools For Kali Linux
  34. Hacker Tools Free
  35. Easy Hack Tools
  36. Hack Tools Github
  37. Pentest Tools Review
  38. Growth Hacker Tools
  39. Hacking Tools For Pc
  40. Hacker Tools List
  41. Hacking Tools Hardware
  42. Computer Hacker
  43. Pentest Tools Subdomain
  44. Hacker Search Tools
  45. Hackrf Tools
  46. Pentest Tools
  47. Hacker Tools Windows
  48. Pentest Tools For Ubuntu
  49. Hackers Toolbox
  50. Pentest Tools For Mac
  51. Best Hacking Tools 2019
  52. Pentest Tools For Windows
  53. Hacker Tools List
  54. Termux Hacking Tools 2019
  55. Hacking Tools Windows
  56. Hacker Tools Free Download
  57. Hacking Tools Pc
  58. Hacker Tools Free
  59. Pentest Tools For Ubuntu
  60. Pentest Reporting Tools
  61. Pentest Tools Linux
  62. Pentest Tools Alternative
  63. Pentest Tools Download
  64. Hacker Tools For Windows
  65. New Hack Tools
  66. Hacker Tools Hardware
  67. Hackrf Tools
  68. Pentest Recon Tools
  69. Pentest Tools Download
  70. Hacker Tools Windows
  71. Hacking Tools For Windows
  72. Nsa Hacker Tools
  73. New Hacker Tools
  74. Kik Hack Tools
  75. What Is Hacking Tools
  76. Blackhat Hacker Tools
  77. Kik Hack Tools
  78. Pentest Tools Kali Linux
  79. Hack Apps
  80. Hacker Tools Software
  81. Pentest Tools Download
  82. Hacking Tools 2020
  83. Hacking Tools For Games
  84. Hacks And Tools
  85. Pentest Tools Find Subdomains
  86. Hacker Tools For Mac
  87. Hack Tools For Games
  88. Hacker Tools Linux
  89. Wifi Hacker Tools For Windows
  90. Hack Tools For Windows
  91. Pentest Recon Tools
  92. Hacking Tools And Software
  93. Usb Pentest Tools
  94. Game Hacking
  95. Best Hacking Tools 2020
  96. Pentest Tools Nmap
  97. Hak5 Tools
  98. Hack Tools For Mac
  99. Tools Used For Hacking
  100. Termux Hacking Tools 2019
  101. Blackhat Hacker Tools
  102. Tools 4 Hack
  103. Pentest Recon Tools
  104. Ethical Hacker Tools
  105. Tools 4 Hack
  106. Kik Hack Tools
  107. Hacking Tools For Windows
  108. Hack Tools Pc
  109. Pentest Tools Website Vulnerability
  110. Tools Used For Hacking
  111. Pentest Tools For Android
  112. Black Hat Hacker Tools
  113. Pentest Automation Tools