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

Question 190

An application instantiates objects from untrusted serialized input with side effects during reconstruction. What vulnerability family is relevant?

  1. Cross-site request forgery
  2. Authentication rate control
  3. Insecure deserialization
  4. Server-side request forgery
  5. Path traversal
  6. Unrestricted file upload

Explanation

Correct Answer

C:

Unsafe deserialization can invoke dangerous gadget behaviors or corrupt application state. Avoiding untrusted object reconstruction and using strict formats mitigates the risk.

Incorrect Answers

A:

CSRF abuses the browser's automatic attachment of authentication context to cross-site requests; even if useful for forged authenticated actions initiated from another site, it does not establish unsafe object reconstruction from attacker-controlled data.

B:

Adaptive throttling and related abuse controls slow online credential attacks; it is aimed at limits on repeated online login attempts and would not resolve unsafe object reconstruction from attacker-controlled data.

D:

SSRF occurs when a server makes network requests to attacker-influenced destinations; the question hinges on unsafe object reconstruction from attacker-controlled data, not on untrusted influence over server-originated requests.

E:

Path traversal permits filesystem navigation beyond an authorized base path through untrusted input; that observation explains escape from an intended filesystem directory without demonstrating unsafe object reconstruction from attacker-controlled data.

F:

Unsafe uploads can enable code execution or content attacks when types; the result would concern execution risk from uploaded user-controlled files, leaving unsafe object reconstruction from attacker-controlled data unresolved.

Question 191

Repeated periodic outbound connections from an infected lab machine let an operator send instructions. What role do those connections serve?

  1. Adware
  2. Fileless execution
  3. Living off the land
  4. Command-and-control channel

Explanation

Correct Answer

D:

Command-and-control communications allow an attacker to direct compromised systems and receive results. Egress monitoring and behavioral anomalies can reveal beaconing.

Incorrect Answers

A:

Adware primarily injects advertising or monetization behavior into a device or browser; the question hinges on remote instruction exchange with compromised endpoints, not on software that inserts unwanted advertising.

B:

Fileless techniques leverage memory, scripts, or existing system tools; that observation explains malicious activity without a conventional dropped executable without demonstrating remote instruction exchange with compromised endpoints.

C:

Living-off-the-land activity misuses legitimate operating-system tools to blend with administrative operations; the result would concern abuse of trusted native tools, leaving remote instruction exchange with compromised endpoints unresolved.

Question 192

A factory wants to map controllers and protocols without sending packets to fragile legacy PLCs. Which inventory method fits?

  1. CoAP security
  2. OT safety versus IT availability
  3. Zigbee trust provisioning
  4. Passive OT asset discovery
  5. MQTT access controls

Explanation

Correct Answer

D:

Passive monitoring infers assets from observed OT communications without initiating probes at endpoints. It may miss silent devices and benefits from operator context.

Incorrect Answers

A:

That mechanism concerns confidentiality of constrained-device messaging instead of nonintrusive identification of industrial devices.

B:

OT assessments must preserve safety and process continuity; this can contribute to protection of physical operations during assessment but does not prove nonintrusive identification of industrial devices.

C:

Secure Zigbee commissioning and key management regulate which devices can join a mesh; the mechanism relates to controlled enrollment into a low-power wireless mesh rather than nonintrusive identification of industrial devices.

E:

MQTT broker authentication and topic authorization govern which clients may publish or subscribe; even if useful for authorization to publish sensitive IoT messages, it does not establish nonintrusive identification of industrial devices.

Question 193

A user signs out, but a copied session cookie still works until natural expiry. Which server behavior is missing?

  1. Server-side logout invalidation
  2. Absolute session lifetime
  3. Session idle timeout
  4. TLS session transport

Explanation

Correct Answer

A:

Effective logout revokes or invalidates the server-side session or token as designed. Deleting a browser cookie alone may leave stolen copies usable.

Incorrect Answers

B:

This choice focuses on indefinite renewal of a continually active session and therefore does not demonstrate continued token validity after logout.

C:

Idle timeout invalidates sessions after an interval without activity; the scenario tests continued token validity after logout, which is distinct from long-lived unattended authenticated sessions.

D:

TLS encrypts authenticated application communication over the network; confidentiality of session identifiers in transit is its purpose, whereas the case requires continued token validity after logout.

Question 194

A low-privilege account can modify an auto-start service executable that runs as LocalSystem. What makes this dangerous?

  1. Vertical access abuse
  2. Privilege escalation
  3. Horizontal access abuse
  4. Windows service misconfiguration

Explanation

Correct Answer

D:

Writable privileged service binaries can let a lower-privileged user affect code later run with stronger authority. File ACLs and service permissions must protect executable paths.

Incorrect Answers

A:

Vertical privilege abuse grants access to functions reserved for a higher privilege tier; the underlying behavior concerns unauthorized access to higher-role functions, distinct from untrusted changes to a privileged service's binary.

B:

This choice may reveal expansion from ordinary to elevated permissions, but the scenario is about untrusted changes to a privileged service's binary.

C:

This choice describes access to another same-role user's records; the observed condition calls for untrusted changes to a privileged service's binary.

Question 195

A café uses an allowlist of device MAC addresses as its only Wi-Fi security mechanism. Why is this insufficient?

  1. Evil twin access point
  2. Deauthentication frame abuse
  3. MAC filtering limitation
  4. SSID hiding limitation

Explanation

Correct Answer

C:

MAC addresses can be observed and spoofed and provide weak device identity. Strong authentication and encryption are needed for real access protection.

Incorrect Answers

A:

An evil twin imitates a trusted wireless network to attract client connections; this is tied to imitation of a legitimate wireless network rather than confirming device identification based only on MAC address.

B:

Forged deauthentication or disassociation frames can disrupt susceptible wireless clients; it helps explain unauthorized 802.11 disconnect messages, but not device identification based only on MAC address.

D:

Suppressing routine beacon advertisement does not provide authentication or encryption; the actual requirement is device identification based only on MAC address, not relying on a hidden name for wireless security.

Question 196

A UDP probe yields no application reply and no unreachable message. Which status correctly captures the ambiguity?

  1. SYN-ACK response
  2. Open or filtered UDP result
  3. Filtered port result
  4. TCP closed-port RST

Explanation

Correct Answer

B:

UDP has no handshake, so silence alone cannot distinguish a listening service from filtering. Further application-specific validation may resolve the uncertainty.

Incorrect Answers

A:

A SYN-ACK indicates the TCP endpoint is willing to proceed with a handshake; a listening TCP endpoint at the destination is its purpose, whereas the case requires ambiguous silent UDP behavior.

C:

A filtered result can apply when probe traffic appears blocked. With UDP silence alone, however, the port could be open and not responding or filtered; open|filtered preserves that uncertainty.

D:

This choice focuses on the absence of a TCP listener on the probed port and therefore does not demonstrate ambiguous silent UDP behavior.

Question 197

A symmetric key has been used for years, and an organization wants to limit the impact of possible long-term exposure. Which lifecycle practice applies?

  1. Certificate signing request
  2. OCSP responder
  3. Key rotation
  4. PKI certificate authority

Explanation

Correct Answer

C:

Key rotation replaces aging key material according to policy while preserving required access to old encrypted data. Rotation needs coordinated re-encryption or key versioning.

Incorrect Answers

A:

A certificate signing request carries identifying information and a public key to a certificate authority. It is not a key-lifecycle schedule for rotating a long-used symmetric secret.

B:

Online Certificate Status Protocol responders provide signed certificate-status information; it is aimed at online status checks for individual certificates and would not resolve planned replacement of cryptographic keys.

D:

A certificate authority signs assertions binding public keys to identities under validation policy; it serves trusted issuance of public-key identity certificates and cannot by itself resolve planned replacement of cryptographic keys.

Question 198

A hostname for a support service resolves through an alias to another canonical DNS name. Which record expresses that relationship?

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

Explanation

Correct Answer

C:

A CNAME record points one hostname to another hostname for resolution. It is not an IP address assignment and cannot coexist with other data at the same owner name under normal DNS rules.

Incorrect Answers

A:

PTR records associate reverse-DNS names with addresses under in-addr.arpa or ip6.arpa; that can clarify an address-to-hostname reverse lookup but cannot establish the DNS alias relationship between hostnames.

B:

NS records name the servers authoritative for a DNS zone or delegation; the underlying behavior concerns the authoritative DNS servers for the zone, distinct from the DNS alias relationship between hostnames.

D:

MX records designate mail exchangers for a domain, including preference values; the result would concern the domain's inbound mail routing hosts, leaving the DNS alias relationship between hostnames unresolved.

Question 199

An access port is configured to allow only a small number of learned endpoint MAC addresses. What control is this?

  1. DHCP snooping
  2. Rogue DHCP server
  3. DHCP starvation
  4. Switch port security
  5. MAC flooding

Explanation

Correct Answer

D:

Port security constrains MAC-address learning on specified interfaces and can respond to violations. It does not authenticate users at the application layer.

Incorrect Answers

A:

DHCP snooping filters untrusted DHCP server responses and builds lease-binding information; evidence about blocking DHCP server messages from untrusted ports would not answer the concern about limits on endpoint MAC addresses at a switch port.

B:

A rogue DHCP server can distribute incorrect addressing and resolver settings, redirecting traffic; this is tied to unauthorized distribution of network configuration rather than confirming limits on endpoint MAC addresses at a switch port.

C:

DHCP starvation exhausts available addresses by consuming leases; it describes lease-pool exhaustion through bogus requests; the observed condition calls for limits on endpoint MAC addresses at a switch port.

E:

MAC flooding seeks to exhaust or disrupt a switch's forwarding table; the underlying behavior concerns saturation of a switch's learned address table, distinct from limits on endpoint MAC addresses at a switch port.

Question 200

A Unix server publishes remote mount exports, and the tester wants to identify them with authorization. Which service metadata is relevant?

  1. DNS zone transfer exposure
  2. NFS export list
  3. NetBIOS name table
  4. NFS root squashing

Explanation

Correct Answer

B:

NFS export configurations describe directories available for remote mounting and client restrictions. Listing exports alone does not grant access to the underlying files.

Incorrect Answers

A:

An unrestricted AXFR can disclose a large set of zone resource records; that can clarify bulk DNS zone disclosure through AXFR but cannot establish the directories advertised for remote mounting.

C:

NetBIOS name tables list registered host and service names; this is tied to legacy host and service names rather than confirming the directories advertised for remote mounting.

D:

Root squashing maps remote root requests to an unprivileged identity; the relevant outcome would be restriction of remote root privileges on exports, not the directories advertised for remote mounting.

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