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

Question 490

The asset owner wants to stop the verified condition recurring: A ticket-service account has kept its human-chosen password for five years, and requests for its service tickets spike after the identity appears in a low-privilege user's audit trail. What is the most targeted improvement?

  1. Use long managed service-account secrets and monitor unusual ticket requests
  2. Apply phishing-resistant MFA and monitor low-frequency account-wide failures
  3. Segment SMB management traffic and tier privileged credentials
  4. Limit reusable administrative credentials and reduce NTLM exposure

Explanation

Correct Answer

A:

Strong rotated service credentials resist offline guesses, and ticket-request telemetry can reveal abnormal targeting of many service principals. That correction is linked to the fact that kerberoasting targets service-ticket data encrypted using service-account secrets; a service password guess can be checked without repeatedly logging in to the service.

Incorrect Answers

B:

Cross-account failure correlation catches distributed guessing; MFA limits the value of a successfully guessed password even when lockout logic is avoided; the tested weakness is kerberoasting, not the password spraying configuration addressed here.

C:

Restricting remote administration paths and separating host-specific administrative identities limits how far one stolen credential can travel; that safeguard does not directly close the kerberoasting route highlighted by the test.

D:

Credential isolation, separate admin accounts, and modern authentication reduce opportunities for a stolen hash to authenticate across hosts; the proposed improvement would make sense for pass-the-hash authentication but not as the main fix here; the tested fault instead involves kerberoasting.

Question 491

The approved engagement produces this evidence: Probes with increasing IP TTL values receive intermediate ICMP time-exceeded responses before reaching the service. What is the correct technical interpretation?

  1. TCP NULL scan
  2. Traceroute path inference
  3. TCP FIN scan
  4. Idle scan inference

Explanation

Correct Answer

B:

Traceroute exploits TTL expiry to infer portions of the network path; silent routers and asymmetric routing make the displayed path incomplete. This is why teams should limit unnecessary route-detail exposure and corroborate paths with network diagrams; rate-limiting diagnostic responses may reduce casual mapping, but legitimate troubleshooting still needs controlled path visibility.

Incorrect Answers

A:

NULL scanning sends a zero-flag TCP segment and infers states from implementation-dependent responses; it is not a universally reliable port test; the defining symptom in the prompt is associated with traceroute path inference instead.

C:

FIN scans use atypical flag combinations and rely on TCP behavior; operating system differences and filtering can make results unreliable; the reported conditions are characteristic of traceroute path inference, not that path.

D:

Idle scanning uses predictable IP ID behavior of a third-party zombie to infer target port state; modern stacks and NAT can frustrate it; those prerequisites differ from the traceroute path inference behavior in the record.

Question 492

The post-assessment action plan cites this evidence: A monitoring workstation has administrative packet-capture privileges and can view additional link-layer traffic delivered by the adapter, including frames not destined for its own host. Which corrective measure should be prioritized?

  1. Control capture permissions and secure sensitive traffic with encryption
  2. Enable DHCP snooping and rate limits on untrusted access ports
  3. Enable MACsec on supported links carrying sensitive internal traffic
  4. Validate DNS replies and use trusted resolvers with secure transport where appropriate

Explanation

Correct Answer

A:

Limiting capture access and encrypting payloads reduce exposure; promiscuous mode by itself does not defeat switch isolation. The specific weakness being corrected is that promiscuous mode lets an interface pass additional received frames to capture software; a modern switched network still limits which frames physically reach that port.

Incorrect Answers

B:

Per-port request limits and trusted DHCP server ports reduce lease exhaustion and constrain DHCP-origin abuse at the access layer; the action is aimed at DHCP starvation; it leaves the central promiscuous-mode capture condition unresolved.

C:

Layer-2 encryption reduces interception on the protected physical path while higher-layer TLS still protects data beyond those MACsec peers; this is relevant to a separate MACsec link encryption scenario, rather than the identified exposure; the tested fault instead involves promiscuous-mode capture.

D:

DNSSEC and protected resolver channels reduce answer substitution, though transport encryption alone does not guarantee authoritative record correctness; the tested weakness is promiscuous-mode capture, not the DNS response spoofing configuration addressed here.

Question 493

A security change request summarizes the problem as follows: A confidential employee email must remain unreadable to intermediate mail relays, and recipients use certificates and their private keys to obtain message content. Which remediation is best suited to it?

  1. Guarantee unique nonces per encryption key and rotate affected keys
  2. Protect signing private keys and verify signatures before installation
  3. Manage recipient certificates and private keys for encrypted S-MIME messages
  4. Rotate and version keys while retaining controlled historical decryption access

Explanation

Correct Answer

C:

Verified certificates and sound key custody enable intended recipients to decrypt content while supporting sender authenticity when messages are signed. It directly addresses this mechanism: S-MIME can encrypt message content to recipients' public keys and provide digital signatures; intermediate mail transport need not see message plaintext.

Incorrect Answers

A:

Nonce-generation discipline protects the authentication construction, while key rotation limits exposure after uniqueness guarantees have failed; the proposed improvement would make sense for AES-GCM nonce reuse but not as the main fix here; the tested fault instead involves S-MIME encrypted email.

B:

Private-key custody preserves publisher identity and signature validation prevents unapproved package modification from appearing legitimate; the specific root cause belongs to S-MIME encrypted email, beyond this control's intended scope.

D:

Key lifecycle management limits future use of compromised material without inadvertently making existing protected records unrecoverable; it would improve cryptographic key rotation, not directly correct the reported S-MIME encrypted email issue.

Question 494

In a permitted test environment, the analyst records: A developer committed a real API token to a public source repository and removed it in a later commit. What is the most precise classification?

  1. Technology banner aggregation
  2. Search engine indexing
  3. Certificate transparency discovery
  4. Public repository secret discovery

Explanation

Correct Answer

D:

Git history and code-search indexing may retain credentials after deletion from the latest branch; a removed line is not proof that a token is secret again. A practical defensive response is to revoke exposed credentials and scan repository history for leaks; rotating the affected token removes the old credential's authority, while history scanning finds additional disclosures and prevents recurrence.

Incorrect Answers

A:

Internet device search engines index observable service responses and metadata collected through their own scans; an assessor can review those records passively; those prerequisites differ from the public repository secret discovery behavior in the record.

B:

Search-engine caches and indexes can retain discoverable content even after an origin page changes; removing a live link alone does not ensure deindexing; this would classify another type of evidence, whereas the actual finding shows public repository secret discovery.

C:

Certificate transparency logs are public issuance records; hostnames in certificate subject alternative names may reveal externally relevant assets without probing the hosts; the relevant mechanism in the observed workflow is public repository secret discovery instead.

Question 495

Consider this event from a scoped security assessment: A supposed technical-support representative offers to fix a minor laptop issue if the user first installs a remote-control utility. Which explanation fits the observed evidence?

  1. USB baiting
  2. OAuth consent phishing
  3. Tailgating
  4. Vishing
  5. Quid-pro-quo scam

Explanation

Correct Answer

E:

Quid pro quo uses a promised benefit or service in exchange for an action that grants access or discloses information. A practical defensive response is to route support requests through authenticated ticket and remote-assistance workflows; approved help-desk channels confirm personnel and tool provenance before users allow remote sessions or install agents.

Incorrect Answers

A:

Baiting offers an enticing physical or digital object to encourage unsafe action, such as connecting untrusted removable media; this would classify another type of evidence, whereas the actual finding shows quid-pro-quo scam.

B:

Consent phishing abuses delegated authorization: a seemingly valid login flow grants an untrusted application permissions without stealing the user's password; the relevant mechanism in the observed workflow is quid-pro-quo scam instead.

C:

Tailgating gains physical access by following someone legitimately admitted, exploiting social pressure to hold doors instead of defeating badge technology; those effects are not the quid-pro-quo scam pattern evidenced by the assessment.

D:

Vishing uses voice calls to deceive a person into disclosing secrets or performing unsafe actions, often relying on caller-ID spoofing and urgency; the case demonstrates quid-pro-quo scam rather than the alternate mechanism.

Question 496

As part of a sanctioned audit, a reviewer observes: A trusted administrative binary launches an unexpected remote script under an ordinary employee session during a simulated incident. Which behavior is illustrated?

  1. Fileless memory execution
  2. Trojanized utility
  3. Living-off-the-land misuse
  4. Bootkit compromise

Explanation

Correct Answer

C:

Living-off-the-land behavior abuses legitimate operating-system tools to perform malicious work, so executable reputation alone may be insufficient. For a production safeguard, operators can constrain script execution and detect abnormal parent-child process chains; behavioral context catches misuse of approved binaries without incorrectly treating every built-in administration utility as malware.

Incorrect Answers

A:

Fileless malware favors memory and legitimate interpreters or system tools rather than installing a traditional standalone binary on disk; the relevant mechanism in the observed workflow is living-off-the-land misuse instead.

B:

A Trojan presents itself as a desirable or harmless program while containing malicious behavior; deception is central, not automatic self-replication; those effects are not the living-off-the-land misuse pattern evidenced by the assessment.

D:

Bootkits target boot components or the boot chain to persist below ordinary user-space defenses, potentially running before endpoint agents initialize; the observed evidence concerns living-off-the-land misuse instead.

Question 497

An incident analyst is asked to classify this observed activity: A profile-image uploader accepts executable server-side files and stores them in a web-accessible directory where execution is enabled. Which concept is the closest match?

  1. Stored cross-site scripting
  2. Unsafe file upload
  3. XML external entity processing
  4. Server-side request forgery

Explanation

Correct Answer

B:

Unsafe upload handling combines untrusted file content with executable storage or insecure processing, potentially turning an image feature into a code path. The appropriate hardening measure is to validate content and store uploads outside executable web paths, since re-encoding images, controlled file types, and nonexecutable storage prevent uploaded content from becoming server-executed code.

Incorrect Answers

A:

Stored XSS persists attacker-controlled content server-side and delivers it to later viewers through unsafe rendering; those effects are not the unsafe file upload pattern evidenced by the assessment.

C:

XXE occurs when XML parsing resolves untrusted external entities or DTD resources, potentially reaching files or internal URLs from the server; the observed evidence concerns unsafe file upload instead.

D:

SSRF occurs when server-side code makes network requests to attacker-selected destinations, potentially crossing internal network or cloud trust boundaries; the test record points specifically to unsafe file upload, not this separate mechanism.

Question 498

Operations asks for a practical correction after the test found: A factory MQTT service accepts anonymous clients that can publish commands to actuator topics as well as subscribe to private operational telemetry streams. What should the security team recommend?

  1. Require client authentication and per-topic publish and subscribe ACLs
  2. Require unique per-device credentials and forced first-use enrollment
  3. Provision unique device certificates and lifecycle-aware revocation
  4. Use SPAN or TAP telemetry with coordinated asset-owner verification

Explanation

Correct Answer

A:

Identity and topic permissions stop unrelated clients from controlling or observing telemetry streams merely by reaching the broker. The underlying condition is that MQTT brokers route messages through topics; anonymous access can permit unauthorized telemetry reading or injection when topic ACLs are absent.

Incorrect Answers

B:

Device-specific strong secrets prevent a common vendor password from granting broad access to deployed camera inventories; that change targets default IoT credentials, while the confirmed weakness involves anonymous MQTT broker.

C:

Per-device credentials support accurate inventory, isolation, and renewal when only one endpoint is lost or retired; it would improve shared device identity, not directly correct the reported anonymous MQTT broker issue.

D:

Passive visibility maps many communicating devices while avoiding potentially disruptive scans against controllers with fragile protocol stacks; the measure addresses a different trust boundary from the anonymous MQTT broker finding.

Question 499

Operations asks for a practical correction after the test found: A plant manager wants to postpone firmware replacement on a critical controller and treat the deferral as permanent without approval, monitoring measures, or a review deadline. What should the security team recommend?

  1. Correct hardening drift and retest benchmark controls
  2. Document compensating controls, owner approval, and an expiry date
  3. Remediate reachable high-impact instances first while tracking both
  4. Use vault-managed, time-limited, least-privilege scanning identities

Explanation

Correct Answer

B:

A time-bound exception preserves accountability for unpatched risk and ensures temporary operational constraints do not become an indefinite exemption. The safeguard responds to the underlying issue: risk acceptance is a documented decision by an authorized risk owner to tolerate residual exposure with an understood rationale and review date.

Incorrect Answers

A:

Turning off unnecessary services and tightening audit policies addresses exposure that patch installation alone cannot remove; its security benefit applies principally to configuration benchmark assessment, not the defect described; the tested fault instead involves formal risk acceptance.

C:

Risk-based sequencing addresses likely exploitation paths without treating lower-exposure hosts as permanently exempt from remediation; the action is aimed at risk-based patch prioritization; it leaves the central formal risk acceptance condition unresolved.

D:

Separate scoped identities and restricted secret retrieval prevent a compromised scanner operator from inheriting broad administrative rights; this is relevant to a separate scanner credential exposure scenario, rather than the identified exposure; the tested fault instead involves formal risk acceptance.

Question 500

A control review considers a verified technical issue: A legitimate cloud authorization window asks an employee to grant a recently created third-party app long-term permission to read all their company email. Which mitigation most directly addresses its cause?

  1. Verify sensitive requests through a separate trusted communication channel
  2. Use number matching and phishing-resistant authentication with prompt anomaly alerts
  3. Restrict risky application consent and review delegated grants
  4. Use strong account-recovery proof and second-party review for factor resets

Explanation

Correct Answer

C:

Admin review and least-privilege OAuth permissions prevent a deceptive app from acquiring long-lived API access through user approval. This matters for the observed attack path because consent phishing abuses delegated authorization: a seemingly valid login flow grants an untrusted application permissions without stealing the user's password.

Incorrect Answers

A:

Independent confirmation prevents project-specific impersonation from being treated as proof that an email request was authorized; that safeguard does not directly close the OAuth consent phishing route highlighted by the test.

B:

Challenge context and stronger factors reduce blind approvals, while alerting and throttling expose the repetitive abuse pattern; the proposed improvement would make sense for MFA push fatigue but not as the main fix here; the tested fault instead involves OAuth consent phishing.

D:

Recovery protections keep an impersonator from taking over the account simply by persuading support to replace or disable authentication controls; that change targets help-desk reset impersonation, while the confirmed weakness involves OAuth consent phishing.

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