Threats, Vulnerabilities, and Mitigations

490 questions

Question 241Question

Match each enterprise endpoint hardening practice to the primary security threat or vulnerability vector it mitigates.

Click a left item, then click its matching right item

Items

Application Allowlisting
OS Patch Management
Disabling Unnecessary Services
Host-Based Firewall Configuration

Matches

Show answer & explanation

Answer

Application Allowlisting matches with execution prevention of unauthorized software; OS Patch Management matches with remediation of known software flaws; Disabling Unnecessary Services matches with reducing attack surface from unused background processes; Host-Based Firewall Configuration matches with filtering unauthorized network traffic at the endpoint.
Application allowlisting prevents unauthorized software execution; patch management remediates known software vulnerabilities; disabling unnecessary services reduces the system attack surface; and host-based firewalls restrict local network traffic.

Step-by-Step Solution

1
Identify the primary protective function of Application Allowlisting
It restricts executable environments so only approved applications run, blocking malware and unauthorized software.
Allowlisting operates on binary execution paths and cryptographic hashes.
2
Identify the primary protective function of OS Patch Management
It applies vendor updates to fix known security vulnerabilities in operating system code.
Patching removes known targets exploited by malware and vulnerability kits.
3
Identify the primary protective function of Disabling Unnecessary Services
It reduces the host attack surface by eliminating unnecessary listening daemons and background processes.
Fewer active services mean fewer potential entry points for network attackers.
4
Identify the primary protective function of Host-Based Firewall Configuration
It inspects and controls network traffic entering or leaving the local operating system.
Host firewalls enforce microsegmentation policies directly on local interfaces.

Key Concept

Enterprise Hardening Practices and Security Control Application
Question 242Question

A software developer discovers that a user feedback form concatenates untrusted input directly into a database query string, allowing arbitrary database command execution. Which of the following is the MOST effective coding practice to mitigate this vulnerability?

Show answer & explanation

Answer: Implement parameterized queries using prepared statements

Answer

Implementing parameterized queries using prepared statements is the most effective mitigation control.
Implementing parameterized queries (prepared statements) guarantees that the database engine treats user input strictly as literal data rather than executable SQL instructions. This prevents SQL injection vulnerabilities regardless of the characters supplied in the web form.

Step-by-Step Solution

1
Analyze the reported software vulnerability in the scenario
Concatenating untrusted user input directly into database queries creates a SQL injection vulnerability.
Identifying the root cause allows selection of the appropriate application-level security control.
2
Evaluate secure coding controls designed to neutralize query syntax manipulation
Prepared statements (parameterized queries) ensure input is handled purely as data rather than executable SQL code.
Pre-compiling the SQL query ensures user input cannot alter the intended database command structure.

Key Concept

SQL Injection Remediation via Parameterized Queries
Question 243Question

Match each network or wireless security threat on the left with its corresponding technical indicator or observed evidence on the right.

Click a left item, then click its matching right item

Items

Bluesnarfing
Wireless Disassociation Attack
DNS Poisoning
Rogue Access Point

Matches

Show answer & explanation

Answer

Bluesnarfing matches unauthorized exfiltration of contact lists and messages via Bluetooth. Wireless Disassociation Attack matches transmission of spoofed 802.11 management frames forcing clients offline. DNS Poisoning matches corrupted domain name resolution cache entries redirecting web traffic. Rogue Access Point matches an unauthorized physical wireless router connected directly to an internal network port.
Each attack type matches its distinct indicator: Bluesnarfing steals data via Bluetooth; Wireless Disassociation sends spoofed 802.11 management frames to disconnect clients; DNS Poisoning tampers with DNS cache records to misdirect web requests; and a Rogue Access Point is an unapproved physical wireless device connected to an internal network switch port.

Step-by-Step Solution

1
Identify the primary mechanism of Bluesnarfing.
Recognize that Bluesnarfing exploits Bluetooth vulnerabilities to steal private data such as contacts or calendar items.
Bluesnarfing is defined by unauthorized data theft over Bluetooth.
2
Analyze the Wireless Disassociation Attack mechanisms.
Connect this attack to 802.11 wireless management frames that command clients to disassociate from their access point.
Attackers send spoofed deauthentication frames to disrupt connectivity.
3
Examine DNS Poisoning indicators.
Link DNS poisoning to corrupted resolution records residing in DNS caches redirecting domain names to malicious destinations.
DNS poisoning tampers with domain-to-IP mappings.
4
Identify the characteristic of a Rogue Access Point.
Match it with an unauthorized physical wireless access point connected to an internal network port.
Rogue APs bypass perimeter controls by plugging directly into internal switch ports.

Key Concept

Network and Wireless Attack Indicators
Question 244Question

A security analyst is reviewing a vulnerability scan report for a company web application. The report indicates that an attacker can access arbitrary files on the server's file system by inserting relative path sequences (such as `../../etc/passwd`) into a file request parameter. Which of the following application vulnerabilities is described in this scenario?

Show answer & explanation

Answer: Directory traversal

Answer

Directory traversal
The correct answer is directory traversal because the inclusion of dot-dot-slash (`../`) sequences in input fields specifically aims to bypass access controls and navigate out of the web server root directory to read arbitrary files from the operating system.

Step-by-Step Solution

1
Analyze the attack payload described in the scenario
The input uses directory navigation symbols (`../../`) to traverse system directories
Sequences like `../` move up one level in the file system directory structure
2
Map the vulnerability mechanism to standard security taxonomy
The flaw allows accessing files outside the web root directory (path traversal)
Insufficient input validation combined with unsafe file path construction results in directory traversal

Key Concept

Directory Traversal / Path Traversal Vulnerability
Estimated Time:45s
Question 245Question

A security analyst is auditing an e-commerce platform's microservice that processes promotional discount codes. During testing, the analyst discovers that when a user sends multiple concurrent asynchronous API requests utilizing the same single-use discount voucher, the application processes several of the requests simultaneously before updating the voucher's status flag to used in the persistent database. Which of the following application vulnerabilities is present, and what is the most effective code-level mitigation strategy?

Show answer & explanation

Answer: Race condition (Time-of-Check to Time-of-Use); implement atomic database transactions with thread synchronization or row-level locking.

Answer

Race condition (Time-of-Check to Time-of-Use); implement atomic database transactions with thread synchronization or row-level locking.
The scenario describes a classic Time-of-Check to Time-of-Use (TOCTOU) race condition where concurrent requests exploit the time delta between verifying a voucher's validity and recording its usage. The proper solution is to enforce atomicity through thread synchronization, row-level database locking, or isolation levels that ensure only one thread can verify and modify the record at a time.

Step-by-Step Solution

1
Analyze the operational behavior described in the scenario.
Identified that multiple concurrent threads check state independently before any single thread commits a state change, creating an exploit window.
This behavior is characteristic of a Time-of-Check to Time-of-Use (TOCTOU) race condition flaw.
2
Evaluate the underlying root cause of the vulnerability.
The voucher verification logic lacks atomicity and concurrency controls.
Without locking mechanisms, parallel requests read stale state data before the write operation completes.
3
Determine the appropriate remediation control.
Select atomic database operations, thread synchronization, or mutex locks to ensure exclusive processing.
Code-level locking ensures that checking and updating the voucher status occurs as an indivisible, single operation.

Key Concept

Race Conditions and TOCTOU Vulnerabilities
Estimated Time:2m 0s
Question 246Question

A security analyst is investigating a newly reported software vulnerability and needs to review its official description, standardized Common Vulnerability Scoring System (CVSS) metrics, and vendor patch links. Which threat intelligence source is specifically designed to provide this centralized repository of public vulnerability data?

Show answer & explanation

Answer: National Vulnerability Database (NVD)

Answer

National Vulnerability Database (NVD)
The National Vulnerability Database (NVD) is a public repository maintained by NIST that integrates with the CVE dictionary to offer standardized vulnerability details, CVSS severity scores, and remediation links.

Step-by-Step Solution

1
Identify the required data types described in the scenario.
The analyst requires standardized vulnerability descriptions, CVSS scores, and official patch references.
These attributes are characteristic of standardized public vulnerability databases.
2
Evaluate the primary role of open-source vulnerability repositories.
The National Vulnerability Database (NVD) aggregates CVE records and provides structured vulnerability scoring and technical analysis.
NVD is freely accessible and specifically designed for standardized vulnerability research.

Key Concept

Public Vulnerability Databases (NVD/CVE)
Question 247Question

A security operations manager at an electric vehicle charging station network provider is categorizing recent security incidents and threat activity profiles. Match each observed incident scenario on the left with the threat actor attribute or vector on the right that primarily defines it.

Click a left item, then click its matching right item

Items

A disciplined group uses undisclosed zero-day vulnerabilities in charging management firmware to maintain persistent access across power grid gateways over years without exfiltrating funds.
A recently terminated database administrator uses active privileged administrative credentials to wipe system configuration databases.
An activist group executes distributed denial-of-service (DDoS) attacks against public payment portals to protest energy pricing policies.
An external party embeds malicious telemetry code into a widely used third-party open-source software library integrated into the mobile mobile charging app.

Matches

Show answer & explanation

Answer

Each security scenario correctly maps to its defining threat actor profile or vector based on motivation, sophistication, access method, and attack channel.
Threat actors and vectors are categorized by examining their motivation, level of sophistication, funding, intent, and entry mechanism. Persistent zero-day attacks without financial motives correspond to nation-state actors; post-termination credential abuse corresponds to insider threats; public policy protests via DDoS correspond to hacktivists; and open-source dependency tampering corresponds to supply chain attack vectors.

Step-by-Step Solution

1
Analyze the long-term zero-day firmware intrusion scenario.
Identify as a nation-state threat actor.
Nation-state actors possess significant resources required to develop zero-day exploits and maintain long-term covert persistence for geopolitical espionage.
2
Analyze the unauthorized data wiping by a terminated administrator.
Identify as an insider threat.
Insider threats involve individuals with authorized access or specialized knowledge of internal systems who misuse privileges due to personal grievance.
3
Analyze the payment portal denial-of-service attack associated with public policy protests.
Identify as a hacktivist group.
Hacktivists focus on disruption and publicity to bring attention to political, social, or environmental causes.
4
Analyze the malicious telemetry code embedded in an open-source library.
Identify as a supply chain attack vector.
Supply chain attack vectors target third-party components, libraries, or vendors to compromise downstream software applications implicitly trusting those sources.

Key Concept

Threat Actor Attributes, Motivations, and Attack Vectors
Question 248Question

During a security assessment of a web portal's user profile microservice, a security analyst reviews the API request handling logic. The microservice accepts a JSON payload for profile updates and automatically maps all incoming key-value pairs directly to the backend database user model without filtering. Furthermore, when users supply a web URL to import a profile avatar, the server issues an HTTP request to retrieve the image using service privileges without validating the target destination host or IP address. Which of the following application vulnerabilities are present in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Server-Side Request Forgery (SSRF); Mass Assignment

Answer

The correct vulnerabilities are Server-Side Request Forgery (SSRF) and Mass Assignment.
The scenario demonstrates two specific software flaws: issuing server-side HTTP requests to client-provided URLs without destination validation is Server-Side Request Forgery (SSRF), and automatically mapping untrusted JSON input fields directly into the backend database object is Mass Assignment.

Step-by-Step Solution

1
Analyze the remote avatar fetching behavior
The application issues outbound HTTP requests based on user-supplied URLs without restricting target IP addresses or domain names.
Allowing an untrusted client input to trigger backend network requests to arbitrary destinations defines Server-Side Request Forgery (SSRF).
2
Analyze the profile payload processing behavior
The application automatically binds all client-provided JSON key-value pairs directly to the backend database object.
Unfiltered binding of client HTTP request parameters to internal object properties defines Mass Assignment.

Key Concept

Identifying Software and API Vulnerabilities (SSRF and Mass Assignment)
Question 249Question

A security analyst is evaluating different testing procedures to incorporate into an organization's vulnerability management policy. Match each security testing method on the left with its corresponding operational characteristic on the right.

Click a left item, then click its matching right item

Items

Credentialed Host Scan
Passive Network Monitoring
Interactive Application Security Testing (IAST)
Wardriving Assessment

Matches

Show answer & explanation

Answer

Credentialed Host Scan matches with leveraging administrative privileges to audit local host configurations; Passive Network Monitoring matches with analyzing packet headers silently without active probing; Interactive Application Security Testing (IAST) matches with deploying runtime agents inside the application engine; Wardriving Assessment matches with using wireless detection equipment around facility perimeters to locate rogue access points.
Each testing method is paired with its specific operational mechanism: credentialed scans use elevated login access for local auditing; passive monitoring relies on packet sniffing without traffic generation; IAST uses embedded agents during execution; and wardriving surveys physical boundaries for wireless emissions and unauthorized access points.

Step-by-Step Solution

1
Analyze Credentialed Host Scan operational requirements
Identify that credentialed scanning requires authentication to target hosts to examine internal configurations and missing hotfixes.
Administrative credentials allow direct querying of local operating system settings and installed updates.
2
Evaluate Passive Network Monitoring characteristics
Match with silent packet header analysis without sending network probes.
Passive monitoring observes existing network traffic on a span/mirror port rather than generating active probe traffic.
3
Examine Interactive Application Security Testing (IAST) architecture
Connect IAST to agent-based runtime application code inspection during execution.
IAST combines aspects of SAST and DAST by placing sensors inside the runtime engine while tests execute.
4
Identify Wardriving Assessment physical and RF footprint parameters
Associate wardriving with perimeter wireless signal detection and rogue access point mapping.
Wardriving specifically tests wireless perimeter security by detecting RF leakage and unauthorized access points.

Key Concept

Vulnerability Assessment and Security Testing Methods
Estimated Time:1m 30s
Question 250Question

Match each host and infrastructure vulnerability scenario to the underlying security weakness or misconfiguration it represents.

Click a left item, then click its matching right item

Items

An internal management host transmitting network monitoring telemetry using SNMPv1 across local subnets.
A third-party background service executable located in a directory with full write permissions assigned to non-administrative users.
An internal database server bound to a public interface without perimeter firewall rules or VLAN isolation.
A legacy host operating system past end-of-life running unpatched network daemons with known exploit modules.

Matches

Show answer & explanation

Answer

The scenarios match their respective security weaknesses as follows: SNMPv1 traffic matches cleartext protocol exposure; weak file permissions on executable directories match local privilege escalation risk; unsegmented database service exposure matches improper network segmentation; and unpatched end-of-life operating systems match unsupported legacy software vulnerability risk.
Each scenario maps directly to its specific vulnerability classification. SNMPv1 does not support encryption, exposing management strings in cleartext. Allowing standard users write access to service binary paths enables local file modification and privilege escalation. Exposing internal database ports directly without firewall or VLAN boundaries represents a breakdown in network segmentation. Continuing to host end-of-life operating systems exposes environments to known unpatched vulnerabilities.

Step-by-Step Solution

1
Analyze each scenario to isolate the core vulnerability mechanism.
Scenario 1 involves plain-text transmission; Scenario 2 involves excessive local file modification rights; Scenario 3 involves lack of network zone controls; Scenario 4 involves unpatched legacy systems.
Proper classification requires pinpointing the root cause vulnerability at the protocol, operating system, or network architecture layer.
2
Pair each scenario with its corresponding architectural or configuration flaw description.
SNMPv1 pairs with cleartext protocol exposure; writeable executable path pairs with privilege escalation; direct external database access pairs with improper network segmentation; end-of-life OS pairs with unsupported legacy software risk.
This establishes clear alignment between technical indicators and vulnerability management classifications.

Key Concept

Host, Network, and Architecture Vulnerabilities
Question 251Question

An enterprise infrastructure security team is implementing system hardening practices to remediate recent penetration test findings. Match each specific technical hardening control to the primary vulnerability mechanism or attack vector it directly suppresses.

Click a left item, then click its matching right item

Items

Implementation of Privileged Access Management (PAM) with ephemeral Just-In-Time (JIT) credentials
Enforcement of Windows Defender Application Control (WDAC) using strict publisher rules
Mandating SMB Signing and disabling legacy LLMNR/NBT-NS protocols
Enabling kernel-level Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP)

Matches

Show answer & explanation

Answer

1. Privileged Access Management with JIT credentials matches persistent abuse of static administrative accounts.
2. Windows Defender Application Control matches execution of untrusted binary payloads and scripts.
3. Mandating SMB Signing and disabling legacy protocols matches adversary-in-the-middle NTLM relay attacks.
4. Enabling ASLR and DEP matches in-memory buffer overflow exploitation.
Each hardening strategy directly targets the underlying architectural vulnerability: PAM with JIT controls privileged account lifecycle; application allowlisting (WDAC) enforces software execution integrity; SMB signing and disabling LLMNR eliminate local MitM relay vectors; and ASLR/DEP defend memory space against execution of buffer overflow exploits.

Step-by-Step Solution

1
Analyze the scope of Privileged Access Management (PAM) with ephemeral credentials.
Identify that JIT credentials directly eliminate standing administrative privileges and static credentials.
Temporary access limits exposure windows for compromised credentials.
2
Evaluate application allowlisting mechanisms such as WDAC.
Determine that strict publisher rules block unauthorized binary execution and rogue DLLs.
Only signed binaries from trusted software vendors are permitted to launch.
3
Assess protocol-level hardening including SMB signing and disabling LLMNR/NBT-NS.
Connect these network configuration changes to mitigating local name resolution spoofing and NTLM relaying.
Disabling unauthenticated broadcast protocols eliminates the MitM vector, and SMB signing ensures packet integrity.
4
Examine memory protection controls like ASLR and DEP.
Link memory location randomization and non-executable memory flags to neutralizing buffer overflow exploits.
DEP stops payload execution in data pages, and ASLR makes memory addresses unpredictable for exploit payloads.

Key Concept

Enterprise System Hardening and Attack Surface Reduction Controls
Question 252Question

During a routine wireless site survey, a technician discovers a rogue wireless access point broadcasting the exact same Service Set Identifier (SSID) as the corporate network, but transmitting with a different basic service set identifier (BSSID) and higher signal strength to intercept client authentication traffic. Which of the following attack types is indicated by these symptoms?

Show answer & explanation

Answer: Evil Twin

Answer

An Evil Twin attack is indicated when an unauthorized rogue access point broadcasts the legitimate corporate network's SSID with stronger signal strength to lure clients.
An Evil Twin is a rogue access point that masquerades as a legitimate Wi-Fi access point by duplicating its SSID. Devices configured to connect automatically to the corporate SSID will connect to the rogue access point if its signal is stronger.

Step-by-Step Solution

1
Analyze the observed indicators
The indicator shows a rogue wireless access point broadcasting a matching SSID with a different BSSID and higher signal strength.
Attacker rogue APs impersonate legitimate networks by copying the network name (SSID) to capture user credentials or conduct on-path attacks.
2
Match the indicators to the corresponding attack pattern
Impersonation of a wireless network SSID using a rogue access point is defined as an Evil Twin attack.
Clients configured to auto-connect to known SSIDs will connect to the stronger rogue signal.

Key Concept

Evil Twin attack identification and indicators
Estimated Time:45s
Question 253Question

A security operations analyst is categorizing threat intelligence sources to build a tiered threat data pipeline. Match each threat intelligence source classification on the left with its primary operational characteristic on the right.

Click a left item, then click its matching right item

Items

Open-Source Intelligence (OSINT)
Information Sharing and Analysis Center (ISAC)
Commercial / Proprietary Threat Intelligence
Vulnerability Databases (e.g., NVD / CVE)

Matches

Show answer & explanation

Answer

Open-Source Intelligence (OSINT) matches unclassified, publicly accessible web data. Information Sharing and Analysis Center (ISAC) matches trusted sector-specific peer indicator sharing. Commercial / Proprietary Threat Intelligence matches fee-based subscriptions for dark web and actor profiling. Vulnerability Databases match standardized public repositories providing CVSS scores and CVE flaw metrics.
Each threat intelligence source corresponds directly to its operational delivery model: Open-Source Intelligence relies on publicly available data without cost; ISACs provide sector-restricted peer collaboration; Commercial/Proprietary feeds deliver paid tailored analytics and dark web visibility; and Vulnerability Databases offer standardized flaw listings with CVSS scoring.

Step-by-Step Solution

1
Identify the governance and access constraints of each intelligence source type.
Distinguish between completely open data, sector-restricted peer data, commercial subscription feeds, and vulnerability registries.
Threat intelligence categorization relies on data origin, access licensing, and intended utility.
2
Map OSINT and Vulnerability Databases to their respective public frameworks.
OSINT pairs with freely available online research; vulnerability databases pair with standardized flaw registries like NVD/CVE.
Both are publicly accessible, but OSINT focuses on broad threat data while NVD focuses on software weakness scoring.
3
Differentiate between collaborative sector sharing and vendor-provided commercial intelligence.
ISAC pairs with peer-to-peer industry sharing; commercial intelligence pairs with paid bespoke threat actor and dark web monitoring.
ISACs operate on non-profit sector collaboration, whereas commercial vendors operate on paid subscription models.

Key Concept

Categorization and Characteristics of Threat Intelligence Sources
Question 254Question

During a security review at a healthcare facility, security logs reveal that multiple remote clinical staff members received short message service (SMS) communications claiming to originate from the organization's IT department. The text messages asserted that an urgent system update required recipients to immediately click an enclosed link and re-authenticate to prevent loss of Electronic Health Record (EHR) system access. Which social engineering attack vector was executed, and which technical control provides the most robust protection against credential compromise resulting from this attack?

Show answer & explanation

Answer: Smishing; enforcing phishing-resistant Multi-Factor Authentication (MFA) using FIDO2/WebAuthn hardware keys.

Answer

Smishing; enforcing phishing-resistant Multi-Factor Authentication (MFA) using FIDO2/WebAuthn hardware keys.
The scenario describes social engineering delivered via SMS text messages, which is the definition of smishing. The most effective technical mitigation against credential harvesting resulting from social engineering is phishing-resistant Multi-Factor Authentication (MFA), such as FIDO2/WebAuthn, because it cryptographically binds authentication requests to the official domain name, preventing successful authentication on rogue phishing sites.

Step-by-Step Solution

1
Analyze the attack delivery vector described in the scenario.
The communications were sent via SMS text messaging to mobile devices, which defines smishing (SMS phishing).
Identifying the medium (SMS vs. email vs. voice call vs. compromised website) distinguishes smishing from spear phishing, vishing, or watering hole attacks.
2
Identify the primary psychological and operational risk associated with the payload.
The text message relies on urgency and intimidation to trick users into submitting login credentials to a spoofed web portal.
Understanding the threat vector goal (credential harvesting) dictates selecting a technical mitigation that enforces authentication binding.
3
Evaluate technical mitigation controls for credential compromise.
Phishing-resistant MFA (such as FIDO2/WebAuthn hardware tokens) binds authentication to the specific legitimate origin domain, ensuring credentials and OTP codes cannot be relayed or captured by adversary-controlled phishing sites.
Standard SMS or push-notification MFA can be bypassed by adversary-in-the-middle (AITM) phishing kits, whereas FIDO2 cryptographic origin binding effectively eliminates credential theft.

Key Concept

Smishing Vectors and Phishing-Resistant MFA Controls
Estimated Time:1m 30s
Question 255Question

A junior security analyst is tasked with setting up an automated, machine-readable threat intelligence feed to deliver standardized cyber threat indicators directly into the organization's Security Information and Event Management (SIEM) system over HTTPS. Which of the following standards and transport protocols should the analyst implement to achieve this? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: STIX (Structured Threat Information Expression); TAXII (Trusted Automated Exchange of Intelligence Information)

Answer

STIX (Structured Threat Information Expression) and TAXII (Trusted Automated Exchange of Intelligence Information) should be implemented.
STIX defines the standardized structured language to describe threat data (what is being shared), while TAXII defines the secure transport protocol over HTTPS to automate the exchange of that data between systems (how it is delivered). Together, STIX and TAXII enable automated threat intelligence ingestion into SIEM platforms.

Step-by-Step Solution

1
Identify the requirement for standardized threat indicator data formatting.
STIX provides a structured format (JSON/XML schema) to represent threat intelligence indicators consistently across systems.
Machine-readable formats ensure SIEMs can parse threat data without manual intervention.
2
Identify the protocol mechanism required for secure automated transport over HTTPS.
TAXII defines the web service specifications and HTTPS-based message exchange protocol specifically designed for sharing CTI.
TAXII handles the secure delivery of STIX-formatted threat intelligence.

Key Concept

Automated Threat Intelligence Ingestion (STIX/TAXII)
Question 256Question

A security specialist is reviewing code and application layer security controls for a public web portal. Which of the following vulnerabilities occur directly due to insufficient input validation and sanitization of user-supplied data? (Select TWO).

Select all that apply

Show answer & explanation

Answer: SQL Injection; Cross-Site Scripting

Answer

The correct options are SQL Injection and Cross-Site Scripting.
SQL Injection and Cross-Site Scripting (XSS) are classic application vulnerabilities caused when input parameters are accepted and processed without adequate sanitization, escaping, or parameterized filtering.

Step-by-Step Solution

1
Analyze input-dependent software vulnerabilities
SQL Injection and Cross-Site Scripting both stem from failure to validate, escape, or parameterize user-supplied inputs.
Web application vulnerabilities at the code level frequently involve untrusted data being passed straight to database engines or web browsers.
2
Differentiate software flaws from policy and hardware virtualization issues
Hypervisor escapes deal with virtualization boundaries, while password complexity rules relate to authentication policies.
Input validation mitigates flaws where untrusted input changes command execution context, which applies specifically to SQLi and XSS.

Key Concept

Application Input Validation Flaws
Question 257Question

A network technician notices that several workstations on a local subnet are experiencing intermittent network connectivity issues. Upon checking the IP configurations of affected client devices, the technician discovers unexpected network settings. Which TWO of the following indicators specifically point to the presence of an active rogue DHCP server on the network?

Select all that apply

Show answer & explanation

Answer: Workstations are receiving IP addresses and default gateway assignments from an unrecognized address pool.; Clients report receiving DNS server address assignments pointing to an external or untrusted IP address during lease renewal.

Answer

The presence of a rogue DHCP server is indicated by workstations receiving IP addresses and gateway settings from an unrecognized address pool, as well as clients receiving untrusted DNS server address assignments during DHCP lease options processing.
A rogue DHCP server operates by listening for client DHCPDISCOVER broadcasts and responding with malicious configuration settings. Key indicators include clients acquiring IP address leases outside the enterprise scope and receiving unauthorized default gateway or DNS server address settings that allow attackers to redirect client traffic.

Step-by-Step Solution

1
Analyze how DHCP clients request network configurations
Clients broadcast DHCPDISCOVER requests and accept DHCPOFFER parameters from the fastest responding server.
Because DHCP broadcast requests are unauthenticated by default, any active server on the broadcast domain can offer lease configurations.
2
Identify anomalous DHCP configuration payloads
Receiving non-standard gateway settings, untrusted DNS server addresses, or IP addresses outside the designated scope indicates unauthorized server responses.
Attacker-controlled rogue DHCP servers alter gateway and DNS fields to execute on-path (man-in-the-middle) attacks.

Key Concept

Rogue DHCP Server Attack Indicators
Question 258Question

During a security architecture audit of a hybrid enterprise environment, analysts discover that system administrators regularly use PowerShell Remoting (WinRM) over TLS to manage internal domain controllers directly from unmanaged endpoints connected via a split-tunnel VPN. If an unmanaged endpoint is compromised, attackers could execute arbitrary administrative commands across the internal infrastructure. Which of the following enterprise hardening strategies MOST effectively mitigates this administrative exposure while preserving required remote management capabilities?

Show answer & explanation

Answer: Enforce Just Enough Administration (JEA) with PowerShell constrained language mode and restrict WinRM access exclusively to dedicated Privileged Access Workstations (PAWs).

Answer

Enforce Just Enough Administration (JEA) with PowerShell constrained language mode and restrict WinRM access exclusively to dedicated Privileged Access Workstations (PAWs).
The correct strategy combines host-level privilege restrictions (Just Enough Administration and PowerShell constrained language mode) with strict endpoint origin boundaries (Privileged Access Workstations). JEA limits user privileges to only the specific cmdlets required for their job function, constrained language mode prevents advanced scripting/COM object exploitation, and PAWs ensure administrative credentials cannot be harvested from unmanaged or compromised personal endpoints.

Step-by-Step Solution

1
Analyze the core threat vector presented in the audit finding.
Unmanaged endpoints accessing high-privilege management protocols (WinRM/PowerShell) across the network create risks of credential theft, arbitrary code execution, and unconstrained administrative privilege abuse.
Hardening practices must address both host capability constraints (what commands can run) and network access constraints (which endpoints can initiate sessions).
2
Evaluate technical mitigation controls for host and session hardening.
Just Enough Administration (JEA) enforces role-based privilege limits, constrained language mode blocks arbitrary API/script invocation, and Privileged Access Workstations (PAWs) eliminate exposure from unmanaged devices.
Combining principle of least privilege at the application layer with dedicated management hardware provides comprehensive defense-in-depth enterprise hardening.
3
Eliminate inappropriate control choices based on architectural misclassifications.
Perimeter VPN reliance leaves internal systems vulnerable once inside, honeypots do not act as inline blocking controls, and policy reclassification provides zero technical risk reduction.
Effective mitigation requires active technical controls tailored to the specific exposure.

Key Concept

Privileged Access Hardening and Administrative Attack Surface Reduction
Question 259Question

An IT security team is establishing baseline endpoint hardening configurations for newly deployed employee workstations. Which TWO of the following technical measures directly reduce the local host attack surface?

Select all that apply

Show answer & explanation

Answer: Disabling unnecessary operating system services and unneeded network protocols; Removing default user accounts and enforcing least privilege for local administrator permissions

Answer

The correct measures are disabling unnecessary operating system services/protocols and removing default accounts while enforcing least privilege on local administrator permissions.
Host hardening involves applying configurations that decrease systemic vulnerability on individual endpoints. Disabling unnecessary default services and network protocols removes unused software pathways that attackers could exploit. Concurrently, removing default accounts and restricting local administrative privileges ensures that even if a user or system is compromised, execution rights are heavily constrained.

Step-by-Step Solution

1
Identify the primary objective
The requirement asks for technical controls that directly reduce the attack surface of a local endpoint host.
Host hardening focuses on minimizing vulnerabilities directly on the system operating environment.
2
Evaluate local host hardening techniques
Disabling unused services/protocols removes active entry paths, and enforcing least privilege/removing default accounts limits system exploitation capabilities.
These controls directly restrict local software exposure and administrative privileges.
3
Eliminate misclassified or external boundary controls
Honeypots serve network deception/detection purposes, and perimeter firewalls cannot manage local internal process execution.
Network-level and deception controls do not alter or harden the internal system configuration of the endpoint itself.

Key Concept

Host Hardening and Attack Surface Reduction
Question 260Question

A security analyst at a specialized aerospace firmware developer is investigating a high-profile intrusion into the company's build systems. The threat group gained initial access using a custom zero-day exploit targeting a perimeter firewall, maintained silent persistence for eight months without disrupting service operations, and exfiltrated proprietary satellite navigation algorithms. Investigation reveals the group utilized custom memory-only payloads and a multi-hop proxy network spans multiple foreign jurisdictions. Which of the following threat actor categories and attribute profiles best characterizes this threat entity?

Show answer & explanation

Answer: Nation-state / Advanced Persistent Threat (APT) characterized by high technical sophistication, extensive financial backing, and long-term strategic espionage intent.

Answer

Nation-state / Advanced Persistent Threat (APT) characterized by high technical sophistication, extensive financial backing, and long-term strategic espionage intent.
The correct option correctly pairs Nation-state / APT actors with high sophistication, state-level funding, and strategic espionage goals. The deployment of custom zero-day exploits, multi-jurisdictional proxy networks, and sustained multi-month covert persistence without ransomware execution are classic hallmarks of nation-state threat activity.

Step-by-Step Solution

1
Analyze threat actor attributes from the scenario indicators.
Identified custom zero-day exploits, 8-month covert persistence, memory-only payloads, and international proxy infrastructure.
These indicators signify extreme technical sophistication and significant financial and operational backing.
2
Evaluate threat actor intent and motivation.
Targeted stealthy exfiltration of proprietary satellite algorithms without operational disruption.
Demonstrates long-term strategic espionage rather than immediate financial extortion, disruption, or publicity seeking.
3
Correlate attributes and intent with threat actor classifications.
The profile matches Nation-state / APT actors.
Only APT/nation-state entities consistently exhibit the combination of custom zero-days, long-term covert presence, high funding, and strategic IP theft capabilities.

Key Concept

Threat Actor Attributes, Motivations, and Capabilities (APT vs Hacktivist vs Crime Syndicate vs Insider)
PreviousPage 13 / 25Next
Threats, Vulnerabilities, and Mitigations Practice Questions — CompTIA Security+ — Page 13 | Examkin