Professional Documents
Culture Documents
Ethical Hacking
Ethical Hacking
Ethical Hacking
TP 2
Scanning
Réalise par :
- Leith Mahfoudhi
- Ahmed Amine Amouchi
RT5
UDP and TCP crafting Techniques using Hping3
1-
2-
4-
TCP SYN packets
1-
For each host the state of the top 1000 ports are displayed, the
MAC address, the Network distance and the OS guess
-O option is used to guess the OS of machine (based on the
host response to the packets sent to it)
2-
-v : make the output more verbose
-T4 : sets the timing template, packets sent per second, 4 is
relatively fast, 5 is the fastest and 0 is the slowest
- SA : TCP ACK scan used to map out firewall rulesets and
check which ports are filtered
3-
-A: Enable OS detection, version detection, script scanning,
and traceroute
-sT : tcp connect scan (used when syn scan isn’t an option)
-T3 : set the timing template to 3 (highest 5 slowest 0)
The ouput shows the filtered|closed|open ports the os version
the scripts result and the traceroute result
4-
6-
-ss syn scan
-su udp scan
-T4 to specify the speed of the scan
-v for verobisty
-A: Enable OS detection, version detection, script scanning,
and traceroute
--source-port specify the port from which the scanned requests
will be sent
--script to execute scripts here we specified the type of scripts
to execute default scripts or safe and discovery scripts
The -PS -PE -PA -PP and -PU options are all host discovery
techniques techniques (ping types) used in combination to
determine which targets are actually available on a network
and avoid wasting a lot of time scanning for IP addresses that
addresses that are not in use