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

Question 500

A verified investigation detail states: A switch monitor receives copies of selected port traffic but occasionally misses packets during congestion. Which named security principle or technique applies?

  1. SPAN mirror limitations
  2. ARP poisoning indicators
  3. TLS packet confidentiality
  4. Passive network tap

Explanation

Correct Answer

A:

SPAN uses switched traffic replication and can drop mirrored frames if its destination becomes oversubscribed; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to size and monitor capture capacity and account for loss when interpreting mirrored evidence, verified when mirror statistics and packet-drop counters confirm whether the capture path was saturated.

Incorrect Answers

B:

Forged ARP mappings can redirect local IPv4 frames through an unintended intermediary; this different classification would fit when several hosts suddenly associate the default gateway IPv4 address with an unfamiliar MAC address, not the evidence pointing to SPAN mirror limitations in the question.

C:

Properly negotiated TLS encrypts application data in transit, while some endpoint and connection metadata remain visible; this different classification would fit when a traffic capture contains TLS-encrypted application records but no readable credentials or request body, not the evidence pointing to SPAN mirror limitations in the question.

D:

A passive tap observes link traffic independently of a switch's destination-based mirror configuration; this different classification would fit when an analysis device sees a copy of wire traffic without being assigned a production forwarding role, not the evidence pointing to SPAN mirror limitations in the question.

Question 501

In a controlled review, analysts encounter this situation: A large backup needs efficient encryption and decryption with the same protected secret key. Select the best matching concept.

  1. Symmetric confidentiality
  2. Envelope encryption
  3. Asymmetric key roles
  4. HMAC authentication

Explanation

Correct Answer

A:

Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to use authenticated symmetric encryption and manage key access separately from stored ciphertext, verified when recovery tests decrypt backups only with authorized key access and detect modified ciphertext.

Incorrect Answers

B:

Envelope encryption encrypts bulk content with data keys and wraps those keys under a separate managed key; this different classification would fit when a storage platform encrypts each object with a short-lived data key protected by a central master key, not the evidence pointing to symmetric confidentiality in the question.

C:

Public-key cryptography can use a recipient's public key to establish confidentiality while the private key stays secret; this different classification would fit when a sender needs to protect a short secret for a recipient without first sharing a symmetric key, not the evidence pointing to symmetric confidentiality in the question.

D:

An HMAC combines a secret key with a cryptographic hash to authenticate message integrity; this different classification would fit when two trusted systems share a secret and need to detect tampering in exchanged messages, not the evidence pointing to symmetric confidentiality in the question.

Question 502

A follow-up audit focuses on cross-site request forgery. Which evidence most reliably demonstrates effective treatment?

  1. Browser inspection shows the session cookie is not script-readable and is sent only over HTTPS.
  2. Controlled login tests show pre-authentication identifiers cannot access the subsequent authenticated session.
  3. Cross-origin tests cannot cause unauthorized state changes even when a user has an active session.
  4. Replay of a previously issued token after logout fails under the documented revocation design.

Explanation

Correct Answer

C:

CSRF abuses ambient browser credentials when the application fails to verify the user's request intent; the outcome tests this precise property in the production control. It relates to the original observation that a logged-in user's browser submits a state-changing request after visiting an unrelated malicious page.

Incorrect Answers

A:

An accessible session token can be replayed to impersonate an authenticated browser session if stolen; that evidence is relevant when a browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections, but does not establish closure of the cross-site request forgery exposure.

B:

Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session; that evidence is relevant when a user keeps the same session identifier after authentication that was assigned before login, but does not establish closure of the cross-site request forgery exposure.

D:

Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens; that evidence is relevant when a user clicks logout, but a copied access token continues authorizing API requests until its original expiry, but does not establish closure of the cross-site request forgery exposure.

Question 503

Under an authorized engagement, the report states: A browser submits a password-change form while the user is logged in but without evidence of intended action. Which protective practice belongs in the fix plan?

  1. Allowlist specific trusted origins and avoid wildcard or reflected credentialed origin permissions.
  2. Verify anti-CSRF tokens and origin context for browser-based state-changing operations.
  3. Allowlist intended destinations and block internal or metadata network targets in the fetching service.
  4. Apply context-appropriate output encoding and avoid inserting untrusted input into executable HTML contexts.

Explanation

Correct Answer

B:

State-changing form endpoints are vulnerable when ambient cookies alone authorize cross-origin requests; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that a cross-origin form submission fails without an issued valid request token.

Incorrect Answers

A:

Unsafe CORS policies may let untrusted websites read authenticated cross-origin responses in browsers; the proposed safeguard addresses a case where an API reflects arbitrary Origin headers while permitting browsers to include credentials in cross-origin requests, rather than the cross-site request forgery in forms finding described here.

C:

SSRF abuses a server's network privileges to request destinations inaccessible to the external client; the proposed safeguard addresses a case where a document-preview service fetches an arbitrary URL supplied by a user and reaches internal-only resources, rather than the cross-site request forgery in forms finding described here.

D:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; the proposed safeguard addresses a case where a query value is copied into an HTML response and interpreted by the browser as executable markup, rather than the cross-site request forgery in forms finding described here.

Question 504

An analyst is sorting findings by mechanism. One entry reads: A mail delivery investigation needs to identify which hosts accept messages for the organization's domain. Which label is the right one?

  1. DNS NS records
  2. DKIM signature verification
  3. DNS MX records
  4. Email header tracing

Explanation

Correct Answer

C:

MX records designate inbound mail exchanges and their relative delivery priorities; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to keep published mail-routing records accurate and retire obsolete mail exchangers, verified when public DNS responses list the current approved MX destinations and intended preferences.

Incorrect Answers

A:

NS records delegate authority for DNS zones rather than identifying mail exchangers or IP addresses; this different classification would fit when a domain's published records identify authoritative name servers but do not specify who receives email, not the evidence pointing to DNS mx records in the question.

B:

DKIM binds selected message headers and body content to a signing domain using a published public key; this different classification would fit when an outbound message carries a domain-associated cryptographic signature that receiving mail servers can verify, not the evidence pointing to DNS mx records in the question.

D:

Received headers, authentication results, and server traces can reveal message path and origin clues; this different classification would fit when an investigator reads the received-hop chain to distinguish real mail transit from a forged display name, not the evidence pointing to DNS mx records in the question.

Question 505

For the documented case, consider: A time server responds to management requests with details beyond simple clock synchronization. Which specific defensive response is indicated?

  1. Restrict time-service management features to designated monitoring stations.
  2. Restrict RPC management interfaces to trusted subnets and authorized authenticated clients.
  3. Disable public anonymous access unless the published data is expressly intended for unrestricted release.
  4. Disable unnecessary anonymous directory searches and scope read permissions to approved identities.

Explanation

Correct Answer

A:

Some NTP management capabilities expose peer and status data unrelated to ordinary time service; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that external clients receive time service as intended but cannot retrieve protected management details.

Incorrect Answers

B:

RPC endpoint information can reveal reachable management interfaces and service dependencies; the proposed safeguard addresses a case where an endpoint lists remotely exposed interface identifiers and service bindings to unknown clients, rather than the NTP management query finding described here.

C:

Anonymous FTP can publish files and names without identity verification or transport encryption; the proposed safeguard addresses a case where an old file-transfer service exposes a directory listing to a user without authentication, rather than the NTP management query finding described here.

D:

LDAP directory reads can disclose identity structure when anonymous search rights are too broad; the proposed safeguard addresses a case where a directory service returns user and group details to an unauthenticated client connection, rather than the NTP management query finding described here.

Question 506

A responder documents this evidence: A compromised web worker could alter operating-system security settings because it runs as an administrator. Which concept is being demonstrated?

  1. Static file access boundaries
  2. Certificate hostname mismatch
  3. Service identity privilege
  4. Health endpoint data exposure
  5. Default administration endpoint
  6. Web server patch currency

Explanation

Correct Answer

C:

Excessive server process rights turn an application compromise into a host-level compromise; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to run web workers under restricted service accounts with minimal filesystem and system permissions, verified when process identity and permission tests show the worker cannot change privileged host settings.

Incorrect Answers

A:

Files reachable through public document roots are exposed regardless of whether administrators intended them as backups; this different classification would fit when a web server publishes an archived backup file located inside its document root, not the evidence pointing to service identity privilege in the question.

B:

TLS identity assurance depends on valid trust chains and matching names, not encryption alone; this different classification would fit when browsers warn that the server certificate is issued for a different hostname than the requested site, not the evidence pointing to service identity privilege in the question.

D:

Diagnostic endpoints may reveal operational internals when they inherit public web routing without access controls; this different classification would fit when an unauthenticated monitoring URL publishes database connection details and internal node identifiers, not the evidence pointing to service identity privilege in the question.

E:

Default applications and consoles expand the web attack surface when deployed outside intended administration networks; this different classification would fit when a fresh server image exposes a sample administrative path using factory settings, not the evidence pointing to service identity privilege in the question.

F:

The web-serving software and modules need their own security update cycle apart from application deployments; this different classification would fit when a public web server exposes a known flaw in its installed runtime despite application code being current, not the evidence pointing to service identity privilege in the question.

Question 507

A validation plan targets certificate hostname mismatch. What result would demonstrate the specified protective boundary?

  1. Controlled file uploads remain inert data and cannot be interpreted as server-side scripts.
  2. Cross-origin framing tests fail for untrusted sites and pass only for approved embedding contexts.
  3. Process identity and permission tests show the worker cannot change privileged host settings.
  4. Client certificate validation passes for the published hostname without exception clicks.

Explanation

Correct Answer

D:

TLS identity assurance depends on valid trust chains and matching names, not encryption alone; the outcome tests this precise property in the production control. It relates to the original observation that browsers warn that the server certificate is issued for a different hostname than the requested site.

Incorrect Answers

A:

Untrusted uploads can become server-side code if storage and execution contexts are not separated; that evidence is relevant when user-submitted files are saved under a directory where the server treats uploaded script extensions as executable code, but does not establish closure of the certificate hostname mismatch exposure.

B:

Frame-embedding restrictions can reduce clickjacking exposure by limiting allowed ancestor origins; that evidence is relevant when a malicious third-party page embeds the protected site in an invisible frame to manipulate user clicks, but does not establish closure of the certificate hostname mismatch exposure.

C:

Excessive server process rights turn an application compromise into a host-level compromise; that evidence is relevant when a compromised web worker could alter operating-system security settings because it runs as an administrator, but does not establish closure of the certificate hostname mismatch exposure.

Question 508

A review discusses session logout invalidation. Which statement correctly describes the underlying technical behavior?

  1. An accessible session token can be replayed to impersonate an authenticated browser session if stolen.
  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. Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens.

Explanation

Correct Answer

D:

A user clicks logout, but a copied access token continues authorizing API requests until its original expiry; that situation illustrates the actual operating behavior under review. Its practical safeguard is to invalidate server-side session state and revoke relevant refresh tokens on logout, with confirmation when replay of a previously issued token after logout fails under the documented revocation design.

Incorrect Answers

A:

A browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections; those details characterize exposed session cookie and would call for protect session cookies with HttpOnly and Secure attributes and enforce TLS transport, rather than explaining session logout invalidation.

B:

An abandoned authenticated session remains valid long after the organization's required inactivity window; those details characterize session expiry enforcement and would call for enforce server-side inactivity and maximum lifetime limits with explicit token invalidation, rather than explaining session logout invalidation.

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 logout invalidation.

Question 509

A validation plan targets targeted spear phishing. What result would demonstrate the specified protective boundary?

  1. Physical access observations show every entrant presents an authorized credential or escort approval.
  2. Training results show test recipients avoid entering credentials into unsolicited SMS links.
  3. Test events show unsolicited approval requests are rejected and reported through the security channel.
  4. A controlled awareness test shows staff verify personalized urgent requests before submitting credentials.

Explanation

Correct Answer

D:

Spear phishing uses tailored context to make fraudulent communications appear personally relevant; the outcome tests this precise property in the production control. It relates to the original observation that a forged message uses the recipient's project name and manager's identity to request a credential reset.

Incorrect Answers

A:

Tailgating exploits courtesy or distraction to cross physical security boundaries without individual authorization; that evidence is relevant when an unbadged visitor follows a legitimate employee through a controlled door without presenting credentials, but does not establish closure of the targeted spear phishing exposure.

B:

Smishing delivers fraudulent instructions through text messages rather than email or phone calls; that evidence is relevant when a text message uses a package-delivery pretext to send a user to an unfamiliar sign-in site, but does not establish closure of the targeted spear phishing exposure.

C:

Social pressure can convert an MFA approval into user-assisted account takeover despite a separate factor; that evidence is relevant when an attacker instructs a user to approve an unsolicited authenticator prompt as part of a supposed help-desk repair, but does not establish closure of the targeted spear phishing exposure.

Question 510

Under an authorized engagement, the report states: A newly discovered IP responds to discovery probes but does not appear in the approved target inventory. Which protective practice belongs in the fix plan?

  1. Obtain written permission from the accountable asset owner before any intrusive assessment.
  2. Pause interaction with unlisted assets and request a documented scope amendment.
  3. Document allowed and prohibited techniques, safe stopping conditions, and communication channels.
  4. Assign a data owner and approved sensitivity label before selecting storage and access safeguards.

Explanation

Correct Answer

B:

Discoverability does not grant permission; an asset must be explicitly within authorized scope before examination; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that a scope register maps each tested hostname or address to explicit client authorization.

Incorrect Answers

A:

A signed authorization establishes who can consent to testing and separates approved activity from unauthorized access; the proposed safeguard addresses a case where an assessor has a named sponsor and a signed document permitting only a specified range of tests, rather than the scope validation finding described here.

C:

Engagement rules translate authorization into actionable limits on methods, time windows, escalation, and contacts; the proposed safeguard addresses a case where the client permits enumeration during business hours but prohibits disruptive tests against production, rather than the scope validation finding described here.

D:

Classification links information sensitivity and ownership to controls, retention, and handling requirements; the proposed safeguard addresses a case where a test report finds a storage location containing regulated personal records but no assigned data owner, rather than the scope validation finding described here.

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