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

Question 400

A follow-up audit focuses on blind injection inference. Which evidence most reliably demonstrates effective treatment?

  1. End-to-end tests show persisted special characters remain values in subsequent database operations.
  2. Approved regression checks show input variations cannot alter query logic or leak conditional truth states.
  3. Source review and regression tests show raw query paths no longer concatenate untrusted input.
  4. Permission tests show the reporting account cannot alter schema or modify unrelated records.

Explanation

Correct Answer

B:

Blind SQL injection can reveal information through application behavior or timing even when direct query output is hidden; the outcome tests this precise property in the production control. It relates to the original observation that a test environment shows response differences based on conditional database behavior without displaying SQL errors.

Incorrect Answers

A:

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 blind injection inference exposure.

C:

An ORM protects only operations that actually use safe parameter binding or validated query construction; that evidence is relevant when a developer assumes all ORM operations are injection-safe despite calling a raw query method with string interpolation, but does not establish closure of the blind injection inference exposure.

D:

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 blind injection inference exposure.

Question 401

Under an authorized engagement, the report states: Data safely stored as text later enters a different program's dynamic SQL construction without parameter binding. Which protective practice belongs in the fix plan?

  1. Handle database exceptions without revealing sensitive details and correct unsafe query composition.
  2. Use prepared statements with bound parameters for user-supplied values.
  3. Parameterize every SQL execution point, including background processing of stored values.
  4. Remove injection flaws using parameter binding and ensure consistent error handling.

Explanation

Correct Answer

C:

Second-order injection arises when previously persisted untrusted content becomes executable query syntax downstream; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that end-to-end tests show persisted special characters remain values in subsequent database operations.

Incorrect Answers

A:

Uncaught database errors can leak query structure and database internals to remote users; the proposed safeguard addresses a case where a malformed user parameter causes the application to display raw database syntax and schema details, rather than the second-order SQL injection finding described here.

B:

Parameter binding separates query structure from untrusted values, preventing data from becoming SQL syntax; the proposed safeguard addresses a case where an application builds database queries by concatenating search text into the SQL statement itself, rather than the second-order SQL injection finding described here.

D:

Blind SQL injection can reveal information through application behavior or timing even when direct query output is hidden; the proposed safeguard addresses a case where a test environment shows response differences based on conditional database behavior without displaying SQL errors, rather than the second-order SQL injection finding described here.

Question 402

A trainee confuses several related concepts with AES-GCM nonce management. Which explanation resolves that confusion?

  1. An HMAC combines a secret key with a cryptographic hash to authenticate message integrity.
  2. Signatures use a private signing key and are verified with the corresponding trusted public key.
  3. Public-key cryptography can use a recipient's public key to establish confidentiality while the private key stays secret.
  4. AES-GCM security depends on avoiding nonce reuse under a given key because reuse undermines confidentiality and authenticity.
  5. Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data.

Explanation

Correct Answer

D:

An encryption system repeatedly uses the same nonce and key for different AES-GCM messages; that situation illustrates the actual operating behavior under review. Its practical safeguard is to generate unique nonces for each encryption operation under the same key, with confirmation when encryption telemetry and tests show no repeated key-nonce pairs across protected messages.

Incorrect Answers

A:

Two trusted systems share a secret and need to detect tampering in exchanged messages; those details characterize HMAC authentication and would call for protect HMAC keys and use a suitable modern hash with key separation, rather than explaining AES-GCM nonce management.

B:

A software publisher wants recipients to verify who signed an update and whether its contents changed; those details characterize digital signature authenticity and would call for sign releases through protected keys and verify signatures before applying updates, rather than explaining AES-GCM nonce management.

C:

A sender needs to protect a short secret for a recipient without first sharing a symmetric key; those details characterize asymmetric key roles and would call for validate recipient public keys and protect the associated private key from unauthorized use, rather than explaining AES-GCM nonce management.

E:

A large backup needs efficient encryption and decryption with the same protected secret key; those details characterize symmetric confidentiality and would call for use authenticated symmetric encryption and manage key access separately from stored ciphertext, rather than explaining AES-GCM nonce management.

Question 403

A follow-up audit focuses on ARP local discovery. Which evidence most reliably demonstrates effective treatment?

  1. A functional IPv6 test shows neighbor resolution succeeds while unauthorized router advertisements are rejected.
  2. Path telemetry confirms the reporting router, unreachable condition, and relevant forwarding policy.
  3. Approved IPv4 and IPv6 checks demonstrate consistent service exposure boundaries.
  4. Host socket inventory and an approved protocol exchange identify the true process and service.
  5. Switch and ARP observations match expected local endpoints without implying reachability across routers.

Explanation

Correct Answer

E:

ARP resolves local IPv4 addresses to link-layer addresses within a broadcast domain, not across routed hops; the outcome tests this precise property in the production control. It relates to the original observation that a workstation can identify neighboring IPv4 devices on the same broadcast segment despite blocked ICMP echo.

Incorrect Answers

A:

Neighbor Discovery replaces ARP for IPv6 and depends on ICMPv6 for local address resolution; that evidence is relevant when on a local IPv6 segment, devices identify neighbor link-layer addresses through ICMPv6 messages, but does not establish closure of the ARP local discovery exposure.

B:

ICMP errors signal forwarding or delivery conditions and may be filtered or rate-limited in practice; that evidence is relevant when a router returns a destination-unreachable diagnostic for a packet that cannot be forwarded, but does not establish closure of the ARP local discovery exposure.

C:

IPv4 and IPv6 have separate addresses and filtering paths; protecting one family does not secure the other; that evidence is relevant when an endpoint firewall protects IPv4 traffic but an unintended service is reachable over IPv6, but does not establish closure of the ARP local discovery exposure.

D:

Port numbers are conventions; application-layer content and process ownership establish actual service identity; that evidence is relevant when a responder finds an HTTP-speaking service listening on an unexpected numeric port, but does not establish closure of the ARP local discovery exposure.

Question 404

For the documented case, consider: A workstation in a guest VLAN reaches a management interface that should be isolated. Which specific defensive response is indicated?

  1. Correlate endpoint and metadata telemetry instead of assuming packet capture reveals encrypted requests.
  2. Apply inter-zone deny policies and permit only documented management flows.
  3. Apply equivalent tested network policy to both address families and document reachable IPv6 services.
  4. Review source and destination flows and ensure the required reverse path is explicitly allowed.

Explanation

Correct Answer

B:

A segmentation failure occurs when network paths bypass the intended trust-zone boundary; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that cross-zone reachability tests demonstrate guest clients cannot contact protected management endpoints.

Incorrect Answers

A:

Transport encryption limits inspection of application content unless decryption is explicitly authorized and configured; the proposed safeguard addresses a case where a network monitor can see TLS endpoints and timing but not protected application payloads, rather than the network segmentation validation finding described here.

C:

IPv4 and IPv6 have separate addresses and filtering paths; protecting one family does not secure the other; the proposed safeguard addresses a case where an endpoint firewall protects IPv4 traffic but an unintended service is reachable over IPv6, rather than the network segmentation validation finding described here.

D:

Directional and stateless access rules must account for both request and response traffic; the proposed safeguard addresses a case where an inbound permit appears correct but replies still fail because an egress rule blocks the return path, rather than the network segmentation validation finding described here.

Question 405

A control review focuses on embedded web ui hardening. Which explanation best matches its mechanics?

  1. PLC control interfaces affect physical processes and must be shielded from unauthorized enterprise traffic.
  2. Embedded management interfaces may retain obsolete defaults and limited authentication controls for years.
  3. Factory credentials create predictable management access if they remain active after device commissioning.
  4. Operational technology places physical safety and process continuity ahead of routine disruptive test coverage.

Explanation

Correct Answer

B:

A connected controller exposes a vendor maintenance page with unchanged factory settings over the plant network; that situation illustrates the actual operating behavior under review. Its practical safeguard is to remove default access paths and restrict management UI reachability to authorized maintenance stations, with confirmation when configuration and network checks prove ordinary plant clients cannot reach the protected admin page.

Incorrect Answers

A:

A programmable logic controller accepts management connections from the office guest network; those details characterize PLC control network exposure and would call for segment control networks and restrict engineering access through monitored approved jump paths, rather than explaining embedded web ui hardening.

C:

Multiple smart sensors share an unchanged default administrative password across an entire facility; those details characterize IoT factory credentials and would call for use unique per-device credentials or managed identities and disable unused default accounts, rather than explaining embedded web ui hardening.

D:

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 embedded web ui hardening.

Question 406

The blue team wants an accurate model of asset coverage baseline. Which statement should it retain?

  1. Scan coverage is meaningful only when tested assets are reconciled against authoritative inventory and scope.
  2. A false positive reports a weakness that is not actually present on the assessed asset.
  3. Authenticated assessments can inspect installed software and local configuration beyond remote service fingerprints.
  4. A false negative is a missed real exposure caused by blind spots, permissions, coverage, or detection limits.

Explanation

Correct Answer

A:

A weekly scanner report lists 300 targets while the active inventory contains 420 managed systems; that situation illustrates the actual operating behavior under review. Its practical safeguard is to reconcile the scan target set with current authorized assets and track reasons for exclusions, with confirmation when the coverage report identifies every inventoried system as scanned, exempted, or awaiting assessment.

Incorrect Answers

B:

A scan flags vulnerable software, but a signed vendor inventory shows the affected component is not installed; those details characterize scanner false positive and would call for validate scanner claims against authoritative configurations and document disposition with evidence, rather than explaining asset coverage baseline.

C:

A network-only scanner misses an outdated package visible in the server's local package inventory; those details characterize credentialed vulnerability assessment and would call for use narrowly scoped protected scan credentials to collect host configuration and patch evidence, rather than explaining asset coverage baseline.

D:

An independently confirmed vulnerable component is absent from the vulnerability scanner's findings; those details characterize scanner false negative and would call for review scanner reachability and check logic, then perform a targeted authorized confirmation, rather than explaining asset coverage baseline.

Question 407

The assessor flags this situation for follow-up: An outbound message carries a domain-associated cryptographic signature that receiving mail servers can verify. Select the most appropriate action.

  1. Keep published mail-routing records accurate and retire obsolete mail exchangers.
  2. Protect authoritative DNS administration and verify the intended name-server delegation.
  3. Configure DMARC reporting and an enforcement policy appropriate to the domain's readiness.
  4. Rotate protected signing keys and publish the matching selector record in DNS.

Explanation

Correct Answer

D:

DKIM binds selected message headers and body content to a signing domain using a published public key; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that a controlled message verifies its DKIM signature using the public selector record.

Incorrect Answers

A:

MX records designate inbound mail exchanges and their relative delivery priorities; the proposed safeguard addresses a case where a mail delivery investigation needs to identify which hosts accept messages for the organization's domain, rather than the DKIM signature verification finding described here.

B:

NS records delegate authority for DNS zones rather than identifying mail exchangers or IP addresses; the proposed safeguard addresses a case where a domain's published records identify authoritative name servers but do not specify who receives email, rather than the DKIM signature verification finding described here.

C:

DMARC evaluates alignment with SPF or DKIM and lets the domain owner publish reporting and handling policy; the proposed safeguard addresses a case where a mail security report shows messages rejected when visible sender identity fails domain alignment checks, rather than the DKIM signature verification finding described here.

Question 408

An authorized security review records the following: A running application exposes an authorization failure that static source inspection alone did not reveal. Which concept most accurately classifies the observation?

  1. Compensating control
  2. Unauthenticated exposure assessment
  3. Software dependency risk
  4. Web dynamic assessment

Explanation

Correct Answer

D:

Dynamic security testing observes live responses and can identify runtime access-control weaknesses; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to perform safe authenticated application tests against approved roles and routes, verified when role-based request tests demonstrate the protected endpoint rejects unauthorized access at runtime.

Incorrect Answers

A:

Compensating safeguards lower exposure when the primary fix is temporarily infeasible without removing the defect; this different classification would fit when an obsolete appliance cannot be patched immediately, but traffic to its management service can be limited, not the evidence pointing to web dynamic assessment in the question.

B:

Unauthenticated checks evaluate externally observable attack surfaces but may lack host-level configuration detail; this different classification would fit when a defender wants to know which flaws are visible to an outsider who has no internal credentials, not the evidence pointing to web dynamic assessment in the question.

C:

Third-party transitive dependencies can introduce vulnerabilities independently of directly written code; this different classification would fit when a web application bundles a library with a known flaw even though the application code was not changed, not the evidence pointing to web dynamic assessment in the question.

Question 409

For the topic of anonymous LDAP bind, which operational explanation is accurate?

  1. Recipient-verification responses can enable user-name discovery when they disclose account existence.
  2. LDAP directory reads can disclose identity structure when anonymous search rights are too broad.
  3. Excessive API enumeration arises when list endpoints lack authorization or safe pagination and filtering.
  4. Service principal names map services to accounts and can indicate privileged service account exposure.

Explanation

Correct Answer

B:

A directory service returns user and group details to an unauthenticated client connection; that situation illustrates the actual operating behavior under review. Its practical safeguard is to disable unnecessary anonymous directory searches and scope read permissions to approved identities, with confirmation when unauthenticated directory queries return no sensitive users, group membership, or privileged attributes.

Incorrect Answers

A:

A mail server confirms whether arbitrary mailbox names exist before a message is submitted; those details characterize smtp recipient verification and would call for limit unauthenticated recipient verification and normalize unnecessary directory-disclosing responses, rather than explaining anonymous LDAP bind.

C:

An administrative API lists internal user identifiers through an endpoint open to all clients; those details characterize public API directory listing and would call for require authorization on collection endpoints and restrict fields returned to each role, rather than explaining anonymous LDAP bind.

D:

A directory assessment reveals service principal names linked to high-value application identities; those details characterize Kerberos service principals and would call for inventory service identities, avoid excessive privileges, and use robust managed credentials, rather than explaining anonymous LDAP bind.

Question 410

A review discusses password spraying detection. Which statement correctly describes the underlying technical behavior?

  1. Password spraying distributes a small set of guesses across users to avoid rapid per-account lockout.
  2. Unrestricted remote administration increases password attacks and exploit exposure on a valuable control path.
  3. Some Windows authentication paths can misuse credential-derived material without knowledge of the plaintext password.
  4. Credential stuffing reuses known leaked credential combinations rather than generating new passwords on site.

Explanation

Correct Answer

A:

Authentication telemetry shows one guessed password attempted against many different accounts in a short interval; that situation illustrates the actual operating behavior under review. Its practical safeguard is to detect cross-account failure patterns and enforce MFA with appropriate login throttling, with confirmation when identity logs and alert rules identify distributed failures across many principals from related sources.

Incorrect Answers

B:

An internet-facing host exposes an interactive management service directly to unknown remote sources; those details characterize remote desktop administration exposure and would call for place remote access behind a controlled gateway with MFA and restrict administrative origins, rather than explaining password spraying detection.

C:

An administrator's reusable Windows authentication material is stolen from a workstation and later used elsewhere; those details characterize pass-the-hash exposure and would call for limit privileged logons, protect credentials, and isolate administrative access paths, rather than explaining password spraying detection.

D:

A surge of logins uses user-password pairs exposed in unrelated breaches against an internet application; those details characterize credential stuffing response and would call for enforce phishing-resistant MFA and detect known-compromised credentials and abnormal sign-in patterns, rather than explaining password spraying detection.

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