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

Question 300

The assessment evidence reads as follows: Two equally severe vulnerabilities affect different assets: an isolated test host and a public payment gateway handling active transactions. Which technical concept explains the result?

  1. White-box assessment
  2. Black-box assessment
  3. Written rules of engagement
  4. Risk assessment

Explanation

Correct Answer

D:

Risk incorporates likelihood, business exposure, and impact; technical severity alone does not determine the order of remediation for distinct operational contexts. The appropriate hardening measure is to prioritize findings using asset criticality and exploitability context, since business impact and reachable attack paths change expected loss, so remediation scheduling should not be based solely on the generic vulnerability score.

Incorrect Answers

A:

White-box assessment uses extensive design and implementation knowledge to inspect hidden execution paths, business logic, and code-level weaknesses unavailable externally; the events given do not establish this behavior but do support risk assessment.

B:

Black-box testing models an outside party with little prior knowledge; it emphasizes externally discoverable paths but offers less coverage of privileged or internal behaviors; the reported conditions are characteristic of risk assessment, not that path.

C:

The signed rules of engagement define permitted assets, methods, windows, contacts, and stop conditions; informal requests cannot safely supersede that documented authorization boundary; those prerequisites differ from the risk assessment behavior in the record.

Question 301

During a scoped review the analyst records both conditions: A nonsecondary client requests AXFR and receives the authoritative zone's entire record set rather than a single resource lookup. Separately, a remote email request using the EXPN command on a department alias returns named recipient mailboxes instead of restricting distribution-list membership details. Which TWO interpretations match the evidence? Choose TWO.

  1. SMTP EXPN group expansion
  2. PTR record enumeration
  3. SMTP VRFY enumeration
  4. Anonymous LDAP bind
  5. DNS zone transfer

Explanation

Correct Answers

A:

SMTP EXPN may reveal distribution-list membership and addresses when the gateway permits expansion to untrusted requesters; its indicators are tied to the SMTP EXPN group expansion record, not to the finding involving DNS zone transfer.

E:

Zone transfer replicates DNS records between authorized servers; permissive AXFR access can reveal extensive hostnames and address relationships; its indicators are tied to the DNS zone transfer record, not to the finding involving SMTP EXPN group expansion.

Incorrect Answers

B:

A PTR lookup maps an IP address to a reverse DNS name; the result may reveal server role labels but not proof that services are running; those prerequisites differ from the DNS zone transfer, SMTP EXPN group expansion behavior in the record.

C:

SMTP VRFY can reveal recipient validity when a mail server exposes user verification behavior; not every mail server implements it or allows it externally; this would classify another type of evidence, whereas the actual finding shows DNS zone transfer, SMTP EXPN group expansion.

D:

Anonymous bind behavior depends on directory configuration; exposing membership attributes enables reconnaissance without granting an application login; the relevant mechanism in the observed workflow is DNS zone transfer, SMTP EXPN group expansion instead.

Question 302

An authorized security review documents this behavior: A monitor notices local privileged file changes and process launches that an upstream network sensor cannot see inside encrypted traffic. Which mechanism best accounts for the finding?

  1. Encrypted traffic blind spot
  2. Stateful firewall inspection
  3. Host-based intrusion detection
  4. Anomaly-based detection

Explanation

Correct Answer

C:

HIDS examines events on the host such as files, processes, logs, and configuration, complementing network packet inspection. This is why teams should deploy protected endpoint telemetry on critical hosts; local observation reveals execution and integrity changes not visible from perimeter traffic alone, especially when sessions are encrypted.

Incorrect Answers

A:

Network encryption preserves content confidentiality from passive inspection points; metadata remains visible but payload signatures may be unavailable; those prerequisites differ from the host-based intrusion detection behavior in the record.

B:

Stateful inspection tracks connection context, unlike a stateless rule that examines each packet primarily by addresses, ports, and flags; this would classify another type of evidence, whereas the actual finding shows host-based intrusion detection.

D:

Anomaly detection compares events with baseline or statistical expectations; legitimate workload shifts can also trigger alerts and need tuning; those effects are not the host-based intrusion detection pattern evidenced by the assessment.

Question 303

The testing team seeks a specific preventive recommendation for this finding: Operations discovers hundreds of predictable service aliases whose DNS records have no asset owner or lifecycle ticket, so newly discovered names are never reconciled to inventory. What should be implemented?

  1. Require authorization on backup locations and block unintended indexing
  2. Maintain a complete DNS asset inventory and remove orphaned records
  3. Remove exposed content and request index or cache removal
  4. Revoke exposed credentials and scan repository history for leaks

Explanation

Correct Answer

B:

Discovered names require ownership and scope checks; an inventory process catches unintended public names before they are forgotten. This matters for the observed attack path because subdomain enumeration combines naming patterns and DNS responses to uncover assets that organizational web navigation may not mention.

Incorrect Answers

A:

An index exclusion alone is not an access control; storage permissions and web server rules must prevent unauthenticated download; the tested weakness is subdomain wordlist discovery, not the search operators for exposure configuration addressed here.

C:

Access controls must first stop public retrieval; deindexing then reduces search visibility of previously indexed private content; the proposed improvement would make sense for search engine indexing but not as the main fix here; the tested fault instead involves subdomain wordlist discovery.

D:

Rotating the affected token removes the old credential's authority, while history scanning finds additional disclosures and prevents recurrence; the specific root cause belongs to subdomain wordlist discovery, beyond this control's intended scope.

Question 304

An authorized security review documents this behavior: An internal IPv6 segment has hosts reachable by neighbor solicitation even though IPv4 ping sweeps found no addresses. Which mechanism best accounts for the finding?

  1. Scope-aware scan scheduling
  2. ICMP echo discovery
  3. UDP service discovery
  4. IPv6 neighbor discovery

Explanation

Correct Answer

D:

IPv6 neighbor discovery resolves local-link peers using ICMPv6 rather than ARP; IPv4-only discovery cannot account for dual-stack assets. A targeted mitigation is to include IPv6 address space and neighbor traffic in authorized inventory scans; a complete host inventory must cover IPv6, while security controls should not disable essential ICMPv6 functions needed for normal operation.

Incorrect Answers

A:

Network scanning generates traffic that can affect adjacent shared systems; permission applies to assets and methods, not merely to the assessor's intent; the relevant mechanism in the observed workflow is IPv6 neighbor discovery instead.

B:

ICMP echo discovery tests reachability at the network layer; a live host need not expose an open application port to answer; those effects are not the IPv6 neighbor discovery pattern evidenced by the assessment.

C:

A UDP scan often cannot distinguish open from filtered ports when no response arrives; ICMP port-unreachable usually indicates the probed port is closed; the case demonstrates IPv6 neighbor discovery rather than the alternate mechanism.

Question 305

The tester submits the following verified finding: An authorized directory query returns service principal names associated with domain accounts that run network services. Which technique or condition is involved?

  1. PTR record enumeration
  2. Kerberos SPN listing
  3. SMB share enumeration
  4. DNS SRV discovery

Explanation

Correct Answer

B:

SPNs bind service identities to Kerberos names; directory enumeration can identify service accounts but does not by itself reveal their passwords. On affected systems, it is useful to manage service-account permissions and use strong managed secrets; tight account privileges and long, rotated secrets limit subsequent ticket-based password attacks after SPN exposure.

Incorrect Answers

A:

A PTR lookup maps an IP address to a reverse DNS name; the result may reveal server role labels but not proof that services are running; those effects are not the Kerberos SPN listing pattern evidenced by the assessment.

C:

SMB enumeration obtains resource details such as shares and access configuration after network discovery; an open port alone does not supply these objects; the observed evidence concerns Kerberos SPN listing instead.

D:

DNS SRV records publish the hostname and port of a service so clients can find it; LDAP and Kerberos discovery commonly rely on them; the test record points specifically to Kerberos SPN listing, not this separate mechanism.

Question 306

The approved test uncovered this weakness: A high-privilege service installation script places an executable in a spaced directory path without quoting it, and an intermediate directory is modifiable by unprivileged users. Which control would reduce the relevant exposure without relying on obscurity?

  1. Segment SMB management traffic and tier privileged credentials
  2. Quote service executable paths and remove write access from service directories
  3. Audit task creation and enforce authorization for scheduled execution
  4. Monitor startup registry entries and restrict unauthorized changes

Explanation

Correct Answer

B:

Correct quoting removes ambiguity in executable selection, while hardened filesystem ACLs block unauthorized replacement or placement of executables. It directly addresses this mechanism: an unquoted service path may let Windows resolve an unintended earlier executable at a space-delimited path when permissions allow a malicious file to be placed there.

Incorrect Answers

A:

Restricting remote administration paths and separating host-specific administrative identities limits how far one stolen credential can travel; the specific root cause belongs to unquoted service path abuse, beyond this control's intended scope.

C:

Changes to task definitions and launch paths provide persistence evidence; limiting task registration and alerting on anomalies constrain abuse; it would improve scheduled-task persistence, not directly correct the reported unquoted service path abuse issue.

D:

Registry auditing and application allowlisting expose or prevent unexpected logon-time execution from unapproved paths; the measure addresses a different trust boundary from the unquoted service path abuse finding.

Question 307

A security engineer examines the following result: A build pipeline stores a permanent cloud API key in plaintext environment files that are copied into many temporary worker images. Which described weakness or technique does it demonstrate?

  1. Cloud secret management
  2. Cloud metadata SSRF
  3. Cloud shared responsibility
  4. Static cloud access keys

Explanation

Correct Answer

D:

Long-lived static credentials remain useful after an instance is discarded unless revoked, creating persistent exposure across build artifacts and logs. The appropriate hardening measure is to use short-lived workload identities and centralized secret management, since federated or role-based temporary credentials remove embedded durable keys and simplify expiration after a build job finishes.

Incorrect Answers

A:

Application secret material embedded in code spreads across source control, build logs, and deployments, making controlled rotation and access auditing harder; the observed evidence concerns static cloud access keys instead.

B:

Metadata-service requests from a vulnerable server can turn SSRF into credential exposure when untrusted URLs can reach the instance's local metadata interface; the test record points specifically to static cloud access keys, not this separate mechanism.

C:

Cloud providers secure underlying service infrastructure, while customers typically retain responsibility for their data, identities, workloads, and configuration according to service model; that behavior is distinct from the static cloud access keys finding being classified.

Question 308

The approved engagement produces this evidence: An isolated decoy service accepts logins that no real business application should receive, producing high-signal intrusion telemetry. What is the correct technical interpretation?

  1. Inline network IPS
  2. Tarpit delay behavior
  3. Honeypot interaction
  4. Signature-based detection

Explanation

Correct Answer

C:

A honeypot deliberately exposes monitored, nonproduction resources to observe adversary behavior; it is not a substitute for protecting real assets. A practical defensive response is to isolate decoys and prevent their use as a pivot into production; containment ensures that an attacker who compromises a decoy cannot use its network access to reach operational services.

Incorrect Answers

A:

An inline IPS can block or reset traffic on the path while applying detection logic; availability design must consider false positives and bypass behavior; the test record points specifically to honeypot interaction, not this separate mechanism.

B:

A tarpit consumes an attacker's time or connection resources by slowing interactions; it can also consume defender resources if poorly sized; that behavior is distinct from the honeypot interaction finding being classified.

D:

Signature detection matches established indicators and patterns; changed encodings or previously unseen payloads may evade exact content matches; the defining symptom in the prompt is associated with honeypot interaction instead.

Question 309

A controlled investigation yields this observation: An organization uses the same long-lived encryption key across many datasets and wants to limit future damage if the key leaks. How should the team identify the underlying behavior?

  1. Cryptographic key rotation
  2. AES-GCM nonce reuse
  3. Forward secrecy
  4. RSA-OAEP encryption

Explanation

Correct Answer

A:

Key rotation periodically replaces cryptographic key material, reducing exposure windows; encrypted historical data may still depend on older keys. A targeted mitigation is to rotate and version keys while retaining controlled historical decryption access; key lifecycle management limits future use of compromised material without inadvertently making existing protected records unrecoverable.

Incorrect Answers

B:

GCM is an authenticated-encryption mode whose security depends on nonce uniqueness for a given key; reuse can undermine confidentiality and authentication; the scenario identifies cryptographic key rotation, which has a different triggering condition.

C:

Forward secrecy uses ephemeral key exchange so recorded session traffic cannot normally be decrypted solely from a later compromise of the server's long-term authentication key; the defining symptom in the prompt is associated with cryptographic key rotation instead.

D:

RSA-OAEP uses randomized asymmetric encryption padding suitable for wrapping short secrets, not for bulk data encryption at high throughput; the events given do not establish this behavior but do support cryptographic key rotation.

Question 310

A production hardening ticket was raised after this confirmed observation: Receivers around a facility can track the same wearable through recurring BLE advertisement identifiers that rarely change, even when users are not actively pairing devices. Which action best targets the risk?

  1. Patch wireless clients and access points against key reinstallation flaws
  2. Enable address randomization and minimize broadcast identifying data
  3. Use authenticated pairing methods and verify device identities
  4. Use spectrum monitoring and resilient channel or coverage planning
  5. Manage certificate enrollment and enforce trusted RADIUS server identity

Explanation

Correct Answer

B:

Rotating private addresses and reducing advertisement metadata make long-term association of broadcasts with one device more difficult. This matters for the observed attack path because BLE advertising can disclose device identifiers or metadata before a full connection; persistent identifiers can support passive tracking.

Incorrect Answers

A:

Updated handshake handling prevents unsafe key reinstallation while preserving the normal protocol operation needed for secure association; this is relevant to a separate KRACK handshake implementation scenario, rather than the identified exposure; the tested fault instead involves BLE advertisement tracking.

C:

Numeric comparison or suitable authenticated pairing reduces undetected peer impersonation compared with accepting every unsolicited pairing prompt; that safeguard does not directly close the BLE advertisement tracking route highlighted by the test.

D:

RF monitoring identifies interference patterns and alternative coverage or channels restore service without misdiagnosing the outage as a password issue; the proposed improvement would make sense for wireless jamming but not as the main fix here; the tested fault instead involves BLE advertisement tracking.

E:

Strong certificate lifecycle and server validation reduce shared-secret exposure and prevent clients from sending credentials to spoofed authentication servers; the specific root cause belongs to BLE advertisement tracking, beyond this control's intended scope.

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