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

Question 370

The assessment lead requests a precise definition of exposed session cookie. Which technical interpretation fits?

  1. Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens.
  2. Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session.
  3. CSRF abuses ambient browser credentials when the application fails to verify the user's request intent.
  4. An accessible session token can be replayed to impersonate an authenticated browser session if stolen.
  5. SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse.

Explanation

Correct Answer

D:

A browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections; that situation illustrates the actual operating behavior under review. Its practical safeguard is to protect session cookies with HttpOnly and Secure attributes and enforce TLS transport, with confirmation when browser inspection shows the session cookie is not script-readable and is sent only over HTTPS.

Incorrect Answers

A:

A user clicks logout, but a copied access token continues authorizing API requests until its original expiry; those details characterize session logout invalidation and would call for invalidate server-side session state and revoke relevant refresh tokens on logout, rather than explaining exposed session cookie.

B:

A user keeps the same session identifier after authentication that was assigned before login; those details characterize session fixation and would call for regenerate the session identifier after successful login or privilege elevation, rather than explaining exposed session cookie.

C:

A logged-in user's browser submits a state-changing request after visiting an unrelated malicious page; those details characterize cross-site request forgery and would call for use anti-CSRF tokens and suitable SameSite cookie restrictions on state-changing operations, rather than explaining exposed session cookie.

E:

A cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application; those details characterize sensitive cookie samesite policy and would call for choose an appropriate SameSite policy and independently protect state-changing requests against CSRF, rather than explaining exposed session cookie.

Question 371

After applying safeguards for ransomware encryption event, which observable result most directly establishes that they work?

  1. A clean restore test proves protected backups can recover files without relying on compromised hosts.
  2. Approved file hashes remain unchanged and antivirus scans find no modified executable hosts.
  3. A controlled test attachment cannot execute macros under the applied document policy.
  4. Startup comparisons show only approved persistence entries after remediation and reboot.

Explanation

Correct Answer

A:

Ransomware disrupts data availability through unauthorized encryption or extortion-related destruction; the outcome tests this precise property in the production control. It relates to the original observation that multiple files become unreadable while a process issues large volumes of unexpected rewrite operations.

Incorrect Answers

B:

Viruses reproduce by infecting host files and normally rely on execution to spread infection; that evidence is relevant when a malicious program inserts its code into other executable files that later run on the same host, but does not establish closure of the ransomware encryption event exposure.

C:

Macro-enabled documents can execute code when users permit active scripting in untrusted files; that evidence is relevant when a document asks recipients to enable active content to view a supposedly routine invoice, but does not establish closure of the ransomware encryption event exposure.

D:

Autorun entries can preserve malicious startup behavior without relying on the original launch process; that evidence is relevant when an unapproved program restarts after each user login because a startup registration remains present, but does not establish closure of the ransomware encryption event exposure.

Question 372

An assessor must categorize a result: A UDP service probe returns no payload and no reachable error indication. Which category best fits the observed condition?

  1. UDP response ambiguity
  2. Service banner identification
  3. TCP three-way handshake
  4. Port-to-service mismatch

Explanation

Correct Answer

A:

UDP lacks a connection handshake; silence alone does not prove whether an application is listening; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to use protocol-specific safe requests plus host and firewall telemetry where authorized, verified when application logs and packet captures corroborate whether a UDP request reached a listening service.

Incorrect Answers

B:

Application banners can identify probable services but may be suppressed, customized, or misleading; this different classification would fit when a permitted service connection returns software product and version details in its greeting, not the evidence pointing to UDP response ambiguity in the question.

C:

TCP establishes state through a handshake before transferring reliable bidirectional application data; this different classification would fit when a connection trace shows SYN, SYN-ACK, and ACK before application data flows, not the evidence pointing to UDP response ambiguity in the question.

D:

Port numbers are conventions; application-layer content and process ownership establish actual service identity; this different classification would fit when a responder finds an HTTP-speaking service listening on an unexpected numeric port, not the evidence pointing to UDP response ambiguity in the question.

Question 373

The scope-approved analysis reports: A browser can enumerate filenames in a public directory even though no index page was intended. Which issue or method is primarily illustrated?

  1. Directory listing exposure
  2. File upload storage separation
  3. Web server patch currency
  4. Configuration secret leakage
  5. Default administration endpoint

Explanation

Correct Answer

A:

Directory browsing is a server feature that can publish file names and paths when index content is absent; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to disable unintended autoindex behavior and grant file access only where explicitly required, verified when requests to unindexed folders do not return an unintended file inventory.

Incorrect Answers

B:

Untrusted uploads can become server-side code if storage and execution contexts are not separated; this different classification would fit when user-submitted files are saved under a directory where the server treats uploaded script extensions as executable code, not the evidence pointing to directory listing exposure in the question.

C:

The web-serving software and modules need their own security update cycle apart from application deployments; this different classification would fit when a public web server exposes a known flaw in its installed runtime despite application code being current, not the evidence pointing to directory listing exposure in the question.

D:

Deployment or server misconfiguration can publish secrets when configuration artifacts become static assets; this different classification would fit when a publicly served settings file contains an application database password and signing key, not the evidence pointing to directory listing exposure in the question.

E:

Default applications and consoles expand the web attack surface when deployed outside intended administration networks; this different classification would fit when a fresh server image exposes a sample administrative path using factory settings, not the evidence pointing to directory listing exposure in the question.

Question 374

The owner says 802.1x certificate validation has been addressed. Which recorded outcome should the independent tester seek?

  1. Managed clients reject lookalike access points whose authentication-server identity is not trusted.
  2. Managed supplicants refuse servers with untrusted certificates before releasing authentication material.
  3. Wireless accounting records tie each accepted connection to an authorized user or device identity.
  4. Configuration checks show WPS PIN is unavailable and approved devices still enroll securely.

Explanation

Correct Answer

B:

Without server certificate validation, enterprise credential exchanges may reach a lookalike authentication service; the outcome tests this precise property in the production control. It relates to the original observation that employees click through unknown authentication-server certificate warnings when joining corporate Wi-Fi.

Incorrect Answers

A:

An evil-twin AP impersonates a trusted network name to attract client associations or credentials; that evidence is relevant when a laptop connects to a nearby access point using the company SSID but an unfamiliar certificate and controller, but does not establish closure of the 802.1x certificate validation exposure.

C:

Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access; that evidence is relevant when a corporate wireless network needs distinct user or device identities instead of one shared password, but does not establish closure of the 802.1x certificate validation exposure.

D:

WPS PIN enrollment can undermine passphrase security on implementations with weak PIN protections; that evidence is relevant when a wireless router allows legacy PIN-based onboarding despite a strong Wi-Fi passphrase, but does not establish closure of the 802.1x certificate validation exposure.

Question 375

The security owner reviews this situation: An asset owner wants standardized registration records for a domain without relying on old free-form WHOIS formatting. What is the most suitable targeted safeguard?

  1. Rotate protected signing keys and publish the matching selector record in DNS.
  2. Use registry-supported RDAP endpoints and respect redaction of personal contact fields.
  3. Configure DMARC reporting and an enforcement policy appropriate to the domain's readiness.
  4. Review PTR naming for unintended system details and maintain accurate operational records.

Explanation

Correct Answer

B:

RDAP provides structured registration data over HTTPS with access controls and standardized responses; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that the returned structured record matches the domain registration and shows registry-provided status fields.

Incorrect Answers

A:

DKIM binds selected message headers and body content to a signing domain using a published public key; the proposed safeguard addresses a case where an outbound message carries a domain-associated cryptographic signature that receiving mail servers can verify, rather than the RDAP registration lookup finding described here.

C:

DMARC evaluates alignment with SPF or DKIM and lets the domain owner publish reporting and handling policy; the proposed safeguard addresses a case where a mail security report shows messages rejected when visible sender identity fails domain alignment checks, rather than the RDAP registration lookup finding described here.

D:

PTR records provide reverse address-to-name mapping, which may not mirror forward DNS perfectly; the proposed safeguard addresses a case where a network analyst wants the published hostname associated with an IP address rather than its forward address, rather than the RDAP registration lookup finding described here.

Question 376

During a sanctioned assessment the team observes: A subnet-level stateless rule permits inbound application packets but blocks required response traffic. Which next control or procedure best fits?

  1. Review directional subnet rules and required response ports as a complete network flow.
  2. Attach narrow resource-scoped actions to the function's execution identity.
  3. Document the service-model responsibility split and enforce customer-side identity and data controls.
  4. Continuously assess account configuration baselines and route accountable findings to owners.
  5. Enable organization-wide control-plane logs in protected centralized storage.

Explanation

Correct Answer

A:

Stateless cloud network ACLs require explicit allowance for both request and response directions; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that flow logs show requests and return packets pass the intended subnet controls.

Incorrect Answers

B:

Broad cloud roles amplify a compromised workload's capabilities outside its necessary operations; the proposed safeguard addresses a case where a serverless function can administer all storage resources even though it reads one designated object, rather than the cloud network acl behavior finding described here.

C:

Cloud service providers secure assigned infrastructure layers while customers remain accountable for their configurations and data; the proposed safeguard addresses a case where a hosted database customer assumes the provider also determines application user permissions and data retention, rather than the cloud network acl behavior finding described here.

D:

Cloud security posture management compares cloud settings with policy baselines and aggregates misconfiguration findings; the proposed safeguard addresses a case where an organization wants continuous visibility into risky storage, identity, and network configurations across many accounts, rather than the cloud network acl behavior finding described here.

E:

Cloud control-plane audit trails capture identity and API activity when correctly enabled and retained; the proposed safeguard addresses a case where a privileged cloud policy change is discovered but the team cannot identify who made the API request, rather than the cloud network acl behavior finding described here.

Question 377

The assessor flags this situation for follow-up: An external reviewer learns internal-looking DNS names from a public-facing name service. Select the most appropriate action.

  1. Inventory service identities, avoid excessive privileges, and use robust managed credentials.
  2. Disable unnecessary legacy name resolution and filter it across security boundaries.
  3. Disable public anonymous access unless the published data is expressly intended for unrestricted release.
  4. Separate public DNS data from private records and review externally published names.

Explanation

Correct Answer

D:

DNS records may expose system naming and topology when public and internal views are mixed; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that public resolver queries show only intentionally exposed records while internal records stay private.

Incorrect Answers

A:

Service principal names map services to accounts and can indicate privileged service account exposure; the proposed safeguard addresses a case where a directory assessment reveals service principal names linked to high-value application identities, rather than the DNS service enumeration finding described here.

B:

Legacy NetBIOS name services can leak host inventory and administrative naming conventions; the proposed safeguard addresses a case where a legacy Windows segment reveals workstation names and workgroup identifiers through name-service responses, rather than the DNS service enumeration finding described here.

C:

Anonymous FTP can publish files and names without identity verification or transport encryption; the proposed safeguard addresses a case where an old file-transfer service exposes a directory listing to a user without authentication, rather than the DNS service enumeration finding described here.

Question 378

An assessor retests controls associated with scanner false positive. Which observation constitutes the relevant evidence?

  1. The coverage report identifies every inventoried system as scanned, exempted, or awaiting assessment.
  2. The corrected assessment detects the known affected component and documents the previous coverage gap.
  3. The finalized ticket cites validated software evidence, exposure, and business impact rather than the model estimate.
  4. The exception record includes package evidence showing why the scanner signature was misleading.

Explanation

Correct Answer

D:

A false positive reports a weakness that is not actually present on the assessed asset; the outcome tests this precise property in the production control. It relates to the original observation that a scan flags vulnerable software, but a signed vendor inventory shows the affected component is not installed.

Incorrect Answers

A:

Scan coverage is meaningful only when tested assets are reconciled against authoritative inventory and scope; that evidence is relevant when a weekly scanner report lists 300 targets while the active inventory contains 420 managed systems, but does not establish closure of the scanner false positive exposure.

B:

A false negative is a missed real exposure caused by blind spots, permissions, coverage, or detection limits; that evidence is relevant when an independently confirmed vulnerable component is absent from the vulnerability scanner's findings, but does not establish closure of the scanner false positive exposure.

C:

Probabilistic AI summaries can assist prioritization but do not replace authenticated evidence or analyst validation; that evidence is relevant when an automated AI triage report labels a service vulnerable despite missing package evidence and system-owner context, but does not establish closure of the scanner false positive exposure.

Question 379

To confirm effective security handling of SNMP default communities, which result should an analyst prioritize?

  1. Network policy checks show public clients cannot query sensitive remote management bindings.
  2. Boundary captures show legacy name queries are not answered by protected internal endpoints.
  3. Unauthenticated listing requests cannot enumerate private directories on the file-transfer service.
  4. Unauthorized SNMP reads fail and approved SNMPv3 queries succeed with authenticated identities.

Explanation

Correct Answer

D:

Legacy SNMP community strings act as weak shared access tokens, especially without encryption; the outcome tests this precise property in the production control. It relates to the original observation that a network device exposes interface and configuration information through a shared default community string.

Incorrect Answers

A:

RPC endpoint information can reveal reachable management interfaces and service dependencies; that evidence is relevant when an endpoint lists remotely exposed interface identifiers and service bindings to unknown clients, but does not establish closure of the SNMP default communities exposure.

B:

Legacy NetBIOS name services can leak host inventory and administrative naming conventions; that evidence is relevant when a legacy Windows segment reveals workstation names and workgroup identifiers through name-service responses, but does not establish closure of the SNMP default communities exposure.

C:

Anonymous FTP can publish files and names without identity verification or transport encryption; that evidence is relevant when an old file-transfer service exposes a directory listing to a user without authentication, but does not establish closure of the SNMP default communities exposure.

Question 380

Under an authorized engagement, the report states: An identity service must make large-scale offline password guessing expensive on parallel hardware. Which protective practice belongs in the fix plan?

  1. Record strong file digests at acquisition and compare them after transfer.
  2. Enable strong disk encryption plus screen locks and endpoint controls for active sessions.
  3. Use a vetted password hashing algorithm with calibrated memory and time parameters.
  4. Enable modern TLS suites with ephemeral key exchange and protect endpoint certificates.
  5. Use authenticated symmetric encryption and manage key access separately from stored ciphertext.

Explanation

Correct Answer

C:

Memory-hard password KDFs raise the RAM and computation cost of each guessing attempt; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that benchmark records confirm configured hash parameters and successful authentication remains operationally acceptable.

Incorrect Answers

A:

A cryptographic hash creates a fixed-length digest useful for checking content integrity, not encrypting content; the proposed safeguard addresses a case where a forensic copy must be compared with its original to detect byte-level changes, rather than the memory-hard password hashing finding described here.

B:

Full-disk encryption primarily protects data at rest on powered-off locked devices, not data already decrypted for a live session; the proposed safeguard addresses a case where a laptop drive is stolen while the device is powered off, but a user later leaves it unlocked and running, rather than the memory-hard password hashing finding described here.

D:

Ephemeral key agreement can give forward secrecy by deriving session secrets independent of a recoverable long-term key; the proposed safeguard addresses a case where a captured encrypted session should remain protected even if the server's long-term private key is exposed later, rather than the memory-hard password hashing finding described here.

E:

Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data; the proposed safeguard addresses a case where a large backup needs efficient encryption and decryption with the same protected secret key, rather than the memory-hard password hashing finding described here.

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