Unit 3: Vulnerability Scan - Practice Quiz

INT245 — Penetration Testing 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which of the following creates a 'half-open' connection to determine if a port is open, making it less likely to be logged by the target system?

A. UDP Scan (-sU)
B. TCP Connect Scan (-sT)
C. Ping Scan (-sn)
D. TCP SYN Scan (-sS)

2 When analyzing vulnerability scan results, what is a False Positive?

A. The scanner correctly identifies a critical vulnerability.
B. The scanner crashes the target service.
C. The scanner identifies a vulnerability that does not actually exist.
D. The scanner fails to identify an existing vulnerability.

3 Which open-source vulnerability scanner was originally a fork of the last open-source version of Nessus?

A. Nexpose
B. OpenVAS
C. Qualys
D. Burp Suite

4 In the context of Nmap timing templates used for evasion, which flag represents 'Paranoid' mode, sending packets very slowly to evade IDS?

A. -T1
B. -T3
C. -T5
D. -T0

5 Why are automated scanners generally poor at detecting Business Logic Vulnerabilities?

A. Logic flaws depend on context and intended workflow, not syntax errors.
B. Scanners do not support HTTP POST requests.
C. Scanners cannot decrypt SSL/TLS traffic.
D. Logic flaws are only found in compiled code, not web apps.

6 Which command allows an attacker to clear the command history in a Linux environment to cover tracks?

A. clear
B. history -c
C. ls -la
D. cat /dev/null

7 What is the primary difference between a Credentialed Scan and a Non-Credentialed Scan?

A. Credentialed scans are illegal.
B. Non-credentialed scans are faster but cause more network traffic.
C. Non-credentialed scans can read the registry and configuration files.
D. Credentialed scans log in to the system to audit local settings and patches.

8 Which CVSS v3.1 score range represents a Critical severity vulnerability?

A.
B.
C.
D.

9 Which Nmap technique involves sending packets from the attacker's IP mixed with packets from other spoofed IP addresses to confuse the target's IDS/Firewall?

A. Decoy Scanning (-D)
B. Source Port Manipulation (--source-port)
C. Packet Fragmentation (-f)
D. MAC Address Spoofing (--spoof-mac)

10 Which tool is specifically designed for scanning web servers for dangerous files, outdated server software, and default configuration problems?

A. John the Ripper
B. Kismet
C. Nikto
D. Wireshark

11 An attacker changes the source port of their packets to 53. What evasion technique is this, and why might it work?

A. Source Port Manipulation; firewalls may trust traffic from DNS ports.
B. Timing attack; it speeds up the scan.
C. Decoy scanning; it hides the IP address.
D. Fragmentation; it splits the header.

12 In a vulnerability assessment, what does deduplication refer to?

A. Copying the report to multiple servers.
B. Removing critical vulnerabilities from the report.
C. Consolidating multiple reports of the same vulnerability on the same host into a single finding.
D. Running the scan twice to ensure accuracy.

13 What is the purpose of Packet Fragmentation (-f) in Nmap during a scan?

A. To verify the MTU size of the network.
B. To corrupt the target file system.
C. To increase scanning speed.
D. To split TCP headers into smaller fragments to bypass packet filters/firewalls.

14 Which of the following is considered a Logical Vulnerability?

A. Buffer Overflow in the search parameter.
B. Missing X-Frame-Options header.
C. Using an outdated version of Apache.
D. Insecure Direct Object Reference (IDOR) allowing access to another user's bill.

15 Which Windows command is used to manipulate or clear event logs?

A. netstat
B. wevtutil
C. chmod
D. rm -rf

16 What is the difference between a Vulnerability Scan and a Penetration Test?

A. A scan is more expensive than a pentest.
B. A scan is manual; a pentest is automated.
C. A scan is automated and identifies potential issues; a pentest involves manual exploitation to verify risks.
D. They are exactly the same.

17 Which specific Nmap script engine (NSE) category is safe to run on a production network without likely causing a crash?

A. exploit
B. dos
C. vuln
D. safe

18 When interpreting vulnerability data, which metric defines the complexity required to exploit the vulnerability?

A. Privileges Required (PR)
B. Attack Complexity (AC)
C. Attack Vector (AV)
D. User Interaction (UI)

19 Which scan type is most likely to cause a Denial of Service (DoS) on unstable legacy equipment?

A. Intrusive / Aggressive scan
B. Host discovery
C. Discovery scan
D. Passive sniffing

20 In the context of covering tracks, what is Time Stomping?

A. Running a scan at 3:00 AM.
B. Modifying the timestamp (access, modify, create) of a file to hide when it was used.
C. Slowing down the CPU.
D. Deleting the time server.

21 Which tool is essentially a suite of tools centered around a web proxy, used for manual web application security testing?

A. Burp Suite
B. Nmap
C. Nessus
D. Snort

22 What is a False Negative in scanning results?

A. The scanner fails to identify a vulnerability that actually exists.
B. The scanner reports a vulnerability that exists.
C. The scanner cannot connect to the host.
D. The scanner reports a vulnerability that does not exist.

23 Which scanning technique determines the operating system of the target by analyzing the TCP/IP stack implementation responses?

A. OS Fingerprinting
B. Banner Grabbing
C. Port Sweeping
D. Zone Transfer

24 To perform an 'Idle Scan' (zombie scan) using Nmap to stay completely invisible, which flag is used?

A. -sN
B. -sA
C. -sI
D. -sZ

25 When analyzing results, a vulnerability with a high CVSS score but no known exploit code is generally prioritized:

A. Lower than a medium score vulnerability with an active exploit being used in the wild.
B. As 'Informational' only.
C. As a False Positive.
D. Higher than a low score vulnerability with an active exploit.

26 Which of the following is a method to cover tracks on a web server?

A. Modifying the User-Agent string to look like a standard browser.
B. Sending SQL injection queries.
C. Using nmap -T4.
D. Running ipconfig.

27 Which mathematical equation represents the number of possible ports in a TCP/IP connection?

A.
B.
C.
D.

28 What is the primary function of the Common Vulnerabilities and Exposures (CVE) list?

A. To provide a scoring system for severity.
B. To provide a dictionary of common names for publicly known cybersecurity vulnerabilities.
C. To list all IP addresses of hackers.
D. To sell antivirus software.

29 A scanner detects that http://target.com/admin returns a 200 OK status code without requiring a password. This is an example of:

A. Broken Access Control / Authentication Bypass
B. Buffer Overflow
C. Cross-Site Scripting (XSS)
D. SQL Injection

30 Which Nmap scan type is characterized by sending packets with no flags set (Null scan)?

A. -sP
B. -sF
C. -sX
D. -sN

31 Which tool is commonly used for automated SQL injection and database takeover during a vulnerability scan?

A. Wireshark
B. Hydra
C. SQLMap
D. Aircrack-ng

32 In the context of evasion, what is Steganography?

A. Using a VPN.
B. Spoofing MAC addresses.
C. Hiding data (or malicious code) within another file, such as an image or audio file.
D. Encrypting the hard drive.

33 Which component of the CVSS score is NOT constant and changes over time?

A. Base Score
B. Impact Subscore
C. Temporal Score
D. Vector String

34 What is the specific risk of running a UDP Scan (-sU) compared to a TCP scan?

A. It cannot detect open ports.
B. It is always faster.
C. It is incredibly slow because open ports often don't respond and closed ports send ICMP errors which are rate-limited.
D. It requires authentication.

35 A vulnerability report shows 'Apache 2.4.49' is running. This information was likely gathered via:

A. Heuristic Analysis
B. Service Banner Grabbing
C. Source Code Review
D. Social Engineering

36 Which of the following is a technique to evade Network Access Control (NAC) by impersonating a printer or VoIP phone?

A. MAC Spoofing
B. Null Scan
C. IP Fragmentation
D. Cross-Site Scripting

37 What is the purpose of a Proxy Chain in the context of scanning and evasion?

A. To chain multiple exploits together.
B. To speed up the connection.
C. To decrypt SSL traffic.
D. To route traffic through multiple intermediate servers to hide the attacker's true IP.

38 Which logical vulnerability occurs when an application checks for a condition (like balance > 0) but the state changes before the action is completed?

A. XSS
B. Race Condition
C. SQL Injection
D. Path Traversal

39 In a vulnerability scan report, 'Severity' is usually a combination of:

A. TCP and UDP
B. Source and Destination
C. Cost and Time
D. Impact and Likelihood

40 Which type of scan focuses solely on identifying live hosts on a network range without checking for open ports?

A. Port Scan
B. Compliance Scan
C. Vulnerability Scan
D. Ping Sweep / Discovery Scan

41 What is the function of the command rm ~/.bash_history?

A. It updates the system.
B. It removes the bash shell.
C. It deletes the user's command history file to hide executed commands.
D. It deletes the Linux kernel.

42 Which tool would be best suited for analyzing the results of a vulnerability scan and prioritizing remediation based on asset value?

A. Nmap
B. A Vulnerability Management Platform (e.g., Tenable.sc)
C. Netcat
D. Metasploit

43 If an attacker wants to scan a target behind a firewall that drops all incoming SYN packets, which scan might succeed by sending ACK packets to map firewall rules?

A. TCP ACK Scan (-sA)
B. TCP Connect Scan
C. Stealth Scan
D. Version Scan

44 What is a compliance scan?

A. A scan that checks for malware.
B. A scan that checks if the system meets specific configuration standards (like PCI-DSS or CIS Benchmarks).
C. A scan run by the government.
D. A scan that is legally required every day.

45 Which vulnerability arises from trusting user input without validation, allowing script execution in the victim's browser?

A. Man-in-the-Middle
B. Buffer Overflow
C. Cross-Site Scripting (XSS)
D. SQL Injection

46 When covering tracks, why might an attacker use a Rootkit?

A. To scan the network faster.
B. To encrypt the data for ransom.
C. To crack passwords faster.
D. To maintain persistent, privileged access while hiding processes and files from the OS.

47 Which of the following describes Parameter Manipulation?

A. Scanning for open ports.
B. Guessing passwords.
C. Changing the URL query string values (e.g., price=100 to price=1) to exploit logic.
D. Flooding the network with packets.

48 In Nmap, what does the flag -p- denote?

A. Scan all 65,535 ports.
B. Scan ports 1-1024.
C. Scan only popular ports.
D. Scan no ports (Ping only).

49 Which tool is primarily a framework for developing and executing exploit code against a remote target machine?

A. Wireshark
B. John the Ripper
C. Nessus
D. Metasploit Framework

50 During scanning, what is the 'Christmas Tree' scan (-sX)?

A. A scan that uses red and green packets.
B. A scan sent only on holidays.
C. A scan with the FIN, URG, and PSH flags set to 'on'.
D. A scan that logs all data.