Using nmap to change a source address. The commands used are:
nmap -iflist
...to get a list of available interfaces. When an interface is chosen (in this tutorial, eth0 is chosen) use the name of the interface in the next command:
nmap -e eth0 -S 192.168.1.100 192.168.1.109
...which will use the eth0 interface and spoof a source IP of 192.168.1.100, while scanning 192.168.1.109. Because the source address is spoofed, the return traffic from the target host will not be routed back to us. Thus, all ports will appear to be closed.
Using nmap to detect the operating system of a remote host. The command used is:
nmap 192.168.1.109 -sV -O
If the -O flag is the only one used, nmap will have less data to compare to it's known list of operating systems. Using -O with a known open service (as discovered in previous tutorials) it gives nmap more evidence to narrow down potential operating systems.
Using nmap to identify services on a host. Again, very easy. The command used is:
nmap 192.168.1.109 -sV
...this will communicate with the open ports, and compare the traffic to a small database in nmap with fingerprints of known services. In this video, an ubuntu webserver is discovered, which is true.