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

Question 70

Review the following evidence from an approved test: A poster's QR image opens a credential collection page while appearing to link to a visitor check-in. Which concept explains it most directly?

  1. QR-code phishing
  2. MFA approval deception
  3. Voice phishing
  4. SMS phishing

Explanation

Correct Answer

A:

QR-based phishing hides the destination inside an encoded image, making URL inspection less obvious; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to use a trusted check-in domain and train users to inspect destinations before entering credentials, verified when test scans confirm users recognize and reject unexpected external login domains.

Incorrect Answers

B:

Social pressure can convert an MFA approval into user-assisted account takeover despite a separate factor; this different classification would fit when an attacker instructs a user to approve an unsolicited authenticator prompt as part of a supposed help-desk repair, not the evidence pointing to qr-code phishing in the question.

C:

Vishing exploits voice conversations to elicit secrets or persuade users to take unsafe actions; this different classification would fit when a caller posing as technical support asks an employee to read a one-time login code aloud, not the evidence pointing to qr-code phishing in the question.

D:

Smishing delivers fraudulent instructions through text messages rather than email or phone calls; this different classification would fit when a text message uses a package-delivery pretext to send a user to an unfamiliar sign-in site, not the evidence pointing to qr-code phishing in the question.

Question 71

In a controlled review, analysts encounter this situation: An API reflects arbitrary Origin headers while permitting browsers to include credentials in cross-origin requests. Select the best matching concept.

  1. Reflected cross-site scripting
  2. Stored cross-site scripting
  3. OAuth redirect validation
  4. Excessive API response data
  5. CORS origin trust

Explanation

Correct Answer

E:

Unsafe CORS policies may let untrusted websites read authenticated cross-origin responses in browsers; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to allowlist specific trusted origins and avoid wildcard or reflected credentialed origin permissions, verified when browser tests deny credentialed reads from unknown origins and permit only approved applications.

Incorrect Answers

A:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; this different classification would fit when a query value is copied into an HTML response and interpreted by the browser as executable markup, not the evidence pointing to cors origin trust in the question.

B:

Stored XSS persists attacker-controlled content server-side and executes when it is later rendered unsafely; this different classification would fit when untrusted comment content executes in other users' browsers when a discussion page renders saved posts, not the evidence pointing to cors origin trust in the question.

C:

Open redirect registration can misdeliver authorization responses or codes outside the intended client origin; this different classification would fit when an authentication broker accepts an attacker-specified redirect destination when issuing authorization responses, not the evidence pointing to cors origin trust in the question.

D:

Sensitive fields remain exposed when authorization and output filtering occur only in the browser; this different classification would fit when a customer profile endpoint returns staff-only flags and internal identifiers even though the UI hides them, not the evidence pointing to cors origin trust in the question.

Question 72

During a sanctioned assessment the team observes: A perimeter appliance detects destination addresses but cannot see threats hidden inside end-to-end encrypted payloads. Which next control or procedure best fits?

  1. Limit permitted egress destinations and monitor unusual outbound application traffic.
  2. Supplement signatures with behavior analytics and detection engineering based on attack outcomes.
  3. Use endpoint detection and approved TLS inspection designs where legally and operationally appropriate.
  4. Send IDS alerts to response workflows and place preventive enforcement where needed.

Explanation

Correct Answer

C:

Without authorized decryption or endpoint visibility, encrypted application content is opaque to passive perimeter inspection; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that detection tests document whether controls see only metadata or the intended decrypted inspection fields.

Incorrect Answers

A:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; the proposed safeguard addresses a case where a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, rather than the encrypted channel inspection limitation finding described here.

B:

Signatures precisely match known patterns but may miss novel, obfuscated, or modified activity; the proposed safeguard addresses a case where a previously unseen behavior evades a rule set that only recognizes known byte patterns, rather than the encrypted channel inspection limitation finding described here.

D:

An IDS detects or reports activity while remaining outside the active traffic-blocking decision path; the proposed safeguard addresses a case where a passive network sensor raises an alert about suspicious packets but does not terminate the connection, rather than the encrypted channel inspection limitation finding described here.

Question 73

Which statement is most consistent with the actual behavior of envelope encryption?

  1. Envelope encryption encrypts bulk content with data keys and wraps those keys under a separate managed key.
  2. Full-disk encryption primarily protects data at rest on powered-off locked devices, not data already decrypted for a live session.
  3. Public-key cryptography can use a recipient's public key to establish confidentiality while the private key stays secret.
  4. An HMAC combines a secret key with a cryptographic hash to authenticate message integrity.

Explanation

Correct Answer

A:

A storage platform encrypts each object with a short-lived data key protected by a central master key; that situation illustrates the actual operating behavior under review. Its practical safeguard is to use per-object or per-context data keys and limit master-key unwrap permissions, with confirmation when object metadata contains wrapped data keys rather than exposed raw content-encryption keys.

Incorrect Answers

B:

A laptop drive is stolen while the device is powered off, but a user later leaves it unlocked and running; those details characterize full-disk encryption limits and would call for enable strong disk encryption plus screen locks and endpoint controls for active sessions, rather than explaining envelope encryption.

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 envelope encryption.

D:

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 envelope encryption.

Question 74

An authorized security review records the following: A backend trusts every client-provided forwarding header as the true source IP address. Which concept most accurately classifies the observation?

  1. Security header framing control
  2. Certificate hostname mismatch
  3. Web server log integrity
  4. Reverse proxy trust boundary

Explanation

Correct Answer

D:

Proxy metadata is trustworthy only when inserted or overwritten by a controlled trusted reverse proxy; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to sanitize client-supplied forwarding headers and establish explicit trusted-proxy rules, verified when request logs report the expected client address and reject spoofed forwarding-header values.

Incorrect Answers

A:

Frame-embedding restrictions can reduce clickjacking exposure by limiting allowed ancestor origins; this different classification would fit when a malicious third-party page embeds the protected site in an invisible frame to manipulate user clicks, not the evidence pointing to reverse proxy trust boundary 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 reverse proxy trust boundary in the question.

C:

Request logs support investigation only when retained, time-synchronized, and protected against alteration; this different classification would fit when a security incident cannot be reconstructed because access logs rotate after one hour and stay writable by the app account, not the evidence pointing to reverse proxy trust boundary in the question.

Question 75

For a security control relating to MFA approval deception, which result shows meaningful enforcement rather than intent alone?

  1. Test events show unsolicited approval requests are rejected and reported through the security channel.
  2. Training results show test recipients avoid entering credentials into unsolicited SMS links.
  3. Physical access observations show every entrant presents an authorized credential or escort approval.
  4. Test scans confirm users recognize and reject unexpected external login domains.

Explanation

Correct Answer

A:

Social pressure can convert an MFA approval into user-assisted account takeover despite a separate factor; the outcome tests this precise property in the production control. It relates to the original observation that an attacker instructs a user to approve an unsolicited authenticator prompt as part of a supposed help-desk repair.

Incorrect Answers

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 MFA approval deception exposure.

C:

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 MFA approval deception exposure.

D:

QR-based phishing hides the destination inside an encoded image, making URL inspection less obvious; that evidence is relevant when a poster's QR image opens a credential collection page while appearing to link to a visitor check-in, but does not establish closure of the MFA approval deception exposure.

Question 76

The security team observes this condition: A web assistant begins following instructions embedded in a retrieved document instead of the user's authorized request. Which term should appear in the primary finding?

  1. Unrestricted file upload
  2. Mass assignment flaw
  3. Indirect prompt injection in AI web assistant
  4. Excessive API response data

Explanation

Correct Answer

C:

Indirect prompt injection places adversarial instructions in lower-trust content that a language model may incorrectly treat as authority; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to treat retrieved content as untrusted data and enforce tool permissions and output validation outside the model, verified when test documents with embedded instructions cannot make the assistant invoke unauthorized tools or disclose protected data.

Incorrect Answers

A:

Uploads can create script, stored-XSS, or malware exposure when the server trusts names and client media types; this different classification would fit when an avatar service accepts an arbitrary extension and serves the uploaded file with an active browser content type, not the evidence pointing to indirect prompt injection in AI web assistant in the question.

B:

Mass assignment arises when untrusted request fields bind directly to sensitive model properties; this different classification would fit when a profile update API accepts an undocumented isAdmin property and writes it to the user record, not the evidence pointing to indirect prompt injection in AI web assistant in the question.

D:

Sensitive fields remain exposed when authorization and output filtering occur only in the browser; this different classification would fit when a customer profile endpoint returns staff-only flags and internal identifiers even though the UI hides them, not the evidence pointing to indirect prompt injection in AI web assistant in the question.

Question 77

For the topic of active os fingerprinting, which operational explanation is accurate?

  1. TCP establishes state through a handshake before transferring reliable bidirectional application data.
  2. IPv4 and IPv6 have separate addresses and filtering paths; protecting one family does not secure the other.
  3. TCP/IP stack behaviors can suggest OS families, but devices and middleboxes can alter fingerprints.
  4. Port numbers are conventions; application-layer content and process ownership establish actual service identity.

Explanation

Correct Answer

C:

A tester infers a device operating system from how its network stack responds to controlled probes; that situation illustrates the actual operating behavior under review. Its practical safeguard is to treat network fingerprints as hypotheses and confirm OS details through authorized asset records, with confirmation when endpoint inventory agrees with the inferred platform or documents the fingerprint mismatch.

Incorrect Answers

A:

A connection trace shows SYN, SYN-ACK, and ACK before application data flows; those details characterize TCP three-way handshake and would call for inspect handshake completion and firewall state when diagnosing failed TCP sessions, rather than explaining active os fingerprinting.

B:

An endpoint firewall protects IPv4 traffic but an unintended service is reachable over IPv6; those details characterize dual-stack IPv6 exposure and would call for apply equivalent tested network policy to both address families and document reachable IPv6 services, rather than explaining active os fingerprinting.

D:

A responder finds an HTTP-speaking service listening on an unexpected numeric port; those details characterize port-to-service mismatch and would call for verify listener processes and application protocols rather than assigning services by port number alone, rather than explaining active os fingerprinting.

Question 78

The remediation board receives this evidence: A browser can enumerate filenames in a public directory even though no index page was intended. Which action most directly improves the control?

  1. Remove secrets from web-served directories and rotate credentials already exposed.
  2. Restrict sensitive health details to approved monitoring identities and publish only minimal status publicly.
  3. Disable unintended autoindex behavior and grant file access only where explicitly required.
  4. Store uploads outside executable locations and validate content and retrieval permissions.

Explanation

Correct Answer

C:

Directory browsing is a server feature that can publish file names and paths when index content is absent; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that requests to unindexed folders do not return an unintended file inventory.

Incorrect Answers

A:

Deployment or server misconfiguration can publish secrets when configuration artifacts become static assets; the proposed safeguard addresses a case where a publicly served settings file contains an application database password and signing key, rather than the directory listing exposure finding described here.

B:

Diagnostic endpoints may reveal operational internals when they inherit public web routing without access controls; the proposed safeguard addresses a case where an unauthenticated monitoring URL publishes database connection details and internal node identifiers, rather than the directory listing exposure finding described here.

D:

Untrusted uploads can become server-side code if storage and execution contexts are not separated; the proposed safeguard addresses a case where user-submitted files are saved under a directory where the server treats uploaded script extensions as executable code, rather than the directory listing exposure finding described here.

Question 79

In a security workshop about WPS pin exposure, which technical statement is valid?

  1. Without server certificate validation, enterprise credential exchanges may reach a lookalike authentication service.
  2. WPS PIN enrollment can undermine passphrase security on implementations with weak PIN protections.
  3. WPA2-Personal relies on a shared secret, making weak or broadly shared keys hard to revoke per user.
  4. Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access.

Explanation

Correct Answer

B:

A wireless router allows legacy PIN-based onboarding despite a strong Wi-Fi passphrase; that situation illustrates the actual operating behavior under review. Its practical safeguard is to disable unnecessary WPS PIN enrolment and use managed secure provisioning instead, with confirmation when configuration checks show WPS PIN is unavailable and approved devices still enroll securely.

Incorrect Answers

A:

Employees click through unknown authentication-server certificate warnings when joining corporate Wi-Fi; those details characterize 802.1x certificate validation and would call for pin trusted authentication-server identities and prevent users from bypassing certificate warnings, rather than explaining WPS pin exposure.

C:

A small office Wi-Fi uses a short shared passphrase circulated among staff and former contractors; those details characterize WPA2-personal passphrase risk and would call for use a long random passphrase and rotate it when shared access is no longer trustworthy, rather than explaining WPS pin exposure.

D:

A corporate wireless network needs distinct user or device identities instead of one shared password; those details characterize WPA2-enterprise authentication and would call for use 802.1X with centrally managed identity policy and protected client authentication, rather than explaining WPS pin exposure.

Question 80

A validation plan targets DNS ns records. What result would demonstrate the specified protective boundary?

  1. Resolver queries return only the approved authoritative name servers for the zone.
  2. Transfer attempts from unapproved hosts fail while approved secondary synchronization succeeds.
  3. Public DNS responses list the current approved MX destinations and intended preferences.
  4. DNS lookup and controlled mail tests show authorized senders align with the published sender policy.

Explanation

Correct Answer

A:

NS records delegate authority for DNS zones rather than identifying mail exchangers or IP addresses; the outcome tests this precise property in the production control. It relates to the original observation that a domain's published records identify authoritative name servers but do not specify who receives email.

Incorrect Answers

B:

Zone transfers are intended for authorized DNS replication, not unrestricted external inventory disclosure; that evidence is relevant when an unauthorized client can obtain a broad copy of authoritative DNS zone contents in a single transaction, but does not establish closure of the DNS ns records exposure.

C:

MX records designate inbound mail exchanges and their relative delivery priorities; that evidence is relevant when a mail delivery investigation needs to identify which hosts accept messages for the organization's domain, but does not establish closure of the DNS ns records exposure.

D:

SPF is commonly expressed as a DNS TXT policy and describes authorized outbound mail sources; that evidence is relevant when a defender examines domain-published text identifying systems allowed to send mail for the domain, but does not establish closure of the DNS ns records exposure.

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