Question 1
As part of a sanctioned audit, a reviewer observes: A web server holds thousands of open HTTP connections whose request headers arrive one byte at a time and never finish promptly. Which behavior is illustrated?
- Slowloris header exhaustion
- TCP SYN flood
- State-table exhaustion
- Slow HTTP POST
Explanation
Correct Answer
A:Slowloris-style attacks tie up connection slots by slowly transmitting incomplete HTTP request headers, exploiting permissive timeout behavior. This is why teams should enforce header completion timeouts and concurrency limits; short header deadlines and bounded connection slots release resources from clients that never submit a complete request.
Incorrect Answers
B:A SYN flood consumes connection-state resources before handshakes complete; spoofed or unresponsive source addresses can aggravate backlog exhaustion; those prerequisites differ from the slowloris header exhaustion behavior in the record.
C:State exhaustion targets the intermediary's connection-tracking resources, not necessarily the backend server or its application request queue; this would classify another type of evidence, whereas the actual finding shows slowloris header exhaustion.
D:Slow POST attacks exhaust server resources during body receipt, distinct from attacks that hold connections open through incomplete headers; the relevant mechanism in the observed workflow is slowloris header exhaustion instead.
Question 2
The assessor must classify two separate observations: A Windows client sends a multicast hostname query over UDP port 5355, and an unauthorized local responder supplies an address that draws authentication attempts. In another test, a passive IDS receives copies of production packets via a switch monitoring port while ordinary forwarding continues separately, leaving the detector outside the direct path of the sessions. Select TWO technical concepts that correspond to these observations.
- Rogue DHCP server
- LLMNR name-resolution poisoning
- Promiscuous-mode capture
- ARP cache poisoning
- SPAN mirror-port collection
Explanation
Correct Answers
B:Link-Local Multicast Name Resolution can resolve names on the local segment without ordinary DNS; spoofed responses can redirect clients to hostile listeners; this technical behavior accounts for the LLMNR name-resolution poisoning observation, while SPAN mirror-port collection concerns the other independent evidence.
E:Switch port mirroring delivers copies of specified traffic to an analyzer without placing it inline in the production forwarding path; this supports one of the required classifications, distinct from the evidence for LLMNR name-resolution poisoning.
Incorrect Answers
A:Rogue DHCP replies can provide malicious network settings that redirect subsequent name resolution and traffic even without changing host applications; those prerequisites differ from the LLMNR name-resolution poisoning, SPAN mirror-port collection behavior in the record.
C:Promiscuous mode lets an interface pass additional received frames to capture software; a modern switched network still limits which frames physically reach that port; the relevant mechanism in the observed workflow is LLMNR name-resolution poisoning, SPAN mirror-port collection instead.
D:ARP poisoning forges address-resolution associations on a local broadcast domain, potentially redirecting or intercepting traffic through an adversary-controlled interface; those effects are not the LLMNR name-resolution poisoning, SPAN mirror-port collection pattern evidenced by the assessment.
Question 3
A control review considers a verified technical issue: A legacy connector allows multiple SQL statements in one API call, and an untrusted field can add a second operation after the intended query. Which mitigation most directly addresses its cause?
- Disallow unnecessary multiple statements and parameterize database calls
- Suppress detailed database errors while leaving multi-statement execution enabled
- Use a web firewall rule to block semicolons and keep dynamic SQL concatenation
- Disable statement batching but continue to interpolate untrusted SQL text
Explanation
Correct Answer
A:Statement restrictions reduce batching opportunities, but prepared parameters are needed to prevent input from being interpreted as SQL syntax. The technical basis for the recommendation is that stacked SQL injection relies on executing additional statements in the same request, a capability controlled by database and connector behavior.
Incorrect Answers
B:Error suppression does not stop the driver from executing extra statements included in the same request; the stacked query injection weakness in the question therefore remains uncorrected.
C:Filtering one delimiter is brittle and does not comprehensively prevent alternative SQL injection patterns; the stacked query injection weakness in the question therefore remains uncorrected.
D:Batching restrictions block an important stacked-query path but do not make the remaining query safe from injection; the stacked query injection weakness in the question therefore remains uncorrected.
Question 4
The asset owner wants to stop the verified condition recurring: A campus trunk accepts inconsistent native-VLAN settings; traffic originating in one edge segment can unexpectedly be forwarded into another logical network through stacked tags. What is the most targeted improvement?
- Avoid using user VLANs as trunk native VLANs and harden switch trunks
- Enable MACsec on supported links carrying sensitive internal traffic
- Apply switch port security and MAC learning limits
- Restrict and audit mirror-port configuration and sensor access
Explanation
Correct Answer
A:Consistent tagging and explicit trunk configuration remove the cross-VLAN path rather than merely hiding VLAN identifiers. It directly addresses this mechanism: double-tagging abuses VLAN tag handling and native VLAN behavior across trunks; exploitation depends on specific topology and tagging configuration.
Incorrect Answers
B:Layer-2 encryption reduces interception on the protected physical path while higher-layer TLS still protects data beyond those MACsec peers; the measure addresses a different trust boundary from the VLAN double-tagging attempt finding.
C:Per-port learned-address limits reduce the ability of one physical connection to poison the forwarding table with fictitious sources; the required correction concerns VLAN double-tagging attempt, so this is not the targeted control.
D:Capture destinations can contain sensitive traffic; management authorization and storage controls protect copied packets from unauthorized readers; its security benefit applies principally to SPAN mirror-port collection, not the defect described; the tested fault instead involves VLAN double-tagging attempt.
Question 5
Investigators compare two verified findings. First: A mobile app sends authentication parameters over HTTP on public Wi-Fi even though its backend offers a TLS endpoint. Second: An Android utility requests overlay privileges and then draws a counterfeit password-manager unlock prompt above the legitimate app to capture the user's vault passphrase. Select TWO mechanisms directly represented here.
- Deep-link validation
- Cleartext mobile API traffic
- Excessive mobile permissions
- Android exported component
- Mobile overlay credential theft
Explanation
Correct Answers
B:Cleartext traffic exposes credentials and session data to local network observers or malicious intermediaries because confidentiality and server authentication are absent; this supports one of the required classifications, distinct from the evidence for mobile overlay credential theft.
E:Overlay attacks abuse user-interface permissions or accessibility features to impersonate legitimate screens and collect credentials; its indicators are tied to the mobile overlay credential theft record, not to the finding involving cleartext mobile API traffic.
Incorrect Answers
A:Deep links create cross-application entry points; intent-filter matching does not itself authorize the requested operation or validate untrusted parameters; those effects are not the cleartext mobile API traffic, mobile overlay credential theft pattern evidenced by the assessment.
C:Overprivileged mobile apps expand the information available after compromise or abuse; the platform permission model should track actual features; the observed evidence concerns cleartext mobile API traffic, mobile overlay credential theft instead.
D:Exported Android components are accessible across app boundaries subject to permissions; missing checks can turn internal functionality into an external attack surface; the test record points specifically to cleartext mobile API traffic, mobile overlay credential theft, not this separate mechanism.
Question 6
Consider this event from a scoped security assessment: A stored procedure accepts a search string and appends it to a command executed with an elevated database role. Which explanation fits the observed evidence?
- ORM raw-query misuse
- WAF-only injection defense
- Dynamic SQL inside stored procedure
- Second-order SQL injection
Explanation
Correct Answer
C:Stored procedures are not intrinsically injection-safe when they build and execute dynamic SQL using untrusted strings. To constrain the corresponding risk, defenders should use parameters inside dynamic statements and restrict procedure execution rights; safe dynamic binding removes SQL metacharacter interpretation, while permission boundaries contain damage from any remaining procedure defect.
Incorrect Answers
A:ORM frameworks reduce injection risk only when their parameterization guarantees are used; raw SQL interpolation can restore the vulnerable concatenation path; the case demonstrates dynamic SQL inside stored procedure rather than the alternate mechanism.
B:WAF rules are supplemental pattern and behavior controls; alternate encodings or novel query shapes can evade signatures while the code defect remains; the observed evidence concerns dynamic SQL inside stored procedure instead.
D:Second-order injection occurs when previously stored untrusted data becomes executable SQL syntax in a later, different processing step; that behavior is distinct from the dynamic SQL inside stored procedure finding being classified.
Question 7
Consider this event from a scoped security assessment: An application loads a library by filename without a safe absolute path and chooses an attacker-writable location ahead of the legitimate library directory. Which explanation fits the observed evidence?
- DLL search-order hijacking
- Local privilege escalation
- Unquoted service path abuse
- AS-REP roasting
- Offline password hash attack
Explanation
Correct Answer
A:DLL search-order hijacking exploits unsafe library resolution and writable directories, allowing code under another filename to be loaded into a trusted process. To constrain the corresponding risk, defenders should use safe library loading and protect application directories; explicit paths, signed code checks where available, and restricted write permissions reduce control over dependencies loaded by privileged applications.
Incorrect Answers
B:Local privilege escalation uses weaknesses within a host to increase a process or user's authority after initial access; it differs from moving between separate systems; the test record points specifically to DLL search-order hijacking, not this separate mechanism.
C:An unquoted service path may let Windows resolve an unintended earlier executable at a space-delimited path when permissions allow a malicious file to be placed there; that behavior is distinct from the DLL search-order hijacking finding being classified.
D:AS-REP roasting abuses accounts that do not require Kerberos preauthentication; normal accounts demand proof before issuing the relevant response; the scenario identifies DLL search-order hijacking, which has a different triggering condition.
E:Offline cracking compares computed candidate hashes with stored password verifiers; network account lockouts do not normally constrain the local comparison process; the defining symptom in the prompt is associated with DLL search-order hijacking instead.
Question 8
An authorized security review documents this behavior: An industrial network permits arbitrary clients to issue Modbus write commands to field devices because no additional security gateway is present. Which mechanism best accounts for the finding?
- DNP3 secure authentication
- Modbus TCP trust weakness
- Unprotected OTA channel
- CoAP plaintext exchange
Explanation
Correct Answer
B:Traditional Modbus TCP lacks native cryptographic client authentication and encryption, so security often depends on network boundaries and compensating controls. To constrain the corresponding risk, defenders should isolate Modbus endpoints and restrict write-function traffic; industrial firewalls and protocol-aware rules narrow which engineering stations can send sensitive register changes.
Incorrect Answers
A:Secure Authentication for DNP3 adds authentication features to supported message exchanges; basic DNP3 deployments lack equivalent safeguards by default; the test record points specifically to Modbus TCP trust weakness, not this separate mechanism.
C:Over-the-air firmware updates cross a network trust boundary; delivery encryption alone is insufficient if devices accept untrusted update authors; the scenario identifies Modbus TCP trust weakness, which has a different triggering condition.
D:CoAP is an application protocol often run over UDP; without DTLS, OSCORE, or a protected network, messages may lack confidentiality and authenticity; the defining symptom in the prompt is associated with Modbus TCP trust weakness instead.
Question 9
The approved test uncovered this weakness: An employee expense app posts session credentials to a plaintext API endpoint on a shared network, despite the organization providing a correctly configured encrypted endpoint. Which control would reduce the relevant exposure without relying on obscurity?
- Validate deep-link input and enforce authorization inside target activities
- Enforce HTTPS and prohibit cleartext network policies in app configuration
- Check platform integrity and limit high-risk access from modified devices
- Restrict risky overlay and accessibility grants and monitor suspicious apps
- Use platform keystores and avoid embedding reusable high-value secrets
Explanation
Correct Answer
B:TLS protects API exchanges in transit and platform policy stops accidental fallback to unencrypted endpoints. The technical basis for the recommendation is that cleartext traffic exposes credentials and session data to local network observers or malicious intermediaries because confidentiality and server authentication are absent.
Incorrect Answers
A:Server-side or in-app security checks stop external URLs from bypassing workflow restrictions through a trusted-looking app route; the measure addresses a different trust boundary from the cleartext mobile API traffic finding.
C:Device posture controls keep sensitive services from relying on security guarantees a jailbroken host may no longer provide; its security benefit applies principally to jailbroken iOS risk, not the defect described; the tested fault instead involves cleartext mobile API traffic.
D:Platform safeguards and application controls reduce the ability of one app to draw deceptive credential forms over another; the exposure here is cleartext mobile API traffic, which calls for another protective mechanism.
E:Hardware-backed or OS-protected keys reduce straightforward extraction while server-managed short-lived tokens limit exposure if a client is lost; the action is aimed at insecure mobile key storage; it leaves the central cleartext mobile API traffic condition unresolved.
Question 10
The asset owner wants to stop the verified condition recurring: An order search concatenates a customer-supplied filter into a SELECT statement, permitting an additional compatible result set to be returned alongside the ordinary rows. What is the most targeted improvement?
- Apply only HTML output encoding to the combined database result
- Use parameterized queries and least-privilege database credentials
- Limit query output to ten rows without changing how filters are assembled
- Remove detailed SQL error messages while continuing to concatenate search filters
Explanation
Correct Answer
B:Parameter binding blocks query concatenation, and narrow SQL permissions limit data exposure if another injection path remains. The specific weakness being corrected is that UNION-based injection appends a compatible SELECT result to the application's existing query output, allowing data to appear in a normal response.
Incorrect Answers
A:Encoding output is useful for browser injection but it does not keep a UNION clause out of the SQL query; the UNION-based SQL injection weakness in the question therefore remains uncorrected.
C:Row limits may constrain one response but do not prevent unauthorized SQL conditions or merged result sets; the UNION-based SQL injection weakness in the question therefore remains uncorrected.
D:UNION-based result mixing can succeed without verbose database errors, so this obscures rather than repairs the flaw; the UNION-based SQL injection weakness in the question therefore remains uncorrected.