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

Question 340

An authorized audit identifies the following behavior: A directory assessment reveals service principal names linked to high-value application identities. Which classification is most defensible?

  1. SMB share exposure
  2. NTP management query
  3. Anonymous FTP listing
  4. Kerberos service principals

Explanation

Correct Answer

D:

Service principal names map services to accounts and can indicate privileged service account exposure; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to inventory service identities, avoid excessive privileges, and use robust managed credentials, verified when directory audits associate each service principal with an approved owner and low-privilege account.

Incorrect Answers

A:

SMB share enumeration reveals network resource names and sometimes access permissions before file access is attempted; this different classification would fit when a file server lists sensitive shared folders to users who do not need to know those names, not the evidence pointing to Kerberos service principals in the question.

B:

Some NTP management capabilities expose peer and status data unrelated to ordinary time service; this different classification would fit when a time server responds to management requests with details beyond simple clock synchronization, not the evidence pointing to Kerberos service principals in the question.

C:

Anonymous FTP can publish files and names without identity verification or transport encryption; this different classification would fit when an old file-transfer service exposes a directory listing to a user without authentication, not the evidence pointing to Kerberos service principals in the question.

Question 341

An authorized security review records the following: A user keeps the same session identifier after authentication that was assigned before login. Which concept most accurately classifies the observation?

  1. Session logout invalidation
  2. Cross-site request forgery
  3. Exposed session cookie
  4. Session fixation

Explanation

Correct Answer

D:

Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to regenerate the session identifier after successful login or privilege elevation, verified when controlled login tests show pre-authentication identifiers cannot access the subsequent authenticated session.

Incorrect Answers

A:

Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens; this different classification would fit when a user clicks logout, but a copied access token continues authorizing API requests until its original expiry, not the evidence pointing to session fixation in the question.

B:

CSRF abuses ambient browser credentials when the application fails to verify the user's request intent; this different classification would fit when a logged-in user's browser submits a state-changing request after visiting an unrelated malicious page, not the evidence pointing to session fixation in the question.

C:

An accessible session token can be replayed to impersonate an authenticated browser session if stolen; this different classification would fit when a browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections, not the evidence pointing to session fixation in the question.

Question 342

Which audit observation best verifies a corrective measure covering TLS forward secrecy?

  1. Negotiation records show ephemeral key agreement in use for approved client sessions.
  2. Encryption telemetry and tests show no repeated key-nonce pairs across protected messages.
  3. Messages with modified content or an incorrect authentication key fail verification.
  4. Object metadata contains wrapped data keys rather than exposed raw content-encryption keys.

Explanation

Correct Answer

A:

Ephemeral key agreement can give forward secrecy by deriving session secrets independent of a recoverable long-term key; the outcome tests this precise property in the production control. It relates to the original observation that a captured encrypted session should remain protected even if the server's long-term private key is exposed later.

Incorrect Answers

B:

AES-GCM security depends on avoiding nonce reuse under a given key because reuse undermines confidentiality and authenticity; that evidence is relevant when an encryption system repeatedly uses the same nonce and key for different AES-GCM messages, but does not establish closure of the TLS forward secrecy exposure.

C:

An HMAC combines a secret key with a cryptographic hash to authenticate message integrity; that evidence is relevant when two trusted systems share a secret and need to detect tampering in exchanged messages, but does not establish closure of the TLS forward secrecy exposure.

D:

Envelope encryption encrypts bulk content with data keys and wraps those keys under a separate managed key; that evidence is relevant when a storage platform encrypts each object with a short-lived data key protected by a central master key, but does not establish closure of the TLS forward secrecy exposure.

Question 343

For the topic of EAP-TLS identity assurance, which operational explanation is accurate?

  1. Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access.
  2. Bluetooth pairing establishes device trust that should be validated to avoid unintended connections.
  3. Without server certificate validation, enterprise credential exchanges may reach a lookalike authentication service.
  4. EAP-TLS uses certificate-based mutual authentication when client and server trust are properly validated.
  5. WPA2-Personal relies on a shared secret, making weak or broadly shared keys hard to revoke per user.

Explanation

Correct Answer

D:

Managed laptops must authenticate to enterprise Wi-Fi without sending reusable user passwords; that situation illustrates the actual operating behavior under review. Its practical safeguard is to deploy managed client certificates and require trusted authentication-server certificate validation, with confirmation when test devices without valid client credentials are rejected and users cannot bypass server trust checks.

Incorrect Answers

A:

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 EAP-TLS identity assurance.

B:

A mobile accessory repeatedly requests pairing while advertising an unexpected device identity; those details characterize Bluetooth pairing trust and would call for use secure pairing modes and verify device identities before authorizing trust relationships, rather than explaining EAP-TLS identity assurance.

C:

Employees click through unknown authentication-server certificate warnings when joining corporate Wi-Fi; those details characterize 802.1x certificate validation and would call for pin trusted authentication-server identities and prevent users from bypassing certificate warnings, rather than explaining EAP-TLS identity assurance.

E:

A small office Wi-Fi uses a short shared passphrase circulated among staff and former contractors; those details characterize WPA2-personal passphrase risk and would call for use a long random passphrase and rotate it when shared access is no longer trustworthy, rather than explaining EAP-TLS identity assurance.

Question 344

A planned improvement must address the following: A Bluetooth Low Energy wearable broadcasts a fixed identifier that can be tracked across locations. Which control best targets that requirement?

  1. Enable station isolation for untrusted guest clients and validate intended exceptions.
  2. Use 802.1X with centrally managed identity policy and protected client authentication.
  3. Enable WPA3-Personal where clients support it and minimize insecure transition dependencies.
  4. Enable supported private randomized addresses and minimize unnecessary identifier broadcasts.

Explanation

Correct Answer

D:

Persistent wireless identifiers can enable device tracking even when application content is encrypted; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that radio captures show identifiers rotate as specified without disrupting authorized pairing.

Incorrect Answers

A:

Client isolation can stop direct peer-to-peer traffic between wireless stations on the same guest service; the proposed safeguard addresses a case where visitors connected to the same guest network can open each other's device-sharing services, rather than the BLE privacy addressing finding described here.

B:

Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access; the proposed safeguard addresses a case where a corporate wireless network needs distinct user or device identities instead of one shared password, rather than the BLE privacy addressing finding described here.

C:

WPA3-Personal uses SAE authenticated key exchange rather than the WPA2-Personal pre-shared handshake design; the proposed safeguard addresses a case where a new access point is configured for password-based Wi-Fi security with better resistance to captured-handshake offline guessing, rather than the BLE privacy addressing finding described here.

Question 345

Under an authorized engagement, the report states: A connection trace shows SYN, SYN-ACK, and ACK before application data flows. Which protective practice belongs in the fix plan?

  1. Use an approved alternate vantage point and inspect ACL logs to separate filtering from packet loss.
  2. Use protocol-specific safe requests plus host and firewall telemetry where authorized.
  3. Correlate reset traffic with service listeners and firewall policy before concluding a port is open.
  4. Inspect handshake completion and firewall state when diagnosing failed TCP sessions.

Explanation

Correct Answer

D:

TCP establishes state through a handshake before transferring reliable bidirectional application data; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that packet traces show valid handshake completion and matching return traffic for authorized connections.

Incorrect Answers

A:

Filtering or packet loss can prevent a conclusive TCP port-state observation from a remote position; the proposed safeguard addresses a case where a probe to a specific port receives no response while other ports on the same host reply, rather than the TCP three-way handshake finding described here.

B:

UDP lacks a connection handshake; silence alone does not prove whether an application is listening; the proposed safeguard addresses a case where a UDP service probe returns no payload and no reachable error indication, rather than the TCP three-way handshake finding described here.

C:

A reset typically signals a rejected or nonexistent TCP connection, which differs from silent filtering; the proposed safeguard addresses a case where a probe receives an immediate RST from a reachable address rather than a service welcome banner, rather than the TCP three-way handshake finding described here.

Question 346

The security owner reviews this situation: A suspicious task launches code in memory through a trusted interpreter without dropping a conventional binary. What is the most suitable targeted safeguard?

  1. Combine indicators with behavior detection and investigation context rather than relying on hashes alone.
  2. Monitor unusual interpreter chains and apply behavioral endpoint controls beyond file scanning.
  3. Detonate untrusted samples only in an isolated monitored sandbox approved for malware analysis.
  4. Use integrity monitoring and protected software distribution to prevent execution of infected binaries.

Explanation

Correct Answer

B:

Fileless malware can abuse built-in interpreters and memory execution to avoid simple file-signature checks; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that process trees show suspicious interpreter invocations alerted or blocked despite no new disk executable.

Incorrect Answers

A:

Static indicators are brittle when malware is repackaged; behaviors can generalize across variants; the proposed safeguard addresses a case where a threat hunt misses a changed malicious binary because the alert relies exclusively on one file hash, rather than the fileless execution pattern finding described here.

C:

An isolated analysis environment records process, file, registry, and network behavior with containment; the proposed safeguard addresses a case where a defender needs to observe a suspicious file's effects without running it on a production workstation, rather than the fileless execution pattern finding described here.

D:

Viruses reproduce by infecting host files and normally rely on execution to spread infection; the proposed safeguard addresses a case where a malicious program inserts its code into other executable files that later run on the same host, rather than the fileless execution pattern finding described here.

Question 347

After applying safeguards for lost-device data protection, which observable result most directly establishes that they work?

  1. Permission audits confirm the app functions without access to contacts, microphone, or location.
  2. Retirement testing removes managed work data while leaving the user's personal files intact.
  3. A simulated lost-device workflow revokes enterprise sessions and removes managed corporate content.
  4. Managed-device telemetry flags or prevents apps not signed and delivered by approved publishers.

Explanation

Correct Answer

C:

Loss of a mobile device exposes cached content without encryption, access controls, and recovery capability; the outcome tests this precise property in the production control. It relates to the original observation that a staff phone containing corporate correspondence is lost while unlocked and unenrolled in management.

Incorrect Answers

A:

Mobile platform permissions restrict sensitive APIs, but users and administrators still must assess necessity; that evidence is relevant when a flashlight app asks for microphone, contact, and precise-location access without a relevant feature, but does not establish closure of the lost-device data protection exposure.

B:

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 lost-device data protection 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 lost-device data protection exposure.

Question 348

A review board requests objective closure evidence for NetBIOS name disclosure. Which outcome should be supplied?

  1. Tests with an unprivileged token cannot list restricted identifiers or fields.
  2. Directory audits associate each service principal with an approved owner and low-privilege account.
  3. Controlled mailbox probes cannot distinguish valid and invalid internal accounts from public responses.
  4. Boundary captures show legacy name queries are not answered by protected internal endpoints.

Explanation

Correct Answer

D:

Legacy NetBIOS name services can leak host inventory and administrative naming conventions; the outcome tests this precise property in the production control. It relates to the original observation that a legacy Windows segment reveals workstation names and workgroup identifiers through name-service responses.

Incorrect Answers

A:

Excessive API enumeration arises when list endpoints lack authorization or safe pagination and filtering; that evidence is relevant when an administrative API lists internal user identifiers through an endpoint open to all clients, but does not establish closure of the NetBIOS name disclosure exposure.

B:

Service principal names map services to accounts and can indicate privileged service account exposure; that evidence is relevant when a directory assessment reveals service principal names linked to high-value application identities, but does not establish closure of the NetBIOS name disclosure exposure.

C:

Recipient-verification responses can enable user-name discovery when they disclose account existence; that evidence is relevant when a mail server confirms whether arbitrary mailbox names exist before a message is submitted, but does not establish closure of the NetBIOS name disclosure exposure.

Question 349

Consider this security review note: A large backup needs efficient encryption and decryption with the same protected secret key. What should the responsible team do first to address the issue?

  1. Use per-object or per-context data keys and limit master-key unwrap permissions.
  2. Enable modern TLS suites with ephemeral key exchange and protect endpoint certificates.
  3. Validate recipient public keys and protect the associated private key from unauthorized use.
  4. Use authenticated symmetric encryption and manage key access separately from stored ciphertext.

Explanation

Correct Answer

D:

Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that recovery tests decrypt backups only with authorized key access and detect modified ciphertext.

Incorrect Answers

A:

Envelope encryption encrypts bulk content with data keys and wraps those keys under a separate managed key; the proposed safeguard addresses a case where a storage platform encrypts each object with a short-lived data key protected by a central master key, rather than the symmetric confidentiality finding described here.

B:

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 symmetric confidentiality finding described here.

C:

Public-key cryptography can use a recipient's public key to establish confidentiality while the private key stays secret; the proposed safeguard addresses a case where a sender needs to protect a short secret for a recipient without first sharing a symmetric key, rather than the symmetric confidentiality finding described here.

Question 350

During a sanctioned assessment the team observes: An avatar service accepts an arbitrary extension and serves the uploaded file with an active browser content type. Which next control or procedure best fits?

  1. Encode output by context and sanitize permitted rich content before it reaches browser execution contexts.
  2. Allowlist intended destinations and block internal or metadata network targets in the fetching service.
  3. Validate file signatures and content, store uploads as inert data, and set safe download headers.
  4. Enforce per-object access policy for every data retrieval and modification request.

Explanation

Correct Answer

C:

Uploads can create script, stored-XSS, or malware exposure when the server trusts names and client media types; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that uploaded polyglot and script-like test files cannot execute or be served with dangerous content types.

Incorrect Answers

A:

Stored XSS persists attacker-controlled content server-side and executes when it is later rendered unsafely; the proposed safeguard addresses a case where untrusted comment content executes in other users' browsers when a discussion page renders saved posts, rather than the unrestricted file upload finding described here.

B:

SSRF abuses a server's network privileges to request destinations inaccessible to the external client; the proposed safeguard addresses a case where a document-preview service fetches an arbitrary URL supplied by a user and reaches internal-only resources, rather than the unrestricted file upload finding described here.

D:

Object-level authorization fails when the server trusts a client-chosen identifier without checking ownership; the proposed safeguard addresses a case where a signed-in customer changes a record identifier and sees another customer's invoice, rather than the unrestricted file upload finding described here.

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