Lab 2: Perform Port and Service Discovery
Lab 2: Perform Port and Service Discovery
Module 03: Scanning Networks
Lab 2: Perform Port and Service Discovery
Task 1: Perform Port and Service Discovery using MegaPing
D:\CEH-Tools\CEHv11 Module 03 Scanning Networks\Scanning Tools\MegaPing
megaping_setup.exe.
click IP scanner its on the top bar and its a magnifiying glass icon
set range from 10.10.10.5 - 10.10.10.20
start
now click port scanner looks like a plug
destination address list
put the windows server 2016 10.10.10.16
click add
select the server then press start
MegaPing lists the ports associated with Windows Server 2016
done
Lab Scenario
As a professional ethical hacker or a pen tester, the next step after discovering active hosts in the target network is to scan for open ports and services running on the target IP addresses in the target network. This discovery of open ports and services can be performed by using various port scanning tools and techniques.
Lab Objectives
- Perform port and service discovery using MegaPing
- Perform port and service discovery using NetScanTools Pro
- Explore various network scanning techniques using Nmap
- Explore various network scanning techniques using Hping3
Overview of Port and Service Discovery
Port scanning techniques are categorized according to the type of protocol used for communication within the network.
- TCP Scanning
- Open TCP scanning methods (TCP connect/full open scan)
- Stealth TCP scanning methods (Half-open Scan, Inverse TCP Flag Scan, ACK flag probe scan, third party and spoofed TCP scanning methods)
- UDP Scanning
- SCTP Scanning
- SCTP INIT Scanning
- SCTP COOKIE/ECHO Scanning
- SSDP and List Scanning
- IPv6 Scanning
Task 1: Perform Port and Service Discovery using MegaPing
MegaPing is a toolkit that provides essential utilities for Information System specialists, system administrators, IT solution providers, and individuals. It is used to detect live hosts and open ports of the system in the network, and can scan your entire network and provide information such as open shared resources, open ports, services/drivers active on the computer, key registry entries, users and groups, trusted domains, printers, etc. You can also perform various network troubleshooting activities with the help of integrated network utilities such as DNS lookup name, DNS list hosts, Finger, host monitor, IP scanner, NetBIOS scanner, ping, port scanner, share scanner, traceroute, and Whois.
Here, we will use the MegaPing tool to scan for open ports and services running on the target range of IP addresses.
In the Windows 10 machine, navigate to D:\CEH-Tools\CEHv11 Module 03 Scanning Networks\Scanning Tools\MegaPing and double-click megaping_setup.exe.
If a User Account Control pop-up appears, click Yes.
The MegaPing - InstallShield Wizard window appears; click Next and follow the wizard-driven installation steps to install MegaPing.
After the completion of the installation, click on the Launch the program checkbox and click Finish.
The About MegaPing window appears; click the I Agree button.
The MegaPing (Unregistered) GUI appears displaying the System Info, as shown in the screenshot.
Select the IP Scanner option from the left pane. In the IP Scanner tab in the right-hand pane, enter the IP range in the From and To fields; in this lab, the IP range is 10.10.10.5 to 10.10.10.20; then, click Start.
MegaPing lists all IP addresses under the specified target range with their TTL value, Status (dead or alive), and statistics of the dead and alive hosts, as shown in the screenshot.
Select the Port Scanner option from the left-hand pane. In the Port Scanner tab in the right-hand pane, enter the IP address of the Windows Server 2016 (10.10.10.16) machine into the Destination Address List field and click Add.
Select the 10.10.10.16 checkbox and click the Start button to start listening to the traffic on 10.10.10.16.
MegaPing lists the ports associated with Windows Server 2016 (10.10.10.16), with detailed information on port number and type, service running on the port along with the description, and associated risk, as shown in the screenshot.
Similarly, you can perform port and service scanning on other target machines.
This concludes the demonstration of discovering open ports and services running on the target IP address using MegaPing.
Close all open windows and document all the acquired information.
Comments
Post a Comment