Test Your Skills
Multiple Choice Questions
Which of the following is an automated general vulnerability assessment tool?
Nmap
Nessus
OWASP ZAP
Wireshark
Which of the following commands will cause Aircrack to dump the contents of a wireless access point with a bsssid 00:01:02:03:04:05?
airodump-ng -c 11 --bssid 00:01:02:03:04:05 -w dump interface
airodump-ng -c 11 --bssid 00:01:02:03:04:05 dump interface
airodump-ng --bssid 00:01:02:03:04:05 -w dump interface
airodump-ng -c 11 --bssid 00:01:02:03:04:05 -w dump
What will the tcpdump -i eth0 command do?
Dump all packets except for those on eth0
Dump all packets regardless of interface
Dump all packets on eth0
Dump all packets that include the string eth0
Which of the following is a web application vulnerability scanner?
OWASP ZAP
Wireshark
tcpdump
Nessus
Which of the following scanners is available for Macintosh computers?
tcpdump
MBSA
OWASP ZAP
Vega
Projects
While it is not a crime to scan anyone’s network, people tend to find it unfriendly. It is best to scan your own home or class lab network. Doing this at work is usually not a good idea, unless you have permission from your boss.
Project 1: MBSA
Microsoft Baseline Security Analyzer is not the most robust vulnerability analyzer but it does work well in Microsoft environments, and it is free to download at https://www.microsoft.com/en-us/download/details.aspx?id=7558.
Download and install it. Choose Scan a computer (see Figure 8-22), and scan your own computer (see Figure 8-23). Address any issues it finds.
FIGURE 8-22 MBSA.
FIGURE 8-23 MBSA Results.
Project 2: OWASP ZAP
In this project, you will actually use OWASP ZAP to find vulnerabilities in a website.
Download and install OWASP ZAP, available at https://github.com/zaproxy/zaproxy/wiki/Downloads.
Launch OWASP ZAP; you can use Windows or Kali Linux.
Select a target (you can use www.chuckeasttom.com if you want).
Click Attack.
Review the results.
Project 3: Download Wireshark
First install Wireshark on your computer. It is a free download from https://www.wireshark.org/. Then follow these steps:
Configure Wireshark to trap traffic on your network, using promiscuous mode (default) with no capture filters.
Open your browser and surf to a few sites. Perhaps send an email.
When you have about 2,000 packets, stop the capture.
Pick one or two packets at random. Expand them and look at the headers (TCP, IP, and Ethernet). Can you identify the MAC address? IP address? Port? Protocol? Repeat this a few times until you are comfortable reading packet headers.
Identify an IP address that appears frequently in your capture.
Apply a view filter to only capture that IP address (see Figure 8-24).
FIGURE 8-24 Wireshark View Filters.
Remove the filter.
Use TCP Stream to follow your communication with some website you visited when you were capturing (see Figure 8-25).
FIGURE 8-25 Wireshark Follow TCP Stream.
