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

Question 460

Operations asks for a practical correction after the test found: A file server suddenly generates mass rename-and-write operations with altered encrypted content across shared directories, and recovery teams discover that online backups were also accessible. What should the security team recommend?

  1. Keep isolated immutable backups and restrict bulk file-write privileges
  2. Limit untrusted extensions and investigate unauthorized collection processes
  3. Use integrity monitoring and execution controls on trusted binaries
  4. Maintain tested YARA rules and validate matches against behavior

Explanation

Correct Answer

A:

Recoverable backup copies and limited write access reduce operational leverage even if an endpoint successfully encrypts its reachable files. The technical basis for the recommendation is that ransomware denies access to data, commonly through encryption, to pressure victims into paying; network share reachability can extend damage.

Incorrect Answers

B:

Browser and endpoint controls reduce hidden collection channels, while network egress monitoring can identify telemetry sent to unapproved destinations; the measure addresses a different trust boundary from the ransomware encryption activity finding.

C:

File verification and controlled execution help identify infected hosts and interrupt propagation through modified application files; the required correction concerns ransomware encryption activity, so this is not the targeted control.

D:

Quality rule design and triage reduce false positives and let analysts detect related artifacts even when their full-file hashes differ; its security benefit applies principally to YARA rule matching, not the defect described; the tested fault instead involves ransomware encryption activity.

Question 461

A controlled investigation yields this observation: A packet analyzer records frames that are visible on its network interface even when their destination MAC is not its own. How should the team identify the underlying behavior?

  1. SPAN mirror-port collection
  2. DHCP snooping bindings
  3. Promiscuous-mode capture
  4. IPv6 router-advertisement spoofing

Explanation

Correct Answer

C:

Promiscuous mode lets an interface pass additional received frames to capture software; a modern switched network still limits which frames physically reach that port. On affected systems, it is useful to control capture permissions and secure sensitive traffic with encryption; limiting capture access and encrypting payloads reduce exposure; promiscuous mode by itself does not defeat switch isolation.

Incorrect Answers

A:

Switch port mirroring delivers copies of specified traffic to an analyzer without placing it inline in the production forwarding path; those effects are not the promiscuous-mode capture pattern evidenced by the assessment.

B:

DHCP snooping establishes trusted DHCP-server direction and binding data used by other access-layer protections such as dynamic ARP inspection; the case demonstrates promiscuous-mode capture rather than the alternate mechanism.

D:

IPv6 router advertisements can configure host routing automatically; fake advertisements may redirect IPv6 traffic even in primarily IPv4-managed networks; the test record points specifically to promiscuous-mode capture, not this separate mechanism.

Question 462

A security change request summarizes the problem as follows: A recently changed infrastructure deployment template accidentally grants public access to an internal bucket, and manual reviews are too infrequent to detect the drift promptly. Which remediation is best suited to it?

  1. Validate event schemas and apply function-level authorization
  2. Use short-lived workload identities and centralized secret management
  3. Restrict metadata access and harden metadata token requirements
  4. Continuously assess configurations against preventive policy guardrails

Explanation

Correct Answer

D:

Policy-as-code, change review, and recurring checks detect or block unsafe states after initial deployment. The safeguard responds to the underlying issue: cloud posture drift occurs when deployed configuration departs from defined policy through manual edits or automated infrastructure changes.

Incorrect Answers

A:

Schema checks and explicit authorization prevent a public trigger from translating arbitrary input into privileged cloud operations; the specific root cause belongs to cloud posture drift, beyond this control's intended scope.

B:

Federated or role-based temporary credentials remove embedded durable keys and simplify expiration after a build job finishes; that change targets static cloud access keys, while the confirmed weakness involves cloud posture drift.

C:

Workload network controls and hardened metadata APIs reduce credential retrieval from unintended server-side request paths; it would improve cloud metadata SSRF, not directly correct the reported cloud posture drift issue.

Question 463

Three separate observations were captured in an authorized exercise. First: A malicious page induces a logged-in browser to submit a money-transfer request to an unrelated trusted application using ambient cookies. Second: A server-side URL preview tool follows a customer-controlled link to a loopback administration endpoint that cannot normally be accessed from the public web. Third: A third-party XML import triggers an unexpected outbound DNS lookup because the parser expands an attacker-specified external entity reference during parsing. Which THREE mechanisms account for these findings? Choose THREE.

  1. Server-side request forgery
  2. XML external entity processing
  3. Open redirect
  4. DOM-based cross-site scripting
  5. Unsafe file upload
  6. Cross-site request forgery

Explanation

Correct Answers

A:

SSRF occurs when server-side code makes network requests to attacker-selected destinations, potentially crossing internal network or cloud trust boundaries; this technical behavior accounts for the server-side request forgery observation, while cross-site request forgery, XML external entity processing concerns the other independent evidence.

B:

XXE occurs when XML parsing resolves untrusted external entities or DTD resources, potentially reaching files or internal URLs from the server; it is separately evidenced in the task, rather than being interchangeable with cross-site request forgery, server-side request forgery.

F:

CSRF exploits automatic credential attachment on cross-site requests; it does not require the attacker to read the victim's authenticated response; it is separately evidenced in the task, rather than being interchangeable with server-side request forgery, XML external entity processing.

Incorrect Answers

C:

Open redirects allow attacker-controlled destinations in a trusted application's navigation flow, which can aid phishing and token misrouting; that behavior is distinct from the cross-site request forgery, server-side request forgery, XML external entity processing finding being classified.

D:

DOM XSS occurs when client-side JavaScript moves untrusted data into a dangerous DOM sink; the server response may be static; the scenario identifies cross-site request forgery, server-side request forgery, XML external entity processing, which has a different triggering condition.

E:

Unsafe upload handling combines untrusted file content with executable storage or insecure processing, potentially turning an image feature into a code path; the defining symptom in the prompt is associated with cross-site request forgery, server-side request forgery, XML external entity processing instead.

Question 464

The assessment evidence reads as follows: A threat hunter identifies related files using combinations of byte patterns and conditions instead of relying only on file hashes. Which technical concept explains the result?

  1. Behavioral EDR alert
  2. YARA rule matching
  3. Spyware collection
  4. Fileless memory execution
  5. Sandbox detonation

Explanation

Correct Answer

B:

YARA rules describe recognizable content patterns that can match malware families and variants; matching signatures alone does not establish malicious intent. For a production safeguard, operators can maintain tested YARA rules and validate matches against behavior; quality rule design and triage reduce false positives and let analysts detect related artifacts even when their full-file hashes differ.

Incorrect Answers

A:

Behavioral detection evaluates execution relationships and suspicious actions rather than requiring an exact previously known malware file signature; the test record points specifically to YARA rule matching, not this separate mechanism.

C:

Spyware covertly collects user or system information and transmits it for monitoring or abuse; it does not need to encrypt or destroy files; the scenario identifies YARA rule matching, which has a different triggering condition.

D:

Fileless malware favors memory and legitimate interpreters or system tools rather than installing a traditional standalone binary on disk; the defining symptom in the prompt is associated with YARA rule matching instead.

E:

Dynamic malware analysis studies execution effects under controlled conditions; evasion and missing environmental triggers can produce incomplete results; the events given do not establish this behavior but do support YARA rule matching.

Question 465

A security change request summarizes the problem as follows: A crafted IP datagram sequence creates conflicting fragment overlaps, allowing the host and monitoring sensor to reconstruct different payload bytes from apparently identical traffic. Which remediation is best suited to it?

  1. Limit tarpits to isolated, capacity-bounded defensive use
  2. Require compliant device posture and quarantine unmanaged endpoints
  3. Tune baselines using service context and investigate deviations
  4. Normalize fragments and match sensor reassembly behavior to endpoints

Explanation

Correct Answer

D:

Consistent stream reconstruction prevents an attacker from hiding payload bytes in packet divisions that only the protected host interprets. That correction is linked to the fact that fragmentation evasion exploits inconsistent packet reassembly between sensors and endpoints, potentially creating divergent views of one logical datagram.

Incorrect Answers

A:

Controlled delays may deter automation, but resource limits and exemptions protect legitimate clients from accidental service degradation; the measure addresses a different trust boundary from the IP fragmentation evasion finding.

B:

Access gating reduces untrusted device reachability before normal segmentation and application controls are applied; the required correction concerns IP fragmentation evasion, so this is not the targeted control.

C:

Context-aware thresholds improve signal quality while preserving visibility into behavior that does not match a known static signature; its security benefit applies principally to anomaly-based detection, not the defect described; the tested fault instead involves IP fragmentation evasion.

Question 466

A security engineer examines the following result: A team disables SSID broadcast and assumes attackers can no longer learn the network name or detect clients joining it. Which described weakness or technique does it demonstrate?

  1. Protected management frames
  2. Hidden SSID misconception
  3. TKIP legacy cipher
  4. Evil-twin access point

Explanation

Correct Answer

B:

A hidden SSID is not cryptographic protection; association traffic and other wireless management exchanges can still reveal network identifiers. The appropriate hardening measure is to require strong authentication and encryption regardless of SSID visibility, since WPA3 or sound enterprise security protects data and network admission; beacon suppression is not a substitute for access control.

Incorrect Answers

A:

Unprotected management frames can be forged to disrupt client associations; 802.11w PMF adds protection to specified robust management frames; the scenario identifies hidden SSID misconception, which has a different triggering condition.

C:

TKIP was a transitional WPA mechanism and has weaknesses and compatibility limitations compared with modern CCMP-based encryption; the events given do not establish this behavior but do support hidden SSID misconception.

D:

An evil twin imitates a legitimate wireless network's identity to intercept associations or lead clients into fraudulent authentication and traffic paths; the reported conditions are characteristic of hidden SSID misconception, not that path.

Question 467

A follow-up review must reduce the risk revealed here: The operations network normally makes a few DNS lookups per minute, but a new device makes thousands; no threat-intelligence indicator yet identifies the queried names. Which defensive measure fits the specific failure mode?

  1. Tune baselines using service context and investigate deviations
  2. Normalize fragments and match sensor reassembly behavior to endpoints
  3. Apply traffic normalization and monitor endpoint-confirmed flows
  4. Deploy protected endpoint telemetry on critical hosts

Explanation

Correct Answer

A:

Context-aware thresholds improve signal quality while preserving visibility into behavior that does not match a known static signature. This matters for the observed attack path because anomaly detection compares events with baseline or statistical expectations; legitimate workload shifts can also trigger alerts and need tuning.

Incorrect Answers

B:

Consistent stream reconstruction prevents an attacker from hiding payload bytes in packet divisions that only the protected host interprets; it would improve IP fragmentation evasion, not directly correct the reported anomaly-based detection issue.

C:

Path-aware analysis rejects misleading expired segments and reduces mismatches between observed packets and actual application delivery; the measure addresses a different trust boundary from the anomaly-based detection finding.

D:

Local observation reveals execution and integrity changes not visible from perimeter traffic alone, especially when sessions are encrypted; the required correction concerns anomaly-based detection, so this is not the targeted control.

Question 468

The assessor confirmed this exposure: A supported Linux package has an older-looking upstream version but incorporates an official security backport, and the scanner keeps issuing an unverified critical alert. Which change most directly closes the underlying security gap?

  1. Use vault-managed, time-limited, least-privilege scanning identities
  2. Provide tightly scoped scanner credentials and rotate them after use
  3. Validate the vendor patch backport before closing the finding
  4. Correlate external results with internal authenticated assessments

Explanation

Correct Answer

C:

Distribution advisories and package changelogs can confirm fixed code despite an unchanged upstream version string; blind dismissal would also be unsafe. It directly addresses this mechanism: a false positive occurs when a tool reports exploitable exposure that is not present under the verified installed code or conditions.

Incorrect Answers

A:

Separate scoped identities and restricted secret retrieval prevent a compromised scanner operator from inheriting broad administrative rights; the exposure here is false-positive scanner finding, which calls for another protective mechanism.

B:

A controlled identity improves coverage while limiting the impact if stored assessment credentials are leaked or misused; the action is aimed at authenticated vulnerability scan; it leaves the central false-positive scanner finding condition unresolved.

D:

Multiple vantage points reveal exposures that an internet-facing scanner cannot see, preventing unsupported conclusions from a clean outside report; the tested weakness is false-positive scanner finding, not the false-negative scan configuration addressed here.

Question 469

A control review considers a verified technical issue: A network alert records packets carrying only FIN toward dozens of services, but the final report confuses that behavior with successful authenticated service connections. Which mitigation most directly addresses its cause?

  1. Use layered scan detection and verify FIN findings with ordinary service probes
  2. Prevent spoofing and treat IP ID inference cautiously
  3. Validate port findings from the relevant network segment and check ACLs
  4. Interpret ACK responses as filtering evidence, not port availability

Explanation

Correct Answer

A:

Anomaly telemetry can flag unusual TCP flags, and corroborating normal connection behavior prevents treating silent responses as proof of openness. The specific weakness being corrected is that FIN scans use atypical flag combinations and rely on TCP behavior; operating system differences and filtering can make results unreliable.

Incorrect Answers

B:

Ingress and egress anti-spoofing impede forged source packets, while unreliable intermediary behavior limits the scan's evidentiary value; the specific root cause belongs to TCP FIN scan, beyond this control's intended scope.

C:

Reachability is path-dependent; comparing internal and external probes with firewall policy distinguishes a closed service from a blocked route; that change targets firewall port-state ambiguity, while the confirmed weakness involves TCP FIN scan.

D:

A reset indicates the packet reached a TCP stack under the tested conditions, while SYN or application probes are needed to assess a listener; it would improve TCP ACK firewall probing, not directly correct the reported TCP FIN scan issue.

Question 470

The approved engagement produces this evidence: A forged segment appears in the IDS path but expires before reaching the destination, leading the monitor to reconstruct a different stream. What is the correct technical interpretation?

  1. Host-based intrusion detection
  2. Anomaly-based detection
  3. TCP stream desynchronization
  4. TTL-based sensor desynchronization

Explanation

Correct Answer

D:

TTL manipulation can create packets observed by one device but not by the endpoint, confusing state tracking when paths and hop counts differ. A practical defensive response is to apply traffic normalization and monitor endpoint-confirmed flows; path-aware analysis rejects misleading expired segments and reduces mismatches between observed packets and actual application delivery.

Incorrect Answers

A:

HIDS examines events on the host such as files, processes, logs, and configuration, complementing network packet inspection; those prerequisites differ from the TTL-based sensor desynchronization behavior in the record.

B:

Anomaly detection compares events with baseline or statistical expectations; legitimate workload shifts can also trigger alerts and need tuning; this would classify another type of evidence, whereas the actual finding shows TTL-based sensor desynchronization.

C:

TCP desynchronization exploits differences in stream tracking or overlap resolution, so a detector inspects a byte stream unlike the server's accepted data; the relevant mechanism in the observed workflow is TTL-based sensor desynchronization instead.

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