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

Question 110

A target returns a reset to a SYN probe for one port. What state does this response ordinarily suggest?

  1. TCP closed-port RST
  2. Open or filtered UDP result
  3. Filtered port result
  4. SYN-ACK response
  5. Network traceroute
  6. Service version detection

Explanation

Correct Answer

A:

A TCP RST in response to a SYN commonly indicates that no listener accepted the connection. Firewalls and active middleboxes can complicate inference.

Incorrect Answers

B:

UDP has no handshake; ambiguous silent UDP behavior is its purpose, whereas the case requires the absence of a TCP listener on the probed port.

C:

Filtered status means the tool cannot determine an open or closed state; the underlying behavior concerns uncertainty caused by packet filtering, distinct from the absence of a TCP listener on the probed port.

D:

This choice may reveal a listening TCP endpoint at the destination, but the scenario is about the absence of a TCP listener on the probed port.

E:

Traceroute elicits time-exceeded responses by varying packet hop limits; the scenario tests the absence of a TCP listener on the probed port, which is distinct from intermediate routing hops toward a target.

F:

Application-aware probes and banner analysis can suggest service products and revisions; this pertains to the application software behind an open port, not to the absence of a TCP listener on the probed port.

Question 111

A victim receives replies from legitimate third-party servers to requests it never sent. Which DDoS mechanism explains this?

  1. Amplification attack
  2. DNS reflection mitigation
  3. NTP amplification risk
  4. Botnet participation
  5. Reflection attack

Explanation

Correct Answer

E:

Reflection uses intermediaries to send responses toward a spoofed victim address. Source-address validation and protected public services reduce its effectiveness.

Incorrect Answers

A:

Amplification refers to a small initiating request causing a much larger volume of traffic. A reflected response can occur without such a size increase, so amplification is not established by the stem.

B:

Restricting open recursive DNS service is a possible defense against DNS reflection. No DNS-specific facts are supplied, and the question asks which attack mechanism explains the unexpected replies.

C:

Abused NTP services can participate in reflection and amplification, but there is no indication that the unsolicited replies in this scenario specifically came from NTP servers.

D:

A botnet is a group of compromised machines controlled for malicious activity. The victim’s unsolicited third-party replies establish reflection, without proving that compromised devices generated the traffic.

Question 112

An enterprise sends web requests through an intermediary that terminates client sessions and applies HTTP-aware policy. Which device role fits?

  1. Encrypted traffic inspection gap
  2. Application proxy firewall
  3. Web application firewall
  4. Anomaly IDS trade-off

Explanation

Correct Answer

B:

Application proxies mediate traffic at a protocol layer and can inspect or restrict application requests. They differ from simple port-based packet filtering.

Incorrect Answers

A:

Encryption hides application content from passive network inspection; the question hinges on application-aware mediation of client requests, not on absence of plaintext contents in encrypted flows.

C:

A WAF applies HTTP-oriented rules to requests and sometimes responses; it affects application-layer inspection of malicious web requests, while the identified issue is application-aware mediation of client requests.

D:

Its technical boundary is false alarms from deviations that are benign rather than application-aware mediation of client requests.

Question 113

A managed iPhone should reject normal installation of applications not signed under a trusted distribution model. Which mechanism provides the foundation?

  1. Jailbreaking
  2. Mobile full-disk/file encryption
  3. Rooted Android device
  4. iOS code signing

Explanation

Correct Answer

D:

Apple platform code signing validates app authenticity and integrity under permitted installation paths. Other platform restrictions and enterprise policies complement it.

Incorrect Answers

A:

Jailbreaking bypasses some built-in platform protections and can expand the available attack surface; it is useful for bypassed iOS platform restrictions but leaves trusted application code loaded on iOS unproven.

B:

This is tied to confidentiality of stored data on a lost phone rather than confirming trusted application code loaded on iOS.

C:

Rooting grants or enables elevated control beyond ordinary application sandboxes; it focuses on elevated privileges beyond normal Android sandboxing and therefore does not demonstrate trusted application code loaded on iOS.

Question 114

A logged-in browser silently submits a state-changing request triggered by an unrelated website. Which flaw does this illustrate?

  1. Path traversal
  2. Unrestricted file upload
  3. Cross-site request forgery
  4. Server-side request forgery

Explanation

Correct Answer

C:

CSRF abuses the browser's automatic attachment of authentication context to cross-site requests. Anti-forgery tokens, SameSite policies, and origin checks help.

Incorrect Answers

A:

Path traversal permits filesystem navigation beyond an authorized base path through untrusted input; the question hinges on forged authenticated actions initiated from another site, not on escape from an intended filesystem directory.

B:

Unsafe uploads can enable code execution or content attacks when types; that observation explains execution risk from uploaded user-controlled files without demonstrating forged authenticated actions initiated from another site.

D:

SSRF occurs when a server makes network requests to attacker-influenced destinations; its technical boundary is untrusted influence over server-originated requests rather than forged authenticated actions initiated from another site.

Question 115

Choose TWO. A malware team has a suspicious executable and needs both file-level evidence and a view of runtime changes without endangering production. Which TWO methods should it combine?

  1. Run the file on a domain controller to observe its full impact
  2. Execute the sample in an isolated monitored sandbox and record effects
  3. Assume a missing antivirus signature proves harmlessness
  4. Inspect binary metadata, imports, and strings without executing the sample
  5. Remove all logging before execution to avoid noise

Explanation

Correct Answers

B:

Dynamic sandboxing reveals processes, file writes, and outbound connections under controlled conditions, with containment designed to prevent spread.

D:

Static examination collects indicators and structural clues while avoiding immediate execution risk; packing can obscure some results.

Incorrect Answers

A:

Executing untrusted software on critical production infrastructure would unnecessarily risk business systems and contaminate the investigation.

C:

Signature absence merely reflects a detection limitation and says little about a novel or obfuscated payload's safety.

E:

Disabling telemetry removes precisely the observations needed for behavior analysis and makes an incident harder to investigate.

Question 116

Users see a second SSID matching the corporate network but hosted on unauthorized equipment. Which wireless threat should be assessed?

  1. SSID hiding limitation
  2. MAC filtering limitation
  3. Rogue access point
  4. Evil twin access point

Explanation

Correct Answer

D:

An evil twin imitates a trusted wireless network to attract client connections. Validating enterprise server certificates helps defeat credential interception scenarios.

Incorrect Answers

A:

Suppressing routine beacon advertisement does not provide authentication or encryption; the underlying behavior concerns relying on a hidden name for wireless security, distinct from imitation of a legitimate wireless network.

B:

MAC addresses can be observed and spoofed and provide weak device identity; it affects device identification based only on MAC address, while the identified issue is imitation of a legitimate wireless network.

C:

A rogue AP provides unauthorized wireless connectivity to protected infrastructure; that mechanism concerns unapproved wireless infrastructure attached to a network instead of imitation of a legitimate wireless network.

Question 117

A database error returned to the client leaks query details and data during malformed input. What injection feedback channel is involved?

  1. Boolean-based blind SQL injection
  2. Out-of-band SQL injection
  3. Time-based blind SQL injection
  4. UNION-based SQL injection
  5. Error-based SQL injection

Explanation

Correct Answer

E:

Error-based SQL injection uses informative database errors to reveal information about queries or data. Suppressing sensitive errors reduces leakage but does not fix injection.

Incorrect Answers

A:

Boolean-based blind injection infers database information from observable true-or-false application behavior; the question hinges on database error messages revealing query behavior, not on two-state response differences driven by database conditions.

B:

Out-of-band injection relies on a separate channel such as DNS or HTTP; even if useful for database effects observable through a secondary channel, it does not establish database error messages revealing query behavior.

C:

Time-based blind injection uses deliberately distinguishable delays to infer hidden conditions; that mechanism concerns response-time differences reflecting database conditions instead of database error messages revealing query behavior.

D:

UNION injection adds compatible query results to an existing SELECT output; the scenario tests database error messages revealing query behavior, which is distinct from combining attacker-chosen rows with query output.

Question 118

A state-changing form should reject requests that do not carry a secret value tied to the user's session. What control is described?

  1. Server-side logout invalidation
  2. CSRF synchronizer token
  3. Absolute session lifetime
  4. Session idle timeout

Explanation

Correct Answer

B:

Synchronizer tokens add an unpredictable session-bound value verified server-side for sensitive requests. Attackers on other origins should not be able to supply it.

Incorrect Answers

A:

Effective logout revokes or invalidates the server-side session or token as designed; that can clarify continued token validity after logout but cannot establish verification of a session-bound anti-forgery value.

C:

This is tied to indefinite renewal of a continually active session rather than confirming verification of a session-bound anti-forgery value.

D:

Idle timeout invalidates sessions after an interval without activity; it describes long-lived unattended authenticated sessions; the observed condition calls for verification of a session-bound anti-forgery value.

Question 119

A security analyst needs to determine which hosts receive email for an organization's domain. Which DNS record type is relevant?

  1. DNS MX records
  2. DNS CNAME records
  3. DNS NS records
  4. DNS TXT records

Explanation

Correct Answer

A:

MX records designate mail exchangers for a domain, including preference values. They are not evidence of an individual employee's mailbox credentials.

Incorrect Answers

B:

A CNAME record points one hostname to another hostname for resolution; this addresses the DNS alias relationship between hostnames, a different concern from the domain's inbound mail routing hosts.

C:

NS records name the servers authoritative for a DNS zone or delegation; this does not verify the domain's inbound mail routing hosts, because its scope is the authoritative DNS servers for the zone.

D:

This choice may reveal published domain text policies and verification values, but the scenario is about the domain's inbound mail routing hosts.

Question 120

A caller invents a believable vendor-maintenance story to obtain internal procedures. Which technique describes the fabricated role?

  1. Shoulder surfing
  2. Quid pro quo
  3. Baiting
  4. Pretexting

Explanation

Correct Answer

D:

Pretexting establishes a false identity or situation to justify a requested disclosure. The credibility of the story is used to overcome normal verification.

Incorrect Answers

A:

Shoulder surfing obtains sensitive input through direct observation or recording; visual observation of a private secret is its purpose, whereas the case requires a fabricated scenario used to solicit information.

B:

This choice is useful for a claimed benefit offered for risky cooperation but leaves a fabricated scenario used to solicit information unproven.

C:

Baiting offers an enticing object or apparent benefit to encourage unsafe interaction; that observation explains curiosity induced by an enticing object without demonstrating a fabricated scenario used to solicit information.

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