Question 570
In a permitted test environment, the analyst records: A page reads a value from location.hash and assigns it to innerHTML, causing script execution without the server reflecting that value. What is the most precise classification?
- DOM-based cross-site scripting
- Operating-system command injection
- Cross-site request forgery
- Reflected cross-site scripting
- Stored cross-site scripting
Explanation
Correct Answer
A:DOM XSS occurs when client-side JavaScript moves untrusted data into a dangerous DOM sink; the server response may be static. A practical defensive response is to replace unsafe DOM sinks with text-safe APIs and validate client data; using textContent or safe templating blocks markup interpretation even when attacker-controlled fragments never pass through the server.
Incorrect Answers
B:Command injection arises when untrusted text is interpreted as operating-system command syntax rather than a literal argument or data value; the observed evidence concerns DOM-based cross-site scripting instead.
C:CSRF exploits automatic credential attachment on cross-site requests; it does not require the attacker to read the victim's authenticated response; the test record points specifically to DOM-based cross-site scripting, not this separate mechanism.
D:Reflected XSS returns unsafely embedded input in the immediate server response; the payload does not need to be permanently stored by the application; that behavior is distinct from the DOM-based cross-site scripting finding being classified.
E:Stored XSS persists attacker-controlled content server-side and delivers it to later viewers through unsafe rendering; the scenario identifies DOM-based cross-site scripting, which has a different triggering condition.
Question 571
A controlled investigation yields this observation: A tester notices that successive sessions use short, sequential values that make another user's identifier guessable. How should the team identify the underlying behavior?
- Unrevoked logout token
- Predictable session token
- XSS-mediated cookie theft
- Session fixation
Explanation
Correct Answer
B:Predictable session IDs lack sufficient entropy, enabling token enumeration even without intercepting a victim's traffic. This is why teams should generate long unpredictable session identifiers using a cryptographic RNG; high-entropy tokens resist guessing; rate limiting is useful but cannot compensate for a trivially enumerable identifier space.
Incorrect Answers
A:A logout operation that only clears client storage may leave a server-side session valid, permitting reuse of an earlier stolen bearer token; the observed evidence concerns predictable session token instead.
C:Cross-site scripting can expose session cookies when HttpOnly is absent; the attacker obtains the bearer token rather than learning the account password; that behavior is distinct from the predictable session token finding being classified.
D:Session fixation works when a preauthentication identifier is accepted as an authenticated session, allowing the person who already knows that identifier to reuse it; the scenario identifies predictable session token, which has a different triggering condition.
Question 572
As part of a sanctioned audit, a reviewer observes: An HTTP response advertises an exact server version even though the application does not need clients to know its patch level. Which behavior is illustrated?
- Server version header
- Sensitive response caching
- Reverse proxy trust boundary
- Name-based virtual hosting
Explanation
Correct Answer
A:Response headers can reveal software identifiers that help attackers compare a host with known vulnerabilities; disclosure is not exploitation by itself. To constrain the corresponding risk, defenders should reduce version disclosure while maintaining timely security patching; header minimization removes easy fingerprint detail, but updates and configuration hardening remain necessary to fix vulnerable software.
Incorrect Answers
B:Incorrect HTTP caching directives or cache keys can mix authenticated responses across users when intermediaries ignore session-specific variation; that behavior is distinct from the server version header finding being classified.
C:Proxy metadata headers are only trustworthy when inserted or sanitized by an authenticated, trusted upstream hop; arbitrary clients may forge them; the scenario identifies server version header, which has a different triggering condition.
D:Name-based virtual hosting routes requests using HTTP host identity, which may differ from the socket's IP address or default site; the defining symptom in the prompt is associated with server version header instead.
Question 573
The approved test uncovered this weakness: Windows laptops fall back to multicast name resolution when central DNS fails, and employees then attempt to authenticate to machines identified by untrusted local responders. Which control would reduce the relevant exposure without relying on obscurity?
- Restrict and audit mirror-port configuration and sensor access
- Disable unnecessary LLMNR and use managed DNS resolution
- Control capture permissions and secure sensitive traffic with encryption
- Enable MACsec on supported links carrying sensitive internal traffic
- Enable dynamic ARP inspection with trusted DHCP-snooping bindings
Explanation
Correct Answer
B:Removing fallback multicast queries closes the local impersonation path that occurs when central name resolution fails. The safeguard responds to the underlying issue: Link-Local Multicast Name Resolution can resolve names on the local segment without ordinary DNS; spoofed responses can redirect clients to hostile listeners.
Incorrect Answers
A:Capture destinations can contain sensitive traffic; management authorization and storage controls protect copied packets from unauthorized readers; the measure addresses a different trust boundary from the LLMNR name-resolution poisoning finding.
C:Limiting capture access and encrypting payloads reduce exposure; promiscuous mode by itself does not defeat switch isolation; its security benefit applies principally to promiscuous-mode capture, not the defect described; the tested fault instead involves LLMNR name-resolution poisoning.
D:Layer-2 encryption reduces interception on the protected physical path while higher-layer TLS still protects data beyond those MACsec peers; the exposure here is LLMNR name-resolution poisoning, which calls for another protective mechanism.
E:DAI validates ARP claims against established IP-to-MAC bindings and blocks spoofed updates instead of relying on host cache expiration; the action is aimed at ARP cache poisoning; it leaves the central LLMNR name-resolution poisoning condition unresolved.
Question 574
A security change request summarizes the problem as follows: A text message about a missed courier parcel directs the employee to a mobile-friendly imitation single-sign-on form under an unfamiliar hostname. Which remediation is best suited to it?
- Authenticate high-risk requests using agreed challenge and callback procedures
- Require dual approval for exceptional executive payment requests
- Disable unapproved removable media and offer safe found-device reporting
- Use mobile-safe link inspection and out-of-band sign-in verification
- Route support requests through authenticated ticket and remote-assistance workflows
- Require consistent identity verification regardless of urgency or role claims
Explanation
Correct Answer
D:Encouraging navigation through known applications reduces dependence on untrusted SMS links and counterfeit login pages. This matters for the observed attack path because smishing delivers phishing content through text messaging; the medium often creates pressure to follow a short link on a mobile device.
Incorrect Answers
A:Process-based verification resists convincing synthesized audio without relying on human ability to recognize every manipulated recording; this is relevant to a separate synthetic-voice impersonation scenario, rather than the identified exposure; the tested fault instead involves smishing.
B:A second verifier and trusted callback process resist authority-based fraud even when the message convincingly imitates leadership; the tested weakness is smishing, not the whaling configuration addressed here.
C:Device controls block execution or access from unknown media while a reporting route avoids relying only on curiosity-resistant behavior; that safeguard does not directly close the smishing route highlighted by the test.
E:Approved help-desk channels confirm personnel and tool provenance before users allow remote sessions or install agents; the specific root cause belongs to smishing, beyond this control's intended scope.
F:Documented verification steps stop plausible stories from replacing evidence of a requester's authority; that change targets pretexting, while the confirmed weakness involves smishing.
Question 575
As part of a sanctioned audit, a reviewer observes: During a scheduled test, a database begins corrupting transactions and an unplanned customer outage is reported. Which behavior is illustrated?
- Confidentiality
- Integrity
- Availability
- Risk assessment
- Written rules of engagement
- Incident stop condition
Explanation
Correct Answer
F:Stop conditions are engagement safety triggers that require pausing potentially harmful activity and notifying designated stakeholders even if the planned test window remains open. The control that addresses this failure path is to pause affected activity and use the escalation contact in the rules of engagement; following the predefined incident path protects production operations and preserves evidence instead of treating a test schedule as permission to continue damage.
Incorrect Answers
A:Confidentiality protects information against unauthorized disclosure; a system can preserve availability and integrity while still failing to restrict who reads sensitive material; the defining symptom in the prompt is associated with incident stop condition instead.
B:Integrity concerns whether data remains accurate and protected against unauthorized modification; silent record changes undermine trust without necessarily reducing system uptime; the events given do not establish this behavior but do support incident stop condition.
C:Availability means authorized users can reach required services when needed; exhausted capacity can violate this property even without evidence of data theft or corruption; the reported conditions are characteristic of incident stop condition, not that path.
D:Risk incorporates likelihood, business exposure, and impact; technical severity alone does not determine the order of remediation for distinct operational contexts; those prerequisites differ from the incident stop condition behavior in the record.
E:The signed rules of engagement define permitted assets, methods, windows, contacts, and stop conditions; informal requests cannot safely supersede that documented authorization boundary; this would classify another type of evidence, whereas the actual finding shows incident stop condition.
Question 576
A production hardening ticket was raised after this confirmed observation: The asset inventory team treats a host as absent because its ping requests time out, although DNS, VPN logs, and application health checks show the server responding normally. Which action best targets the risk?
- Validate ambiguous UDP results with protocol-aware requests
- Use scoped ICMP policies rather than assuming ping silence means absence
- Alert on unusual multi-flag probes and validate with conventional scans
- Include IPv6 address space and neighbor traffic in authorized inventory scans
Explanation
Correct Answer
B:Restricting unnecessary echo response can reduce mapping, but asset discovery still needs multiple signals because hosts may silently drop ICMP. The underlying condition is that ICMP echo discovery tests reachability at the network layer; a live host need not expose an open application port to answer.
Incorrect Answers
A:Application-specific probes and correlated firewall logs help distinguish a silent UDP listener from network filtering without guessing from silence; the exposure here is ICMP echo discovery, which calls for another protective mechanism.
C:Filtering and traffic analysis detect atypical reconnaissance, but a missing response should not be reported as confirmed open access; this is relevant to a separate TCP Xmas scan scenario, rather than the identified exposure; the tested fault instead involves ICMP echo discovery.
D:A complete host inventory must cover IPv6, while security controls should not disable essential ICMPv6 functions needed for normal operation; the tested weakness is ICMP echo discovery, not the IPv6 neighbor discovery configuration addressed here.
Question 577
The assessment evidence reads as follows: Connections deliver declared request bodies at extremely low rates while the server waits to read the rest of each body. Which technical concept explains the result?
- Slow HTTP POST
- Slowloris header exhaustion
- TCP SYN flood
- State-table exhaustion
Explanation
Correct Answer
A:Slow POST attacks exhaust server resources during body receipt, distinct from attacks that hold connections open through incomplete headers. A targeted mitigation is to set request-body timeouts and minimum transfer rates; body-read deadlines prevent many idle upload sessions from indefinitely consuming server processing capacity.
Incorrect Answers
B:Slowloris-style attacks tie up connection slots by slowly transmitting incomplete HTTP request headers, exploiting permissive timeout behavior; those prerequisites differ from the slow HTTP POST behavior in the record.
C:A SYN flood consumes connection-state resources before handshakes complete; spoofed or unresponsive source addresses can aggravate backlog exhaustion; this would classify another type of evidence, whereas the actual finding shows slow HTTP POST.
D:State exhaustion targets the intermediary's connection-tracking resources, not necessarily the backend server or its application request queue; the relevant mechanism in the observed workflow is slow HTTP POST instead.
Question 578
In a permitted test environment, the analyst records: Clients receive an incorrect cached A record from a recursive resolver despite authoritative DNS having the correct address. What is the most precise classification?
- DNS resolver poisoning
- DNS response spoofing
- LLMNR name-resolution poisoning
- ARP cache poisoning
Explanation
Correct Answer
A:DNS cache poisoning contaminates a resolver's stored answer so later clients receive attacker-selected data without querying the authoritative zone again. A practical defensive response is to use DNSSEC validation where supported and restrict resolver recursion; cryptographic validation rejects forged signed data, while scoped recursion and query protections narrow the attack surface of caching resolvers.
Incorrect Answers
B:DNS response spoofing impersonates a reply to an outstanding lookup; success depends on response matching and resolver defenses against forgeries; this would classify another type of evidence, whereas the actual finding shows DNS resolver poisoning.
C:Link-Local Multicast Name Resolution can resolve names on the local segment without ordinary DNS; spoofed responses can redirect clients to hostile listeners; the relevant mechanism in the observed workflow is DNS resolver poisoning 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 DNS resolver poisoning pattern evidenced by the assessment.
Question 579
The assessment evidence reads as follows: A monitoring record was altered so a fraudulent transfer appeared to have a legitimate amount; the service stayed online. Which technical concept explains the result?
- Integrity
- Threat modeling
- Confidentiality
- Evidence chain of custody
Explanation
Correct Answer
A:Integrity concerns whether data remains accurate and protected against unauthorized modification. Silent record changes undermine trust without necessarily reducing system uptime. This is why teams should use tamper-evident logs and tightly scoped write privileges; integrity controls make unauthorized modification harder and expose alterations through protected audit trails or cryptographic verification of record changes.
Incorrect Answers
B:Threat modeling is a structured way to reason about assets, entry points, trust boundaries, and attack paths before or during implementation; the relevant mechanism in the observed workflow is integrity instead.
C:Confidentiality protects information against unauthorized disclosure; a system can preserve availability and integrity while still failing to restrict who reads sensitive material; those effects are not the integrity pattern evidenced by the assessment.
D:Chain of custody tracks who controlled evidence and when, while integrity hashes can demonstrate whether its contents changed between collection and analysis; the case demonstrates integrity rather than the alternate mechanism.
Question 580
The asset owner wants to stop the verified condition recurring: OS process listings disagree with independent memory acquisition after a recently installed signed-looking driver intercepts low-level system enumeration calls. What is the most targeted improvement?
- Enforce signed drivers and use trusted offline or external inspection
- Enable Secure Boot and verify boot integrity measurements
- Allowlist trusted software and verify publisher provenance
- Limit untrusted extensions and investigate unauthorized collection processes
Explanation
Correct Answer
A:Kernel integrity protections reduce unauthorized code loading; independent inspection avoids trusting potentially subverted in-host enumeration. It directly addresses this mechanism: kernel rootkits modify low-level execution or visibility to hide malicious artifacts, making tools that depend on the compromised OS potentially unreliable.
Incorrect Answers
B:Signature-based boot validation and attestation make unauthorized boot-chain modifications more difficult to execute unnoticed; the measure addresses a different trust boundary from the kernel rootkit finding.
C:Approved distribution channels and signed-package review reduce installation of malicious programs masquerading as useful utilities; the required correction concerns kernel rootkit, so this is not the targeted control.
D:Browser and endpoint controls reduce hidden collection channels, while network egress monitoring can identify telemetry sent to unapproved destinations; its security benefit applies principally to spyware collection, not the defect described; the tested fault instead involves kernel rootkit.