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

Question 150

A client-approved assessment includes this finding: A suspicious task launches code in memory through a trusted interpreter without dropping a conventional binary. What is the most precise security term for it?

  1. File-infecting virus
  2. Command-and-control beacon
  3. Malware indicator limitations
  4. Fileless execution pattern

Explanation

Correct Answer

D:

Fileless malware can abuse built-in interpreters and memory execution to avoid simple file-signature checks; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to monitor unusual interpreter chains and apply behavioral endpoint controls beyond file scanning, verified when process trees show suspicious interpreter invocations alerted or blocked despite no new disk executable.

Incorrect Answers

A:

Viruses reproduce by infecting host files and normally rely on execution to spread infection; this different classification would fit when a malicious program inserts its code into other executable files that later run on the same host, not the evidence pointing to fileless execution pattern in the question.

B:

Beaconing can reveal automated communications from compromised endpoints to a remote controller; this different classification would fit when a workstation periodically contacts an unusual external host with similar request sizes at regular intervals, not the evidence pointing to fileless execution pattern in the question.

C:

Static indicators are brittle when malware is repackaged; behaviors can generalize across variants; this different classification would fit when a threat hunt misses a changed malicious binary because the alert relies exclusively on one file hash, not the evidence pointing to fileless execution pattern in the question.

Question 151

The owner says resource exhaustion through connection state has been addressed. Which recorded outcome should the independent tester seek?

  1. Provider telemetry shows unwanted floods absorbed before they exhaust the protected access circuit.
  2. Connection-table metrics remain stable during authorized resilience tests with incomplete handshakes.
  3. Load testing shows legitimate response targets remain acceptable under controlled costly-request bursts.
  4. Edge captures show reflected packets mitigated and anti-spoofing controls prevent forged outbound origins.

Explanation

Correct Answer

B:

State-exhaustion attacks consume finite connection resources before useful application work begins; the outcome tests this precise property in the production control. It relates to the original observation that a server accumulates large numbers of unfinished connection attempts and runs out of state-table capacity.

Incorrect Answers

A:

Volumetric denial-of-service overwhelms network bandwidth before ordinary application controls can respond; that evidence is relevant when an internet circuit saturates with traffic from many unrelated networks while the web application remains healthy locally, but does not establish closure of the resource exhaustion through connection state exposure.

C:

Layer-seven denial-of-service targets application processing resources rather than just raw link bandwidth; that evidence is relevant when a web service exhausts worker capacity under many costly but syntactically valid application requests, but does not establish closure of the resource exhaustion through connection state exposure.

D:

Reflection abuses third-party responders and source-address spoofing; amplification increases response traffic relative to requests; that evidence is relevant when a service receives a disproportionately large volume of unsolicited replies from unrelated public servers, but does not establish closure of the resource exhaustion through connection state exposure.

Question 152

A trainee confuses several related concepts with sensitive cookie samesite policy. Which explanation resolves that confusion?

  1. Failure to rotate session identifiers on privilege change can let a preselected identifier bind to an authenticated session.
  2. CSRF abuses ambient browser credentials when the application fails to verify the user's request intent.
  3. SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse.
  4. An accessible session token can be replayed to impersonate an authenticated browser session if stolen.

Explanation

Correct Answer

C:

A cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application; that situation illustrates the actual operating behavior under review. Its practical safeguard is to choose an appropriate SameSite policy and independently protect state-changing requests against CSRF, with confirmation when browser tests confirm cross-site request contexts do not send privileged cookies where prohibited.

Incorrect Answers

A:

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 sensitive cookie samesite policy.

B:

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 sensitive cookie samesite policy.

D:

A browser extension can read an authentication cookie because the cookie lacks appropriate client-side protections; those details characterize exposed session cookie and would call for protect session cookies with HttpOnly and Secure attributes and enforce TLS transport, rather than explaining sensitive cookie samesite policy.

Question 153

A review board requests objective closure evidence for sensitive cookie samesite policy. Which outcome should be supplied?

  1. Browser tests confirm cross-site request contexts do not send privileged cookies where prohibited.
  2. Expired tokens are rejected by the server even if the browser still holds the original cookie.
  3. Replay of a previously issued token after logout fails under the documented revocation design.
  4. Cross-origin tests cannot cause unauthorized state changes even when a user has an active session.

Explanation

Correct Answer

A:

SameSite controls when browsers attach cookies to cross-site requests, reducing some ambient-authentication abuse; the outcome tests this precise property in the production control. It relates to the original observation that a cross-site navigation unexpectedly includes a privileged session cookie in a request to an internal application.

Incorrect Answers

B:

Idle and absolute expiration limit how long stolen or unattended session credentials can remain useful; that evidence is relevant when an abandoned authenticated session remains valid long after the organization's required inactivity window, but does not establish closure of the sensitive cookie samesite policy exposure.

C:

Client-side cookie deletion alone may not revoke server-recognized sessions or long-lived tokens; that evidence is relevant when a user clicks logout, but a copied access token continues authorizing API requests until its original expiry, but does not establish closure of the sensitive cookie samesite policy exposure.

D:

CSRF abuses ambient browser credentials when the application fails to verify the user's request intent; that evidence is relevant when a logged-in user's browser submits a state-changing request after visiting an unrelated malicious page, but does not establish closure of the sensitive cookie samesite policy exposure.

Question 154

Which statement is most consistent with the actual behavior of indirect prompt injection in AI web assistant?

  1. Stored XSS persists attacker-controlled content server-side and executes when it is later rendered unsafely.
  2. Mass assignment arises when untrusted request fields bind directly to sensitive model properties.
  3. Indirect prompt injection places adversarial instructions in lower-trust content that a language model may incorrectly treat as authority.
  4. Uploads can create script, stored-XSS, or malware exposure when the server trusts names and client media types.

Explanation

Correct Answer

C:

A web assistant begins following instructions embedded in a retrieved document instead of the user's authorized request; that situation illustrates the actual operating behavior under review. Its practical safeguard is to treat retrieved content as untrusted data and enforce tool permissions and output validation outside the model, with confirmation when test documents with embedded instructions cannot make the assistant invoke unauthorized tools or disclose protected data.

Incorrect Answers

A:

Untrusted comment content executes in other users' browsers when a discussion page renders saved posts; those details characterize stored cross-site scripting and would call for encode output by context and sanitize permitted rich content before it reaches browser execution contexts, rather than explaining indirect prompt injection in AI web assistant.

B:

A profile update API accepts an undocumented isAdmin property and writes it to the user record; those details characterize mass assignment flaw and would call for allowlist writable fields for each endpoint and enforce ownership and role restrictions, rather than explaining indirect prompt injection in AI web assistant.

D:

An avatar service accepts an arbitrary extension and serves the uploaded file with an active browser content type; those details characterize unrestricted file upload and would call for validate file signatures and content, store uploads as inert data, and set safe download headers, rather than explaining indirect prompt injection in AI web assistant.

Question 155

In a controlled review, analysts encounter this situation: An unfamiliar recurring job launches a binary at user logon even after security tools remove a visible process. Select the best matching concept.

  1. Privilege escalation through permissions
  2. MFA push approval fatigue
  3. Tampered security logs
  4. Unauthorized scheduled persistence

Explanation

Correct Answer

D:

Scheduled tasks can relaunch code and sustain persistence after an initial process exits; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to review and restrict scheduled-task creation, then monitor changes to persistence locations, verified when baseline comparison detects newly registered jobs and verifies only approved tasks remain.

Incorrect Answers

A:

Misconfigured writable privileged resources can turn ordinary code execution into elevated execution on restart; this different classification would fit when a routine service can modify a privileged startup executable despite lacking direct administrator rights, not the evidence pointing to unauthorized scheduled persistence in the question.

B:

Approval fatigue abuses repeated prompts to trick a user into authorizing an attacker-initiated login; this different classification would fit when a user receives repeated unsolicited sign-in approval prompts and eventually accepts one to stop the alerts, not the evidence pointing to unauthorized scheduled persistence in the question.

C:

Local log deletion can obscure activity, but independently forwarded logs provide stronger investigation continuity; this different classification would fit when a responder discovers a gap in local audit events immediately after a suspicious privileged logon, not the evidence pointing to unauthorized scheduled persistence in the question.

Question 156

A control review focuses on AI-assisted reconnaissance validation. Which explanation best matches its mechanics?

  1. MX records designate inbound mail exchanges and their relative delivery priorities.
  2. AI-generated OSINT summaries can invent or misattribute findings, so their claims require independent source verification.
  3. Passive collection uses third-party or already-public information and may be less detectable than direct probing.
  4. SPF is commonly expressed as a DNS TXT policy and describes authorized outbound mail sources.

Explanation

Correct Answer

B:

A generated reconnaissance summary names an allegedly exposed host but provides neither a source URL nor an observed DNS record; that situation illustrates the actual operating behavior under review. Its practical safeguard is to require traceable citations and verify each target claim against authorized primary records before adding it to scope, with confirmation when every retained reconnaissance finding links to a checked public record or approved direct observation.

Incorrect Answers

A:

A mail delivery investigation needs to identify which hosts accept messages for the organization's domain; those details characterize DNS mx records and would call for keep published mail-routing records accurate and retire obsolete mail exchangers, rather than explaining AI-assisted reconnaissance validation.

C:

An analyst maps published organization information without contacting the organization's infrastructure; those details characterize passive reconnaissance and would call for use published data and approved external sources while documenting provenance and collection limits, rather than explaining AI-assisted reconnaissance validation.

D:

A defender examines domain-published text identifying systems allowed to send mail for the domain; those details characterize DNS TXT policy records and would call for publish a scoped sender policy and remove unauthorized sending infrastructure from the allowed set, rather than explaining AI-assisted reconnaissance validation.

Question 157

An analyst is explaining radio interference diagnosis to a system owner. Which description is technically correct?

  1. The 2.4 GHz band has limited nonoverlapping channel choices and is often heavily congested.
  2. Shared airtime and channel interference degrade performance even when wireless authentication is correct.
  3. Rogue access points create unauthorized alternate network paths, sometimes bypassing wired policies.
  4. Client isolation can stop direct peer-to-peer traffic between wireless stations on the same guest service.

Explanation

Correct Answer

B:

Wireless clients show high retry counts on channels heavily used by neighboring access points; that situation illustrates the actual operating behavior under review. Its practical safeguard is to plan channels and power levels based on measured contention rather than simply increasing transmit power, with confirmation when wireless surveys show lower contention and improved retries after the approved channel plan.

Incorrect Answers

A:

An access point on 2.4 GHz uses overlapping channels and competes with nearby legacy devices; those details characterize 2.4 ghz band coexistence and would call for select practical nonoverlapping channels and steer capable clients to less-congested bands, rather than explaining radio interference diagnosis.

C:

An unapproved radio bridges an internal Ethernet port to a wireless network outside the corporate controller; those details characterize rogue access point detection and would call for inventory approved radios and detect unauthorized devices through switch and wireless monitoring, rather than explaining radio interference diagnosis.

D:

Visitors connected to the same guest network can open each other's device-sharing services; those details characterize wireless client isolation and would call for enable station isolation for untrusted guest clients and validate intended exceptions, rather than explaining radio interference diagnosis.

Question 158

During a sanctioned assessment the team observes: An unauthorized client can obtain a broad copy of authoritative DNS zone contents in a single transaction. Which next control or procedure best fits?

  1. Permit zone replication only to designated secondary servers using appropriate authorization.
  2. Rotate protected signing keys and publish the matching selector record in DNS.
  3. Review PTR naming for unintended system details and maintain accurate operational records.
  4. Publish a scoped sender policy and remove unauthorized sending infrastructure from the allowed set.

Explanation

Correct Answer

A:

Zone transfers are intended for authorized DNS replication, not unrestricted external inventory disclosure; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that transfer attempts from unapproved hosts fail while approved secondary synchronization succeeds.

Incorrect Answers

B:

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 DNS zone transfer restriction finding described here.

C:

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 DNS zone transfer restriction finding described here.

D:

SPF is commonly expressed as a DNS TXT policy and describes authorized outbound mail sources; the proposed safeguard addresses a case where a defender examines domain-published text identifying systems allowed to send mail for the domain, rather than the DNS zone transfer restriction finding described here.

Question 159

An analyst is sorting findings by mechanism. One entry reads: A message impersonates a senior officer and directs the finance team to bypass a payment approval step. Which label is the right one?

  1. Insider data exfiltration indicators
  2. MFA approval deception
  3. SMS phishing
  4. Targeted spear phishing
  5. Executive whaling
  6. Tailgating access

Explanation

Correct Answer

E:

Whaling targets senior leaders or uses their authority to manipulate high-value business decisions; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to enforce dual approval and independently verify high-value instructions regardless of apparent sender rank, verified when payment logs show executive-branded emails cannot override separate financial authorization.

Incorrect Answers

A:

Insider threat assessment combines authorized user access with abnormal purpose, volume, or timing; this different classification would fit when a departing employee accesses unusually large volumes of unrelated project files immediately before leaving, not the evidence pointing to executive whaling in the question.

B:

Social pressure can convert an MFA approval into user-assisted account takeover despite a separate factor; this different classification would fit when an attacker instructs a user to approve an unsolicited authenticator prompt as part of a supposed help-desk repair, not the evidence pointing to executive whaling in the question.

C:

Smishing delivers fraudulent instructions through text messages rather than email or phone calls; this different classification would fit when a text message uses a package-delivery pretext to send a user to an unfamiliar sign-in site, not the evidence pointing to executive whaling in the question.

D:

Spear phishing uses tailored context to make fraudulent communications appear personally relevant; this different classification would fit when a forged message uses the recipient's project name and manager's identity to request a credential reset, not the evidence pointing to executive whaling in the question.

F:

Tailgating exploits courtesy or distraction to cross physical security boundaries without individual authorization; this different classification would fit when an unbadged visitor follows a legitimate employee through a controlled door without presenting credentials, not the evidence pointing to executive whaling in the question.

Question 160

A client requests practical treatment for this condition: A caller posing as technical support asks an employee to read a one-time login code aloud. Which measure is the closest match?

  1. Require out-of-band verification for unusual identity requests and use phishing-resistant sign-in.
  2. Prohibit sharing verification codes and require callbacks to published support numbers.
  3. Teach users to open services through trusted applications and verify message authenticity independently.
  4. Require independent callback and dual authorization for payments regardless of apparent voice identity.

Explanation

Correct Answer

B:

Vishing exploits voice conversations to elicit secrets or persuade users to take unsafe actions; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that call handling records show staff refuse unsolicited code requests and use established support contacts.

Incorrect Answers

A:

Spear phishing uses tailored context to make fraudulent communications appear personally relevant; the proposed safeguard addresses a case where a forged message uses the recipient's project name and manager's identity to request a credential reset, rather than the voice phishing finding described here.

C:

Smishing delivers fraudulent instructions through text messages rather than email or phone calls; the proposed safeguard addresses a case where a text message uses a package-delivery pretext to send a user to an unfamiliar sign-in site, rather than the voice phishing finding described here.

D:

AI-generated voice imitation can mimic a trusted person's speech without proving caller identity or authority; the proposed safeguard addresses a case where a caller sounds like the finance director and orders an urgent transfer, but the account details fail normal verification, rather than the voice phishing finding described here.

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