Threats, Vulnerabilities, and Mitigations

490 questions

Question 361Question

A security review of an e-commerce platform's legacy vault database reveals that stored payment tokens are encrypted using the Data Encryption Standard (DES) algorithm operating in Cipher Block Chaining (CBC) mode. Additionally, the system uses a single, hardcoded Initialization Vector (IV) for every database record encryption operation. Which TWO cryptographic weaknesses are present in this architecture? (Select TWO)

Select all that apply

Show answer & explanation

Answer: Use of a deprecated cipher with a short key length vulnerable to brute-force attacks; Reuse of a static Initialization Vector (IV), resulting in predictable ciphertexts for matching plaintext inputs

Answer

The two cryptographic weaknesses are the reliance on a deprecated cipher with a short key size (DES) and the implementation of a static Initialization Vector (IV) across CBC operations.
The system suffers from two distinct cryptographic flaws: first, DES relies on a legacy 56-bit key size that is vulnerable to key recovery attacks; second, reusing a static IV with CBC mode breaks semantic security, allowing attackers to detect matching plaintext blocks across stored records.

Step-by-Step Solution

1
Evaluate the encryption algorithm specified in the scenario.
DES uses a 56-bit key length, which provides inadequate key space against modern computing power.
Legacy algorithms with small key sizes do not provide sufficient confidentiality guarantees.
2
Analyze the Initialization Vector (IV) management within Cipher Block Chaining (CBC) mode.
Using a static, non-random IV for every encryption operation allows pattern recognition across ciphertexts.
CBC mode requires a unique, unpredictable IV per operation to prevent deterministic ciphertexts.

Key Concept

Cryptographic Weaknesses in Cipher Selection and Mode Implementation
Question 362Question

During a security assessment of a healthcare organization's cloud microservices, security engineers observe two critical design choices: internal microservices grant unrestricted access to API endpoints based strictly on whether incoming requests originate from internal IP address ranges, and large patient diagnostic image files stored at rest are encrypted individually using asymmetric RSA keys. Which of the following statements correctly identifies the primary architectural and cryptographic weaknesses in this design?

Show answer & explanation

Answer: Implicitly trusting internal IP addresses fails to enforce continuous authentication, while encrypting bulk files with asymmetric algorithms creates severe performance inefficiencies.

Answer

Implicitly trusting internal IP addresses fails to enforce continuous authentication, while encrypting bulk files with asymmetric algorithms creates severe performance inefficiencies.
The correct answer accurately identifies two fundamental weaknesses: granting access based on network location assumes implicit perimeter trust, violating Zero Trust principles; and encrypting large bulk data files directly with asymmetric ciphers causes extreme performance bottlenecks, whereas high-speed symmetric ciphers should be used for bulk data encryption.

Step-by-Step Solution

1
Analyze the access control weakness in the scenario.
Relying strictly on internal IP addresses assumes that all internal network traffic is inherently safe, violating Zero Trust principles which demand explicit verification regardless of network location.
Perimeter-based IP trust allows an attacker who gains internal network access to move laterally without authentication checks.
2
Analyze the cryptographic weakness in the scenario.
Asymmetric algorithms (like RSA) involve heavy mathematical operations and are intended for key exchange, digital signatures, or small data envelopes—not for direct bulk data file encryption.
Symmetric encryption (such as AES) should be used for bulk data due to its high computational efficiency.
3
Synthesize findings to identify the matching architectural statement.
The correct evaluation couples the failure of implicit network trust with the performance bottleneck of bulk asymmetric encryption.
Hybrid encryption (using symmetric keys for data and asymmetric keys to wrap symmetric keys) combined with continuous microservice authentication solves both flaws.

Key Concept

Zero Trust network verification and symmetric versus asymmetric cryptographic application bounds
Estimated Time:1m 30s
Question 363Question

A security operations center (SOC) analyst is investigating an active phishing campaign. The analyst needs to rapidly collect publicly accessible domain registration details, IP reputation scores, and security blogs without requiring commercial licensing or sector-specific trust memberships. Which of the following intelligence source categories should the analyst consult?

Show answer & explanation

Answer: Open-Source Intelligence (OSINT)

Answer

Open-Source Intelligence (OSINT)
Open-Source Intelligence (OSINT) refers to intelligence collected from publicly available resources, including WHOIS data, public code repositories, DNS records, and open security blogs, fulfilling the analyst's requirement for free and accessible data.

Step-by-Step Solution

1
Analyze scenario requirements
Identified key parameters: freely accessible, public domain/IP research, no commercial subscription, no closed membership required.
The analyst needs immediate threat context using publicly available resources.
2
Evaluate intelligence source categories against parameters
Open-Source Intelligence (OSINT) fits all criteria as it draws from public domain records, open repositories, and public research.
OSINT is defined by its public availability and accessibility without fee or restrictive membership.

Key Concept

Threat Intelligence Sources - OSINT vs Closed Sources
Question 364Question

An enterprise network administrator notices that several workstations on a local subnet are unexpectedly routing their outbound traffic through an unfamiliar host outside the designated gateway pool. Inspection of network packet captures reveals that workstations renewing their dynamic network configurations are accepting DHCPACK packets from a secondary, unauthorized server that responds faster than the corporate server. Which of the following attack indicators is demonstrated in this scenario?

Show answer & explanation

Answer: Rogue DHCP server deployment resulting in on-path traffic redirection

Answer

Rogue DHCP server deployment resulting in on-path traffic redirection
The scenario indicates that workstations are receiving and accepting DHCPACK packets from an unauthorized secondary server that beats the legitimate server in response time. A rogue DHCP server operates by distributing unauthorized network configurations—such as a rogue default gateway or malicious DNS server address—allowing an attacker to intercept or redirect network traffic.

Step-by-Step Solution

1
Analyze the observed network traffic indicators.
Workstations are receiving DHCPACK packets from an unauthorized secondary server providing a rogue default gateway address.
Identifying the protocol and packet type involved isolates the underlying attack mechanism.
2
Evaluate the impact of the packet responses on network traffic routing.
Workstations accept the faster unauthorized DHCPACK response, causing their traffic to route through an unintended gateway.
A rogue DHCP server operates by racing legitimate DHCP servers to assign forged network settings (such as rogue gateway or DNS IPs) to clients, enabling on-path positioning.

Key Concept

Rogue DHCP Server Attack Indicators
Estimated Time:1m 30s
Question 365Question

A cybersecurity consultant is designing an automated threat intelligence enrichment pipeline for an enterprise security team. The architecture requires ingesting open-source, standardized vulnerability data alongside automated, machine-readable threat indicator feeds from external partners over HTTPS. Which of the following sources or protocols should the consultant integrate into the pipeline to achieve these specific goals? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: National Vulnerability Database (NVD) feeds to ingest standardized vulnerability scoring and CVE metadata; TAXII protocol servers to handle automated real-time transport of structured threat indicators over HTTPS

Answer

The correct selections are the National Vulnerability Database (NVD) feeds and TAXII protocol servers.
The National Vulnerability Database (NVD) provides publicly available, standardized vulnerability information (such as CVE details and CVSS ratings) that can be ingested into automated systems. TAXII (Trusted Automated eXchange of Intelligence Information) is the standardized application protocol used to transport structured cyber threat intelligence (such as STIX formatted feeds) automatically over HTTPS.

Step-by-Step Solution

1
Identify the requirement for open-source standardized vulnerability data.
The National Vulnerability Database (NVD) is the standard repository providing open-source vulnerability data, CVE entries, and CVSS scores.
NVD provides public, machine-readable datasets ideal for automated risk scoring.
2
Identify the protocol required for automated, machine-readable threat intelligence transport over HTTPS.
TAXII (Trusted Automated eXchange of Intelligence Information) defines the transit protocol for sharing structured cyber threat intelligence (STIX) over HTTPS.
TAXII enables secure machine-to-machine exchange of threat indicators between platforms.

Key Concept

Threat Intelligence Sources and Transportation Protocols
Question 366Question

During a security audit of a native C application, an analyst evaluates a logging routine designed to capture user-submitted feedback. The code snippet under review is as follows:

c
void log_user_feedback(char *user_input) {
FILE *log_file = fopen("/var/log/app_feedback.log", "a");
if (log_file != NULL) {
fprintf(log_file, user_input);
fclose(log_file);
}
}

The analyst notes that input submitted directly by remote users is passed to `fprintf` as the primary formatting parameter without explicit format specifiers. Which of the following application vulnerabilities is directly present in this code?

Show answer & explanation

Answer: Format string vulnerability

Answer

Format string vulnerability
The correct answer identifies a format string vulnerability. When C functions such as `printf`, `fprintf`, or `sprintf` receive user-controlled input as their format string parameter without explicit specifiers (e.g., `%s`), conversion specifiers embedded within the user data are interpreted by the formatter. This permits memory disclosure and arbitrary memory writes.

Step-by-Step Solution

1
Analyze the function parameters and standard library call
The function `log_user_feedback` accepts an unvalidated string pointer `user_input` and passes it directly as the second parameter to `fprintf(log_file, user_input)`.
In C library function syntax, `fprintf(stream, format, ...)` expects the second argument to be a conversion control string containing specifiers such as `%s`, `%d`, or `%x`.
2
Evaluate the risk of using user input as the format string
If `user_input` contains format tokens like `%x` or `%n`, `fprintf` evaluates the stack for arguments that were never supplied, reading or writing memory values.
This allows attackers to read internal stack memory (information disclosure) or write to arbitrary memory locations (`%n`), leading to denial of service or remote code execution.
3
Identify the proper vulnerability classification and remediation
The flaw is classified as a format string vulnerability. The appropriate fix is modifying the call to `fprintf(log_file, "%s", user_input)`.
Specifying `"%s"` forces the print routine to treat `user_input` purely as static string data rather than executable formatting instructions.

Key Concept

Format String Vulnerabilities
Estimated Time:1m 15s
Question 367Question

Match each enterprise security vulnerability finding on the left with the most effective technical hardening mitigation on the right.

Click a left item, then click its matching right item

Items

An unsegmented internal network allows lateral movement between administrative endpoints using legacy remote access protocols.
Web application servers permit execution of untrusted user-uploaded payloads stored in temporary filesystem locations.
High-privilege domain administrator credentials are exposed to LSASS memory harvesting attacks on compromised remote target endpoints.

Matches

Show answer & explanation

Answer

1. Unsegmented network lateral movement matches with enforcing network microsegmentation and ZTNA policies. 2. Untrusted payload execution in temporary directories matches with mounting temporary storage partitions with `noexec` and `nosuid` parameters. 3. Credential exposure in LSASS memory matches with implementing Remote Credential Guard and Restricted Admin mode.
The security findings correctly map to their specific technical mitigations: internal lateral movement requires microsegmentation and ZTNA; temporary storage execution threats require `noexec` mount options; and remote LSASS memory credential dumping requires Remote Credential Guard.

Step-by-Step Solution

1
Evaluate network isolation requirements for internal traffic.
Network microsegmentation and Zero Trust access policies restrict unauthorized host-to-host communications across internal subnets.
Perimeter defenses do not prevent lateral movement once an attacker gains initial access inside an enterprise network.
2
Determine host storage hardening techniques for temporary filesystems.
Mounting directories such as `/tmp` with `noexec` prevents the execution of binaries and scripts stored in scratch space.
Hardening storage mount points reduces the attack surface by enforcing strict execution boundaries on untrusted directories.
3
Select memory protection controls for privileged remote administration.
Remote Credential Guard and Restricted Admin mode prevent domain credentials from being stored in LSASS memory on remote hosts.
Processing authentication client-side ensures high-privilege credentials cannot be dumped by LSASS scraping malware on the destination system.

Key Concept

Enterprise Hardening and Technical Security Controls
Question 368Question

An enterprise security team is implementing enterprise hardening practices for out-of-band management interfaces on network switches to reduce the risk of unauthorized lateral movement. Which TWO of the following technical controls should the team implement? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Isolate all switch management traffic to a dedicated out-of-band network segment and enforce 802.1X port-based access control.; Disable unencrypted management protocols such as Telnet and HTTP in favor of SSHv2 and HTTPS.

Answer

The correct controls are isolating management traffic to a dedicated out-of-band network segment with 802.1X access control, and disabling unencrypted management protocols such as Telnet and HTTP in favor of SSHv2 and HTTPS.
Hardening network management interfaces requires both physical/logical network isolation and transport security. Segregating management interfaces into a dedicated out-of-band network with port authentication prevents unauthorized internal hosts from communicating with switch consoles. Simultaneously, replacing unencrypted administrative protocols (Telnet/HTTP) with encrypted protocols (SSHv2/HTTPS) secures administrative credentials and sessions from eavesdropping.

Step-by-Step Solution

1
Analyze network management interface exposure and hardening objectives.
Identified the need for secure management access that mitigates lateral movement and prevents unauthorized access or credential sniffing.
Management interfaces are primary targets for adversaries attempting network wide privilege escalation.
2
Evaluate network isolation and access control mechanisms.
Dedicated out-of-band network segments combined with 802.1X access control restrict management access strictly to authorized administrators and endpoints.
Segmenting management interfaces prevents unauthorized hosts on the general corporate network from reaching administrative interfaces.
3
Evaluate protocol security requirements.
Replacing cleartext protocols (Telnet, HTTP) with encrypted alternatives (SSHv2, HTTPS) protects management sessions against packet sniffing.
Unencrypted protocols transmit administrative credentials in plain text across network links.

Key Concept

Out-of-Band Management Hardening and Protocol Security
Question 369Question

A security analyst is conducting a vulnerability assessment on a company's web portal source code and server logs. The audit identifies that input from a search field is concatenated directly into a backend database statement without input sanitization. Additionally, users can view arbitrary account records by modifying the user ID parameter in the HTTP GET request line because server-side authorization validation is absent. Which of the following application vulnerabilities are present in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: SQL injection (SQLi); Insecure Direct Object Reference (IDOR)

Answer

The web application exhibits SQL injection due to unsanitized input concatenation into database queries, and Insecure Direct Object Reference (IDOR) due to missing server-side authorization checks on URL resource identifier parameters.
SQL injection occurs when unvalidated user input is directly concatenated into database query statements, allowing attackers to execute arbitrary SQL commands. Insecure Direct Object Reference occurs when an application exposes a reference to an internal implementation object, such as a user identifier parameter, without performing server-side authorization checks to verify user permissions.

Step-by-Step Solution

1
Examine the database input processing mechanism
Unsanitized user search input concatenated into backend query strings exposes the database to SQL injection (SQLi).
Database calls must use parameterized queries or input sanitization to prevent untrusted data from altering query execution structure.
2
Evaluate the parameter-based resource access model
Manipulating request URL parameters to fetch other users' profile data without authorization checks indicates Insecure Direct Object Reference (IDOR).
Applications must perform explicit server-side access control validation whenever internal object references are supplied by clients.

Key Concept

Application and Software Vulnerabilities
Question 370Question

A security analyst is evaluating packet captures and log entries following a network intrusion alert. Match each observed technical indicator to its corresponding network or wireless attack classification.

Click a left item, then click its matching right item

Items

Radio frequency frames captured with rapidly repeating 24-bit Initialization Vector (IV) values across a WEP-encrypted network segment.
Unsolicited IPv6 Router Advertisement (RA) messages broadcasting fraudulent prefix information to reconfigure client default gateways.
Inbound DNS response packets carrying forged IP addresses arriving before legitimate authoritative replies with matching transaction IDs.
Layer 2 Ethernet frames encapsulating two distinct 802.1Q tags to traverse unauthorized switch Virtual Local Area Networks.

Matches

Show answer & explanation

Answer

Repeating 24-bit IV values correspond to IV Attack; unsolicited IPv6 Router Advertisements correspond to Rogue RA Attack; forged DNS response packets arriving early correspond to DNS Poisoning; Ethernet frames with double 802.1Q headers correspond to VLAN Hopping.
The technical indicators specifically map to their corresponding attack mechanisms: repeating 24-bit IVs indicate an IV attack against WEP; unauthenticated IPv6 ICMPv6 router messages represent a Rogue RA attack; premature forged DNS replies represent DNS poisoning; and double 802.1Q header encapsulation represents VLAN hopping.

Step-by-Step Solution

1
Analyze the wireless packet capture indicator showing repeating initialization vectors.
Identify that reused 24-bit IVs under WEP encryption facilitate key mathematical derivation.
WEP uses small 24-bit IVs; frequent reuse enables keystream recovery in an IV attack.
2
Examine the network layer broadcast log showing unsolicited IPv6 Router Advertisements.
Determine that unauthorized RA broadcasts alter host routing paths.
Rogue RA attacks exploit IPv6 stateless address autoconfiguration (SLAAC) to redirect traffic.
3
Evaluate the application layer network log showing early DNS responses.
Recognize that forged DNS answers supplied ahead of valid authoritative resolvers corrupt cache records.
Race conditions in DNS resolution allow attackers to poison resolver caches with malicious IP mappings.
4
Inspect the data link layer encapsulation log showing multiple VLAN tags.
Identify that double 802.1Q tagging allows traffic to cross VLAN boundaries bypassing switch isolation.
Switches processing double-tagged frames strip the first tag and forward the frame onto the inner VLAN tag.

Key Concept

Network and Wireless Attack Indicators
Question 371Question

Match each threat intelligence concept on the left with its primary operational role within an enterprise security framework on the right.

Click a left item, then click its matching right item

Items

STIX / TAXII Protocols
Information Sharing and Analysis Center (ISAC)
Open-Source Intelligence (OSINT)
Commercial Threat Intelligence Feed

Matches

Show answer & explanation

Answer

STIX / TAXII Protocols pairs with standardized machine-readable format and transport mechanism; ISAC pairs with sector-specific trust community for peer sharing; OSINT pairs with publicly accessible information gathered from open web resources; Commercial Threat Intelligence Feed pairs with subscription-based curated intelligence service.
Each concept correctly maps to its functional definition in security operations: STIX/TAXII provides standardized machine-readable data formatting and transport; ISAC serves as a peer-to-peer industry trust community; OSINT refers to publicly available intelligence gathered from open sources; and Commercial Threat Intelligence Feeds deliver curated, proprietary subscription-based threat data.

Step-by-Step Solution

1
Identify the primary mechanism used for automated technical threat exchange.
STIX/TAXII protocols provide the structured schema and HTTPS-based transport needed to feed machine-readable IOCs directly into SIEM or SOAR platforms.
Automated ingestion requires standardized schemas (STIX) and defined transport mechanisms (TAXII).
2
Determine the resource designed for industry-wide collaborative threat sharing.
An ISAC connects peer entities operating within the same sector to share industry-relevant attack trends and early warnings.
ISACs are specifically structured around vertical industry sectors to address common threat vectors.
3
Distinguish between freely accessible public intelligence and closed subscription sources.
OSINT uses freely available web data, whereas Commercial Feeds rely on paid vendor subscriptions for high-fidelity, processed intelligence.
OSINT is open to all without licensing, whereas Commercial Feeds are proprietary closed-source services.

Key Concept

Threat Intelligence Sources and Information Sharing Protocols
Question 372Question

A security analyst is reviewing HTTP logs for a web application dashboard generator. During security testing, an tester supplied the parameter payload `{{7*7}}`, which resulted in the server returning a web page displaying `49`. A subsequent request containing the payload `{{self.__init__.__globals__.__builtins__.__import__('os').popen('whoami').read()}}` executed on the backend host and returned the web server execution account context. Which of the following application vulnerabilities is present in this system?

Show answer & explanation

Answer: Server-Side Template Injection (SSTI)

Answer

Server-Side Template Injection (SSTI) is present because user-supplied input was evaluated and executed dynamically by the server's template engine.
Server-Side Template Injection occurs when unvalidated user input is directly processed by a web application template engine. The initial payload `{{7*7}}` demonstrated template expression evaluation by outputting `49`, and the subsequent payload leveraged template engine reflection capabilities to invoke backend system commands, yielding remote code execution.

Step-by-Step Solution

1
Analyze the mathematical test payload `{{7*7}}` and its rendered output `49`.
Identified that the backend template engine dynamically evaluates syntax enclosed in template expression delimiters.
Input evaluating expressions rather than treating them as plain string literals indicates an unvalidated template evaluation vulnerability.
2
Examine the secondary command execution payload and backend response.
Confirmed Remote Code Execution (RCE) via Python template engine built-ins calling system binaries.
Server-side execution of operating system commands via template syntax confirms Server-Side Template Injection.

Key Concept

Server-Side Template Injection (SSTI)
Estimated Time:1m 15s
Question 373Question

A network administrator receives an alert from an Intrusion Detection System (IDS) displaying the following log entries captured from a local subnet:

[WARN] Unsolicited ARP Reply detected: 192.168.1.1 is at 00:11:22:AA:BB:CC (Previous MAC: 00:00:0C:07:AC:01)
[WARN] Unsolicited ARP Reply detected: 192.168.1.1 is at 00:11:22:AA:BB:CC (Host 192.168.1.45 ARP cache updated)
[INFO] Traffic for default gateway 192.168.1.1 rerouted through 00:11:22:AA:BB:CC

Based on these technical indicators, which of the following network attacks is actively occurring?

Show answer & explanation

Answer: ARP poisoning

Answer

ARP poisoning is the network attack being performed.
The correct option correctly identifies ARP poisoning. Gratuitous or unsolicited ARP replies that map a legitimate gateway IP address to a foreign MAC address are the definitive indicator of ARP cache poisoning, allowing an attacker to intercept or modify local network traffic.

Step-by-Step Solution

1
Analyze the log entries for protocol indicators.
The logs show unsolicited ARP (Address Resolution Protocol) replies linking the default gateway IP address (192.168.1.1) to a different MAC address (00:11:22:AA:BB:CC).
Address Resolution Protocol resolves IP addresses to Layer 2 MAC addresses.
2
Evaluate the impact of unsolicited (gratuitous) ARP replies.
Hosts on the local subnet accept the bogus ARP reply and update their internal ARP cache tables.
Gratuitous ARP broadcasts force targeted hosts to associate the gateway's IP address with the attacker's network interface.
3
Correlate the attack vector with the observed rerouting behavior.
Outbound subnet traffic destined for the gateway is sent directly to the attacker's MAC address, establishing an on-path position.
This signature precisely defines an ARP cache poisoning (ARP spoofing) attack.

Key Concept

ARP Cache Poisoning / ARP Spoofing
Question 374Question

A security analyst is investigating an anomaly in an e-commerce platform's reward point redemption API. During peak traffic events, logs reveal that multiple concurrent API requests using the same single-use discount coupon resulted in repeated point deductions beyond the user's actual balance. Code review shows that the application checks the remaining balance in one database query and updates the record in a subsequent query without synchronization. Which of the following vulnerabilities and mitigation strategies are identified in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The application exhibits a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability.; Implementing database row-level locking or atomic transactions mitigates the vulnerability.

Answer

The application suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition, which can be remediated by implementing database row-level locking or atomic transaction controls.
The scenario describes a classic Time-of-Check to Time-of-Use (TOCTOU) race condition where separate check and write operations allow concurrent requests to bypass validation rules. Remediating this requires software-level controls such as database row locking, mutex locks, or atomic transaction handling to ensure thread safety.

Step-by-Step Solution

1
Analyze the reported behavior and system logs.
Concurrent requests succeed because checking the user balance and updating the account occur in distinct, non-atomic steps.
This timing window creates a race condition known as Time-of-Check to Time-of-Use (TOCTOU).
2
Determine the appropriate application-level remediation.
Enforce atomic database operations or mutex locking mechanisms during state validation.
Atomic transactions prevent other threads or requests from inspecting or altering state until the transaction completes.

Key Concept

Race Conditions and TOCTOU Vulnerabilities in Software Applications
Question 375Question

An enterprise web application accepts XML-based configuration files uploaded by system administrators. During a code security audit of the backend parser, an analyst discovers that the XML parser is configured to parse inline Document Type Definitions (DTDs) and resolve external entity references by default. Which of the following vulnerabilities is directly created by this parser configuration flaw?

Show answer & explanation

Answer: XML External Entity (XXE)

Answer

The XML External Entity (XXE) vulnerability allows attackers to reference external entities in XML payloads when inline DTD parsing and external entity resolution are enabled.
Enabling inline DTD processing and external entity resolution in an XML parser directly introduces an XML External Entity (XXE) vulnerability. Attackers can leverage custom entity definitions (e.g., system file paths or internal URIs) to read sensitive files from the server or conduct server-side request forgery.

Step-by-Step Solution

1
Analyze the reported software defect in the XML parsing library.
The parser permits DTD definitions and automatically fetches or resolves URI resources declared within `<!ENTITY>` tags.
Allowing external entity resolution exposes backend file systems and internal endpoints to unauthorized access.
2
Correlate the parser configuration weakness with standard application security vulnerability classes.
Processing untrusted DTD external entity declarations defines the XML External Entity (XXE) vulnerability class.
Disabling DTD processing (or disabling external entity resolution) is the primary software remediation.

Key Concept

XML External Entity (XXE) Vulnerability
Question 376Question

A chief information security officer (CISO) at a regional healthcare network wants to establish a secure, bidirectional threat intelligence sharing channel to exchange sector-specific cyber threat indicators and attacker tactics directly with peer healthcare organizations. Which threat intelligence source or framework is best suited to fulfill this requirement?

Show answer & explanation

Answer: Information Sharing and Analysis Center (ISAC)

Answer

Information Sharing and Analysis Center (ISAC)
An Information Sharing and Analysis Center (ISAC) is a non-profit organization that provides a central resource for gathering and sharing cyber threat information between entity peers within specific industry sectors (such as healthcare, financial services, or aviation). It fulfills the requirement for trusted, bidirectional indicator exchange.

Step-by-Step Solution

1
Analyze the operational requirements stated in the scenario.
The scenario requires bidirectional, sector-specific threat intelligence sharing among peer healthcare institutions within a trusted framework.
Identifying key constraints (sector-specific, bidirectional sharing, peer trust) filters out non-collaboration intelligence sources.
2
Evaluate the available threat intelligence sources against these requirements.
An Information Sharing and Analysis Center (ISAC) is explicitly established to facilitate trusted cyber threat sharing across specific critical infrastructure sectors.
Healthcare ISACs (H-ISAC) enable member organizations to exchange real-time threat indicators, remediation strategies, and emerging vector data.

Key Concept

Information Sharing and Analysis Centers (ISACs)
Question 377Question

A security analyst is investigating network security logs following user complaints of sudden, repeated disconnections from the corporate Wi-Fi network. Shortly after being disconnected, several user devices automatically reconnected to an unauthorized access point broadcasting the corporate ESSID. Which TWO of the following wireless network indicators specifically point to an active disassociation and Evil Twin attack sequence?

Select all that apply

Show answer & explanation

Answer: A sudden flood of unencrypted 802.11 management frames containing deauthentication reason codes transmitted with the spoofed MAC address of the legitimate access point; Beacon frames broadcasting the corporate ESSID on a different RF channel using a distinct BSSID with significantly higher signal strength than the authorized access points

Answer

The correct indicators of an active disassociation and Evil Twin attack sequence are a sudden flood of unencrypted 802.11 management frames containing deauthentication reason codes sent from the spoofed MAC address of the legitimate access point, and beacon frames broadcasting the corporate ESSID on a different RF channel with higher signal strength than authorized access points.
In a combined disassociation and Evil Twin attack, the attacker first transmits spoofed 802.11 deauthentication frames using the MAC address of the legitimate access point to break active client connections. Simultaneously or immediately following, the attacker's rogue access point broadcasts 802.11 beacon frames configured with the corporate ESSID (often operating on a different channel with higher transmission power), causing client devices to automatically reconnect to the malicious AP.

Step-by-Step Solution

1
Analyze the reported scenario to identify the specific attack vectors
The scenario describes clients being forcibly disconnected from Wi-Fi and subsequently connecting to a rogue access point mimicking the corporate network.
Forforced disconnections followed by rogue connections characteristic of a wireless Deauthentication attack paired with an Evil Twin deployment.
2
Evaluate wireless frame indicators associated with forced disconnection
Identify that 802.11 deauthentication management frames spoofing the legitimate AP's MAC address cause clients to disconnect.
Standard 802.11 management frames (unless protected by 802.11w) lack authentication, allowing adversaries to forge origin MAC addresses.
3
Evaluate wireless frame indicators associated with rogue access point positioning
Identify that broadcasting beacon frames with the matching ESSID, a different BSSID/channel, and higher RF signal power entices client auto-reconnection.
Wireless clients prioritize access points broadcasting known ESSIDs that offer stronger Received Signal Strength Indicator (RSSI) values.

Key Concept

Wireless Disassociation and Evil Twin Attack Indicators
Question 378Question

A security engineering team is automating its enterprise threat intelligence workflow to improve SIEM alert enrichment. The solution requires a standardized data format for expressing structured cyber threat information alongside an automated protocol for machine-to-machine transport over HTTPS. Which of the following standards should the team implement to satisfy these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: STIX (Structured Threat Information eXpression); TAXII (Trusted Automated eXchange of Intelligence Information)

Answer

The team should implement STIX for standardized threat data representation and TAXII for automated machine-to-machine transport.
The combination of STIX and TAXII enables end-to-end automation of threat intelligence pipelines. STIX provides the structured language (JSON-based schema) to represent threat concepts, while TAXII defines the web services and protocols to transmit that structured data reliably between systems.

Step-by-Step Solution

1
Identify the data format requirement
STIX (Structured Threat Information eXpression) is selected as the standardized language to represent cyber threat data objects.
STIX defines standardized structures for threat indicators, tactics, techniques, and procedures (TTPs).
2
Identify the automated transport protocol requirement
TAXII (Trusted Automated eXchange of Intelligence Information) is selected to transmit STIX-formatted intelligence over HTTPS.
TAXII is designed specifically to support secure machine-to-machine exchange of STIX content without human intervention.

Key Concept

STIX/TAXII Threat Intelligence Standards
Estimated Time:1m 30s
Question 379Question

Match each enterprise security risk scenario on the left with the most effective enterprise hardening mitigation on the right.

Click a left item, then click its matching right item

Items

Adversaries running unauthorized portable executables and unverified scripts from user temporary directories.
Lateral movement attacks utilizing legacy protocol downgrades and credential harvesting in Active Directory.
Unauthorized bootloader modification and rootkit persistence during early system startup.
Physical data exfiltration and rogue firmware injection via unmonitored client peripheral connections.

Matches

Show answer & explanation

Answer

Each enterprise security risk maps directly to its specific technical hardening control: executing unauthorized binaries is mitigated by application allowlisting; legacy protocol exploitation is mitigated by disabling NTLMv1/SMBv1; bootloader tampering is mitigated by UEFI Secure Boot and TPM; and physical peripheral threats are mitigated by disabling USB storage device classes.
Each risk finding is addressed by its corresponding host or infrastructure hardening strategy: unauthorized application execution is directly prevented by application allowlisting; credential theft via protocol downgrades is mitigated by deprecating legacy protocols like NTLMv1/SMBv1; bootloader integrity tampering is prevented by hardware-backed UEFI Secure Boot; and physical storage exfiltration is controlled by disabling USB device classes.

Step-by-Step Solution

1
Analyze execution risks from untrusted paths and match with application control mechanisms.
Identify that restricting unapproved scripts/executables requires Application Allowlisting policies.
Traditional antivirus alone often fails against custom or unverified binaries running from user directories.
2
Analyze domain lateral movement techniques relying on legacy protocols.
Identify that disabling NTLMv1/SMBv1 blocks relay and downgrade attacks.
Hardening domain network traffic requires enforcing modern protocols like Kerberos and SMB Signing.
3
Evaluate boot-level bootkit and rootkit threat vectors.
Identify that verifying pre-OS code integrity requires UEFI Secure Boot and TPM.
Hardware-rooted trust ensures that modified bootloaders cannot load before OS security controls start.
4
Evaluate physical endpoint security vectors.
Identify that restricting USB storage classes mitigates local exfiltration via peripheral devices.
Host peripheral port restriction is a key host-hardening practice for preventing physical vector compromises.

Key Concept

Enterprise Host and Infrastructure Hardening Mitigations
Question 380Question

During a security investigation following alerts from an enterprise Network Intrusion Detection System (NIDS), a security analyst inspects captured traffic headers from a user workstation. The network logs reveal that outbound TCP port 443 connections destined for an internal authentication portal are systematically terminated via forged TCP Reset (RST) packets, while concurrent HTTP 302 response headers redirect the user's browser to submit credentials in cleartext over port 80. Which of the following network attacks is best demonstrated by these observed technical indicators?

Show answer & explanation

Answer: An on-path attack executing SSL stripping to downgrade secure sessions to unencrypted communications

Answer

An on-path attack executing SSL stripping to downgrade secure sessions to unencrypted communications.
The scenario describes an on-path (man-in-the-middle) attack utilizing SSL stripping. In an SSL stripping attack, the threat actor sits between the client and the destination server, intercepting initial HTTPS connection attempts (port 443) and forcing the client to communicate over unencrypted HTTP (port 80) via HTTP 302 redirects. This enables the attacker to view and harvest credentials transmitted in cleartext.

Step-by-Step Solution

1
Analyze the observed traffic indicators from the NIDS packet capture.
Identified TCP port 443 RST packets paired with HTTP 302 redirect headers targeting port 80.
Understanding packet behaviors helps isolate whether the attack operates at Layer 2, Layer 3/4, or Layer 7.
2
Evaluate the mechanism used to manipulate the client session.
The attacker actively interferes with HTTPS establishment and redirects traffic to an unencrypted channel.
This behavior specifically characterizes protocol downgrade attacks designed to bypass TLS transport security.
3
Match the observed indicators to the corresponding attack taxonomy classification.
SSL stripping (an on-path attack variant) intercepting secure sessions.
SSL stripping replaces secure HTTPS links with plain HTTP links to capture transmitted credentials in cleartext.

Key Concept

SSL/TLS Stripping and On-Path Network Attack Indicators
Estimated Time:1m 30s
PreviousPage 19 / 25Next
Threats, Vulnerabilities, and Mitigations Practice Questions — CompTIA Security+ — Page 19 | Examkin