ECCouncil 312-50v13 (Certified Ethical Hacker v13) Practice Test 11

Question 100

An authorized security review documents this behavior: Several employees visit a frequently used industry resource and later receive malicious scripts from that otherwise familiar website. Which mechanism best accounts for the finding?

  1. Smishing
  2. Business email compromise
  3. Synthetic-voice impersonation
  4. Watering-hole compromise

Explanation

Correct Answer

D:

Watering-hole attacks compromise a site commonly visited by a target population, delivering malicious content through a trusted browsing habit. This is why teams should apply browser isolation or hardening and monitor third-party script behavior; client-side controls and update hygiene reduce damage from compromised familiar sites that cannot be safely treated as automatically trustworthy.

Incorrect Answers

A:

Smishing delivers phishing content through text messaging; the medium often creates pressure to follow a short link on a mobile device; the relevant mechanism in the observed workflow is watering-hole compromise instead.

B:

Business email compromise manipulates financial or business workflows through impersonation or compromised correspondence rather than necessarily delivering malware; those effects are not the watering-hole compromise pattern evidenced by the assessment.

C:

AI-generated voice impersonation can mimic recognizable speech, so an apparent familiar voice is not sufficient identity proof; the case demonstrates watering-hole compromise rather than the alternate mechanism.

Question 101

An incident analyst is asked to classify this observed activity: A managed phone with elevated root access permits a third-party process to bypass restrictions that ordinary application sandboxes would enforce. Which concept is the closest match?

  1. Android work profile isolation
  2. Sideloaded APK risk
  3. Jailbroken iOS risk
  4. Rooted Android exposure

Explanation

Correct Answer

D:

Rooting grants exceptional control over the device and can weaken integrity controls or app isolation relied on by organizational security policies. This is why teams should use device attestation and restrict access from unsupported rooted endpoints; integrity checks and conditional access prevent high-trust applications from assuming ordinary platform protections remain intact on modified devices.

Incorrect Answers

A:

An Android work profile partitions managed applications and data from the personal profile, supporting differentiated security policy on BYOD devices; those effects are not the rooted Android exposure pattern evidenced by the assessment.

B:

Sideloading bypasses normal organizational app provenance workflows and can install modified packages if installation controls permit it; the case demonstrates rooted Android exposure rather than the alternate mechanism.

C:

Jailbreaking removes or circumvents operating-system restrictions, reducing the assurance normally provided by signed code and system isolation; the observed evidence concerns rooted Android exposure instead.

Question 102

The assessment evidence reads as follows: A backend trusts client-supplied forwarded-IP headers as though they always came from a controlled reverse proxy. Which technical concept explains the result?

  1. Reverse proxy trust boundary
  2. Invalid certificate chain
  3. Static-file path traversal
  4. Server version header
  5. HTTP request smuggling

Explanation

Correct Answer

A:

Proxy metadata headers are only trustworthy when inserted or sanitized by an authenticated, trusted upstream hop; arbitrary clients may forge them. For a production safeguard, operators can accept forwarding headers only from trusted proxy addresses; header sanitization and source validation prevent direct clients from impersonating internal addresses or bypassing IP-based controls.

Incorrect Answers

B:

TLS certificate chain validation requires a verifiable route from the presented certificate through intermediates to a trusted root; the observed evidence concerns reverse proxy trust boundary instead.

C:

Path traversal results from unsafe path normalization or file resolution, letting attacker-controlled relative segments escape an intended filesystem root; the test record points specifically to reverse proxy trust boundary, not this separate mechanism.

D:

Response headers can reveal software identifiers that help attackers compare a host with known vulnerabilities; disclosure is not exploitation by itself; that behavior is distinct from the reverse proxy trust boundary finding being classified.

E:

Request smuggling arises from inconsistent HTTP message framing between intermediaries, notably conflicting length or transfer-encoding interpretation; the scenario identifies reverse proxy trust boundary, which has a different triggering condition.

Question 103

The asset owner wants to stop the verified condition recurring: A profile-update JSON object is mapped directly to the persistent user model, so an unexpected isAdmin field becomes writable by an ordinary account. What is the most targeted improvement?

  1. Authorize every object access against the authenticated principal
  2. Replace unsafe DOM sinks with text-safe APIs and validate client data
  3. Avoid shell invocation and pass validated arguments to direct process APIs
  4. Use explicit allowlists or data-transfer objects for writable fields

Explanation

Correct Answer

D:

Server-side property controls keep privileged attributes out of general user update workflows regardless of submitted JSON keys. The technical basis for the recommendation is that mass assignment happens when client-controlled properties are mapped into sensitive model attributes without an allowed-field boundary.

Incorrect Answers

A:

Server-side object ownership or policy checks stop horizontal data access even when identifiers are guessable or sequential; its security benefit applies principally to insecure direct object reference, not the defect described; the tested fault instead involves mass assignment.

B:

Using textContent or safe templating blocks markup interpretation even when attacker-controlled fragments never pass through the server; the exposure here is mass assignment, which calls for another protective mechanism.

C:

Separating executable selection from user data prevents shell parsing from transforming input into additional commands; the action is aimed at operating-system command injection; it leaves the central mass assignment condition unresolved.

Question 104

The assessment evidence reads as follows: An organization deploys a container built from an old base layer containing vulnerable libraries despite its application code having passed review. Which technical concept explains the result?

  1. Public object storage exposure
  2. Cloud posture drift
  3. Static cloud access keys
  4. Unscanned container image
  5. Container runtime escape

Explanation

Correct Answer

D:

Container images package operating-system dependencies as well as application files, so image vulnerability exposure can persist beneath otherwise secure code. To constrain the corresponding risk, defenders should scan signed images and refresh vulnerable base layers; dependency inventories and build gates catch vulnerable packaged components before deployment and promote reproducible patching.

Incorrect Answers

A:

Public object permissions expose stored data independently of whether the bucket name is difficult to guess; link obscurity does not enforce authorization; the test record points specifically to unscanned container image, not this separate mechanism.

B:

Cloud posture drift occurs when deployed configuration departs from defined policy through manual edits or automated infrastructure changes; that behavior is distinct from the unscanned container image finding being classified.

C:

Long-lived static credentials remain useful after an instance is discarded unless revoked, creating persistent exposure across build artifacts and logs; the scenario identifies unscanned container image, which has a different triggering condition.

E:

Container isolation relies on kernel boundaries and runtime restrictions; privileged mode and host mounts deliberately weaken that separation; the events given do not establish this behavior but do support unscanned container image.

Question 105

In a permitted test environment, the analyst records: An ordinary account invokes an administrative API operation directly despite the user interface hiding the corresponding control. What is the most precise classification?

  1. Broken function-level authorization
  2. Mass assignment
  3. Business-logic race condition
  4. Reflected cross-site scripting
  5. Open redirect

Explanation

Correct Answer

A:

Function-level authorization failure lets a user reach privileged operations by calling endpoints without the required role or policy checks. This is why teams should enforce server-side role checks on every privileged API operation; hiding a menu button changes only presentation; an endpoint must reject callers who lack authority regardless of how it was invoked.

Incorrect Answers

B:

Mass assignment happens when client-controlled properties are mapped into sensitive model attributes without an allowed-field boundary; the scenario identifies broken function-level authorization, which has a different triggering condition.

C:

A race condition lets concurrent operations violate a business invariant when checks and updates are not atomic or appropriately serialized; the defining symptom in the prompt is associated with broken function-level authorization instead.

D:

Reflected XSS returns unsafely embedded input in the immediate server response; the payload does not need to be permanently stored by the application; the events given do not establish this behavior but do support broken function-level authorization.

E:

Open redirects allow attacker-controlled destinations in a trusted application's navigation flow, which can aid phishing and token misrouting; the reported conditions are characteristic of broken function-level authorization, not that path.

Question 106

The asset owner wants to stop the verified condition recurring: A time server permits unauthenticated monitoring commands that return internal associations and operational statistics beyond normal time synchronization. What is the most targeted improvement?

  1. Require authenticated binds and restrict readable directory attributes
  2. Restrict share listing and access through SMB permissions and segmentation
  3. Patch time services and restrict diagnostic control queries
  4. Use SNMPv3 with authentication, privacy, and management ACLs
  5. Limit unintended public exposure of internal service records

Explanation

Correct Answer

C:

Current versions and access restrictions prevent unnecessary query disclosures while leaving time synchronization available to approved clients. The safeguard responds to the underlying issue: historical NTP monitoring commands exposed association or client information on some versions; modern implementations commonly restrict or remove these behaviors.

Incorrect Answers

A:

Authentication and attribute-level authorization stop unauthenticated collection of membership information while retaining approved application queries; this is relevant to a separate anonymous LDAP bind scenario, rather than the identified exposure; the tested fault instead involves NTP control-query exposure.

B:

Share and NTFS permissions plus network isolation reduce unauthorized resource browsing even when SMB must remain available to staff; the tested weakness is NTP control-query exposure, not the SMB share enumeration configuration addressed here.

D:

SNMPv3 protects management exchanges, while device and network restrictions reduce exposure of sensitive interface and configuration details; the proposed improvement would make sense for SNMP default community but not as the main fix here; the tested fault instead involves NTP control-query exposure.

E:

Split DNS and zone design keep internal discovery available to clients without unnecessarily exposing internal service topology to the internet; the specific root cause belongs to NTP control-query exposure, beyond this control's intended scope.

Question 107

A controlled investigation yields this observation: A cross-site form submission includes a session cookie that the application did not intend to share with third-party initiators. How should the team identify the underlying behavior?

  1. SameSite cookie behavior
  2. HttpOnly cookie attribute
  3. XSS-mediated cookie theft
  4. CSRF request forgery

Explanation

Correct Answer

A:

SameSite controls when browsers attach cookies to cross-site requests; Strict and Lax differ in their treatment of navigation and request methods. The appropriate hardening measure is to apply appropriate SameSite settings and separate anti-CSRF checks, since cookie restrictions reduce ambient authority on cross-site requests, while CSRF tokens still protect state-changing actions and compatibility cases.

Incorrect Answers

B:

HttpOnly prevents browser JavaScript from reading a cookie, but the browser can still attach it to legitimate HTTP requests; the events given do not establish this behavior but do support SameSite cookie behavior.

C:

Cross-site scripting can expose session cookies when HttpOnly is absent; the attacker obtains the bearer token rather than learning the account password; the reported conditions are characteristic of SameSite cookie behavior, not that path.

D:

CSRF exploits ambient browser authentication to induce unwanted actions; the adversary does not necessarily learn or steal the session identifier; those prerequisites differ from the SameSite cookie behavior behavior in the record.

Question 108

The tester submits the following verified finding: The web server's administration endpoint is reachable from the public internet even though operations uses it only from a private network. Which technique or condition is involved?

  1. Server version header
  2. Exposed management interface
  3. Legacy TLS configuration
  4. HTTP TRACE exposure

Explanation

Correct Answer

B:

Administrative panels expose privileged configuration functions and attract credential attacks when globally reachable, regardless of whether a login screen exists. A practical defensive response is to restrict management access through private networks and strong authentication; network isolation narrows who can attempt administrative operations, while MFA and role controls protect approved administrators.

Incorrect Answers

A:

Response headers can reveal software identifiers that help attackers compare a host with known vulnerabilities; disclosure is not exploitation by itself; the events given do not establish this behavior but do support exposed management interface.

C:

Weak transport negotiation may permit deprecated algorithms or downgrade paths; the chosen TLS profile is separate from application-level authorization; those prerequisites differ from the exposed management interface behavior in the record.

D:

TRACE is a diagnostic HTTP method that echoes received request information; unnecessary support can add exposure in certain client and proxy configurations; this would classify another type of evidence, whereas the actual finding shows exposed management interface.

Question 109

A security change request summarizes the problem as follows: A safety shutdown network shares ordinary office switching infrastructure and can receive traffic originating from compromised employee laptops. Which remediation is best suited to it?

  1. Enforce verified boot and signed firmware updates
  2. Validate signed update manifests and protect rollback policy
  3. Separate safety control networks and require approved safety change procedures
  4. Disable production debug access and physically protect service interfaces
  5. Require client authentication and per-topic publish and subscribe ACLs
  6. Segment historian access and enforce application-specific read permissions

Explanation

Correct Answer

C:

Network isolation and strict management processes reduce the likelihood that enterprise compromise interferes with protective shutdown functions. The technical basis for the recommendation is that safety instrumented systems provide independent protective functions and should not inherit broad office-network exposure that could undermine their reliability.

Incorrect Answers

A:

Signature checks bind executable firmware to trusted release authorities and reduce unauthorized code replacement during upgrades; the proposed improvement would make sense for unsigned device firmware but not as the main fix here; the tested fault instead involves safety instrumented system boundary.

B:

Cryptographic provenance and version controls prevent unauthorized firmware images or unsafe downgrades from being installed; the specific root cause belongs to safety instrumented system boundary, beyond this control's intended scope.

D:

Debug locking and tamper-resistant enclosure reduce unauthorized local access to memory and configuration on deployed hardware; it would improve exposed hardware debug port, not directly correct the reported safety instrumented system boundary issue.

E:

Identity and topic permissions stop unrelated clients from controlling or observing telemetry streams merely by reaching the broker; the measure addresses a different trust boundary from the safety instrumented system boundary finding.

F:

Controlled paths preserve authorized reporting while reducing broad visibility into industrial telemetry and possible pivot routes; the required correction concerns safety instrumented system boundary, so this is not the targeted control.

Question 110

A follow-up review must reduce the risk revealed here: A laptop suddenly selects an unapproved IPv6 gateway announced by a rogue host despite no authorized change to router configuration. Which defensive measure fits the specific failure mode?

  1. Enable RA Guard and monitor authorized IPv6 routers
  2. Enable DHCP snooping and rate limits on untrusted access ports
  3. Trust only approved DHCP uplinks through switch DHCP snooping
  4. Enable dynamic ARP inspection with trusted DHCP-snooping bindings

Explanation

Correct Answer

A:

Switch filtering for unauthorized advertisements protects host routing decisions while retaining legitimate IPv6 neighbor and router discovery. It directly addresses this mechanism: IPv6 router advertisements can configure host routing automatically; fake advertisements may redirect IPv6 traffic even in primarily IPv4-managed networks.

Incorrect Answers

B:

Per-port request limits and trusted DHCP server ports reduce lease exhaustion and constrain DHCP-origin abuse at the access layer; its security benefit applies principally to DHCP starvation, not the defect described; the tested fault instead involves IPv6 router-advertisement spoofing.

C:

Filtering server replies on user-facing ports prevents unauthorized devices from assigning gateway and resolver settings to clients; the exposure here is IPv6 router-advertisement spoofing, which calls for another protective mechanism.

D:

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 IPv6 router-advertisement spoofing condition unresolved.

Certified Ethical Hacker v13 (312-50v13) Practice Tests