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

Question 220

The team is closing an assessment finding: An attacker instructs a user to approve an unsolicited authenticator prompt as part of a supposed help-desk repair. What measure is most appropriate to implement?

  1. Prohibit sharing verification codes and require callbacks to published support numbers.
  2. Enforce dual approval and independently verify high-value instructions regardless of apparent sender rank.
  3. Use phishing-resistant authentication and instruct staff to reject prompts they did not initiate.
  4. Enforce one-person-per-credential access and provide safe visitor challenge procedures.

Explanation

Correct Answer

C:

Social pressure can convert an MFA approval into user-assisted account takeover despite a separate factor; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that test events show unsolicited approval requests are rejected and reported through the security channel.

Incorrect Answers

A:

Vishing exploits voice conversations to elicit secrets or persuade users to take unsafe actions; the proposed safeguard addresses a case where a caller posing as technical support asks an employee to read a one-time login code aloud, rather than the MFA approval deception finding described here.

B:

Whaling targets senior leaders or uses their authority to manipulate high-value business decisions; the proposed safeguard addresses a case where a message impersonates a senior officer and directs the finance team to bypass a payment approval step, rather than the MFA approval deception finding described here.

D:

Tailgating exploits courtesy or distraction to cross physical security boundaries without individual authorization; the proposed safeguard addresses a case where an unbadged visitor follows a legitimate employee through a controlled door without presenting credentials, rather than the MFA approval deception finding described here.

Question 221

Which statement is most consistent with the actual behavior of public API directory listing?

  1. Anonymous FTP can publish files and names without identity verification or transport encryption.
  2. Excessive API enumeration arises when list endpoints lack authorization or safe pagination and filtering.
  3. DNS records may expose system naming and topology when public and internal views are mixed.
  4. LDAP directory reads can disclose identity structure when anonymous search rights are too broad.
  5. NFS export configurations can expose mountable file systems and depend on host and user identity controls.

Explanation

Correct Answer

B:

An administrative API lists internal user identifiers through an endpoint open to all clients; that situation illustrates the actual operating behavior under review. Its practical safeguard is to require authorization on collection endpoints and restrict fields returned to each role, with confirmation when tests with an unprivileged token cannot list restricted identifiers or fields.

Incorrect Answers

A:

An old file-transfer service exposes a directory listing to a user without authentication; those details characterize anonymous FTP listing and would call for disable public anonymous access unless the published data is expressly intended for unrestricted release, rather than explaining public API directory listing.

C:

An external reviewer learns internal-looking DNS names from a public-facing name service; those details characterize DNS service enumeration and would call for separate public DNS data from private records and review externally published names, rather than explaining public API directory listing.

D:

A directory service returns user and group details to an unauthenticated client connection; those details characterize anonymous LDAP bind and would call for disable unnecessary anonymous directory searches and scope read permissions to approved identities, rather than explaining public API directory listing.

E:

A storage server discloses exported file systems to a remote system outside its application tier; those details characterize NFS export listing and would call for restrict exports by trusted clients and enforce appropriate identity mapping and access permissions, rather than explaining public API directory listing.

Question 222

An assessor must categorize a result: A connected controller exposes a vendor maintenance page with unchanged factory settings over the plant network. Which category best fits the observed condition?

  1. Modbus authentication boundary
  2. Embedded web UI hardening
  3. IoT network segregation
  4. IoT secure update lifecycle

Explanation

Correct Answer

B:

Embedded management interfaces may retain obsolete defaults and limited authentication controls for years; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to remove default access paths and restrict management UI reachability to authorized maintenance stations, verified when configuration and network checks prove ordinary plant clients cannot reach the protected admin page.

Incorrect Answers

A:

Traditional Modbus lacks inherent cryptographic identity and confidentiality protections on its own; this different classification would fit when a legacy industrial device exchanges control commands through a protocol with no built-in user authentication, not the evidence pointing to embedded web ui hardening in the question.

C:

Connected devices with limited management assurance should not inherit unrestricted enterprise network trust; this different classification would fit when an internet-connected camera can initiate sessions to corporate finance workstations, not the evidence pointing to embedded web ui hardening in the question.

D:

Unmanaged update processes leave persistent known weaknesses in long-lived embedded deployments; this different classification would fit when deployed devices receive security fixes inconsistently because no operator owns their update policy, not the evidence pointing to embedded web ui hardening in the question.

Question 223

An authorized audit identifies the following behavior: A probe to a specific port receives no response while other ports on the same host reply. Which classification is most defensible?

  1. TCP reset interpretation
  2. Filtered TCP port
  3. UDP response ambiguity
  4. TCP three-way handshake

Explanation

Correct Answer

B:

Filtering or packet loss can prevent a conclusive TCP port-state observation from a remote position; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to use an approved alternate vantage point and inspect ACL logs to separate filtering from packet loss, verified when firewall decisions and permitted-path tests explain why the remote probe cannot establish a state.

Incorrect Answers

A:

A reset typically signals a rejected or nonexistent TCP connection, which differs from silent filtering; this different classification would fit when a probe receives an immediate RST from a reachable address rather than a service welcome banner, not the evidence pointing to filtered TCP port in the question.

C:

UDP lacks a connection handshake; silence alone does not prove whether an application is listening; this different classification would fit when a UDP service probe returns no payload and no reachable error indication, not the evidence pointing to filtered TCP port in the question.

D:

TCP establishes state through a handshake before transferring reliable bidirectional application data; this different classification would fit when a connection trace shows SYN, SYN-ACK, and ACK before application data flows, not the evidence pointing to filtered TCP port in the question.

Question 224

When documenting session expiry enforcement, which technical principle belongs in the assessment report?

  1. CSRF abuses ambient browser credentials when the application fails to verify the user's request intent.
  2. Idle and absolute expiration limit how long stolen or unattended session credentials can remain useful.
  3. Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session.
  4. SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse.

Explanation

Correct Answer

B:

An abandoned authenticated session remains valid long after the organization's required inactivity window; that situation illustrates the actual operating behavior under review. Its practical safeguard is to enforce server-side inactivity and maximum lifetime limits with explicit token invalidation, with confirmation when expired tokens are rejected by the server even if the browser still holds the original cookie.

Incorrect Answers

A:

A logged-in user's browser submits a state-changing request after visiting an unrelated malicious page; those details characterize cross-site request forgery and would call for use anti-CSRF tokens and suitable SameSite cookie restrictions on state-changing operations, rather than explaining session expiry enforcement.

C:

A user keeps the same session identifier after authentication that was assigned before login; those details characterize session fixation and would call for regenerate the session identifier after successful login or privilege elevation, rather than explaining session expiry enforcement.

D:

A cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application; those details characterize sensitive cookie samesite policy and would call for choose an appropriate SameSite policy and independently protect state-changing requests against CSRF, rather than explaining session expiry enforcement.

Question 225

A review discusses modbus authentication boundary. Which statement correctly describes the underlying technical behavior?

  1. Operational technology places physical safety and process continuity ahead of routine disruptive test coverage.
  2. Embedded management interfaces may retain obsolete defaults and limited authentication controls for years.
  3. Traditional Modbus lacks inherent cryptographic identity and confidentiality protections on its own.
  4. Connected devices with limited management assurance should not inherit unrestricted enterprise network trust.

Explanation

Correct Answer

C:

A legacy industrial device exchanges control commands through a protocol with no built-in user authentication; that situation illustrates the actual operating behavior under review. Its practical safeguard is to compensate with network isolation, industrial-aware monitoring, and trusted control endpoints, with confirmation when segment tests confirm only authorized engineering stations can send traffic to control devices.

Incorrect Answers

A:

An assessor proposes aggressive availability testing against a live industrial controller during production; those details characterize OT safety priority and would call for use an approved maintenance window, passive observation, or digital twin for hazardous assessments, rather than explaining modbus authentication boundary.

B:

A connected controller exposes a vendor maintenance page with unchanged factory settings over the plant network; those details characterize embedded web ui hardening and would call for remove default access paths and restrict management UI reachability to authorized maintenance stations, rather than explaining modbus authentication boundary.

D:

An internet-connected camera can initiate sessions to corporate finance workstations; those details characterize IoT network segregation and would call for place IoT devices in dedicated segments with narrowly permitted destination and management paths, rather than explaining modbus authentication boundary.

Question 226

After applying safeguards for database injection telemetry, which observable result most directly establishes that they work?

  1. Alert tests associate suspicious SQL error spikes with the responsible API route and incident workflow.
  2. End-to-end tests show persisted special characters remain values in subsequent database operations.
  3. Permission tests show the reporting account cannot alter schema or modify unrelated records.
  4. Public responses conceal schema diagnostics while restricted server logs retain investigation details.

Explanation

Correct Answer

A:

Correlated query diagnostics can expose attempted injection and vulnerable code paths without storing sensitive input unnecessarily; the outcome tests this precise property in the production control. It relates to the original observation that a monitoring team sees unusual query errors and changing SQL shapes tied to one client endpoint.

Incorrect Answers

B:

Second-order injection arises when previously persisted untrusted content becomes executable query syntax downstream; that evidence is relevant when data safely stored as text later enters a different program's dynamic SQL construction without parameter binding, but does not establish closure of the database injection telemetry exposure.

C:

Excessive database privileges magnify the effect of application bugs or injection attempts; that evidence is relevant when a read-only reporting feature connects to the database with an account allowed to modify all tables, but does not establish closure of the database injection telemetry exposure.

D:

Uncaught database errors can leak query structure and database internals to remote users; that evidence is relevant when a malformed user parameter causes the application to display raw database syntax and schema details, but does not establish closure of the database injection telemetry exposure.

Question 227

A single approved remediation review covers 2 separately named requirements: (1) TCP reset interpretation; (2) Filtered TCP port. Which audit outcomes would directly demonstrate protection for those areas? Choose TWO.

  1. Packet traces show valid handshake completion and matching return traffic for authorized connections.
  2. A service inventory and capture show whether the endpoint deliberately rejects that destination port.
  3. Firewall decisions and permitted-path tests explain why the remote probe cannot establish a state.
  4. Application health telemetry and approved connection tests confirm service availability independently of ping.
  5. Host socket inventory and an approved protocol exchange identify the true process and service.

Explanation

Correct Answers

B:

This verifies the TCP reset interpretation component alongside TCP reset interpretation in the combined audit: a reset typically signals a rejected or nonexistent TCP connection, which differs from silent filtering. For the TCP reset interpretation audit set, the relevant observed case is that a probe receives an immediate RST from a reachable address rather than a service welcome banner.

C:

This verifies the filtered TCP port component alongside TCP reset interpretation in the combined audit: filtering or packet loss can prevent a conclusive TCP port-state observation from a remote position. For the TCP reset interpretation audit set, the relevant observed case is that a probe to a specific port receives no response while other ports on the same host reply.

Incorrect Answers

A:

TCP establishes state through a handshake before transferring reliable bidirectional application data; this result is evidence about TCP three-way handshake when a connection trace shows SYN, SYN-ACK, and ACK before application data flows, not a direct closure test for the named TCP reset interpretation, filtered TCP port requirements.

D:

Echo-response filtering can hide ping responses without proving that the host or its services are offline; this result is evidence about ICMP echo filtering when a monitored host does not answer ping but its approved application endpoint still accepts connections, not a direct closure test for the named TCP reset interpretation, filtered TCP port requirements.

E:

Port numbers are conventions; application-layer content and process ownership establish actual service identity; this result is evidence about port-to-service mismatch when a responder finds an HTTP-speaking service listening on an unexpected numeric port, not a direct closure test for the named TCP reset interpretation, filtered TCP port requirements.

Question 228

An approved test produces this finding: A memory snapshot of a sensitive process contains material that could authenticate to other services. Which protective action most directly addresses it?

  1. Store passwords with unique salts and a modern memory-hard or deliberately slow password hash.
  2. Enforce phishing-resistant MFA and detect known-compromised credentials and abnormal sign-in patterns.
  3. Apply operating-system credential protections and reduce privileged interactive sessions on exposed endpoints.
  4. Review and restrict scheduled-task creation, then monitor changes to persistence locations.

Explanation

Correct Answer

C:

Processes holding reusable secrets in memory can expose authentication artifacts after endpoint compromise; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that endpoint protections report guarded credential access and forensic review finds no unnecessary reusable secrets.

Incorrect Answers

A:

Password hashing should use a slow, salted password KDF to resist offline guessing at scale; the proposed safeguard addresses a case where a database breach exposes password hashes rather than plaintext passwords or reversible encryption keys, rather than the credential access in process memory finding described here.

B:

Credential stuffing reuses known leaked credential combinations rather than generating new passwords on site; the proposed safeguard addresses a case where a surge of logins uses user-password pairs exposed in unrelated breaches against an internet application, rather than the credential access in process memory finding described here.

D:

Scheduled tasks can relaunch code and sustain persistence after an initial process exits; the proposed safeguard addresses a case where an unfamiliar recurring job launches a binary at user logon even after security tools remove a visible process, rather than the credential access in process memory finding described here.

Question 229

A single approved remediation review covers 3 separately named requirements: (1) WAF request inspection; (2) NAT policy confusion; (3) Encrypted channel inspection limitation. Which audit outcomes would directly demonstrate protection for those areas? Choose THREE.

  1. Post-tuning alerts distinguish authorized workload patterns from representative suspicious outliers.
  2. Detection tests document whether controls see only metadata or the intended decrypted inspection fields.
  3. Safe test variations trigger behavior rules even when their exact byte sequences differ.
  4. Network evidence shows alerts generated without the sensor independently blocking test traffic.
  5. WAF logs record the malicious request decision while normal authenticated transactions succeed.
  6. Flow captures confirm only approved external clients reach the translated internal service.

Explanation

Correct Answers

B:

This verifies the encrypted channel inspection limitation component alongside WAF request inspection in the combined audit: without authorized decryption or endpoint visibility, encrypted application content is opaque to passive perimeter inspection. For the WAF request inspection audit set, the relevant observed case is that a perimeter appliance detects destination addresses but cannot see threats hidden inside end-to-end encrypted payloads.

E:

This verifies the WAF request inspection component alongside WAF request inspection in the combined audit: a WAF evaluates application-layer HTTP behavior and rules rather than merely transport ports. For the WAF request inspection audit set, the relevant observed case is that a web attack request is rejected at the HTTP edge while a network firewall still permits TCP port 443.

F:

This verifies the NAT policy confusion component alongside WAF request inspection in the combined audit: address translation changes packet addressing and does not itself replace explicit security policy enforcement. For the WAF request inspection audit set, the relevant observed case is that an external address maps to a private application host, but reviewers assume NAT automatically performs authorization.

Incorrect Answers

A:

Anomaly systems depend on normal-behavior models that can drift after genuine environment changes; this result is evidence about anomaly baseline drift when a detection tool generates many false alarms after a legitimate scheduled workload changes traffic patterns, not a direct closure test for the named encrypted channel inspection limitation, WAF request inspection, NAT policy confusion requirements.

C:

Signatures precisely match known patterns but may miss novel, obfuscated, or modified activity; this result is evidence about signature-only detection gap when a previously unseen behavior evades a rule set that only recognizes known byte patterns, not a direct closure test for the named encrypted channel inspection limitation, WAF request inspection, NAT policy confusion requirements.

D:

An IDS detects or reports activity while remaining outside the active traffic-blocking decision path; this result is evidence about network IDS visibility when a passive network sensor raises an alert about suspicious packets but does not terminate the connection, not a direct closure test for the named encrypted channel inspection limitation, WAF request inspection, NAT policy confusion requirements.

Question 230

A review discusses trojan masquerade. Which statement correctly describes the underlying technical behavior?

  1. Viruses reproduce by infecting host files and normally rely on execution to spread infection.
  2. Fileless malware can abuse built-in interpreters and memory execution to avoid simple file-signature checks.
  3. A Trojan relies on deceptive packaging or consent rather than autonomous worm-like replication.
  4. Living-off-the-land activity can misuse legitimate signed tools, making signature trust alone insufficient.

Explanation

Correct Answer

C:

An executable marketed as a routine system utility installs an unrelated unwanted component when launched; that situation illustrates the actual operating behavior under review. Its practical safeguard is to require trusted software provenance and endpoint controls for unapproved executables, with confirmation when application-control logs block unsigned or unapproved software from executing on managed systems.

Incorrect Answers

A:

A malicious program inserts its code into other executable files that later run on the same host; those details characterize file-infecting virus and would call for use integrity monitoring and protected software distribution to prevent execution of infected binaries, rather than explaining trojan masquerade.

B:

A suspicious task launches code in memory through a trusted interpreter without dropping a conventional binary; those details characterize fileless execution pattern and would call for monitor unusual interpreter chains and apply behavioral endpoint controls beyond file scanning, rather than explaining trojan masquerade.

D:

A trusted operating-system utility unexpectedly launches a suspicious script from a user-writable location; those details characterize signed-binary misuse and would call for enforce behavior-based detections and restrict risky execution relationships for built-in utilities, rather than explaining trojan masquerade.

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