ECCouncil 312-38 (Certified Network Defender) Practice Test 1

Question 1

An inventory server has an unpatched remote-code-execution defect, but no evidence of exploitation. Which term describes the defect itself?

  1. Threat event
  2. Vulnerability
  3. Security incident
  4. Residual risk

Explanation

Correct Answer

B:

A vulnerability is a weakness that a threat actor could exploit; its existence does not establish that an attack has actually occurred.

Incorrect Answers

A:

A threat event is an occurrence that may cause harm, such as an attempted exploit; the case identifies a weakness rather than an occurrence.

C:

An incident requires an actual or suspected compromise or policy violation; an unexploited defect alone is not proof of one.

D:

Residual risk is the exposure remaining after controls are applied; it is not the name for the technical flaw being inventoried.

Question 2

A public API is overwhelmed by thousands of geographically distributed devices sending valid-looking requests. Which attack classification best fits the evidence?

  1. DNS cache poisoning
  2. ARP spoofing
  3. A bot-driven credential-stuffing campaign
  4. Local privilege escalation
  5. Distributed denial of service

Explanation

Correct Answer

E:

Independent attack sources exhaust the service's finite capacity, making a distributed denial-of-service attack more likely than a single-host flood.

Incorrect Answers

A:

Cache poisoning changes name-resolution answers; it does not primarily produce massive request volume from numerous separate clients.

B:

ARP spoofing manipulates local link-layer address resolution; attackers across the Internet need not share the victim's broadcast domain.

C:

Credential stuffing tests stolen login pairs and typically produces authentication attempts and failures, neither of which is the defining evidence here.

D:

Privilege escalation changes an actor's authority on a host; the symptom here is reduced service availability from external request volume.

Question 3

Users on one VLAN intermittently send payroll traffic to an unexpected MAC address after receiving forged ARP replies. Which defensive control most directly checks this manipulation?

  1. Switch port security limited to allowed source MAC addresses
  2. Dynamic ARP Inspection backed by DHCP snooping bindings
  3. An ACL that filters only routed IPv4 packets
  4. DHCP snooping without Dynamic ARP Inspection

Explanation

Correct Answer

B:

The switch can validate ARP sender claims against trusted IP-to-MAC bindings, discarding forged updates on untrusted access ports.

Incorrect Answers

A:

A MAC limit can block extra devices on a port but cannot verify that one permitted host is truthfully claiming a gateway IP in an ARP reply.

C:

Routed IP ACLs do not necessarily inspect ARP frames on the local link, leaving false IP-to-MAC advertisements unvalidated.

D:

DHCP snooping learns address bindings and rejects rogue DHCP replies but does not by itself validate or discard forged ARP advertisements.

Question 4

A recursive resolver returns an attacker-controlled address for an internal application despite the authoritative DNS zone being correct. What is the most likely attack?

  1. TCP session fixation
  2. A forged entry in one user's local hosts file
  3. DNS cache poisoning
  4. VLAN double tagging
  5. Kerberos ticket replay

Explanation

Correct Answer

C:

The attacker has influenced cached name-to-address data at the resolver, so clients may be redirected until entries are corrected or expire.

Incorrect Answers

A:

Session fixation concerns predictable or attacker-selected application session identifiers; it cannot directly alter a recursive DNS answer.

B:

A local hosts-file change could redirect that one endpoint, but it would not explain incorrect answers supplied by the recursive resolver to multiple clients.

D:

Double-tagging abuses trunk and native VLAN handling at Layer 2, whereas the observed alteration occurs in resolver data.

E:

Replaying an authentication ticket targets identity sessions; the evidence points instead to falsified name-resolution state.

Question 5

A firewall receives many SYN packets to a service, but most sources never complete the TCP three-way handshake. What resource is the attacker attempting to exhaust?

  1. An application thread pool used by completed HTTP requests
  2. The web server's HTTP session-cookie store
  3. The client's TCP receive window for established transfers
  4. The server's capacity for half-open TCP connections

Explanation

Correct Answer

D:

SYN flooding abuses the handshake backlog or related connection-tracking capacity by creating many embryonic connections without completing them.

Incorrect Answers

A:

HTTP worker exhaustion occurs after connection establishment and application requests, whereas these sources do not finish the TCP handshake.

B:

An incomplete transport handshake occurs before application session handling, so the cookies are not the resource directly held by SYN-RECV connections.

C:

Receive windows regulate data flow after sessions exist, not the server's backlog of embryonic TCP connections.

Question 6

A help-desk employee follows instructions from a caller pretending to be the CFO and resets an executive's MFA enrollment. What is the primary initial attack technique?

  1. Voice-based social engineering pretexting
  2. Cross-site request forgery
  3. Credential stuffing
  4. Wireless deauthentication

Explanation

Correct Answer

A:

The caller impersonates an authority figure to induce a privileged workflow change; the human decision is the initial exploited trust boundary.

Incorrect Answers

B:

CSRF tricks an authenticated browser into issuing a request, but this case describes a telephone request directed at an employee.

C:

Stuffing tests previously leaked credential pairs automatically; the caller instead obtains an MFA reset through impersonation.

D:

Deauthentication disrupts wireless associations; it does not explain a persuasive call that changes an identity account.

Question 7

A finance manager receives a message crafted from prior supplier conversations asking that an invoice be paid to new bank details. What should the analyst suspect first?

  1. TCP acknowledgment scanning
  2. DHCP starvation
  3. Reflected cross-site scripting
  4. Business email compromise

Explanation

Correct Answer

D:

The attacker is manipulating a trusted financial workflow to redirect payment, often using an impersonated or compromised business mailbox.

Incorrect Answers

A:

ACK probes infer firewall behavior by testing packet handling; they have no natural role in changing invoice payment destinations.

B:

DHCP starvation consumes address leases on a local network, unlike a targeted social-engineering payment request.

C:

Reflected XSS executes injected browser-side content from a response; the observed outcome is fraudulent payment instruction.

Question 8

Only developers who maintain a particular package are targeted with a crafted email referring to its upcoming release. Which phishing subtype best describes the targeting?

  1. Vishing
  2. Smishing
  3. Watering-hole compromise
  4. Spear phishing

Explanation

Correct Answer

D:

The lure is tailored to a defined set of recipients and their work context, rather than a broad undifferentiated message campaign.

Incorrect Answers

A:

Vishing is voice-based deception, while the attackers are using a written email message to reach the developers.

B:

Smishing uses SMS as the delivery channel; the case explicitly identifies an email delivered to selected maintainers.

C:

A watering-hole attack corrupts a site the targets already visit; the case specifies directly delivered email instead.

Question 9

An online portal concatenates a user-controlled field into a shell command used by a backend maintenance script. Which development measure most directly removes the unsafe execution pattern?

  1. Restrict the web server to a separate subnet without correcting command construction
  2. Replace shell concatenation with parameterized process invocation
  3. Escape shell metacharacters using a fragile hand-maintained blacklist
  4. Deploy a web application firewall without changing the vulnerable backend

Explanation

Correct Answer

B:

Passing fixed executable arguments as data prevents input from becoming shell metacharacters that control command interpretation.

Incorrect Answers

A:

Network isolation limits reachability but does not stop malicious input already accepted by the portal from changing shell behavior.

C:

Blacklists can miss quoting and parsing edge cases, while eliminating shell interpretation of untrusted data addresses the unsafe pattern more reliably.

D:

A WAF may block known payloads temporarily, but parser and shell execution ambiguities remain in the application code.

Question 10

A compromised software vendor signs and distributes a trojanized update using its normal distribution channel. Which defensive activity most reduces blast radius after an update is installed?

  1. Pin the updater to a release version while granting it broad system rights
  2. Treat any valid digital signature as proof of harmless code
  3. Allow vendor-updater child processes to bypass endpoint monitoring
  4. Constrain the updater's execution privileges and monitor new behavior

Explanation

Correct Answer

D:

Even a vendor-signed package can be malicious; restricted rights and behavioral controls limit impact beyond distribution trust.

Incorrect Answers

A:

Version pinning can aid reproducibility, but a compromised authorized release may still execute with excessive privileges.

B:

Signatures attest to a signer and package integrity, not the good intent of the signer or absence of a compromise.

C:

Disabling behavioral telemetry creates blind spots after a compromised supply chain has delivered apparently trusted software.

Certified Network Defender (312-38) Practice Tests