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

Question 50

A defender wants the registration metadata and registrar of a domain without guessing its website platform. Which public lookup fits?

  1. Active reconnaissance
  2. WHOIS or RDAP lookup
  3. Certificate transparency logs
  4. Archived web snapshots

Explanation

Correct Answer

B:

RDAP and WHOIS services provide domain registration information where disclosure policies allow it. Privacy redaction may limit contact details, but registrar and status data remain useful.

Incorrect Answers

A:

Active reconnaissance interacts with systems under assessment and can create observable traffic; it serves direct network interaction with scoped hosts and cannot by itself resolve domain registration and registrar metadata.

C:

Certificate transparency systems log publicly trusted certificate issuance and can expose SAN hostnames; it helps explain hostnames appearing in issued public certificates, but not domain registration and registrar metadata.

D:

Web archives can preserve earlier publicly accessible page content and design; historical public versions of the website is its purpose, whereas the case requires domain registration and registrar metadata.

Question 51

A suspicious utility appears useful but secretly installs an unwanted background component when executed. Which category applies?

  1. File-infecting virus
  2. Spyware
  3. Trojan horse
  4. Ransomware

Explanation

Correct Answer

C:

A Trojan disguises harmful behavior within apparently legitimate software. Unlike a virus, its defining feature is deception rather than replication into other files.

Incorrect Answers

A:

This choice may reveal propagation through infected executable hosts, but the scenario is about malice concealed inside seemingly legitimate software.

B:

Spyware monitors user or system information and transmits it without informed authorization; its technical boundary is unauthorized collection of user activity rather than malice concealed inside seemingly legitimate software.

D:

Ransomware obstructs data or system access and seeks payment for recovery or non-disclosure; this does not verify malice concealed inside seemingly legitimate software, because its scope is extortion using loss of data access.

Question 52

A site needs its authentication cookie sent only over HTTPS, not accidental HTTP requests. Which cookie attribute is critical?

  1. Secure cookie attribute
  2. SameSite cookie attribute
  3. Session fixation
  4. HttpOnly cookie attribute

Explanation

Correct Answer

A:

The Secure flag instructs compliant browsers to transmit the cookie only over secure transport. HTTPS and HSTS remain important for the overall connection.

Incorrect Answers

B:

SameSite restricts when cookies accompany cross-site requests; this can contribute to unwanted cookie inclusion on cross-site requests but does not prove cookies inadvertently sent over plaintext HTTP.

C:

Session fixation occurs when an attacker-chosen or known token remains valid across authentication; despite its value for unrotated session identifiers across authentication, it cannot substantiate cookies inadvertently sent over plaintext HTTP.

D:

HttpOnly makes a cookie inaccessible through normal document cookie APIs; it serves script access to a browser session cookie and cannot by itself resolve cookies inadvertently sent over plaintext HTTP.

Question 53

A small office has a WPA2-only access point configured with one network passphrase for every client and no 802.1X or RADIUS backend. Which WPA2 authentication model is configured?

  1. WPA2-Enterprise 802.1X
  2. WPA2-Personal PSK
  3. Protected Management Frames
  4. WPA3-Personal SAE

Explanation

Correct Answer

B:

WPA2-Personal derives access from a pre-shared passphrase shared across clients. Revocation of one device may require changing the common secret.

Incorrect Answers

A:

WPA2-Enterprise employs 802.1X and an EAP-based authentication framework, commonly with a RADIUS server. A single common passphrase with no such backend indicates WPA2-Personal instead.

C:

802.11w protected management frames authenticate certain management frames; the actual requirement is shared-passphrase wireless access, not forgery protection for selected wireless management frames.

D:

WPA3-Personal uses SAE for password-authenticated association, not the legacy WPA2-PSK association mode. The stem explicitly identifies an access point limited to WPA2.

Question 54

A medium-rated issue affects the only production payment server. Which assessment factor adjusts technical severity to the organization's deployment?

  1. CVSS base score
  2. CVSS environmental context
  3. CVE identifier
  4. CWE weakness category

Explanation

Correct Answer

B:

Environmental considerations account for asset-specific importance and protections, where supported by the scoring version. Identical software flaws can present different organizational risks.

Incorrect Answers

A:

That observation explains standardized intrinsic technical severity without demonstrating deployment-specific security impact.

C:

CVE IDs identify publicly known vulnerabilities consistently across tools and advisories; it helps explain cross-tool naming of a disclosed vulnerability, but not deployment-specific security impact.

D:

CWE describes weakness classes such as improper input validation or authorization errors; that can clarify a general root-cause weakness class but cannot establish deployment-specific security impact.

Question 55

A service accumulates many half-open TCP connections during an availability incident. Which attack mechanism is suggested?

  1. ICMP flood
  2. SYN flood
  3. UDP flood
  4. Application-layer DoS

Explanation

Correct Answer

B:

A SYN flood can consume connection-state resources before handshakes complete. SYN cookies and appropriate edge protections reduce that exposure.

Incorrect Answers

A:

ICMP flooding overloads bandwidth or device processing with control packets; the result would concern high-volume ICMP traffic affecting availability, leaving pressure on incomplete TCP handshakes unresolved.

C:

UDP floods create processing and bandwidth load through large volumes of connectionless packets; high-rate datagrams targeting UDP services is its purpose, whereas the case requires pressure on incomplete TCP handshakes.

D:

Application-layer attacks exploit expensive server operations or limited worker pools; it is useful for exhaustion of application resources through requests but leaves pressure on incomplete TCP handshakes unproven.

Question 56

An application accepts only expected values for a finite sort-direction parameter. Which validation strategy is appropriate?

  1. Least-privilege database account
  2. Input allowlisting
  3. Parameterized SQL query
  4. Escaping limitation

Explanation

Correct Answer

B:

Allowlisting restricts a value to explicitly permitted members of a known set. It is helpful for SQL identifiers or keywords that cannot be bound as ordinary parameters.

Incorrect Answers

A:

Application database identities should possess only the tables and operations required; it helps explain the permissions available to compromised application SQL, but not unexpected SQL keyword values in a finite choice.

C:

Prepared statements with bound parameters separate supplied values from SQL syntax; that can clarify untrusted values altering the SQL query structure but cannot establish unexpected SQL keyword values in a finite choice.

D:

Ad hoc escaping is error-prone and varies with SQL dialect; it may reveal reliance on handwritten quote escaping, but the scenario is about unexpected SQL keyword values in a finite choice.

Question 57

A malicious comment is saved and later executes in many readers' browsers when rendered unescaped. Which injection class fits?

  1. Stored cross-site scripting
  2. Broken function-level authorization
  3. DOM-based XSS
  4. Broken object-level authorization
  5. Reflected cross-site scripting

Explanation

Correct Answer

A:

Stored XSS persists attacker-controlled content and executes when victims view it in a vulnerable context. Context-appropriate output encoding and safe rendering reduce risk.

Incorrect Answers

B:

Function-level authorization must enforce allowed roles on privileged operations server-side; this can contribute to server-side permission checks on privileged functions but does not prove persisted script execution through displayed content.

C:

DOM XSS arises when client-side JavaScript moves untrusted values into dangerous browser sinks; it is useful for unsafe client-side DOM interpretation of URL data but leaves persisted script execution through displayed content unproven.

D:

Object-level authorization failures occur when the server does not verify access; it serves cross-account access to individual API records and cannot by itself resolve persisted script execution through displayed content.

E:

Reflected XSS executes from untrusted request data returned in an immediate response; that mechanism concerns request-originated script reflected into an immediate response instead of persisted script execution through displayed content.

Question 58

A flashlight application requests access to the contacts database even though its function does not need it. What security review should focus on?

  1. Mobile application management
  2. Mobile device management enrollment
  3. Android app permissions
  4. iOS entitlements

Explanation

Correct Answer

C:

Android runtime and install-time permission models constrain app access to protected data and capabilities. Unnecessary grants expand privacy and compromise impact.

Incorrect Answers

A:

MAM applies controls to supported work applications and their data; its technical boundary is work-app controls without full personal-device administration rather than unnecessary access to contacts by a mobile application.

B:

MDM enrollment allows approved administrators to apply device policies and supported remote actions; this pertains to central policy and remote response for managed phones, not to unnecessary access to contacts by a mobile application.

D:

This choice affects capabilities granted to signed iOS applications, while the identified issue is unnecessary access to contacts by a mobile application.

Question 59

An industrial sensor starts code from flash even after its bootloader has been modified by an unauthorized actor. What feature would mitigate this?

  1. Secure boot on embedded device
  2. IoT device inventory
  3. IoT network segmentation
  4. IoT firmware signing

Explanation

Correct Answer

A:

Secure boot verifies trusted boot components before execution using a protected root of trust. It limits persistence through unauthorized firmware changes.

Incorrect Answers

B:

IoT asset inventory tracks devices, models, firmware, owners, and communication dependencies; the mechanism relates to visibility into connected embedded equipment rather than verification of device startup code.

C:

Segmenting IoT devices limits reachable systems and restricts permitted flows; evidence about network reachability from IoT devices into office workloads would not answer the concern about verification of device startup code.

D:

Cryptographic firmware signatures let devices verify approved updates before installation; even if useful for authenticity of software installed on embedded devices, it does not establish verification of device startup code.

Question 60

A regulated environment needs a dedicated hardware observation point on a link without depending on switch mirror configuration. What device fits?

  1. Dynamic ARP inspection
  2. Network TAP
  3. SPAN mirror port
  4. Promiscuous mode

Explanation

Correct Answer

B:

A network TAP supplies monitored copies of link traffic to an analyzer. Design and deployment determine whether the tap is passive and how fail-open behavior works.

Incorrect Answers

A:

Dynamic ARP inspection validates ARP packets against trusted bindings or configured rules; it can help assess switch-level checking of ARP bindings but would not demonstrate hardware-based observation of a physical network link.

C:

A switch mirror or SPAN session copies selected traffic to a monitoring port; it is aimed at intentional duplication of switch traffic to a sensor and would not resolve hardware-based observation of a physical network link.

D:

Promiscuous mode changes how a network interface accepts locally visible frames; that can clarify local capture beyond frames addressed to the NIC but cannot establish hardware-based observation of a physical network link.

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