Question 340
The testing team seeks a specific preventive recommendation for this finding: A password-reset completion link accepts any next-page URL and redirects visitors to an external credential-harvesting domain after showing the legitimate site's hostname. What should be implemented?
- Allow only approved internal destinations or validated redirect URIs
- Avoid shell invocation and pass validated arguments to direct process APIs
- Replace unsafe DOM sinks with text-safe APIs and validate client data
- Encode untrusted values for the exact HTML or script output context
Explanation
Correct Answer
A:Strict redirect target validation prevents an attacker from using the application domain as a relay to arbitrary destinations. The underlying condition is that open redirects allow attacker-controlled destinations in a trusted application's navigation flow, which can aid phishing and token misrouting.
Incorrect Answers
B:Separating executable selection from user data prevents shell parsing from transforming input into additional commands; the measure addresses a different trust boundary from the open redirect finding.
C:Using textContent or safe templating blocks markup interpretation even when attacker-controlled fragments never pass through the server; the required correction concerns open redirect, so this is not the targeted control.
D:Context-appropriate escaping prevents user-controlled text from becoming executable markup while preserving legitimate displayed search terms; its security benefit applies principally to reflected cross-site scripting, not the defect described; the tested fault instead involves open redirect.
Question 341
A defender analyzing an approved exercise sees this pattern: A Windows service runs with elevated privileges from an executable path containing spaces, without quotes, in a directory tree writable by ordinary users. Which mechanism is most consistent with it?
- Registry Run-key persistence
- Unquoted service path abuse
- DLL search-order hijacking
- Pass-the-hash authentication
Explanation
Correct Answer
B: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. A practical defensive response is to quote service executable paths and remove write access from service directories; correct quoting removes ambiguity in executable selection, while hardened filesystem ACLs block unauthorized replacement or placement of executables.
Incorrect Answers
A:Run keys cause configured programs to launch during user logon; they can maintain user-context execution across reboots without replacing a system service; those effects are not the unquoted service path abuse pattern evidenced by the assessment.
C:DLL search-order hijacking exploits unsafe library resolution and writable directories, allowing code under another filename to be loaded into a trusted process; the observed evidence concerns unquoted service path abuse instead.
D:Pass-the-hash reuses suitable password-derived authentication material directly in NTLM exchanges; it is not the same as decrypting a stored password; the test record points specifically to unquoted service path abuse, not this separate mechanism.
Question 342
A controlled investigation yields this observation: A generic scan flags an old library version, but the application uses a backported security fix from its supported distribution. How should the team identify the underlying behavior?
- CPE asset matching
- False-positive scanner finding
- Authenticated vulnerability scan
- Scanner credential exposure
Explanation
Correct Answer
B:A false positive occurs when a tool reports exploitable exposure that is not present under the verified installed code or conditions. This is why teams should validate the vendor patch backport before closing the finding; distribution advisories and package changelogs can confirm fixed code despite an unchanged upstream version string; blind dismissal would also be unsafe.
Incorrect Answers
A:Common Platform Enumeration provides standardized product identifiers used in automated matching; an imprecise product mapping can create false findings; the case demonstrates false-positive scanner finding rather than the alternate mechanism.
C:Credentialed scanning examines installed versions, configurations, and local patch state; network-only checks may miss software with no exposed banner; the test record points specifically to false-positive scanner finding, not this separate mechanism.
D:Scanning credentials are high-value secrets; tool compromise can turn routine assessment infrastructure into a privileged access path; that behavior is distinct from the false-positive scanner finding finding being classified.
Question 343
As part of a sanctioned audit, a reviewer observes: Nearby receivers correlate stable Bluetooth Low Energy advertising identifiers over time to track a wearable's presence. Which behavior is illustrated?
- Evil-twin access point
- WPA3-SAE authentication
- BLE advertisement tracking
- Hidden SSID misconception
Explanation
Correct Answer
C:BLE advertising can disclose device identifiers or metadata before a full connection; persistent identifiers can support passive tracking. To constrain the corresponding risk, defenders should enable address randomization and minimize broadcast identifying data; rotating private addresses and reducing advertisement metadata make long-term association of broadcasts with one device more difficult.
Incorrect Answers
A:An evil twin imitates a legitimate wireless network's identity to intercept associations or lead clients into fraudulent authentication and traffic paths; the observed evidence concerns BLE advertisement tracking instead.
B:WPA3-Personal uses SAE rather than the WPA2-Personal PSK handshake, improving resistance to passive offline password guessing under proper implementation; the test record points specifically to BLE advertisement tracking, not this separate mechanism.
D:A hidden SSID is not cryptographic protection; association traffic and other wireless management exchanges can still reveal network identifiers; the scenario identifies BLE advertisement tracking, which has a different triggering condition.
Question 344
The post-assessment action plan cites this evidence: The network team relies on switch-learned address-to-port mappings when blocking spoofed network claims but has not protected the uplinks that can populate those bindings. Which corrective measure should be prioritized?
- Restrict and audit mirror-port configuration and sensor access
- Protect trusted uplink configuration and refresh binding tables correctly
- Apply switch port security and MAC learning limits
- Avoid using user VLANs as trunk native VLANs and harden switch trunks
Explanation
Correct Answer
B:Accurate bindings and port trust settings are prerequisites for effective spoofing protection and help avoid false drops during legitimate host moves. It directly addresses this mechanism: DHCP snooping establishes trusted DHCP-server direction and binding data used by other access-layer protections such as dynamic ARP inspection.
Incorrect Answers
A:Capture destinations can contain sensitive traffic; management authorization and storage controls protect copied packets from unauthorized readers; that safeguard does not directly close the DHCP snooping bindings route highlighted by the test.
C:Per-port learned-address limits reduce the ability of one physical connection to poison the forwarding table with fictitious sources; the specific root cause belongs to DHCP snooping bindings, beyond this control's intended scope.
D:Consistent tagging and explicit trunk configuration remove the cross-VLAN path rather than merely hiding VLAN identifiers; that change targets VLAN double-tagging attempt, while the confirmed weakness involves DHCP snooping bindings.
Question 345
An incident analyst is asked to classify this observed activity: An iOS app attempts a privileged platform capability that is not present in its signed entitlements despite having a valid app signature. Which concept is the closest match?
- Excessive mobile permissions
- Jailbroken iOS risk
- iOS entitlement control
- Mobile app signature verification
Explanation
Correct Answer
C:iOS entitlements specify permitted platform capabilities and form part of the code-signing trust model; a valid signature does not grant every protected operation. A practical defensive response is to review provisioning entitlements and use only approved capabilities; least-capability provisioning reduces unnecessary platform privileges and clarifies which features the operating system should allow.
Incorrect Answers
A:Overprivileged mobile apps expand the information available after compromise or abuse; the platform permission model should track actual features; that behavior is distinct from the iOS entitlement control finding being classified.
B:Jailbreaking removes or circumvents operating-system restrictions, reducing the assurance normally provided by signed code and system isolation; the scenario identifies iOS entitlement control, which has a different triggering condition.
D:Package signatures bind installed mobile code to a signing identity and help prevent arbitrary third parties from replacing an app during updates; the events given do not establish this behavior but do support iOS entitlement control.
Question 346
As part of a sanctioned audit, a reviewer observes: Before any packets were sent to a customer network, the assessor learned its domains from public certificate logs and archived pages. Which behavior is illustrated?
- Written rules of engagement
- Black-box assessment
- Threat modeling
- Passive reconnaissance
Explanation
Correct Answer
D:Passive reconnaissance derives intelligence from existing third-party or public sources rather than probing the target systems directly. It can reveal assets without generating target-side scan traffic. A practical defensive response is to separate passive discovery from approved active validation; recording passive findings first avoids assuming public references are in scope and lets the team request explicit approval before contacting an asset.
Incorrect Answers
A:The signed rules of engagement define permitted assets, methods, windows, contacts, and stop conditions; informal requests cannot safely supersede that documented authorization boundary; the scenario identifies passive reconnaissance, which has a different triggering condition.
B:Black-box testing models an outside party with little prior knowledge; it emphasizes externally discoverable paths but offers less coverage of privileged or internal behaviors; the defining symptom in the prompt is associated with passive reconnaissance instead.
C:Threat modeling is a structured way to reason about assets, entry points, trust boundaries, and attack paths before or during implementation; the events given do not establish this behavior but do support passive reconnaissance.
Question 347
A remediation meeting focuses on the following finding: After a cloud migration, the project assumes that the hosting provider automatically governs application user permissions, encrypts customer-uploaded content, and configures workload logging. Which proposed action best addresses its root cause?
- Block public access and apply explicit identity-based bucket policies
- Document customer-owned identity, data, and workload controls
- Use short-lived workload identities and centralized secret management
- Store secrets in a managed vault and use workload identity retrieval
Explanation
Correct Answer
B:A responsibility matrix prevents gaps where tenant policies and application hardening are wrongly assumed to be handled by the provider. The underlying condition is that cloud providers secure underlying service infrastructure, while customers typically retain responsibility for their data, identities, workloads, and configuration according to service model.
Incorrect Answers
A:Least-privilege resource policies and public-access guardrails stop anonymous reads while preserving approved application retrieval; that change targets public object storage exposure, while the confirmed weakness involves cloud shared responsibility.
C:Federated or role-based temporary credentials remove embedded durable keys and simplify expiration after a build job finishes; the measure addresses a different trust boundary from the cloud shared responsibility finding.
D:Centralized access policy and audit trails separate secret handling from source code, enabling rotation without distributing plaintext credentials in artifacts; the required correction concerns cloud shared responsibility, so this is not the targeted control.
Question 348
A follow-up review must reduce the risk revealed here: A reverse proxy supports outdated TLS handshakes to accommodate obsolete browser devices, exposing users to weaker negotiation than the service's policy allows. Which defensive measure fits the specific failure mode?
- Canonicalize paths and enforce a fixed document root before file access
- Disable directory indexes and protect sensitive files with authorization
- Reduce version disclosure while maintaining timely security patching
- Disable obsolete TLS protocols and weak ciphers after compatibility testing
Explanation
Correct Answer
D:Modern negotiation reduces transport cryptographic exposure while inventorying client requirements prevents avoidable service outages. It targets the actual failure mode: weak transport negotiation may permit deprecated algorithms or downgrade paths; the chosen TLS profile is separate from application-level authorization.
Incorrect Answers
A:Resolving canonical paths and checking containment prevents encoding tricks from reaching files outside the approved static content tree; the exposure here is legacy TLS configuration, which calls for another protective mechanism.
B:Blocking auto-generated listings reduces discovery, while actual access restrictions are still needed to keep guessed file URLs private; the action is aimed at directory listing; it leaves the central legacy TLS configuration condition unresolved.
C:Header minimization removes easy fingerprint detail, but updates and configuration hardening remain necessary to fix vulnerable software; this is relevant to a separate server version header scenario, rather than the identified exposure; the tested fault instead involves legacy TLS configuration.
Question 349
The assessor confirmed this exposure: A browser receives a seemingly valid site certificate but cannot connect its issuing certificates to a trusted root or verify the expected service hostname. Which change most directly closes the underlying security gap?
- Guarantee unique nonces per encryption key and rotate affected keys
- Deploy correct certificate chains and validate trusted roots and hostnames
- Enforce full-disk encryption with secure boot and recovery-key controls
- Authenticate ephemeral key exchange with validated peer certificates
Explanation
Correct Answer
B:Proper chain and identity checks prevent arbitrary signed certificates from being treated as proof that a service is the intended endpoint. It targets the actual failure mode: PKI certificate verification builds a chain from a leaf through intermediate issuers to a locally trusted root, subject to name and validity checks.
Incorrect Answers
A:Nonce-generation discipline protects the authentication construction, while key rotation limits exposure after uniqueness guarantees have failed; the proposed improvement would make sense for AES-GCM nonce reuse but not as the main fix here; the tested fault instead involves PKI trust chain.
C:At-rest encryption reduces exposure after physical theft, while platform integrity and key escrow govern startup trust and legitimate recovery; that change targets full-disk encryption boundary, while the confirmed weakness involves PKI trust chain.
D:Certificate verification prevents man-in-the-middle key substitution while ephemeral elliptic-curve exchange supports fresh traffic keys; it would improve elliptic-curve key exchange, not directly correct the reported PKI trust chain issue.
Question 350
The assessment evidence reads as follows: A network device responds to a common read-only SNMP community string and reveals interface descriptions. Which technical concept explains the result?
- BGP neighbor disclosure
- SNMP default community
- DNS SRV discovery
- RPC endpoint mapper
Explanation
Correct Answer
B:SNMPv1/v2c community strings act as shared access tokens and do not provide encryption or strong authentication of management traffic. This is why teams should use SNMPv3 with authentication, privacy, and management ACLs; SNMPv3 protects management exchanges, while device and network restrictions reduce exposure of sensitive interface and configuration details.
Incorrect Answers
A:BGP peer and route information can expose network topology and transit relationships, but route visibility does not confer access to router control functions; those prerequisites differ from the SNMP default community behavior in the record.
C:DNS SRV records publish the hostname and port of a service so clients can find it; LDAP and Kerberos discovery commonly rely on them; the relevant mechanism in the observed workflow is SNMP default community instead.
D:RPC endpoint mapping identifies dynamic service endpoints and interface identifiers; it can reveal reachable management surfaces beyond one static port; those effects are not the SNMP default community pattern evidenced by the assessment.