Thursday, January 25, 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 articles


  1. Pentest Tools
  2. Install Pentest Tools Ubuntu
  3. Hacker Tools Apk
  4. Nsa Hacker Tools
  5. Pentest Tools Open Source
  6. Hacker Tools List
  7. Hack Tools For Ubuntu
  8. Hacker Tools 2019
  9. Pentest Tools Bluekeep
  10. Best Hacking Tools 2019
  11. Hacking Tools Hardware
  12. Tools 4 Hack
  13. Hacking Apps
  14. Best Hacking Tools 2019
  15. Hacking Tools Windows
  16. Pentest Tools Website
  17. Termux Hacking Tools 2019
  18. Usb Pentest Tools
  19. Hacking Tools Windows 10
  20. Pentest Tools For Windows
  21. Hack App
  22. Top Pentest Tools
  23. Physical Pentest Tools
  24. Pentest Tools Android
  25. Hacker Security Tools
  26. Pentest Tools Kali Linux
  27. Hacker Tools
  28. Hack Website Online Tool
  29. Tools 4 Hack
  30. Hacker Tools Online
  31. Hack Tools For Games
  32. How To Install Pentest Tools In Ubuntu
  33. Top Pentest Tools
  34. Hack Apps
  35. Hack Tools Mac
  36. Pentest Box Tools Download
  37. Hacking Tools For Pc
  38. Hacker Tools
  39. Hack Tool Apk
  40. Pentest Recon Tools
  41. Hack Tools For Windows
  42. Android Hack Tools Github
  43. Tools 4 Hack
  44. Hacking Tools And Software
  45. Hacker Security Tools
  46. Hacking Tools
  47. Pentest Tools For Windows
  48. How To Install Pentest Tools In Ubuntu
  49. Pentest Tools Bluekeep
  50. Hack Tools Online
  51. Hack Tools For Games
  52. Nsa Hack Tools Download
  53. Pentest Automation Tools
  54. Hack Tools For Windows
  55. Hacker Tools Software
  56. Hackrf Tools
  57. Nsa Hacker Tools
  58. Computer Hacker
  59. Hacker Tools For Pc
  60. Hack Tools Online
  61. Hacking Tools Software
  62. Pentest Recon Tools
  63. Hacking Tools For Beginners
  64. Pentest Recon Tools
  65. Hack Tools Pc
  66. Hacker Tools Software
  67. Pentest Tools For Android
  68. Hacker Techniques Tools And Incident Handling
  69. Pentest Tools Online
  70. Hacker Security Tools
  71. Hacking Tools Kit
  72. Pentest Tools Open Source
  73. Pentest Tools Windows
  74. Hack Tools Github
  75. Hacks And Tools
  76. Pentest Tools Framework
  77. Pentest Tools Bluekeep
  78. New Hacker Tools
  79. Tools 4 Hack
  80. Hacker Tools For Windows
  81. Hacking Tools For Mac
  82. Install Pentest Tools Ubuntu
  83. Hack Tools For Ubuntu
  84. Hack Rom Tools
  85. Hacker Tools 2020
  86. Hack Tools Mac
  87. Hacking Tools Download
  88. Physical Pentest Tools
  89. Pentest Tools Apk
  90. Pentest Tools Bluekeep
  91. Hacker Tools For Ios
  92. Hacking Tools Free Download
  93. Pentest Tools Website Vulnerability
  94. Hacker Security Tools
  95. Hacking Tools Mac
  96. Hack Tools
  97. Hack And Tools
  98. Hacking Tools 2020
  99. Hacking Tools Pc
  100. Hack Tools 2019
  101. Hack App
  102. Hacking Tools And Software
  103. Hack Tools For Mac
  104. Hack Tools For Mac
  105. World No 1 Hacker Software
  106. Game Hacking
  107. Termux Hacking Tools 2019
  108. Pentest Tools Free
  109. Pentest Tools Windows
  110. Hacking Tools Download
  111. Hacking Tools Download
  112. Hacking Tools Mac
  113. Best Hacking Tools 2020
  114. Hacking Tools Mac
  115. Pentest Tools Download
  116. Hack Tools 2019
  117. Hack Tools
  118. Hacker Tools 2019
  119. Hacking Tools Pc
  120. Hacker Tool Kit
  121. Pentest Tools Download
  122. Pentest Reporting Tools
  123. Hacking Tools 2019
  124. Hacker Tools Free Download
  125. How To Install Pentest Tools In Ubuntu
  126. Hacker Tools Github
  127. Hack Tool Apk No Root
  128. Hack And Tools
  129. Hacking Apps
  130. Hack Tools
  131. Hacking Apps
  132. Hacking Tools For Pc
  133. Usb Pentest Tools
  134. Growth Hacker Tools
  135. Hack Tools 2019
  136. Underground Hacker Sites
  137. Free Pentest Tools For Windows
  138. Hack Tools Online
  139. What Are Hacking Tools
  140. Hacking Tools Hardware
  141. Hack Tools Github
  142. Hacker Tools 2020
  143. Kik Hack Tools
  144. Hacking Tools Github
  145. Github Hacking Tools
  146. Hacking Tools For Windows Free Download
  147. Hacking Tools For Windows 7
  148. Hacking Tools Kit
  149. What Are Hacking Tools
  150. Install Pentest Tools Ubuntu
  151. Underground Hacker Sites
  152. Hack Tools For Pc

No comments: