Week 3 Assignment - devinziegler/Devin-Tech-Journal GitHub Wiki

Assignment: Week 3 - Running Nmap

In this lab we used Nmap to scan for open ports.

  • Helpful commands

Finding IP on Linux systems

ifconfig

Finding IP on Windows systems

ipconfig

Running an nmap scan

sudo nmap <Nmap-Switch> <system IP>

Nmap Switches

  • TCP synth scan -sS will scan for open ports using the TCP proticol. This scan is fast and stealthy.
  • Select port scan -p will scan for port specified. You can also use -p- to scan all ports.
  • Perform a TCP Connect scan using -sT.
  • Service detection -sV.
  • OS detection -A.

Output

when preforming a low level scan with Nmap the results could be the following

  • Time of scan.
  • Target IP.
  • Results from device ping.
  • Ports not shown.
  • Ports found during the scan as well as the state of the port and what service is running on the port.
  • The final line will tell you how long the scan took.
⚠️ **GitHub.com Fallback** ⚠️