jueves, 18 de enero de 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

Read more


  1. Pentest Tools For Windows
  2. Hack Tools For Mac
  3. Hacking Tools Online
  4. Pentest Tools For Mac
  5. Computer Hacker
  6. Hack Tools For Games
  7. Blackhat Hacker Tools
  8. Hack Tools For Ubuntu
  9. How To Make Hacking Tools
  10. Hacking Tools For Windows
  11. Hacker Techniques Tools And Incident Handling
  12. Physical Pentest Tools
  13. Hacker Tools Free
  14. Pentest Tools Review
  15. Pentest Tools Bluekeep
  16. Easy Hack Tools
  17. Pentest Tools Online
  18. Bluetooth Hacking Tools Kali
  19. Hacker Tools List
  20. What Are Hacking Tools
  21. Hacker Hardware Tools
  22. Hacking Tools Mac
  23. Ethical Hacker Tools
  24. Hacker Tools List
  25. New Hacker Tools
  26. Hacker Tools For Windows
  27. Hack Rom Tools
  28. Pentest Tools Android
  29. Easy Hack Tools
  30. Pentest Tools Subdomain
  31. Ethical Hacker Tools
  32. Black Hat Hacker Tools
  33. Hacking Tools Free Download
  34. Pentest Tools Website Vulnerability
  35. Hacker Search Tools
  36. Pentest Tools Bluekeep
  37. Android Hack Tools Github
  38. Pentest Tools Bluekeep
  39. Hack Tools
  40. Computer Hacker
  41. Best Hacking Tools 2020
  42. Physical Pentest Tools
  43. Pentest Tools Free
  44. Free Pentest Tools For Windows
  45. Best Hacking Tools 2020
  46. Hacking App
  47. Pentest Tools
  48. Hacking Tools For Beginners
  49. Hacker Tools Linux
  50. Hacker Tools Apk
  51. Hacker Tools
  52. Pentest Tools Subdomain
  53. Hacker Tools Software
  54. Free Pentest Tools For Windows
  55. Hack App
  56. Hack And Tools
  57. Hack Tools
  58. Hack Tool Apk No Root
  59. Pentest Tools For Mac
  60. Underground Hacker Sites
  61. Hacker Tools Apk
  62. Hacking Tools Name
  63. Hacker Tools 2019
  64. Hacker
  65. How To Make Hacking Tools
  66. Pentest Tools List
  67. Hacker Tools 2019
  68. Hack Tools Download
  69. Pentest Tools Website Vulnerability
  70. Termux Hacking Tools 2019
  71. Hak5 Tools
  72. Pentest Tools Framework
  73. Hacker Tools Apk Download
  74. Hacker Tools For Windows
  75. Hack Tools Pc
  76. Hak5 Tools
  77. Hack Tool Apk
  78. Hack And Tools
  79. Nsa Hack Tools Download
  80. Hacking Tools 2019
  81. Pentest Reporting Tools