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

Question 950

During a sanctioned assessment the team observes: An abandoned authenticated session remains valid long after the organization's required inactivity window. Which next control or procedure best fits?

  1. Choose an appropriate SameSite policy and independently protect state-changing requests against CSRF.
  2. Regenerate the session identifier after successful login or privilege elevation.
  3. Enforce server-side inactivity and maximum lifetime limits with explicit token invalidation.
  4. Invalidate server-side session state and revoke relevant refresh tokens on logout.

Explanation

Correct Answer

C:

Idle and absolute expiration limit how long stolen or unattended session credentials can remain useful; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that expired tokens are rejected by the server even if the browser still holds the original cookie.

Incorrect Answers

A:

SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse; the proposed safeguard addresses a case where a cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application, rather than the session expiry enforcement finding described here.

B:

Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session; the proposed safeguard addresses a case where a user keeps the same session identifier after authentication that was assigned before login, rather than the session expiry enforcement finding described here.

D:

Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens; the proposed safeguard addresses a case where a user clicks logout, but a copied access token continues authorizing API requests until its original expiry, rather than the session expiry enforcement finding described here.

Question 951

An assessor retests controls associated with container runtime boundaries. Which observation constitutes the relevant evidence?

  1. Permission simulations show the function reads the required object but cannot list or modify unrelated buckets.
  2. Role-policy tests show unrelated administrative API operations denied to the function identity.
  3. Controlled URL fetches cannot reach instance metadata and temporary credentials remain inaccessible.
  4. Runtime policy checks deny privileged containers and unwanted host mounts in the workload namespace.

Explanation

Correct Answer

D:

Containers share host kernel resources, so excessive privileges and mounts weaken isolation boundaries; the outcome tests this precise property in the production control. It relates to the original observation that a containerized service runs privileged with broad host filesystem mounts even though it only serves web traffic.

Incorrect Answers

A:

Broad cloud roles amplify a compromised workload's capabilities outside its necessary operations; that evidence is relevant when a serverless function can administer all storage resources even though it reads one designated object, but does not establish closure of the container runtime boundaries exposure.

B:

Serverless code still runs with an identity whose permissions determine its possible cloud-side actions; that evidence is relevant when an event-triggered cloud function can invoke unrelated administrative APIs using its execution role, but does not establish closure of the container runtime boundaries exposure.

C:

Instance metadata endpoints may expose workload credentials when SSRF reaches them without effective isolation; that evidence is relevant when an application URL-fetching feature can connect to instance-local metadata addresses from inside a cloud workload, but does not establish closure of the container runtime boundaries exposure.

Question 952

In a controlled review, analysts encounter this situation: A tester maps employee job titles and technology responsibilities from openly published profiles. Select the best matching concept.

  1. Public code repository search
  2. Website metadata leakage
  3. Passive reconnaissance
  4. Social profile correlation

Explanation

Correct Answer

D:

Public professional profiles can reveal personnel relationships and likely administrative roles without system access; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to train staff on oversharing and limit unnecessary public details about privileged responsibilities, verified when a public-profile review finds no internal administrative identifiers or sensitive infrastructure descriptions.

Incorrect Answers

A:

Repository history and forks can preserve accidentally committed secrets beyond the current branch; this different classification would fit when a company name appears in a public repository containing a committed configuration file with an API token, not the evidence pointing to social profile correlation in the question.

B:

Office and PDF metadata can expose organizational identifiers even when the document body is harmless; this different classification would fit when a publicly downloadable document reveals its author name, software version, and internal path in properties, not the evidence pointing to social profile correlation in the question.

C:

Passive collection uses third-party or already-public information and may be less detectable than direct probing; this different classification would fit when an analyst maps published organization information without contacting the organization's infrastructure, not the evidence pointing to social profile correlation in the question.

Question 953

Review the following evidence from an approved test: A security incident cannot be reconstructed because access logs rotate after one hour and stay writable by the app account. Which concept explains it most directly?

  1. Verbose server error disclosure
  2. Web server log integrity
  3. Configuration secret leakage
  4. Service identity privilege

Explanation

Correct Answer

B:

Request logs support investigation only when retained, time-synchronized, and protected against alteration; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to centralize web logs with controlled retention and write restrictions separate from application privileges, verified when central records preserve historical requests and show no application-account ability to erase them.

Incorrect Answers

A:

Detailed diagnostic errors can expose architecture and file locations to ordinary remote users; this different classification would fit when a failed web request returns a stack trace with internal paths and library version details, not the evidence pointing to web server log integrity in the question.

C:

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 web server log integrity in the question.

D:

Excessive server process rights turn an application compromise into a host-level compromise; this different classification would fit when a compromised web worker could alter operating-system security settings because it runs as an administrator, not the evidence pointing to web server log integrity in the question.

Question 954

An assessor retests controls associated with guest ssid isolation. Which observation constitutes the relevant evidence?

  1. Wireless surveys and wired port inspections identify and disconnect unauthorized bridging devices.
  2. Client associations negotiate PMF and forged protected-frame attempts are rejected.
  3. Managed clients reject lookalike access points whose authentication-server identity is not trusted.
  4. Guest client tests reach permitted internet services but cannot connect to internal office resources.
  5. Test devices without valid client credentials are rejected and users cannot bypass server trust checks.

Explanation

Correct Answer

D:

Separate SSIDs do not guarantee network separation unless their traffic paths and VLAN policies are isolated; the outcome tests this precise property in the production control. It relates to the original observation that a guest Wi-Fi client can reach internal finance printers despite receiving a guest network address.

Incorrect Answers

A:

Rogue access points create unauthorized alternate network paths, sometimes bypassing wired policies; that evidence is relevant when an unapproved radio bridges an internal Ethernet port to a wireless network outside the corporate controller, but does not establish closure of the guest ssid isolation exposure.

B:

Protected management frames provide integrity protection for selected Wi-Fi management traffic when negotiated; that evidence is relevant when a public hotspot experiences repeated forged management frames that disrupt associated clients, but does not establish closure of the guest ssid isolation exposure.

C:

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 guest ssid isolation exposure.

E:

EAP-TLS uses certificate-based mutual authentication when client and server trust are properly validated; that evidence is relevant when managed laptops must authenticate to enterprise Wi-Fi without sending reusable user passwords, but does not establish closure of the guest ssid isolation exposure.

Question 955

The remediation board receives this evidence: A read-only reporting feature connects to the database with an account allowed to modify all tables. Which action most directly improves the control?

  1. Parameterize every SQL execution point, including background processing of stored values.
  2. Grant only necessary SELECT rights to reporting identities and isolate administrative functions.
  3. Use prepared statements with bound parameters for user-supplied values.
  4. Handle database exceptions without revealing sensitive details and correct unsafe query composition.

Explanation

Correct Answer

B:

Excessive database privileges magnify the effect of application bugs or injection attempts; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that permission tests show the reporting account cannot alter schema or modify unrelated records.

Incorrect Answers

A:

Second-order injection arises when previously persisted untrusted content becomes executable query syntax downstream; the proposed safeguard addresses a case where data safely stored as text later enters a different program's dynamic SQL construction without parameter binding, rather than the database least privilege finding described here.

C:

Parameter binding separates query structure from untrusted values, preventing data from becoming SQL syntax; the proposed safeguard addresses a case where an application builds database queries by concatenating search text into the SQL statement itself, rather than the database least privilege finding described here.

D:

Uncaught database errors can leak query structure and database internals to remote users; the proposed safeguard addresses a case where a malformed user parameter causes the application to display raw database syntax and schema details, rather than the database least privilege finding described here.

Question 956

An assessor retests controls associated with insecure mobile storage. Which observation constitutes the relevant evidence?

  1. Retirement testing removes managed work data while leaving the user's personal files intact.
  2. Static and runtime checks show no reusable tokens in plain app logs or shared files.
  3. The app refuses test servers with untrusted or mismatched certificates during connection setup.
  4. Managed-device telemetry flags or prevents apps not signed and delivered by approved publishers.

Explanation

Correct Answer

B:

Locally stored credentials are exposed if applications use unsafe storage locations or logging behavior; the outcome tests this precise property in the production control. It relates to the original observation that a mobile app stores persistent authentication tokens as plaintext in a world-readable debug file.

Incorrect Answers

A:

Managed work containers separate enterprise data and policies from personal applications where supported; that evidence is relevant when an employer wants to remove corporate email from a personally owned phone without erasing family photos, but does not establish closure of the insecure mobile storage exposure.

C:

Disabling TLS certificate validation enables impersonation even when the connection uses encryption; that evidence is relevant when an application accepts any server certificate while connecting to its financial API, but does not establish closure of the insecure mobile storage exposure.

D:

Unreviewed side-loading increases exposure to modified packages and misleading publisher identities; that evidence is relevant when employees install a business lookalike app from an unknown APK source outside the approved enterprise catalog, but does not establish closure of the insecure mobile storage exposure.

Question 957

A finding concerns Bluetooth pairing trust. Select the explanation that captures how this issue or control works.

  1. WPS PIN enrollment can undermine passphrase security on implementations with weak PIN protections.
  2. Bluetooth pairing establishes device trust that should be validated to avoid unintended connections.
  3. Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access.
  4. Captive portals provide access workflow, not end-to-end confidentiality or strong device authentication.

Explanation

Correct Answer

B:

A mobile accessory repeatedly requests pairing while advertising an unexpected device identity; that situation illustrates the actual operating behavior under review. Its practical safeguard is to use secure pairing modes and verify device identities before authorizing trust relationships, with confirmation when the accessory rejects unknown pairing attempts and retained bonds match approved devices.

Incorrect Answers

A:

A wireless router allows legacy PIN-based onboarding despite a strong Wi-Fi passphrase; those details characterize WPS pin exposure and would call for disable unnecessary WPS PIN enrolment and use managed secure provisioning instead, rather than explaining Bluetooth pairing trust.

C:

A corporate wireless network needs distinct user or device identities instead of one shared password; those details characterize WPA2-enterprise authentication and would call for use 802.1X with centrally managed identity policy and protected client authentication, rather than explaining Bluetooth pairing trust.

D:

An airport network displays a terms page, and users assume the portal itself encrypts all subsequent traffic; those details characterize captive portal limitations and would call for use HTTPS and trusted VPN or application encryption independently of portal acceptance, rather than explaining Bluetooth pairing trust.

Question 958

Consider this security review note: A detection tool generates many false alarms after a legitimate scheduled workload changes traffic patterns. What should the responsible team do first to address the issue?

  1. Tune the baseline using verified workload changes and retain alerts for unusual deviations.
  2. Deploy protected endpoint telemetry and monitor high-value files and local privileges.
  3. Isolate decoy services and collect their telemetry without allowing lateral movement into production.
  4. Send IDS alerts to response workflows and place preventive enforcement where needed.
  5. Limit permitted egress destinations and monitor unusual outbound application traffic.

Explanation

Correct Answer

A:

Anomaly systems depend on normal-behavior models that can drift after genuine environment changes; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that post-tuning alerts distinguish authorized workload patterns from representative suspicious outliers.

Incorrect Answers

B:

Host-based detection uses operating-system events and file state to reveal activities inside endpoints; the proposed safeguard addresses a case where a server alert reports unauthorized changes to local system files that were not visible on the network sensor, rather than the anomaly baseline drift finding described here.

C:

A honeypot acts as a controlled decoy and generates high-signal alerts when unexpected interaction occurs; the proposed safeguard addresses a case where an isolated system with no business users receives unauthorized login attempts from an unknown source, rather than the anomaly baseline drift finding described here.

D:

An IDS detects or reports activity while remaining outside the active traffic-blocking decision path; the proposed safeguard addresses a case where a passive network sensor raises an alert about suspicious packets but does not terminate the connection, rather than the anomaly baseline drift finding described here.

E:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; the proposed safeguard addresses a case where a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, rather than the anomaly baseline drift finding described here.

Question 959

A control review focuses on 2.4 ghz band coexistence. Which explanation best matches its mechanics?

  1. The 2.4 GHz band has limited nonoverlapping channel choices and is often heavily congested.
  2. WPA3-Personal uses SAE authenticated key exchange rather than the WPA2-Personal pre-shared handshake design.
  3. Shared airtime and channel interference degrade performance even when wireless authentication is correct.
  4. An evil-twin AP impersonates a trusted network name to attract client associations or credentials.

Explanation

Correct Answer

A:

An access point on 2.4 GHz uses overlapping channels and competes with nearby legacy devices; that situation illustrates the actual operating behavior under review. Its practical safeguard is to select practical nonoverlapping channels and steer capable clients to less-congested bands, with confirmation when survey measurements confirm fewer overlapping transmissions and stable client coverage.

Incorrect Answers

B:

A new access point is configured for password-based Wi-Fi security with better resistance to captured-handshake offline guessing; those details characterize WPA3-personal sae and would call for enable WPA3-Personal where clients support it and minimize insecure transition dependencies, rather than explaining 2.4 ghz band coexistence.

C:

Wireless clients show high retry counts on channels heavily used by neighboring access points; those details characterize radio interference diagnosis and would call for plan channels and power levels based on measured contention rather than simply increasing transmit power, rather than explaining 2.4 ghz band coexistence.

D:

A laptop connects to a nearby access point using the company SSID but an unfamiliar certificate and controller; those details characterize evil twin access point and would call for require validated enterprise server certificates and restrict automatic connections to untrusted profiles, rather than explaining 2.4 ghz band coexistence.

Question 960

The security team observes this condition: A public HTTPS service negotiates an obsolete transport protocol with weak cryptographic protections. Which term should appear in the primary finding?

  1. Configuration secret leakage
  2. TLS protocol deprecation
  3. Certificate hostname mismatch
  4. HSTS deployment

Explanation

Correct Answer

B:

Legacy TLS versions and cipher suites may not provide current confidentiality and integrity guarantees; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to disable deprecated TLS protocols and use a maintained strong configuration baseline, verified when independent handshakes fail for obsolete protocols and succeed for intended modern clients.

Incorrect Answers

A:

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 TLS protocol deprecation in the question.

C:

TLS identity assurance depends on valid trust chains and matching names, not encryption alone; this different classification would fit when browsers warn that the server certificate is issued for a different hostname than the requested site, not the evidence pointing to TLS protocol deprecation in the question.

D:

HSTS directs compliant browsers to use HTTPS for the host after receiving a valid secure policy; this different classification would fit when a site supports HTTPS but returning visitors sometimes attempt insecure HTTP connections first, not the evidence pointing to TLS protocol deprecation in the question.

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