Welcome to My Blog

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

Thursday, 1 June 2023

Travel Dealer


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. Hacking Tools Name
  2. Pentest Tools Linux
  3. Hacking Tools For Pc
  4. Hacker Tools Windows
  5. Hack Tool Apk No Root
  6. Underground Hacker Sites
  7. Pentest Recon Tools
  8. Hack Tools For Pc
  9. Hacking Tools Software
  10. Pentest Tools Url Fuzzer
  11. Hacker Tools 2019
  12. Best Hacking Tools 2019
  13. Github Hacking Tools
  14. Hacker Hardware Tools
  15. Hacks And Tools
  16. Game Hacking
  17. New Hack Tools
  18. Hacking Tools Free Download
  19. Beginner Hacker Tools
  20. Hacking Tools Pc
  21. Hack Tools For Games
  22. Pentest Reporting Tools
  23. Nsa Hack Tools Download
  24. Hacking Tools For Beginners
  25. Hacker Tools Software
  26. New Hack Tools
  27. Hacker Tools Github
  28. Hacker Tools 2019
  29. Hacker Tools Software
  30. What Is Hacking Tools
  31. Hacks And Tools
  32. Computer Hacker
  33. Android Hack Tools Github
  34. Pentest Tools Tcp Port Scanner
  35. How To Make Hacking Tools
  36. Hacking Tools For Windows Free Download
  37. Physical Pentest Tools
  38. Pentest Tools For Windows
  39. Termux Hacking Tools 2019
  40. Pentest Recon Tools
  41. Pentest Tools Review
  42. Pentest Tools Download
  43. World No 1 Hacker Software
  44. Hacking Tools Windows
  45. Hack Tool Apk No Root
  46. Pentest Tools For Mac
  47. Hack Tools For Ubuntu
  48. Hacking Tools Hardware
  49. Hacker Search Tools
  50. Github Hacking Tools
  51. Hacker Tools Free
  52. Pentest Tools Android
  53. Hacker Tools For Pc
  54. Hackrf Tools
  55. Hacker Tools Free
  56. Hacking Tools For Windows 7
  57. Tools Used For Hacking
  58. Hacking Tools For Games
  59. Hacker Tool Kit
  60. Install Pentest Tools Ubuntu
  61. Hacker Search Tools
  62. Hacking Tools Free Download
  63. Hacker Techniques Tools And Incident Handling
  64. Pentest Tools Find Subdomains
  65. Hacker Tool Kit
  66. Hack Apps
  67. Hacker Tools Online
  68. Wifi Hacker Tools For Windows
  69. Pentest Tools For Mac
  70. Tools For Hacker

No comments:

Post a Comment