wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Nmap Options, Host Discovery, and Port Scanning

Total questions: 16

Worksheet time: 10mins

Name
Class
Date
1.

In Nmap, What is the command to disable Ping?

a)

-Pn

b)

-PP

c)

-PS

d)

-P

2.

What host discovery option sends a UDP packet to the given ports For most ports, the packet will be empty, though for a few a protocol-specific payload will be sent that is more likely to get a response?

a)

-PA

b)

-PY

c)

-PPP

d)

-PU

3.

What are the three ICMP Ping types options in Nmap?

(Select 3 answers)

a)

-PY

b)

-PE

c)

-PP

d)

-PM

4.

What is the option for ARP Ping?

a)

-iL

b)

-PR

c)

-ARP

d)

-PE

5.

_______ works by sending packets with a low TTL (time-to-live) in an attempt to elicit ICMP Time Exceeded messages from intermediate hops between the scanner and the target host.

a)

Traceroute

b)

Hping3

c)

SCTP INIT

d)

DNS Resolution

6.

What option tells Nmap to never do reverse DNS resolution on the active IP addresses it finds.

a)

--no-dns

b)

-nDNS

c)

-R

d)

-n

7.

What technique is often referred to as half-open scanning, because you don't open a full TCP connection?

a)

TCP connect scan

b)

TCP SYN scan

c)

UDP scans

d)

TCP NUL

8.

List these options -sN; -sF; -sX

(Select 3 answers)

a)

No DNS Resolution

b)

Xmas Scan

c)

TCP NULL

d)

FIN

9.

Xmas scan sets the ___, ___, and ___ flags, lighting the packet up like a Christmas tree.

a)

FIN, PSH, and URG

b)

SYN, SYN-ACK, and ACK

c)

RST, FIN, and URG

d)

SYN, ACK, and PSH

10.

This technique is exactly the same as NULL, FIN, and Xmas scans, except that the probe is FIN/ACK.

a)

-sM (TCP Maimon scan)

b)

-sW (TCP Window scan)

c)

-sA (TCP ACK scan)

d)

-sZ (SCTP COOKIE ECHO scan

11.

Which Nmap option specifies that you wish to scan fewer ports than the default. Normally Nmap scans the most common 1,000 ports for each scanned protocol. With ___ option, this is reduced to 100.

a)

-T4

b)

-T5

c)

-A

d)

-F

12.

Select the correct option in Nmap for (SCTP INIT scan)

a)

-sX

b)

-sY

c)

-sZ

d)

-sC

13.

True or False

FIN scan (-sF)

Sets just the TCP FIN bit

a)

True

b)

False

14.

______ allows you to determine which IP protocols (TCP, ICMP, IGMP, etc.) are supported by target machines.

a)

NULL Scan

b)

TCP Maimon scan

c)

SCTP COOKIE ECHO scan

d)

IP protocol scan

15.

Select the Nmap option for (TCP connect scan) ?

a)

-TCP

b)

-sT

c)

-sS

d)

-sU

16.

_____ is the default and most popular scan option for good reasons. It can be performed quickly, scanning thousands of ports per second on a fast network not hampered by restrictive firewalls. It is also relatively unobtrusive and stealthy since it never completes TCP connections

a)

TCP SYN scan

-sS

b)

TCP ACK scan

-sA

c)

SCTP INIT scan

-sY

d)

TCP Window scan

-sW