Nmap Flashcards

1
Q

What protocol does Nmap begin scanning with when scanning the subnet of a local network?

A

When scanning a directly connected network, Nmap starts by sending ARP requests. When a device responds to the ARP request, Nmap labels it with “Host is up”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[CMD] List scan to show the IP’s that will be scanned

A

nmap -sL [IP.1/24] (Planning of IPs to scan)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the easiest and most basic way to know whether a TCP port is open?

A

Telnet ip port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

[CMD] Connect scan flag

A

-sT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

[CMD] Syn scan flag

A

-sS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the supposed benefits of doing a Syn Scan? (-sS)

A

The TCP handshake is never established and thus the connection is never established. This is concidered a stealth scan, since fewer logs and detection risks are expected when you do the port scanning this way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

[CMD] UDP scan

A

-sU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the flag -F do?

A

Fast mode – scans the 100 most common ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

-p[range] what does this do?

A

scan ports in range defined. E.g. -p10-1024

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

[Flag] How do you enable OS detection?

A

-O

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

[Flag] A lot of the goodies in one flag (Traceroute, version, OS detection and some more)

A

-A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

[Flag] Scan hosts that appears to be down

A

-Pn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

[Flag] Control the rate of packets send per second

A

–min-rate // –max-rate <number></number>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

[Flag] -oN

A

Normal output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

[Flag] -oX

A

XML output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

[Flag] -oG

A

Grepable output

17
Q

[Flag] -oA

A

Output in major formats

18
Q

[Flag] -v

A

Verbose, real time updates

19
Q

[Flag] -d

A

Debug mode

20
Q

[Flag] How do you scale the number of parallel probes?

A

–min-parallelism <numprobes> / max</numprobes>