1.18.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

Related links


  1. Best Hacking Tools 2019
  2. Tools For Hacker
  3. Pentest Tools Download
  4. Pentest Tools Github
  5. Hacking Tools And Software
  6. Pentest Tools
  7. Pentest Tools Alternative
  8. Pentest Tools Free
  9. Hack Tools Download
  10. Pentest Tools Kali Linux
  11. Pentest Tools Free
  12. Hacking Tools Download
  13. Usb Pentest Tools
  14. Hack Tool Apk No Root
  15. Hacker Tools Software
  16. New Hacker Tools
  17. Usb Pentest Tools
  18. What Are Hacking Tools
  19. Hackrf Tools
  20. Hacking Tools Github
  21. Install Pentest Tools Ubuntu
  22. Hackers Toolbox
  23. Pentest Tools Github
  24. Hack Tools For Games
  25. Hacking Tools For Mac
  26. New Hack Tools
  27. Pentest Reporting Tools
  28. Hacker Hardware Tools
  29. Hacking Tools And Software
  30. Hacker Tools For Pc
  31. Github Hacking Tools
  32. Hacking Tools Free Download
  33. Hack Tools Mac
  34. Pentest Tools Port Scanner
  35. Hacking Tools And Software
  36. Black Hat Hacker Tools
  37. Hacking Tools Online
  38. Hacking Tools Software
  39. Hack Tools Pc
  40. Hack Rom Tools
  41. Hacking Tools Software
  42. Github Hacking Tools
  43. Hacking Tools For Games
  44. Hacker Tools Apk
  45. Hacker Tools For Windows
  46. Hack Tools Github
  47. Hack Website Online Tool
  48. Free Pentest Tools For Windows
  49. Computer Hacker
  50. Hack Website Online Tool
  51. Pentest Tools Nmap
  52. Best Hacking Tools 2020
  53. Growth Hacker Tools
  54. Underground Hacker Sites
  55. Tools 4 Hack
  56. Hacker Tools For Ios
  57. Hacker Tools For Windows
  58. Pentest Tools Online
  59. Hacking Tools Software
  60. Hack Website Online Tool
  61. Pentest Tools Framework
  62. Tools For Hacker
  63. Hacker Tools For Windows
  64. Pentest Tools Free
  65. Hack Tools For Pc
  66. Pentest Tools Url Fuzzer
  67. Blackhat Hacker Tools
  68. Hacker Tools Windows
  69. New Hack Tools
  70. Nsa Hacker Tools
  71. Pentest Tools For Mac
  72. Pentest Recon Tools
  73. Hacker Tools Free Download
  74. Pentest Tools Online
  75. What Are Hacking Tools
  76. Pentest Tools Framework
  77. Nsa Hack Tools
  78. Hack Tools
  79. Hackers Toolbox
  80. Hacking Tools Windows 10
  81. Install Pentest Tools Ubuntu
  82. Hacking Tools Download
  83. Hacking Tools For Pc
  84. Pentest Reporting Tools
  85. Pentest Tools Linux
  86. Best Pentesting Tools 2018
  87. Computer Hacker
  88. Hacker Tools
  89. Tools Used For Hacking
  90. Pentest Automation Tools
  91. Ethical Hacker Tools
  92. Hacking Tools Online
  93. Best Hacking Tools 2020
  94. Hackers Toolbox
  95. Computer Hacker
  96. Bluetooth Hacking Tools Kali
  97. Hacker Security Tools
  98. Hack Tools For Pc
  99. Pentest Tools Kali Linux
  100. Pentest Tools Find Subdomains
  101. Hacker Tools Github
  102. Pentest Tools Online
  103. Hacking Tools Online
  104. Bluetooth Hacking Tools Kali
  105. Best Pentesting Tools 2018
  106. Hacker Tools Online

No comments: