Southern New Hampshire University Patricia Delgado SNHU FEB 2024 CYB 310 Module Five Lab Worksheet Complete this worksheet by replacing the bracketed phrases in the Response column with the relevant information. Lab: Closing Ports and Unnecessary Services Prompt In the lab section, "Connecting to the Open Ports and Services Using Telnet and FTP," Step 13, complete the steps, type your name after the command prompt, and take a screenshot of the output. Response [Insert s File Edit View Search Terminal Help Connection closed by foreign host root@kali2 :- # telnet 192. 168. 12. 11 80 Trying 192. 168. 12.11. . . Connected to 192.168. 12.11. Escape character is '^]'. HEAD/ HTTP/1.0 HTTP/1.1 400 Bad Request Content-Type: text/html ; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 Date: Sun, 11 Feb 2024 21:55:20 GMT Connection: close Content-Length: 326 <! DOCTYPE HTML PUBLIC "- //W3C//DTD HTML 4.01//EN""http://www. w3.org/TR/ html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii">< /HEAD> <BODY><h2>Bad Request - Invalid Verb</h2> <hr><p>HTTP Error 400. The request verb is invalid .< /p> </BODY></HTML> Connection closed by foreign host. root@kali2 :~ # PATRICIA DELGADO creenshot here.] 1
Southern New Hampshire University Lab: Closing Ports and Unnecessary Services Prompt In the lab section, "Closing Unnecessary Ports and Services," Step 26, type your name after the command prompt and take a screenshot of the output of the scan of port 80 (www) on the Windows machine after closing HTTP services. Closing unwanted ports and communication mediums is essential to network hardening. Why is this essential and how does it help with network defense? Using an adversarial mindset, how can you test to make sure only needed ports are open? What tools would you use? Response [Insert s Applications Places >-Terminal Sun 17:26 1 root@kali2: ~ File Edit View Search Terminal Help root@kali2 :- # nmap 192.168. 12.11 -p 80 Starting Nmap 6.49BETA4 ( https: //nmap. org ) at 2024-02-11 17:25 EST Nmap scan report for 192.168.12.11 Host is up (0.00047s latency) . PORT STATE SERVICE 80/tcp open http MAC Address: 00:50:56:8E: 42:54 (VMware) Nmap done: 1 IP address (1 host up) scanned in 13.61 seconds root@kali2 :- # patricia delgado creenshot here.} This is essential because it helps reduce loopholes which can allow attackers an access point. It is also a layer of protection for the network. When unused ports are left open it creates a vulnerability. Open unused ports need to be monitored, by closing we add protection and reduce the need to monitor excessively. [Insert short response here.] Install a port scanner, this gives me the ability to scan for ports determine what is using which port and which ports are unused open. Then I can go in and close any left open unused port. [Insert short response here.] 2