Scanning & Enumeration Flashcards
How to tell nmap to scan all ports?
Use the -p flag with -
nmap -p- …
True or False
The -sS scan is really stealth nowadays and it wont be detected.
False. It can be detected, it’s not stealthy at all.
How to make an UDP scan? Should you keep the same configurations of the TCP scan? Justify your answer.
Using the -sU flag. No, because UDP scans take a lot more time to complete so you should remove the -A flag and only scan the most important ports with -p
Why is it useful to connect to ssh in the Scanning & Enumeration stage?
To get more information about it. If a nmap scan didn’t return the version, you could try to connect directly in order to search for the version running in the target machine.