Information
Room#
- Name: Nmap
- Profile: tryhackme.com
- Difficulty: Easy
- Description: Part of the Red Primer series, intro to scanning
Write-up
Overview#
Install tools used in this WU on BlackArch Linux:
Disclaimer: The answer essentially requires to search for options in the man page so it doesn't need a detailed write-up.
[Task 2] Nmap Quiz#
#1#
-hFirst, how do you access the help menu?
#2#
-sSOften referred to as a stealth scan, what is the first switch listed for a 'Syn Scan'?
#3#
-sUNot quite as useful but how about a 'UDP Scan'?
#4#
-OWhat about operating system detection?
#5#
-sVHow about service version detection?
#6#
-vMost people like to see some output to know that their scan is actually doing things, what is the verbosity flag?
#7#
-vvWhat about 'very verbose'? (A personal favorite)
#8#
-oXSometimes saving output in a common document format can be really handy for reporting, how do we save output in xml format?
#9#
-AAggressive scans can be nice when other scans just aren't getting the output that you want and you really don't care how 'loud' you are, what is the switch for enabling this?
#10#
-T5How do I set the timing to the max level, sometimes called 'Insane'?
#11#
-pWhat about if I want to scan a specific port?
#12#
-p-How about if I want to scan every port?
#13#
--scriptWhat if I want to enable using a script from the nmap scripting engine? For this, just include the first part of the switch without the specification of what script to run.
#14#
--script vulnWhat if I want to run all scripts out of the vulnerability category?
#15#
-PnWhat switch should I include if I don't want to ping the host?
[Task 3] Nmap Scanning#
#1#
nmap -sSLet's go ahead and start with the basics and perform a syn scan on the box provided. What will this command be without the host IP address?
#2#
2After scanning this, how many ports do we find open under 1000?
#3#
tcpWhat communication protocol is given for these ports following the port number?
#4#
6.6.1p1Perform a service version detection scan, what is the version of the software running on port 22?
#5#
httponlyPerform an aggressive scan, what flag isn't set under the results for port 80?
#6#
http-slowloris-checkPerform a script scan of vulnerabilities associated with this box, what denial of service (DOS) attack is this box susceptible to? Answer with the name for the vulnerability that is given as the section title in the scan output. A vuln scan can take a while to complete. In case you get stuck, the answer for this question has been provided in the hint, however, it's good to still run this scan and get used to using it as it can be invaluable.