Saturday, January 20, 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 info
  1. Hacker Tools List
  2. Pentest Tools For Mac
  3. Hacker Tools Linux
  4. Hacker Tools Linux
  5. Hacker Tool Kit
  6. Hacking Tools Mac
  7. Growth Hacker Tools
  8. Hacking Tools For Windows Free Download
  9. Hacker Tools 2020
  10. Hacker Tools Windows
  11. Black Hat Hacker Tools
  12. Hacking Tools For Beginners
  13. Best Hacking Tools 2019
  14. Free Pentest Tools For Windows
  15. Hacker Tools Apk Download
  16. Hacking Tools Usb
  17. Pentest Tools Github
  18. Pentest Automation Tools
  19. Physical Pentest Tools
  20. Termux Hacking Tools 2019
  21. Hacker Tools For Mac
  22. Github Hacking Tools
  23. Hack Tools 2019
  24. Pentest Tools Url Fuzzer
  25. Hacker Tools For Windows
  26. Hacking Tools For Kali Linux
  27. Hacking Tools For Games
  28. Pentest Tools Online
  29. Physical Pentest Tools
  30. Hacking Tools 2019
  31. Tools For Hacker
  32. Hacking Tools 2020
  33. Computer Hacker
  34. Best Hacking Tools 2019
  35. Blackhat Hacker Tools
  36. Best Hacking Tools 2020
  37. Hacker Tools Online
  38. How To Install Pentest Tools In Ubuntu
  39. Hack Tools For Ubuntu
  40. New Hack Tools
  41. Pentest Tools Port Scanner
  42. Hack Tools For Pc
  43. World No 1 Hacker Software
  44. Best Hacking Tools 2020
  45. Hack Tools Online
  46. Hacker Tools Apk
  47. Hackers Toolbox
  48. Pentest Tools Open Source
  49. Hack Tools Pc
  50. Pentest Tools Apk
  51. Pentest Tools Website Vulnerability
  52. Hacking Tools For Windows Free Download
  53. Hack Tools Mac
  54. Hack Tools For Mac
  55. Hacker Tools 2020
  56. Hack Tools Online
  57. Hacker Tools For Pc
  58. Hacking Tools Download
  59. Pentest Tools
  60. Nsa Hack Tools Download
  61. Pentest Tools Android
  62. Pentest Tools Download
  63. Hacker Tools Apk
  64. Hack App
  65. Pentest Tools Website
  66. What Is Hacking Tools
  67. Hack Tools 2019
  68. Pentest Tools Port Scanner
  69. Hacker Tools For Windows
  70. Pentest Tools For Android
  71. Pentest Tools Nmap
  72. Hacking Tools 2020
  73. Pentest Tools Apk
  74. Hacking Tools Software
  75. Best Hacking Tools 2020
  76. Hack Tools Github
  77. Hacking Tools Windows 10
  78. Pentest Tools Website
  79. Pentest Tools Download
  80. Hacking Tools For Pc
  81. Nsa Hack Tools Download
  82. Pentest Reporting Tools
  83. Hacking App
  84. Tools For Hacker
  85. Hacker Tools Software
  86. Hack Tools For Games
  87. Hacking Tools Mac
  88. Tools Used For Hacking
  89. Hack Tools For Ubuntu
  90. Pentest Tools List
  91. Hack Tools Pc
  92. Top Pentest Tools
  93. Hack Apps
  94. Pentest Tools For Ubuntu
  95. Hack Tools Mac
  96. Pentest Tools For Android
  97. Pentest Recon Tools
  98. Hacker Tools Apk Download
  99. Pentest Reporting Tools
  100. Hacking Tools Name
  101. Android Hack Tools Github
  102. Pentest Tools Download
  103. Pentest Tools Nmap
  104. Hacking Tools Free Download
  105. Pentest Tools Nmap
  106. Pentest Recon Tools
  107. Hacking Tools For Beginners
  108. Hacking Tools Pc
  109. Game Hacking
  110. Hacking Tools Windows 10
  111. Install Pentest Tools Ubuntu
  112. Hacking Tools Free Download
  113. Pentest Tools Tcp Port Scanner
  114. Hacking Tools For Pc
  115. Hacking App

No comments:

Post a Comment