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

Question 210

A detector interprets fragmented packets differently from the destination, causing inconsistent inspection. What weakness is being exploited?

  1. Honeypot
  2. Honeypot fingerprinting
  3. Traffic normalization
  4. Fragmentation evasion concept

Explanation

Correct Answer

D:

Ambiguous fragmentation handling can let evasive traffic be reconstructed differently by sensors and endpoints. Normalization and consistent reassembly reduce discrepancies.

Incorrect Answers

A:

A honeypot attracts or records activity directed toward a controlled decoy; it describes observation of interactions with a decoy system; the observed condition calls for mismatch in interpretation of packet fragments.

B:

Attackers may identify unrealistic honeypot artifacts and avoid interacting or alter their behavior; despite its value for recognition of artificial target characteristics, it cannot substantiate mismatch in interpretation of packet fragments.

C:

Normalization reduces evasion opportunities caused by equivalent but differently encoded or fragmented traffic; that can clarify removal of protocol parsing ambiguities but cannot establish mismatch in interpretation of packet fragments.

Question 211

An administrator is validating the reverse lookup of an observed IPv4 address. What record provides the reverse mapping?

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

Explanation

Correct Answer

A:

PTR records associate reverse-DNS names with addresses under in-addr.arpa or ip6.arpa. A PTR result need not be a trustworthy host identity by itself.

Incorrect Answers

B:

NS records name the servers authoritative for a DNS zone or delegation; evidence about the authoritative DNS servers for the zone would not answer the concern about an address-to-hostname reverse lookup.

C:

MX records designate mail exchangers for a domain, including preference values; this is tied to the domain's inbound mail routing hosts rather than confirming an address-to-hostname reverse lookup.

D:

This choice helps explain published domain text policies and verification values, but not an address-to-hostname reverse lookup.

Question 212

A site names its login cookie __Host-SessionId and wants the browser to enforce that cookie-name prefix. Which Set-Cookie configuration meets the prefix requirements?

  1. Secure; Path=/; omit Domain
  2. Secure; Path=/admin; Domain=example.com
  3. HttpOnly; Path=/; Domain=example.com without Secure
  4. SameSite=Lax; Domain=example.com; Path=/

Explanation

Correct Answer

A:

The __Host- prefix requires Secure, an exact root Path=/, and no Domain attribute; the cookie is host-only. HttpOnly and SameSite remain valuable additional protections for login cookies.

Incorrect Answers

B:

The prefix rejects cookies with a Domain attribute or a Path other than /. Restricting the path to /admin does not satisfy the browser-enforced host-only cookie rules.

C:

Although HttpOnly blocks ordinary script reads, it does not replace Secure. Supplying Domain also violates the host-only requirement of the __Host- naming convention.

D:

SameSite limits cross-site attachment but neither supplies the required Secure flag nor permits a Domain attribute on a __Host- cookie. This combination fails prefix validation.

Question 213

A lost device is powered off, and the organization wants stored work information protected from physical extraction. Which control is most relevant?

  1. iOS code signing
  2. Mobile sandbox isolation
  3. Mobile full-disk/file encryption
  4. Jailbreaking

Explanation

Correct Answer

C:

Device encryption protects data at rest when keys remain secured by hardware and lock credentials. It does not prevent exposure while the device is unlocked.

Incorrect Answers

A:

Apple platform code signing validates app authenticity and integrity under permitted installation paths; the gap to resolve is confidentiality of stored data on a lost phone, not the separate matter of trusted application code loaded on iOS.

B:

Application sandboxing isolates app processes and storage using platform identities and permissions; the scenario tests confidentiality of stored data on a lost phone, which is distinct from separation of private data belonging to different apps.

D:

Jailbreaking bypasses some built-in platform protections and can expand the accessible attack surface; the underlying behavior concerns bypassed iOS platform restrictions, distinct from confidentiality of stored data on a lost phone.

Question 214

A malicious value is safely stored as data but later concatenated into a different SQL query by a background job. What type of flaw occurs?

  1. Stacked query risk
  2. Second-order SQL injection
  3. Stored input data integrity
  4. ORM parameter binding
  5. Database error sanitization

Explanation

Correct Answer

B:

Second-order injection arises when previously stored untrusted content is later reused unsafely as query syntax. Every later query construction point still needs parameters.

Incorrect Answers

A:

Statement stacking can let injected input alter more than the intended query; its technical boundary is execution of unintended additional SQL statements rather than delayed unsafe use of stored input.

C:

Integrity is affected when unauthorized SQL modifies persisted business records; it serves unauthorized changes to database records and cannot by itself resolve delayed unsafe use of stored input.

D:

ORMs often parameterize generated queries, but raw-query APIs can reintroduce unsafe interpolation; it affects unsafe interpolation within ORM raw-query interfaces, while the identified issue is delayed unsafe use of stored input.

E:

This choice focuses on disclosure of schema and query internals to clients and therefore does not demonstrate delayed unsafe use of stored input.

Question 215

A production web server includes filesystem paths, internal module names, and stack traces in the HTTP 500 pages it returns to unauthenticated visitors. Which configuration change addresses this disclosure?

  1. Enable detailed framework errors for every public client
  2. Hide detailed errors from clients while keeping diagnostics in restricted server logs
  3. Turn off every server-side error log and leave response pages unchanged
  4. Only shorten the cache lifetime of static images

Explanation

Correct Answer

B:

Production error handlers should return generic client responses and send detailed exception traces to protected internal logs. Developers retain diagnostic access without publishing sensitive server internals.

Incorrect Answers

A:

Verbose errors to unauthenticated clients expose implementation details that can help an adversary. Enabling more client-visible diagnostics expands the disclosure.

C:

Disabling internal logs deprives responders of useful evidence, and unchanged verbose responses continue to reveal paths and stack details. Both response handling and log access need appropriate controls.

D:

Static image caching affects performance and freshness of images. It cannot remove private filesystem paths or module traces from dynamic HTTP error responses.

Question 216

An organization uses endpoint protection, network segmentation, and phishing-resistant sign-in together. Which design principle does this illustrate?

  1. Defense in depth
  2. Confidentiality
  3. Integrity
  4. Least privilege

Explanation

Correct Answer

A:

Layered defenses place different controls along an attack path. An intruder who bypasses one measure must still overcome independent barriers.

Incorrect Answers

B:

Confidentiality protects information from disclosure to unauthorized parties; the actual requirement is multiple complementary barriers across the attack path, not unauthorized disclosure of the stored data.

C:

Integrity means data and configurations remain accurate and unaltered without authorization; this is tied to unauthorized modification of security settings rather than confirming multiple complementary barriers across the attack path.

D:

Least privilege grants only the capabilities required for the assigned task; it helps explain the narrowest role sufficient for inventory inspection, but not multiple complementary barriers across the attack path.

Question 217

A Windows incident responder finds a job configured to execute a suspicious command whenever a user logs on. Which persistence mechanism should be investigated?

  1. A startup-folder shortcut that runs only at system boot
  2. A scheduled task with a logon trigger
  3. A DNS zone transfer permission
  4. A network packet-capture filter

Explanation

Correct Answer

B:

Task Scheduler supports user-logon triggers and can launch programs repeatedly. Review the task definition, creator, command line, and evidence under the incident-response plan.

Incorrect Answers

A:

A startup shortcut can provide persistence, but the evidence identifies a job with an explicit event trigger; the scheduler configuration is the stronger match to investigate.

C:

Zone-transfer policy controls replication of DNS records between servers. It cannot cause a Windows command to run every time a user signs in.

D:

A packet filter selects network observations in a trace or capture stream. It does not define a recurring local command execution trigger on the workstation.

Question 218

Operations says a vulnerable package has been upgraded. Which activity establishes whether the finding is actually closed?

  1. Remediation verification
  2. Authenticated scan account scope
  3. Active exploitation versus assessment
  4. Vulnerability exception
  5. Vulnerability report evidence

Explanation

Correct Answer

A:

A targeted rescan or equivalent retest verifies that the vulnerable condition no longer exists. Change tickets alone establish intent rather than technical effectiveness.

Incorrect Answers

B:

Scanning credentials should be restricted to the minimum permissions needed for reliable checks; it describes least-privileged credentials for assessments; the observed condition calls for post-fix confirmation of the original weakness.

C:

Vulnerability identification does not automatically authorize exploitation; despite its value for the difference between discovery and exploit authorization, it cannot substantiate post-fix confirmation of the original weakness.

D:

An approved exception documents the risk owner; that can clarify time-limited acceptance of a remediation deviation but cannot establish post-fix confirmation of the original weakness.

E:

Actionable findings identify affected assets, observed evidence, impact, and verified remediation guidance; that observation explains traceable technical support for a reported finding without demonstrating post-fix confirmation of the original weakness.

Question 219

An operator discovers that controller code was changed to alter valve timing. Which security monitoring focus would detect and investigate that modification?

  1. Industrial demilitarized zone
  2. DNP3 secure authentication
  3. Modbus TCP security
  4. PLC logic change monitoring

Explanation

Correct Answer

D:

PLC logic integrity is essential because program changes can alter physical processes. Signed changes, version management, and engineering access controls reduce risk.

Incorrect Answers

A:

An industrial DMZ places intermediary services between enterprise and control zones; this pertains to separation of enterprise IT from industrial operations, not to unauthorized modification of industrial control logic.

B:

DNP3 Secure Authentication adds protection for specified critical operations when properly implemented; the question hinges on unauthorized modification of industrial control logic, not on cryptographic validation of industrial control requests.

C:

Classic Modbus TCP lacks built-in strong authentication and encryption; evidence about unauthenticated industrial control commands on a reachable network would not answer the concern about unauthorized modification of industrial control logic.

Question 220

A security team wants runtime detection of suspicious processes inside its hosted servers and containers. Which capability is most relevant?

  1. Cloud workload protection
  2. Container image scanning
  3. Kubernetes network policy
  4. Kubernetes RBAC

Explanation

Correct Answer

A:

Cloud workload protection monitors execution and workload behavior rather than only control-plane configuration. It complements posture assessment.

Incorrect Answers

B:

Image scanning inspects packaged software and operating-system layers for known issues; that can clarify known vulnerabilities bundled into a container image but cannot establish runtime threats within cloud-hosted workloads.

C:

NetworkPolicy defines permitted pod ingress and egress; it may reveal pod-to-pod network reachability restrictions, but the scenario is about runtime threats within cloud-hosted workloads.

D:

Kubernetes RBAC authorizes API verbs on resources at appropriate scopes; that mechanism concerns authorization of workload API actions within a namespace instead of runtime threats within cloud-hosted workloads.

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