Chap 4 - Vulnerability Scanning Flashcards
SQLMap
SQLmap is an open-source penetration testing tool designed to automate the detection and exploitation of SQL injection vulnerabilities in web applications.
SQLmap is used to identify and exploit SQL injection flaws, which involve injecting malicious SQL commands into a web application to gain unauthorized access to, or manipulate, sensitive database information
OpenVAS
OpenVAS, or Open Vulnerability Assessment System, is an open-source vulnerability scanning and management tool designed to help organizations identify and manage security weaknesses in their systems and networks
Gary is conducting a black‐box penetration test against an organization and is being provided with the results of vulnerability scans that the organization already ran for use in his tests. Which one of the following scans is most likely to provide him with helpful information within the bounds of his test?
- Stealth internal scan
- Full internal scan
- Stealth external scan
- Full external scan
Full external scan
A full scan is likely to provide more useful and actionable results because it includes more tests. There is no requirement in the scenario that Gary avoid detection, so a stealth scan is not necessary. However, this is a black‐box test, so it would not be appropriate for Gary to have access to scans conducted on the internal network.
What tool can white‐box penetration testers use to help identify the systems present on a network prior to conducting vulnerability scans?
- Asset inventory
- Web application assessment
- Router
- DLP
Asset inventory
An asset inventory supplements automated tools with other information to detect systems present on a network. The asset inventory provides critical information for vulnerability scans. It is appropriate to share this information with penetration testers during a white‐box penetration test.
Tonya is configuring vulnerability scans for a system that is subject to the PCI DSS compliance standard. What is the minimum frequency with which she must conduct scans?
- Daily
- Weekly
- Monthly
- Quarterly
Quarterly
PCI DSS requires that organizations conduct vulnerability scans on at least a quarterly basis, although many organizations choose to conduct scans on a much more frequent basis.
Which one of the following is not an example of a vulnerability scanning tool?
- Qualys
- Snort
- Nessus
- OpenVAS
Snort
QualysGuard, Nessus, and OpenVAS are all examples of vulnerability scanning tools. Snort is an intrusion detection system.
Snort
Snort is an open-source network intrusion detection and prevention system (IDS/IPS) that plays a crucial role in enhancing network security by monitoring, analyzing, and responding to network traffic. Here are the key aspects of Snort:
Snort can be configured to operate in three primary modes:
* Sniffer Mode: Snort reads and displays network packets on the console, similar to tools like TCPdump or Wireshark
* Packet Logger Mode: It logs network packets to a disk file, which is useful for network traffic debugging and analysis
* Network Intrusion Detection and Prevention System (NIDS/NIPS) Mode: This is the most critical mode, where Snort monitors network traffic, compares it against a user-defined rule set, and takes action when suspicious activity is detected
Snort uses several detection techniques:
* Signature-Based Detection: It compares network packets against a database of preconfigured signatures linked to known threats. These signatures include information about IP addresses, ports, protocols, and content patterns
* Anomaly-Based Detection: Snort identifies unusual network traffic patterns that deviate from normal, expected traffic
* Protocol-Based Inspection: It analyzes network protocols to detect deviations from standard protocol behavior
Qualys
Qualys is a comprehensive, cloud-based cybersecurity and vulnerability management platform designed to help organizations identify, prioritize, and remediate security vulnerabilities across their IT infrastructure.
Features/Use Cases:
* Vulnerability Management
* Asset Inventory
* Patch Management
* Compliance Monitoring
* Web Application Scanning
* Network Security
* Container Security
* Cloud Security Posture Management (CSPM)
* File Integrity Monitoring (FIM) and SIEM Integration
* Continuous Monitoring
Which one of the following technologies, when used within an organization, is the least likely to interfere with vulnerability scanning results achieved by external penetration testers?
- Encryption
- Firewall
- Containerization
- Intrusion prevention system
Encryption
Encryption technology is unlikely to have any effect on the results of vulnerability scans because it does not change the services exposed by a system. Firewalls and intrusion prevention systems may block inbound scanning traffic before it reaches target systems. Containerized and virtualized environments may prevent external scanners from seeing services exposed within the containerized or virtualized environment.
Renee is configuring her vulnerability management solution to perform credentialed scans of servers on her network. What type of account should she provide to the scanner?
- Domain administrator
- Local administrator
- Root
- Read‐only
Read‐only
Credentialed scans only require read‐only access to target servers. Renee should follow the principle of least privilege and limit the access available to the scanner
Jason is writing a report about a potential security vulnerability in a software product and wishes to use standardized product names to ensure that other security analysts understand the report. Which SCAP component can Jason turn to for assistance?
- CVSS
- CVE
- CPE
- OVAL
CPE
Common Product Enumeration (CPE) is an SCAP component that provides standardized nomenclature for product names and versions.
CPE
Common Product Enumeration (CPE) is an SCAP component that provides standardized nomenclature for product names and versions.
CVSS
The Common Vulnerability Scoring System (CVSS) is an industry-standard framework used to assess the severity of security vulnerabilities.
It provides a quantitative method to rate vulnerabilities based on factors like exploitability and potential impact, helping cybersecurity professionals prioritize their response actions
OVAL
The Open Vulnerability and Assessment Language (OVAL) is a standardized language used for specifying low-level testing procedures in security checklists. It enables consistent and automated testing to detect vulnerabilities and misconfigurations in systems
Ken is planning to conduct a vulnerability scan of an organization as part of a penetration test. He is conducting a black‐box test. When would it be appropriate to conduct an internal scan of the network?
- During the planning stage of the test
- As soon as the contract is signed
- After receiving permission from an administrator
- After compromising an internal host
After compromising an internal host
Because this is a black‐box scan, Ken should not (and most likely cannot) conduct an internal scan until he first compromises an internal host. Once he gains this foothold on the network, he can use that compromised system as the launching point for internal scans.