Question 380
A production hardening ticket was raised after this confirmed observation: A mobile wallet opens a privileged screen from a custom URI issued by another app, trusting external deep-link arguments without a server-side authorization check. Which action best targets the risk?
- Review requested permissions and block unnecessary sensitive grants
- Deploy enterprise work profiles with controlled data-sharing rules
- Minimize exported components and enforce permissions for sensitive entry points
- Enforce HTTPS and prohibit cleartext network policies in app configuration
- Validate deep-link input and enforce authorization inside target activities
Explanation
Correct Answer
E:Server-side or in-app security checks stop external URLs from bypassing workflow restrictions through a trusted-looking app route. It targets the actual failure mode: deep links create cross-application entry points; intent-filter matching does not itself authorize the requested operation or validate untrusted parameters.
Incorrect Answers
A:Feature-based permission review limits unintended data collection and reduces blast radius when an app misbehaves; that safeguard does not directly close the deep-link validation route highlighted by the test.
B:Managed-profile restrictions limit casual copying of corporate records into personal apps while retaining separate personal device use; the proposed improvement would make sense for Android work profile isolation but not as the main fix here; the tested fault instead involves deep-link validation.
C:Explicit component exposure and caller checks prevent another application from invoking privileged behavior meant only for internal flows; the specific root cause belongs to deep-link validation, beyond this control's intended scope.
D:TLS protects API exchanges in transit and platform policy stops accidental fallback to unencrypted endpoints; that change targets cleartext mobile API traffic, while the confirmed weakness involves deep-link validation.
Question 381
An incident analyst is asked to classify this observed activity: A publicly trusted TLS certificate lists a previously unknown subdomain that does not appear on the corporate website. Which concept is the closest match?
- Reverse DNS footprinting
- Technology banner aggregation
- Subdomain wordlist discovery
- Certificate transparency discovery
Explanation
Correct Answer
D:Certificate transparency logs are public issuance records; hostnames in certificate subject alternative names may reveal externally relevant assets without probing the hosts. A targeted mitigation is to review certificate issuance and audit publicly exposed hostnames; monitoring issuance records and inventorying discovered names helps detect unexpected certificates and reduce disclosure through overly broad certificate naming.
Incorrect Answers
A:Reverse DNS uses PTR records to map an address back to a hostname; descriptive PTR values can inadvertently reveal infrastructure purpose; that behavior is distinct from the certificate transparency discovery finding being classified.
B:Internet device search engines index observable service responses and metadata collected through their own scans; an assessor can review those records passively; the scenario identifies certificate transparency discovery, which has a different triggering condition.
C:Subdomain enumeration combines naming patterns and DNS responses to uncover assets that organizational web navigation may not mention; the defining symptom in the prompt is associated with certificate transparency discovery instead.
Question 382
During a documented lab review, an analyst notes: Company apps and personal apps coexist on one Android phone but must use separately managed data and policy boundaries. What mechanism should be recorded?
- MDM selective wipe
- Excessive mobile permissions
- Android work profile isolation
- Rooted Android exposure
Explanation
Correct Answer
C:An Android work profile partitions managed applications and data from the personal profile, supporting differentiated security policy on BYOD devices. This is why teams should deploy enterprise work profiles with controlled data-sharing rules; managed-profile restrictions limit casual copying of corporate records into personal apps while retaining separate personal device use.
Incorrect Answers
A:Mobile device management can distinguish corporate-managed data from personal content when supported enrollment and separation features are used; the scenario identifies Android work profile isolation, which has a different triggering condition.
B:Overprivileged mobile apps expand the information available after compromise or abuse; the platform permission model should track actual features; the defining symptom in the prompt is associated with Android work profile isolation instead.
D:Rooting grants exceptional control over the device and can weaken integrity controls or app isolation relied on by organizational security policies; the reported conditions are characteristic of Android work profile isolation, not that path.
Question 383
Operations asks for a practical correction after the test found: A service account used for endpoint administration can browse departmental shares outside its assignment because broad SMB share listing and permissions were never reduced. What should the security team recommend?
- Protect routing management interfaces and authenticate peer sessions
- Manage service-account permissions and use strong managed secrets
- Patch time services and restrict diagnostic control queries
- Restrict share listing and access through SMB permissions and segmentation
Explanation
Correct Answer
D:Share and NTFS permissions plus network isolation reduce unauthorized resource browsing even when SMB must remain available to staff. It directly addresses this mechanism: SMB enumeration obtains resource details such as shares and access configuration after network discovery; an open port alone does not supply these objects.
Incorrect Answers
A:Restricting management access and securing routing neighbors reduces unwanted disclosure and unauthorized route-policy changes; that change targets BGP neighbor disclosure, while the confirmed weakness involves SMB share enumeration.
B:Tight account privileges and long, rotated secrets limit subsequent ticket-based password attacks after SPN exposure; it would improve Kerberos SPN listing, not directly correct the reported SMB share enumeration issue.
C:Current versions and access restrictions prevent unnecessary query disclosures while leaving time synchronization available to approved clients; the measure addresses a different trust boundary from the SMB share enumeration finding.
Question 384
A reviewer must label three distinct findings: A vulnerability retains the same standardized technical severity when an organization changes the business owner of the affected asset. A second record says: A network review omits exposed management interfaces because its discovery job checks IPv4 only, while the same devices remain reachable over an active IPv6 segment. A third record states: A vulnerability scanner automatically follows newly discovered routes into a student Wi-Fi segment that the approved testing document explicitly marks outside the engagement. Select THREE matching technical concepts.
- CVE identifier
- False-negative scan
- CVSS base score
- Assessment exclusions
- Authenticated vulnerability scan
- CPE asset matching
Explanation
Correct Answers
B:A false negative means a real weakness is not reported; reachability constraints or missing credentials can hide vulnerable components; its indicators are tied to the false-negative scan record, not to the finding involving CVSS base score, assessment exclusions.
C:CVSS base metrics characterize intrinsic exploitability and impact; local exposure and business consequences are captured separately through context or environmental assessment; this supports one of the required classifications, distinct from the evidence for false-negative scan, assessment exclusions.
D:A scanner's discovery capability does not change the rules of engagement; unapproved hosts can suffer performance or stability impact from probing; this technical behavior accounts for the assessment exclusions observation, while CVSS base score, false-negative scan concerns the other independent evidence.
Incorrect Answers
A:A CVE is a standardized identifier for a disclosed vulnerability; it is not itself a severity score, exploit proof, or patch confirmation; the events given do not establish this behavior but do support CVSS base score, false-negative scan, assessment exclusions.
E:Credentialed scanning examines installed versions, configurations, and local patch state; network-only checks may miss software with no exposed banner; the relevant mechanism in the observed workflow is CVSS base score, false-negative scan, assessment exclusions instead.
F:Common Platform Enumeration provides standardized product identifiers used in automated matching; an imprecise product mapping can create false findings; those effects are not the CVSS base score, false-negative scan, assessment exclusions pattern evidenced by the assessment.
Question 385
A security change request summarizes the problem as follows: Security scans find that trusted desktop executables have had malicious instructions inserted into their binary contents and now spread that modification when the programs run. Which remediation is best suited to it?
- Keep isolated immutable backups and restrict bulk file-write privileges
- Patch exploited services and restrict east-west communication
- Use integrity monitoring and execution controls on trusted binaries
- Collect process command lines and script telemetry with behavioral detection
Explanation
Correct Answer
C:File verification and controlled execution help identify infected hosts and interrupt propagation through modified application files. The specific weakness being corrected is that a virus attaches itself to another file or executable and commonly depends on host execution to spread, unlike a self-propagating worm.
Incorrect Answers
A:Recoverable backup copies and limited write access reduce operational leverage even if an endpoint successfully encrypts its reachable files; the proposed improvement would make sense for ransomware encryption activity but not as the main fix here; the tested fault instead involves file-infecting virus.
B:Closing the propagation path and segmenting reachable hosts limits autonomous spread faster than relying on employee attachment awareness alone; the specific root cause belongs to file-infecting virus, beyond this control's intended scope.
D:Observing interpreter behavior and memory-backed execution identifies activity that signature scans of executable files may overlook; it would improve fileless memory execution, not directly correct the reported file-infecting virus issue.
Question 386
The approved engagement produces this evidence: A compromised user identity accesses administrative shares on several neighboring Windows hosts after initial access to one workstation. What is the correct technical interpretation?
- Local privilege escalation
- Lateral movement over SMB
- Unquoted service path abuse
- Credential stuffing
Explanation
Correct Answer
B:Lateral movement extends access from an initial foothold to other systems using reachable services and credentials, often exploiting excessive administrative reuse. The appropriate hardening measure is to segment SMB management traffic and tier privileged credentials, since restricting remote administration paths and separating host-specific administrative identities limits how far one stolen credential can travel.
Incorrect Answers
A: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; those prerequisites differ from the lateral movement over SMB behavior in the record.
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; the relevant mechanism in the observed workflow is lateral movement over SMB instead.
D:Credential stuffing replays stolen username-password pairs at other applications, relying on password reuse rather than creating guesses from a dictionary; those effects are not the lateral movement over SMB pattern evidenced by the assessment.
Question 387
The testing team seeks a specific preventive recommendation for this finding: Two clients establish an ephemeral shared secret through an elliptic-curve exchange, but a network intermediary might impersonate the peer unless identities are authenticated. What should be implemented?
- Guarantee unique nonces per encryption key and rotate affected keys
- Manage recipient certificates and private keys for encrypted S-MIME messages
- Use HMAC with secret-key rotation and canonical message formatting
- Authenticate ephemeral key exchange with validated peer certificates
Explanation
Correct Answer
D:Certificate verification prevents man-in-the-middle key substitution while ephemeral elliptic-curve exchange supports fresh traffic keys. It targets the actual failure mode: elliptic-curve Diffie–Hellman establishes shared key material from key pairs; an authenticated handshake is needed to resist active impersonation.
Incorrect Answers
A:Nonce-generation discipline protects the authentication construction, while key rotation limits exposure after uniqueness guarantees have failed; the tested weakness is elliptic-curve key exchange, not the AES-GCM nonce reuse configuration addressed here.
B:Verified certificates and sound key custody enable intended recipients to decrypt content while supporting sender authenticity when messages are signed; that safeguard does not directly close the elliptic-curve key exchange route highlighted by the test.
C:Only holders of the shared secret can produce a valid tag, while consistent serialization prevents verification discrepancies; the proposed improvement would make sense for HMAC integrity check but not as the main fix here; the tested fault instead involves elliptic-curve key exchange.
Question 388
A defender analyzing an approved exercise sees this pattern: A search feature binds user input as a SQL parameter but treats literal percent and underscore characters as wildcard patterns unexpectedly. Which mechanism is most consistent with it?
- LIKE wildcard misunderstanding
- NoSQL operator injection
- WAF-only injection defense
- Error-based SQL injection
Explanation
Correct Answer
A:Parameterization prevents SQL syntax injection, yet LIKE pattern characters can still change matching semantics if the application expects literal user text. For a production safeguard, operators can escape LIKE wildcard characters when literal matching is required; separating query syntax from values is necessary for injection safety, while pattern escaping preserves intended search meaning.
Incorrect Answers
B:NoSQL injection abuses interpretation of structured query operators rather than SQL text syntax; unvalidated input types can alter database predicates; those effects are not the LIKE wildcard misunderstanding pattern evidenced by the assessment.
C:WAF rules are supplemental pattern and behavior controls; alternate encodings or novel query shapes can evade signatures while the code defect remains; the case demonstrates LIKE wildcard misunderstanding rather than the alternate mechanism.
D:Error-based SQL injection extracts information through database-generated errors when untrusted input alters SQL syntax and diagnostics reach the client; the observed evidence concerns LIKE wildcard misunderstanding instead.
Question 389
A production hardening ticket was raised after this confirmed observation: A customer directory search uses a bound LIKE expression but accidentally treats percent signs in a user's literal search term as SQL pattern instructions. Which action best targets the risk?
- Use parameterized values alone and assume LIKE wildcards become literal automatically
- Use case-insensitive collation without changing wildcard interpretation
- Escape LIKE wildcard characters when literal matching is required
- Escape HTML tags in the search term and pass percent characters unchanged
Explanation
Correct Answer
C:Separating query syntax from values is necessary for injection safety, while pattern escaping preserves intended search meaning. That correction is linked to the fact that parameterization prevents SQL syntax injection, yet LIKE pattern characters can still change matching semantics if the application expects literal user text.
Incorrect Answers
A:Binding separates syntax from values but a bound percent or underscore still acts as a LIKE pattern wildcard; the LIKE wildcard misunderstanding weakness in the question therefore remains uncorrected.
B:Collation affects comparisons and case sensitivity, not whether percent and underscore are pattern operators; the LIKE wildcard misunderstanding weakness in the question therefore remains uncorrected.
D:HTML encoding concerns rendered markup; it does not make special SQL LIKE pattern characters literal; the LIKE wildcard misunderstanding weakness in the question therefore remains uncorrected.
Question 390
Operations asks for a practical correction after the test found: A compromised web worker can overwrite script files under the document root because the runtime account has deployment write privileges as well as temporary-file access. What should the security team recommend?
- Restrict management access through private networks and strong authentication
- Separate writable data from code and run the worker with minimal rights
- Normalize request framing and reject ambiguous HTTP messages at every hop
- Remove sample applications and harden the deployed server baseline
Explanation
Correct Answer
B:Read-only deployment paths and distinct service permissions reduce the impact of a web process compromise. The safeguard responds to the underlying issue: overly broad filesystem write permissions let a compromised process alter deployed code or content beyond its legitimate runtime data needs.
Incorrect Answers
A:Network isolation narrows who can attempt administrative operations, while MFA and role controls protect approved administrators; the specific root cause belongs to web-root permission weakness, beyond this control's intended scope.
C:Consistent parsing prevents one component from treating attacker-controlled bytes as the beginning of a separate victim request; it would improve HTTP request smuggling, not directly correct the reported web-root permission weakness issue.
D:Eliminating unneeded components reduces exposed code paths instead of relying on the absence of links to hidden demo content; the measure addresses a different trust boundary from the web-root permission weakness finding.