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

Question 230

A review discusses trojan masquerade. Which statement correctly describes the underlying technical behavior?

  1. Viruses reproduce by infecting host files and normally rely on execution to spread infection.
  2. Fileless malware can abuse built-in interpreters and memory execution to avoid simple file-signature checks.
  3. A Trojan relies on deceptive packaging or consent rather than autonomous worm-like replication.
  4. Living-off-the-land activity can misuse legitimate signed tools, making signature trust alone insufficient.

Explanation

Correct Answer

C:

An executable marketed as a routine system utility installs an unrelated unwanted component when launched; that situation illustrates the actual operating behavior under review. Its practical safeguard is to require trusted software provenance and endpoint controls for unapproved executables, with confirmation when application-control logs block unsigned or unapproved software from executing on managed systems.

Incorrect Answers

A:

A malicious program inserts its code into other executable files that later run on the same host; those details characterize file-infecting virus and would call for use integrity monitoring and protected software distribution to prevent execution of infected binaries, rather than explaining trojan masquerade.

B:

A suspicious task launches code in memory through a trusted interpreter without dropping a conventional binary; those details characterize fileless execution pattern and would call for monitor unusual interpreter chains and apply behavioral endpoint controls beyond file scanning, rather than explaining trojan masquerade.

D:

A trusted operating-system utility unexpectedly launches a suspicious script from a user-writable location; those details characterize signed-binary misuse and would call for enforce behavior-based detections and restrict risky execution relationships for built-in utilities, rather than explaining trojan masquerade.

Question 231

A validation plan targets command-and-control beacon. What result would demonstrate the specified protective boundary?

  1. Proxy records show recurring suspicious destinations blocked and the affected endpoint isolated.
  2. A clean restore test proves protected backups can recover files without relying on compromised hosts.
  3. Process trees show suspicious interpreter invocations alerted or blocked despite no new disk executable.
  4. Sandbox reports capture observed behavior without connections into protected production systems.

Explanation

Correct Answer

A:

Beaconing can reveal automated communications from compromised endpoints to a remote controller; the outcome tests this precise property in the production control. It relates to the original observation that a workstation periodically contacts an unusual external host with similar request sizes at regular intervals.

Incorrect Answers

B:

Ransomware disrupts data availability through unauthorized encryption or extortion-related destruction; that evidence is relevant when multiple files become unreadable while a process issues large volumes of unexpected rewrite operations, but does not establish closure of the command-and-control beacon exposure.

C:

Fileless malware can abuse built-in interpreters and memory execution to avoid simple file-signature checks; that evidence is relevant when a suspicious task launches code in memory through a trusted interpreter without dropping a conventional binary, but does not establish closure of the command-and-control beacon exposure.

D:

An isolated analysis environment records process, file, registry, and network behavior with containment; that evidence is relevant when a defender needs to observe a suspicious file's effects without running it on a production workstation, but does not establish closure of the command-and-control beacon exposure.

Question 232

A planned improvement must address the following: A company name appears in a public repository containing a committed configuration file with an API token. Which control best targets that requirement?

  1. Revoke exposed tokens, remove excessive access, and add secret scanning to development workflows.
  2. Coordinate with the partner to remove excessive disclosures and limit shared identifiers.
  3. Require traceable citations and verify each target claim against authorized primary records before adding it to scope.
  4. Rotate protected signing keys and publish the matching selector record in DNS.

Explanation

Correct Answer

A:

Repository history and forks can preserve accidentally committed secrets beyond the current branch; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that credential verification shows the leaked token is invalid and repository scanning detects future test leaks.

Incorrect Answers

B:

Supply-chain footprints include information published by service providers outside the main organization's domain; the proposed safeguard addresses a case where a public partner portal lists customer organization names and private service references, rather than the public code repository search finding described here.

C:

AI-generated OSINT summaries can invent or misattribute findings, so their claims require independent source verification; the proposed safeguard addresses a case where a generated reconnaissance summary names an allegedly exposed host but provides neither a source URL nor an observed DNS record, rather than the public code repository search finding described here.

D:

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 public code repository search finding described here.

Question 233

A control review focuses on insider data exfiltration indicators. Which explanation best matches its mechanics?

  1. Vishing exploits voice conversations to elicit secrets or persuade users to take unsafe actions.
  2. Insider threat assessment combines authorized user access with abnormal purpose, volume, or timing.
  3. Tailgating exploits courtesy or distraction to cross physical security boundaries without individual authorization.
  4. Spear phishing uses tailored context to make fraudulent communications appear personally relevant.

Explanation

Correct Answer

B:

A departing employee accesses unusually large volumes of unrelated project files immediately before leaving; that situation illustrates the actual operating behavior under review. Its practical safeguard is to monitor high-risk data access with privacy-aware controls and promptly adjust access on role changes, with confirmation when access analytics flag abnormal file exports and offboarding records show rights revoked on schedule.

Incorrect Answers

A:

A caller posing as technical support asks an employee to read a one-time login code aloud; those details characterize voice phishing and would call for prohibit sharing verification codes and require callbacks to published support numbers, rather than explaining insider data exfiltration indicators.

C:

An unbadged visitor follows a legitimate employee through a controlled door without presenting credentials; those details characterize tailgating access and would call for enforce one-person-per-credential access and provide safe visitor challenge procedures, rather than explaining insider data exfiltration indicators.

D:

A forged message uses the recipient's project name and manager's identity to request a credential reset; those details characterize targeted spear phishing and would call for require out-of-band verification for unusual identity requests and use phishing-resistant sign-in, rather than explaining insider data exfiltration indicators.

Question 234

The team is closing an assessment finding: Employees install a business lookalike app from an unknown APK source outside the approved enterprise catalog. What measure is most appropriate to implement?

  1. Apply mobile application management and restrict unapproved package installation on managed devices.
  2. Deny unrelated permissions and distribute apps through a reviewed enterprise catalog.
  3. Use posture checks and limit sensitive access from noncompliant devices without relying solely on root detection.
  4. Require device encryption, strong screen locks, and managed corporate data removal.

Explanation

Correct Answer

A:

Unreviewed side-loading increases exposure to modified packages and misleading publisher identities; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that managed-device telemetry flags or prevents apps not signed and delivered by approved publishers.

Incorrect Answers

B:

Mobile platform permissions restrict sensitive APIs, but users and administrators still must assess necessity; the proposed safeguard addresses a case where a flashlight app asks for microphone, contact, and precise-location access without a relevant feature, rather than the unmanaged app sideloading finding described here.

C:

Rooted or jailbroken devices may bypass normal sandbox boundaries and weaken enterprise assurance; the proposed safeguard addresses a case where a managed phone has modified its platform trust controls and can access protected application storage, rather than the unmanaged app sideloading finding described here.

D:

Loss of a mobile device exposes cached content without encryption, access controls, and recovery capability; the proposed safeguard addresses a case where a staff phone containing corporate correspondence is lost while unlocked and unenrolled in management, rather than the unmanaged app sideloading finding described here.

Question 235

An authorized audit identifies the following behavior: Multiple microservices copy shared database credentials into environment files committed with deployment manifests. Which classification is most defensible?

  1. Cloud network security groups
  2. Cloud secrets distribution
  3. Cloud key management
  4. Cloud shared responsibility

Explanation

Correct Answer

B:

Centralized secrets services support scoped retrieval and lifecycle controls instead of source-controlled credentials; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to use secret management with workload identity and limit retrieval to the requesting application, verified when pipeline scans contain no live passwords and secret access logs map retrieval to approved workloads.

Incorrect Answers

A:

Cloud workload firewalls or security groups constrain permitted instance traffic and may track connection state; this different classification would fit when a virtual machine accepts administrative traffic from every internet address because of an overly broad inbound rule, not the evidence pointing to cloud secrets distribution in the question.

C:

Managed key services help separate protected key access, rotation policy, and audit from application source code; this different classification would fit when application data is encrypted but the same long-lived encryption key is hardcoded into its source repository, not the evidence pointing to cloud secrets distribution in the question.

D:

Cloud service providers secure assigned infrastructure layers while customers remain accountable for their configurations and data; this different classification would fit when a hosted database customer assumes the provider also determines application user permissions and data retention, not the evidence pointing to cloud secrets distribution in the question.

Question 236

A single approved remediation review covers 2 separately named requirements: (1) Session fixation; (2) Session logout invalidation. Which audit outcomes would directly demonstrate protection for those areas? Choose TWO.

  1. Cross-origin tests cannot cause unauthorized state changes even when a user has an active session.
  2. Browser inspection shows the session cookie is not script-readable and is sent only over HTTPS.
  3. Controlled login tests show pre-authentication identifiers cannot access the subsequent authenticated session.
  4. Replay of a previously issued token after logout fails under the documented revocation design.
  5. Browser tests confirm cross-site request contexts do not send privileged cookies where prohibited.

Explanation

Correct Answers

C:

This verifies the session fixation component alongside session fixation in the combined audit: failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session. For the session fixation audit set, the relevant observed case is that a user keeps the same session identifier after authentication that was assigned before login.

D:

This verifies the session logout invalidation component alongside session fixation in the combined audit: client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens. For the session fixation audit set, the relevant observed case is that a user clicks logout, but a copied access token continues authorizing API requests until its original expiry.

Incorrect Answers

A:

CSRF abuses ambient browser credentials when the application fails to verify the user's request intent; this result is evidence about cross-site request forgery when a logged-in user's browser submits a state-changing request after visiting an unrelated malicious page, not a direct closure test for the named session fixation, session logout invalidation requirements.

B:

An accessible session token can be replayed to impersonate an authenticated browser session if stolen; this result is evidence about exposed session cookie when a browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections, not a direct closure test for the named session fixation, session logout invalidation requirements.

E:

SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse; this result is evidence about sensitive cookie samesite policy when a cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application, not a direct closure test for the named session fixation, session logout invalidation requirements.

Question 237

Under an authorized engagement, the report states: A diagnostic capture includes thousands of customer identifiers unrelated to the approved objective. Which protective practice belongs in the fix plan?

  1. Design capacity protection and resilient service dependencies around the business recovery requirement.
  2. Collect only necessary fields, sanitize reports, and apply agreed retention and destruction limits.
  3. Stop risky testing and alert the agreed incident contact through the engagement escalation channel.
  4. Restrict file access to a need-to-know group and remove unnecessary sensitive copies.

Explanation

Correct Answer

B:

Minimizing collected data lowers privacy exposure and limits unnecessary retention during legitimate testing; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that sampled reports omit unrelated personal data and the retention log shows scheduled deletion.

Incorrect Answers

A:

Availability measures whether authorized users can obtain a service when needed, even if data stays confidential; the proposed safeguard addresses a case where a business-critical public service becomes unusable after a flood of legitimate-looking requests, rather than the data minimization finding described here.

C:

Unexpected active harm is an incident indicator, not a reason to continue routine testing without notifying the owner; the proposed safeguard addresses a case where the assessor notices suspicious production encryption activity that was not generated by the approved test, rather than the data minimization finding described here.

D:

Confidentiality concerns who may access information, even when the underlying records are accurate and available; the proposed safeguard addresses a case where a captured troubleshooting file contains readable patient records accessible to an unrelated team, rather than the data minimization finding described here.

Question 238

A finding concerns TLS forward secrecy. Select the explanation that captures how this issue or control works.

  1. Ephemeral key agreement can give forward secrecy by deriving session secrets independent of a recoverable long-term key.
  2. Public-key cryptography can use a recipient's public key to establish confidentiality while the private key stays secret.
  3. An HMAC combines a secret key with a cryptographic hash to authenticate message integrity.
  4. Signatures use a private signing key and are verified with the corresponding trusted public key.

Explanation

Correct Answer

A:

A captured encrypted session should remain protected even if the server's long-term private key is exposed later; that situation illustrates the actual operating behavior under review. Its practical safeguard is to enable modern TLS suites with ephemeral key exchange and protect endpoint certificates, with confirmation when negotiation records show ephemeral key agreement in use for approved client sessions.

Incorrect Answers

B:

A sender needs to protect a short secret for a recipient without first sharing a symmetric key; those details characterize asymmetric key roles and would call for validate recipient public keys and protect the associated private key from unauthorized use, rather than explaining TLS forward secrecy.

C:

Two trusted systems share a secret and need to detect tampering in exchanged messages; those details characterize HMAC authentication and would call for protect HMAC keys and use a suitable modern hash with key separation, rather than explaining TLS forward secrecy.

D:

A software publisher wants recipients to verify who signed an update and whether its contents changed; those details characterize digital signature authenticity and would call for sign releases through protected keys and verify signatures before applying updates, rather than explaining TLS forward secrecy.

Question 239

A follow-up audit focuses on NAT policy confusion. Which evidence most reliably demonstrates effective treatment?

  1. Approved network tests show unneeded outbound destinations denied with actionable logs.
  2. Inline device logs record blocked test flows while allowed business sessions continue.
  3. WAF logs record the malicious request decision while normal authenticated transactions succeed.
  4. Flow captures confirm only approved external clients reach the translated internal service.

Explanation

Correct Answer

D:

Address translation changes packet addressing and does not itself replace explicit security policy enforcement; the outcome tests this precise property in the production control. It relates to the original observation that an external address maps to a private application host, but reviewers assume NAT automatically performs authorization.

Incorrect Answers

A:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; that evidence is relevant when a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, but does not establish closure of the NAT policy confusion exposure.

B:

An inline IPS can actively drop or reject packets based on policy and detections; that evidence is relevant when a malicious signature test is blocked before packets reach the protected application endpoint, but does not establish closure of the NAT policy confusion exposure.

C:

A WAF evaluates application-layer HTTP behavior and rules rather than merely transport ports; that evidence is relevant when a web attack request is rejected at the HTTP edge while a network firewall still permits TCP port 443, but does not establish closure of the NAT policy confusion exposure.

Question 240

To confirm effective security handling of signed-binary misuse, which result should an analyst prioritize?

  1. Sandbox reports capture observed behavior without connections into protected production systems.
  2. Network telemetry shows the isolated laptop cannot reach peers while evidence remains accessible to responders.
  3. Endpoint telemetry flags the unapproved parent-child chain even though the utility itself is signed.
  4. Application-control logs block unsigned or unapproved software from executing on managed systems.

Explanation

Correct Answer

C:

Living-off-the-land activity can misuse legitimate signed tools, making signature trust alone insufficient; the outcome tests this precise property in the production control. It relates to the original observation that a trusted operating-system utility unexpectedly launches a suspicious script from a user-writable location.

Incorrect Answers

A:

An isolated analysis environment records process, file, registry, and network behavior with containment; that evidence is relevant when a defender needs to observe a suspicious file's effects without running it on a production workstation, but does not establish closure of the signed-binary misuse exposure.

B:

Containment limits active compromise before extensive investigation or full eradication is complete; that evidence is relevant when an infected laptop continues contacting internal systems while responders collect screenshots for a report, but does not establish closure of the signed-binary misuse exposure.

D:

A Trojan relies on deceptive packaging or consent rather than autonomous worm-like replication; that evidence is relevant when an executable marketed as a routine system utility installs an unrelated unwanted component when launched, but does not establish closure of the signed-binary misuse exposure.

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