Threats, Vulnerabilities, and Mitigations

490 questions

Question 381Question

A security technician is reviewing Wireless Intrusion Prevention System (WIPS) alerts after several wireless industrial sensors lost connectivity simultaneously. The WIPS telemetry reveals a sudden, sustained rise in the physical RF noise floor to 50 dBm-50\text{ dBm} across all channels in the 2.4 GHz2.4\text{ GHz} spectrum, resulting in a severely degraded Signal-to-Noise Ratio (SNR) and a high rate of corrupted frame retransmissions. Which of the following wireless attacks is indicated by these metrics?

Show answer & explanation

Answer: Radio Frequency (RF) jamming

Answer

Radio Frequency (RF) jamming
Radio Frequency (RF) jamming occurs when an attacker transmits continuous high-power signals on target wireless frequencies. This elevates the ambient noise floor, degrades the Signal-to-Noise Ratio (SNR) to unusable levels, and prevents legitimate devices from maintaining connectivity across affected frequency channels.

Step-by-Step Solution

1
Analyze the WIPS log telemetry
Identified a sharp increase in the background RF noise floor (reaching 50 dBm-50\text{ dBm}) affecting all channels in the 2.4 GHz2.4\text{ GHz} spectrum.
Physical layer interference spanning multiple channels indicates signal disruption at the radio frequency layer rather than protocol manipulation.
2
Evaluate the impact on wireless performance metrics
Noted a drastic drop in Signal-to-Noise Ratio (SNR) leading to frame corruption and lost sensor connectivity.
When the noise floor approaches or exceeds signal strength, wireless receivers cannot distinguish legitimate data frames from background noise.
3
Correlate indicators to specific attack signatures
Conclude that intentional high-power RF transmission (jamming) is causing the denial-of-service condition.
RF jamming elevates the physical noise floor uniformly across frequency bands without transmitting valid 802.11 frames.

Key Concept

Identifying Radio Frequency (RF) jamming attack indicators in wireless networks
Question 382Question

A lead security analyst at a financial enterprise is optimizing the organization's security operations center (SOC) workflows. The analyst requires an external threat intelligence source that provides professionally verified, machine-readable technical Indicators of Compromise (IoCs)—such as malicious IP addresses, domain names, and file hashes—updated in real time for direct automated ingestion into their SIEM. Which of the following threat intelligence sources best satisfies these requirements?

Show answer & explanation

Answer: Commercial threat intelligence feed

Answer

Commercial threat intelligence feeds provide professionally curated, structured, and machine-readable indicator streams designed specifically for real-time automated ingestion into enterprise SIEM systems.
Commercial threat intelligence feeds deliver structured, professionally curated, and validated indicators of compromise (IoCs) formatted specifically for direct automated ingestion into enterprise security solutions like SIEMs and firewalls.

Step-by-Step Solution

1
Analyze the operational requirements stated in the scenario
The requirement calls for a source delivering verified, machine-readable Indicators of Compromise (IoCs) structured for direct, real-time SIEM automation.
Evaluating specific criteria such as automation capability, data structure, and technical level isolates the appropriate threat intelligence category.
2
Differentiate between threat intelligence source characteristics
Commercial feeds deliver vetted, structured IoC feeds with SLA-backed accuracy; OSINT blogs are unstructured; NVD focuses on software flaws rather than active attack indicators; and ISAC executive briefings deliver strategic human-focused narrative reports.
Understanding the distinct roles of commercial feeds, vulnerability repositories, public intelligence, and sector sharing bodies is essential for effective security deployment.
3
Determine the optimal threat intelligence source
The commercial threat intelligence feed is the only option that fulfills all criteria for automated real-time technical ingestion and vendor verification.
Commercial providers specialize in low-latency, machine-readable formats (such as STIX/TAXII integrations) designed specifically for security tool automation.

Key Concept

Threat Intelligence Sources and Research
Question 383Question

A security operations team at a commercial enterprise needs to proactively monitor illicit underground marketplaces and non-indexed digital forums for stolen employee credentials and compromised API keys. Which threat intelligence source type best fulfills this requirement?

Show answer & explanation

Answer: Dark web threat intelligence feeds

Answer

Dark web threat intelligence feeds are designed to monitor non-indexed networks and underground marketplaces for leaked organizational assets such as employee credentials.
Dark web threat intelligence specializes in crawling and analyzing darknets, hidden services, and invite-only criminal cyber forums. It allows organizations to proactively identify leaked sensitive data, such as compromised employee logins or secret keys, before attackers leverage them for initial access.

Step-by-Step Solution

1
Analyze the operational requirement in the scenario.
The goal is to monitor non-indexed forums and illicit underground marketplaces specifically for compromised corporate credentials and API keys.
Understanding the specific operational outcome determines which threat intelligence source specialization is required.
2
Evaluate candidate threat intelligence source types.
Dark web threat intelligence specifically gathers intelligence from encrypted, non-indexed networks (e.g., Tor, I2P) and illicit forums where criminal actors trade stolen data.
Standard search engines and vulnerability repositories do not index or cover these illicit underground criminal networks.
3
Confirm why alternative options do not meet the primary requirement.
Vulnerability databases publish software flaws, APT advisories focus on strategic nation-state motivations, and WAF feeds act as preventive filtering mechanisms.
None of these alternatives cover the continuous monitoring of underground criminal marketplaces for compromised organizational assets.

Key Concept

Threat Intelligence Sources and Research
Question 384Question

A security auditor is examining backend service logs following an unauthorized access report on a cloud microservice. The auditor observes two distinct request patterns:

1. `GET /documents/download?path=../../../../etc/shadow` returning HTTP `200 OK` along with system credential hashes.
2. `PUT /api/v1/profile` with payload `{"username": "jdoe", "is_admin": true}` resulting in a regular user successfully assigning themselves administrator rights.

Based on these findings, which of the following software vulnerabilities are present in the application? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Path traversal; Mass assignment

Answer

The application exhibits path traversal (directory traversal) and mass assignment (auto-binding) vulnerabilities.
The first log entry demonstrates path traversal because directory navigation operators (`../`) were executed to retrieve system files outside the web root. The second log entry demonstrates mass assignment because client-controlled JSON key-value pairs were automatically bound to internal object properties (`is_admin`), resulting in unauthorized privilege escalation.

Step-by-Step Solution

1
Analyze the first log indicator `GET /documents/download?path=../../../../etc/shadow`.
Identified path traversal sequence (`../`) allowing absolute directory escape to access sensitive OS files.
Input parameters are used directly in file system file-access APIs without proper path canonicalization or sanitization.
2
Analyze the second log indicator `PUT /api/v1/profile` with payload `{"username": "jdoe", "is_admin": true}`.
Identified mass assignment vulnerability where unmanaged HTTP parameter binding modifies protected object attributes.
Framework auto-binds request keys to internal data models without enforcing strict field allowlists.

Key Concept

Software Vulnerabilities and Logic Flaws (Path Traversal & Mass Assignment)
Question 385Question

A security analyst is hardening administrative workstations used by system engineers to manage enterprise infrastructure. Security monitoring reveals that attackers frequently attempt to execute unauthorized scripts and portable binaries directly from user temporary directories such as `%TEMP%` and `%APPDATA%`. Which mitigation strategy best prevents the execution of these unapproved binaries while maintaining administrative functionality?

Show answer & explanation

Answer: Implement application allowlisting policies that restrict software execution based on file paths, digital signatures, and cryptographic hashes.

Answer

Implementing application allowlisting policies that restrict software execution based on file paths, digital signatures, and cryptographic hashes is the most effective mitigation strategy.
Application allowlisting operates as a host-based preventive control that specifies exactly which scripts, binaries, and libraries are permitted to run based on publisher signatures, hashes, or trusted paths. By enforcing an implicit deny posture for unapproved paths like `%TEMP%` and `%APPDATA%`, it prevents execution of unauthorized software.

Step-by-Step Solution

1
Analyze the threat vector identified in the scenario.
The primary threat is the local execution of unapproved binaries and scripts from writable temporary directories (%TEMP% and %APPDATA%).
Temporary directories are world-writable by default, making them common targets for executing unauthorized or malicious payloads.
2
Evaluate the required security control type.
A preventive host-based control is required to actively block unapproved application execution.
Detective controls (like logging/FIM) or perimeter controls (like NIPS/MFA) do not stop the local binary from running.
3
Identify the host hardening technique that restricts executable permission based on trust boundaries.
Application allowlisting (such as AppLocker or Software Restriction Policies) prevents binaries outside trusted paths or lacking valid vendor signatures from running.
Allowlisting defaults to implicit deny, ensuring only verified software executes regardless of user write permissions in temporary folders.

Key Concept

Application Allowlisting and Enterprise Host Hardening
Question 386Question

During a security audit of a cloud-hosted web application, an analyst reviews HTTP traffic for a feature that imports custom user avatars from external URLs. The logs show an HTTP request to the endpoint `/api/v1/fetch-avatar?url=http://169.254.169.254/latest/meta-data/iam/security-credentials/`. The application returned secret access keys for the underlying cloud server instance to an unauthenticated remote user. Which of the following vulnerabilities was exploited, and what is the primary developer-side remediation?

Show answer & explanation

Answer: Server-Side Request Forgery (SSRF); restrict the application server from making unauthorized outbound network requests to internal resource addresses and validate incoming target URLs against an allowlist.

Answer

Server-Side Request Forgery (SSRF); restrict the application server from making unauthorized outbound network requests to internal resource addresses and validate incoming target URLs against an allowlist.
The scenario describes Server-Side Request Forgery (SSRF). In SSRF attacks, a vulnerable application accepts a user-supplied URL and makes a backend HTTP request to that URL without adequate input validation or network segregation. Because the request originates from the application server itself, it bypasses network boundary protections and accesses internal services—such as the cloud Instance Metadata Service (`169.254.169.254`). Primary mitigations include validating incoming URLs against strict domain/IP allowlists and restricting server egress traffic to block calls to internal IP blocks and metadata addresses.

Step-by-Step Solution

1
Analyze the request payload in the audit logs
The URL parameter points to `169.254.169.254`, which is the non-routable IPv4 link-local address reserved for Cloud Instance Metadata Services (IMDS).
Identifying the target IP address clarifies whether the request targets external public resources or internal cloud infrastructure endpoints.
2
Identify the core application vulnerability
The web application processes user-supplied URLs and issues HTTP requests from the backend server to internal resources without restricting destination domains or IP ranges, characteristic of Server-Side Request Forgery (SSRF).
SSRF occurs when a backend server acts as a proxy for an attacker, sending HTTP requests on their behalf to internal network locations.
3
Determine the effective remediation control
Validate and filter user-supplied input against strict URL allowlists, and enforce network-level network egress rules/firewalls preventing web application servers from communicating with metadata addresses (169.254.169.254) or local loopback interfaces.
Restricting backend outbound routing combined with input URL filtering effectively blocks SSRF vectors.

Key Concept

Server-Side Request Forgery (SSRF) and Cloud Metadata Protection
Question 387Question

Match each observed network or wireless technical indicator on the left to its corresponding attack classification on the right.

Click a left item, then click its matching right item

Items

Network telemetry exhibiting a high volume of TCP SYN frames originating from a single IP targeting sequential destination ports, accompanied by immediate TCP RST/ACK responses.
Capture log exhibiting a flood of unauthenticated 802.11 management frames containing Reason Code 7 sent to client workstations using the MAC address of a legitimate access point.
DHCP server logs demonstrating rapid exhaustion of the available IP scope caused by thousands of distinct MAC addresses generated continuously from a single physical switch port.
Wireless site survey logs revealing an unauthorized access point broadcasting the corporate SSID with a stronger RSSI but configured with mismatched security authentication requirements.

Matches

Show answer & explanation

Answer

Port Scanning matches TCP SYN probes across sequential ports. Deauthentication Attack matches 802.11 management frame floods with reason codes. DHCP Starvation matches rapid IP scope exhaustion via MAC address spoofing. Evil Twin matches unauthorized access points spoofing corporate SSIDs with mismatched security settings.
Each attack type exhibits unique packet and log signatures: Port scanning shows systematic connection probes across port ranges; Deauthentication attacks exploit unauthenticated 802.11 management frames; DHCP starvation exhausts IP scopes using spoofed MACs; Evil Twin attacks mimic legitimate wireless SSIDs.

Step-by-Step Solution

1
Analyze indicator left_1
Sequential TCP SYN requests returning TCP RST/ACK indicate active network probing across closed/open ports.
Recognize reconnaissance patterns in TCP traffic.
2
Analyze indicator left_2
802.11 management frames containing reason codes (e.g., Reason Code 7 for Class 3 frame received from nonassociated STA) sent to wireless clients cause immediate disconnects.
Identify wireless denial-of-service indicators at the MAC layer.
3
Analyze indicator left_3
Rapid exhaustion of DHCP leases from spoofed MAC addresses depletes the IP pool.
Identify layer 2/3 protocol resource depletion attacks.
4
Analyze indicator left_4
A rogue AP imitating a legitimate SSID to harvest credentials or conduct on-path attacks represents an Evil Twin setup.
Distinguish between Rogue AP and Evil Twin based on SSID spoofing.

Key Concept

Network and Wireless Attack Indicators
Question 388Question

Match each threat intelligence source classification on the left with its primary enterprise operational use case on the right.

Click a left item, then click its matching right item

Items

Open-Source Intelligence (OSINT)
Information Sharing and Analysis Center (ISAC)
Proprietary Threat Intelligence Feed
National Vulnerability Database (NVD)

Matches

Show answer & explanation

Answer

Open-Source Intelligence (OSINT) matches with gathering freely available security research from public sources; Information Sharing and Analysis Center (ISAC) matches with sharing sector-specific, confidential threat warnings with industry peers; Proprietary Threat Intelligence Feed matches with ingesting paid, commercial indicator streams from specialized vendors; National Vulnerability Database (NVD) matches with correlating software inventory against standardized CVE identifiers and CVSS risk scores.
Open-Source Intelligence (OSINT) involves analyzing publicly accessible security data without cost. Information Sharing and Analysis Centers (ISACs) provide trusted peer-to-peer threat sharing specifically tailored to industry sectors like finance or healthcare. Proprietary threat feeds offer commercially licensed, high-fidelity threat indicators for specialized SOC ingestion. The National Vulnerability Database (NVD) acts as the primary repository for standardized CVE records and CVSS scoring to drive vulnerability management.

Step-by-Step Solution

1
Analyze the access model and distribution method of each threat intelligence source.
OSINT is publicly accessible; ISAC is peer-shared within an industry sector; Proprietary feeds are commercial/paid; NVD is a public standardized database.
Differentiating sources by cost, access controls, and target usage enables correct alignment with operational workflows.
2
Match each intelligence source to its intended security outcome.
Public research maps to OSINT; sector peer sharing maps to ISAC; paid vendor feeds map to Proprietary Intelligence; vulnerability scoring maps to NVD.
Security operations rely on specific intelligence types for different tasks such as patch management, alert enrichment, or peer warning.

Key Concept

Categorization and Application of Threat Intelligence Sources
Question 389Question

An enterprise security team is defining enterprise hardening requirements for a fleet of Linux-based edge compute gateways deployed at remote industrial facilities. A recent security audit highlighted two critical vulnerabilities: field technicians currently perform local configuration updates using a shared administrative account, and automated firmware updates are downloaded over unencrypted channels without integrity verification. Which TWO of the following mitigation controls should the team implement to directly address these findings?

Select all that apply

Show answer & explanation

Answer: Enforce SSH public key authentication linked to unique identity provider accounts and disable interactive password logins for administrative accounts.; Configure hardware-backed Trusted Platform Module (TPM) chips to cryptographically verify firmware digital signatures prior to installation.

Answer

The team should enforce SSH public key authentication linked to unique identity provider accounts while disabling interactive password logins, and configure hardware-backed Trusted Platform Module (TPM) chips to cryptographically verify firmware digital signatures prior to installation.
The correct controls directly resolve both audit findings. Enforcing individual SSH public keys tied to unique identity accounts eliminates shared credential usage and establishes full accountability. Hardware-backed TPM verification checks the digital signature of firmware binaries before execution, ensuring code authenticity regardless of the transit path.

Step-by-Step Solution

1
Analyze the credential management vulnerability identified in the audit finding.
Shared administrative accounts prevent individual accountability and increase credential exposure risk.
Replacing shared local account passwords with centralized, individual SSH public key authentication enforces least privilege and non-repudiation.
2
Analyze the firmware deployment vulnerability identified in the audit finding.
Unencrypted downloads without validation allow potential tampering or man-in-the-middle software injection.
Cryptographic signature validation anchored in a hardware Trusted Platform Module (TPM) verifies that firmware originates from a trusted vendor and remains unaltered before installation.
3
Evaluate and discard ineffective distractor controls.
Inline NIPS cannot modify or validate binary signatures, and perimeter trust models fail to enforce Zero Trust security.
Technical controls must directly address the specific root vulnerabilities identified in the audit.

Key Concept

Mitigation Strategies and Enterprise Hardening Practices
Question 390Question

During a security assessment of a web application's user search module, an analyst inspects the backend implementation and observes two main security weaknesses:
1. User input from the search query parameter is directly concatenated into a dynamic database command string without prior validation or parameterization.
2. The raw search input is included verbatim in the application's HTML response page to display the search term without sanitization or output encoding.

Which of the following application vulnerabilities are present in this module? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: SQL Injection; Reflected Cross-Site Scripting

Answer

The application suffers from SQL Injection and Reflected Cross-Site Scripting.
SQL Injection occurs because user input is concatenated directly into SQL queries without parameterization, allowing arbitrary command execution on the database. Reflected Cross-Site Scripting occurs because untrusted input is reflected immediately in the HTML output without context-aware encoding, allowing client-side script execution in the victim's browser.

Step-by-Step Solution

1
Analyze the first implementation flaw.
Directly concatenating untrusted user input into database query strings allows attackers to alter query logic, constituting SQL Injection.
Input parameterization or prepared statements are required to separate code execution from user-supplied data.
2
Analyze the second implementation flaw.
Reflecting raw user input back into the browser's rendered HTML response without output encoding enables malicious scripts to execute in the client context, constituting Reflected Cross-Site Scripting.
Context-aware HTML and JavaScript output encoding is required to render user input safely.
3
Evaluate distractors.
Insecure Direct Object Reference involves unauthorized access via object identifiers, and Buffer Overflow involves memory bounds violations; neither flaw matches the scenario description.
Accurate vulnerability identification ensures proper selection of mitigation controls.

Key Concept

Identifying application vulnerabilities from data handling and backend code flaws.
Question 391Question

An incident response team discovers that an attacker uploaded a malicious script disguised as an image file to a public web application's uploads directory. The web server process subsequently executed the script, providing the attacker with an interactive remote command shell. Investigation reveals that the file upload folder resides on a standard file system volume where the web daemon user account has both write and execute permissions. Which of the following host hardening practices is the MOST effective mitigation strategy to prevent web shell execution from this directory?

Show answer & explanation

Answer: Mount the upload directory on a dedicated partition configured with noexec flags and restrict script engine execution rights for the web daemon.

Answer

Mounting the upload storage directory with no-execute flags and restricting web service account permissions is the most effective host hardening control.
The correct response highlights the practice of mounting user-writable directories (such as upload folders) with no-execute flags and restricting web service daemon execution rights. This directly mitigates web shell threats by ensuring that even if a file is uploaded, the operating system kernel and web application server will refuse to execute it as code.

Step-by-Step Solution

1
Analyze the attack vector and root cause.
The attacker leveraged arbitrary file upload functionality combined with execution permissions in the web server's upload folder to execute a web shell.
Identifying that the vulnerability stems from host file system permissions points directly to host hardening controls.
2
Evaluate technical host hardening mitigations.
Disabling execution permissions on the upload partition (e.g., using noexec mount options or disabling CGI/script execution in web server configuration) prevents the OS/runtime from running scripts uploaded by users.
User content directories should strictly store static media and never allow script execution.
3
Compare against network and deception controls.
Perimeter network filtering and honeypots do not fix improper file system permissions on the host.
Host-level security controls must enforce principle of least privilege and execution boundary limits directly at the resource layer.

Key Concept

Host Hardening and Directory Execution Restriction
Estimated Time:1m 30s
Question 392Question

A security operations team is configuring an automated threat intelligence pipeline to enrich SIEM alerts and dynamically update perimeter firewall defense rules with real-time indicators of compromise and vulnerability data. Which of the following sources or protocols should the team integrate to achieve structured, machine-readable threat sharing and standardized vulnerability context? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: TAXII protocol feeds transmitting STIX-formatted threat intelligence data directly to security appliances.; National Vulnerability Database (NVD) CVE data feeds to provide standardized vulnerability scores and metadata.

Answer

The correct selections are the TAXII protocol feed delivering STIX-formatted threat intelligence and the National Vulnerability Database (NVD) CVE data feed.
Automated security operations require standardized, machine-readable data formats and protocols. TAXII specifically serves as the transport mechanism to push or pull STIX-formatted indicators directly to network security devices like firewalls and SIEMs without manual intervention. Additionally, NVD feeds supply structured CVE and CVSS data, enabling SIEM systems to automatically enrich security event logs with standardized vulnerability context.

Step-by-Step Solution

1
Identify the technical requirements from the scenario.
The scenario requires automated, machine-readable threat sharing for real-time firewall blocklists and SIEM alert enrichment.
Machine-to-machine automation requires standardized transport protocols and structured data formats.
2
Evaluate technical transport and format standards for machine ingestion.
TAXII (Trusted Automated eXchange of Intelligence Information) delivers STIX (Structured Threat Information eXpression) indicators automatically, meeting the requirement for dynamic perimeter blocklists.
STIX/TAXII is the industry standard for machine-readable threat intelligence sharing.
3
Evaluate vulnerability data sources for standardized alert context.
The National Vulnerability Database (NVD) supplies machine-readable Common Vulnerabilities and Exposures (CVE) data and CVSS scores.
NVD feed integration allows security controls to automatically correlate detected assets with standardized vulnerability severity levels.

Key Concept

Machine-readable threat intelligence feeds (STIX/TAXII) and vulnerability repositories (NVD/CVE) enable automated security operations and alert enrichment.
Question 393Question

During a security audit of an enterprise network management tool, an analyst reviews source code responsible for diagnostic ping tests. The function constructs shell commands using unvalidated user input:

c
char command[256];
sprintf(command, "ping -c 3 %s", user_input);
system(command);

An attacker submits the payload `127.0.0.1 && cat /etc/passwd` into the input field. Which of the following vulnerabilities is present in this application code, and what is the most effective remediation?

Show answer & explanation

Answer: Command injection vulnerability; remediate by using built-in network APIs or parameterizing input without passing raw strings to shell command execution functions.

Answer

Command injection vulnerability; remediate by using built-in network APIs or parameterizing input without passing raw strings to shell command execution functions.
The code constructs an operating system command string using unvalidated user input and passes it directly to the system shell interpreter. The injected metacharacters cause the shell to execute an arbitrary OS command following the ping command. Remediation requires eliminating raw shell calls by using native network APIs or strictly validating input using an allowlist.

Step-by-Step Solution

1
Analyze the source code snippet for dangerous function calls.
Identified system invocation taking a string constructed with sprintf containing raw user input.
Passing unsanitized user input directly into system shell calls enables command metacharacter injection.
2
Determine the vulnerability category.
The flaw is an OS Command Injection vulnerability.
The payload appends an arbitrary OS command after executing ping.
3
Select the appropriate primary remediation strategy.
Avoid invoking system shell interpreters or strictly validate and sanitize input against an allowlist.
Replacing system shell invocations with standard language network libraries eliminates the shell interpreter context entirely, preventing command execution.

Key Concept

OS Command Injection and Secure Input Handling
Question 394Question

A security analyst is investigating internal credential harvesting alerts resulting from unauthorized network traffic interception. The investigation reveals that attackers on the local subnet are capturing user authentication hashes by spoofing responses to unresolvable broadcast requests for local network resources. Which of the following enterprise hardening practices should the security team implement to BEST mitigate this vulnerability?

Show answer & explanation

Answer: Disable Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) across endpoints via Group Policy.

Answer

Disable Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) across endpoints via Group Policy.
Disabling legacy name resolution protocols such as Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) directly removes the endpoint's vulnerability to local name poisoning attacks. When endpoints fail to resolve hostnames via standard DNS, they fall back to broadcasting queries on the local subnet. Local attackers running tools like Responder can spoof responses to these queries and trick endpoints into authenticating against attacker-controlled systems, exposing user hashes. Disabling these protocols via central policy enforces endpoint hardening and eliminates the root vector.

Step-by-Step Solution

1
Analyze the attack vector described in the scenario
Identified that attackers are exploiting fallback local name resolution broadcast protocols (LLMNR/NBT-NS) to perform rogue response poisoning and hash harvesting.
When standard DNS resolution fails, client endpoints fall back to broadcasting queries over LLMNR and NBT-NS, allowing local attackers to spoof responses.
2
Evaluate effective host hardening mitigations
Determined that disabling LLMNR and NBT-NS centrally removes the fallback broadcast behavior entirely.
Host-level protocol disabling eliminates the attack surface without relying on network perimeter devices or reactive detection.

Key Concept

Disabling Legacy Fallback Protocols for Endpoint Hardening
Question 395Question

A security analyst is investigating a service disruption on a C-based legacy network daemon. Examination of the stack memory dump reveals that an incoming request sent a payload exceeding the allocated array bounds, overwriting the adjacent memory locations and altering the function return address to execute injected instructions. Which of the following application vulnerabilities is demonstrated in this scenario?

Show answer & explanation

Answer: Buffer overflow

Answer

The application suffers from a buffer overflow vulnerability.
The correct option correctly identifies a buffer overflow. When an application receives more input than its memory buffer is designed to hold without proper bounds checking, the extra data overflows into adjacent memory. In stack-based buffer overflows, this can overwrite execution control pointers such as the return address.

Step-by-Step Solution

1
Analyze the incident details provided in the crash memory dump.
Identified that input data exceeded the allocated buffer size.
Understanding where and how memory boundaries were violated establishes the attack vector.
2
Evaluate the effect of the memory overwrite.
Adjacent stack memory and the return address were overwritten to alter program execution flow.
Modifying return execution pointers via unvalidated memory writes is a classic indicator of a stack-based buffer overflow.
3
Map the observed behavior to software vulnerability taxonomy.
Confirmed the vulnerability is a buffer overflow.
Buffer overflow directly describes the condition where fixed-size memory boundaries are breached due to missing bounds checking.

Key Concept

Buffer Overflow
Question 396Question

A security audit of an organization's internal infrastructure reveals two major compliance failures: administrative credentials and configuration data are being transmitted in cleartext across management subnets, and active administrative sessions on management consoles remain authenticated indefinitely without user activity. Which of the following enterprise hardening practices should the security team implement to directly address these findings? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Disable unencrypted management protocols such as HTTP, Telnet, and SNMPv1/v2 in favor of encrypted alternatives like HTTPS and SSHv2.; Configure mandatory session timeouts and re-authentication requirements on all administrative web interfaces.

Answer

Disabling unencrypted management protocols in favor of SSHv2/HTTPS and enforcing mandatory session timeouts on administrative interfaces directly mitigate cleartext credential exposure and persistent unmonitored administrative sessions.
Disabling legacy cleartext protocols (HTTP, Telnet, SNMPv1/v2) and replacing them with encrypted protocols ensures confidentiality of credentials in transit. Implementing session timeouts ensures inactive administrative web sessions are closed, mitigating unauthorized access to unattended sessions.

Step-by-Step Solution

1
Identify the primary security vulnerabilities presented in the audit finding.
Vulnerability 1: Cleartext transmission of administrative credentials/data. Vulnerability 2: Indefinite persistent administrative sessions.
Hardening measures must target the specific technical weaknesses identified in the assessment.
2
Evaluate technical controls for cleartext management protocol exposure.
Replacing legacy protocols (HTTP, Telnet, SNMPv1/v2) with secure, encrypted management protocols (HTTPS, SSHv2, SNMPv3) prevents eavesdropping and credential harvesting.
Host and service hardening requires securing data in transit using cryptographic protocols.
3
Evaluate technical controls for indefinite administrative session duration.
Enforcing automated idle session timeouts forces session termination after inactivity.
Session management hardening reduces the window of opportunity for session hijacking and physical unauthorized console access.

Key Concept

Enterprise Hardening and Secure Service Management
Estimated Time:1m 30s
Question 397Question

A network engineer is investigating security alerts after several host systems on an enterprise subnet unexpectedly autoconfigured IPv6 address interfaces and began routing outbound network traffic through an unknown link-local address. Which of the following technical indicators directly confirm that a Rogue IPv6 Router Advertisement (RA) attack is taking place? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Unsolicited ICMPv6 Type 134 (Router Advertisement) frames broadcast on the local link specifying an unauthorized default gateway.; Host interfaces automatically generating IPv6 global unicast addresses via Stateless Address Autoconfiguration (SLAAC) using an untrusted prefix.

Answer

The correct indicators are unsolicited ICMPv6 Type 134 (Router Advertisement) frames broadcast on the local link specifying an unauthorized default gateway, and host interfaces automatically generating IPv6 global unicast addresses via Stateless Address Autoconfiguration (SLAAC) using an untrusted prefix.
In a Rogue IPv6 Router Advertisement attack, the malicious actor transmits unsolicited ICMPv6 Type 134 Router Advertisement packets over the local subnet. Endpoints configured for Stateless Address Autoconfiguration (SLAAC) accept these packets, derive new IPv6 addresses using the advertised prefix, and direct external IPv6 traffic to the attacker's machine acting as the rogue default gateway.

Step-by-Step Solution

1
Identify the protocol and control message types associated with IPv6 dynamic routing and autoconfiguration.
Router Advertisements use ICMPv6 Type 134 packets sent by routers to inform hosts of available network prefixes and default gateway locations.
Understanding ICMPv6 packet types is necessary to isolate neighbor discovery traffic from rogue routing signals.
2
Analyze how target endpoints react to receiving untrusted ICMPv6 Type 134 packets.
Hosts operating with SLAAC enabled process the advertised prefix, create a corresponding IPv6 address, and adjust their local routing table to forward IPv6 traffic to the rogue gateway.
This behavior confirms the mechanics of an IPv6 Man-in-the-Middle (MitM) positioning attack via rogue RA.

Key Concept

Rogue IPv6 Router Advertisement (RA) Attack Indicators
Estimated Time:1m 30s
Question 398Question

A security analyst reviews Wireless Intrusion Detection System (WIDS) logs after users report sudden drops in wireless network connectivity followed by requests to re-enter network credentials. The logs show a rapid burst of IEEE 802.11 broadcast deauthentication frames sent from MAC address 00:11:22:33:44:55, followed immediately by client devices associating with a nearby access point displaying MAC address 00:11:22:33:44:99 that advertises the exact same SSID. Which of the following attack types is most consistent with these technical indicators?

Show answer & explanation

Answer: Evil Twin attack

Answer

An Evil Twin attack is indicated by spoofed 802.11 deauthentication frames used to force clients off the legitimate network, followed by client auto-reconnection to an unauthorized rogue access point operating under the same SSID.
An Evil Twin attack involves setting up an unauthorized wireless access point configured with the same SSID as a legitimate network. Attackers frequently transmit 802.11 deauthentication frames to disconnect legitimate users from their valid APs, forcing client devices to automatically reconnect to the attacker's stronger rogue AP (indicated by the differing BSSID MAC address 00:11:22:33:44:99).

Step-by-Step Solution

1
Analyze the observed frame types in the log dump.
Identified IEEE 802.11 deauthentication management frames sent to the broadcast address.
Deauthentication frames disconnect active wireless clients from their current access point.
2
Examine client behavior and BSSID changes following disconnection.
Clients re-associated with a new MAC address (00:11:22:33:44:99) while retaining the original corporate SSID.
Attackers deploy rogue access points with stronger signal strength or identical SSIDs to entice disconnected clients.
3
Correlate indicators with wireless attack profiles.
The combined pattern confirms an Evil Twin attack aimed at harvesting credentials via a rogue AP.
Forced disassociation followed by rogue SSID spoofing is the primary indicator of an Evil Twin deployment.

Key Concept

Evil Twin and Wireless Deauthentication Indicators
Question 399Question

A chief information security officer is preparing an executive risk assessment for the board of directors regarding potential cyber risks associated with an upcoming international expansion. The assessment must focus on high-level adversary motivations, geopolitical threat trends, and overall business risk impact rather than low-level technical indicators such as file hashes or malicious IP addresses. Which classification of threat intelligence is most appropriate for this report?

Show answer & explanation

Answer: Strategic threat intelligence

Answer

Strategic threat intelligence is the correct classification for executive-level briefings focusing on high-level risks, adversary motivations, and long-term business impacts.
Strategic threat intelligence is tailored specifically for executive leadership and board members. It synthesizes broad geopolitical trends, threat actor motivations, and potential financial or operational impacts into actionable business risk insights without overwhelming leaders with low-level technical data.

Step-by-Step Solution

1
Analyze the target audience and requirement
The target audience is the board of directors, requiring high-level executive decision-making data regarding geopolitical trends and business risk.
Executive leadership requires non-technical intelligence focused on strategic risk rather than detailed technical indicators.
2
Evaluate the categories of threat intelligence
Strategic intelligence covers broad threat trends and adversary motivations; Tactical covers TTPs; Operational covers specific attack campaigns; Technical covers raw IoCs.
Matching intelligence classifications to their intended operational level ensures proper reporting utility.
3
Select the matching intelligence category
Strategic threat intelligence directly matches the need for high-level, non-technical executive briefings.
Strategic intelligence translates complex security threats into business risk context.

Key Concept

Classifications of Threat Intelligence (Strategic vs. Tactical vs. Operational vs. Technical)
Estimated Time:1m 15s
Question 400Question

During a security review of a modern banking web application API, an analyst examines backend request logs and identifies two distinct malicious activity patterns:

1. Requests sent to `/api/v1/profile/upload` include multipart form payload parameters containing filename strings structured as `../../../../etc/passwd`.
2. Requests sent to `/api/v1/statements?account_id=1042` allow authenticated user `1042` to retrieve financial statements belonging to user `1043` simply by changing the `account_id` value in the URL query string.

Which of the following application and software vulnerabilities are directly demonstrated by these log findings? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Directory traversal; Insecure Direct Object Reference (IDOR)

Answer

The correct vulnerabilities demonstrated in the logs are Directory traversal and Insecure Direct Object Reference (IDOR).
The upload payload utilizes relative directory paths (`../`) to escape restricted directories and read host file paths, confirming a Directory Traversal flaw. The account statement request allows an authenticated user to access another user's records simply by changing an unvalidated URL parameter, confirming an Insecure Direct Object Reference (IDOR) flaw.

Step-by-Step Solution

1
Analyze finding 1 (`../../../../etc/passwd`)
Identified path manipulation designed to escape the web root directory and read arbitrary system files.
The use of dot-dot-slash sequence payloads indicates a classic Directory Traversal vulnerability.
2
Analyze finding 2 (`account_id=1042` modified to `account_id=1043`)
Identified parameter tampering where an user manipulates a direct record identifier to view unauthorized resource data.
Exposing internal record keys in request parameters without enforcing server-side authorization checks is an Insecure Direct Object Reference (IDOR) flaw.

Key Concept

Application and Software Vulnerabilities (Directory Traversal & IDOR)
Estimated Time:1m 30s
PreviousPage 20 / 25Next
Threats, Vulnerabilities, and Mitigations Practice Questions — CompTIA Security+ — Page 20 | Examkin