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

Question 750

A system owner needs a response to this observation: A query value is copied into an HTML response and interpreted by the browser as executable markup. Which step directly meets the need?

  1. Use role-aware server-side response schemas that expose only necessary authorized fields.
  2. Allowlist specific trusted origins and avoid wildcard or reflected credentialed origin permissions.
  3. Use safe text APIs and trusted sanitization instead of unsafe DOM HTML insertion.
  4. Apply context-appropriate output encoding and avoid inserting untrusted input into executable HTML contexts.

Explanation

Correct Answer

D:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that controlled request strings appear escaped in the reflected response and do not run as browser code.

Incorrect Answers

A:

Sensitive fields remain exposed when authorization and output filtering occur only in the browser; the proposed safeguard addresses a case where a customer profile endpoint returns staff-only flags and internal identifiers even though the UI hides them, rather than the reflected cross-site scripting finding described here.

B:

Unsafe CORS policies may let untrusted websites read authenticated cross-origin responses in browsers; the proposed safeguard addresses a case where an API reflects arbitrary Origin headers while permitting browsers to include credentials in cross-origin requests, rather than the reflected cross-site scripting finding described here.

C:

DOM XSS arises when client-side code sends attacker-controlled values into dangerous browser sinks; the proposed safeguard addresses a case where a browser script copies a URL fragment into innerHTML without a round trip through the server, rather than the reflected cross-site scripting finding described here.

Question 751

Review the following evidence from an approved test: An authorized tester identifies a serious flaw in a supplier product during the agreed assessment. Which concept explains it most directly?

  1. Responsible disclosure
  2. Risk-based prioritization
  3. Availability protection
  4. Rules of engagement

Explanation

Correct Answer

A:

Coordinated disclosure allows the owner or vendor to validate, mitigate, and communicate an issue without reckless publication; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to notify the designated contact privately under the disclosure terms and avoid releasing exploit details, verified when a dated disclosure record tracks acknowledgement, remediation decisions, and approved public communication.

Incorrect Answers

B:

Operational risk also depends on exposure, business impact, asset importance, and exploitability, not severity alone; this different classification would fit when two findings have equal technical severity, but only one affects an internet-facing payroll system, not the evidence pointing to responsible disclosure in the question.

C:

Availability measures whether authorized users can obtain a service when needed, even if data stays confidential; this different classification would fit when a business-critical public service becomes unusable after a flood of legitimate-looking requests, not the evidence pointing to responsible disclosure in the question.

D:

Engagement rules translate authorization into actionable limits on methods, time windows, escalation, and contacts; this different classification would fit when the client permits enumeration during business hours but prohibits disruptive tests against production, not the evidence pointing to responsible disclosure in the question.

Question 752

To confirm effective security handling of parameterized SQL execution, which result should an analyst prioritize?

  1. Public responses conceal schema diagnostics while restricted server logs retain investigation details.
  2. Tests with SQL-like characters are processed as data without changing the query structure.
  3. Requests for unknown sort columns are rejected and permitted columns map to fixed known identifiers.
  4. Approved regression checks show input variations cannot alter query logic or leak conditional truth states.

Explanation

Correct Answer

B:

Parameter binding separates query structure from untrusted values, preventing data from becoming SQL syntax; the outcome tests this precise property in the production control. It relates to the original observation that an application builds database queries by concatenating search text into the SQL statement itself.

Incorrect Answers

A:

Uncaught database errors can leak query structure and database internals to remote users; that evidence is relevant when a malformed user parameter causes the application to display raw database syntax and schema details, but does not establish closure of the parameterized SQL execution exposure.

C:

SQL parameters generally bind values, not arbitrary identifiers such as table or column names; that evidence is relevant when an application lets a user choose a sort column and attempts to pass the column name as a value parameter, but does not establish closure of the parameterized SQL execution exposure.

D:

Blind SQL injection can reveal information through application behavior or timing even when direct query output is hidden; that evidence is relevant when a test environment shows response differences based on conditional database behavior without displaying SQL errors, but does not establish closure of the parameterized SQL execution exposure.

Question 753

Under an authorized engagement, the report states: An executable marketed as a routine system utility installs an unrelated unwanted component when launched. Which protective practice belongs in the fix plan?

  1. Use integrity monitoring and protected software distribution to prevent execution of infected binaries.
  2. Require trusted software provenance and endpoint controls for unapproved executables.
  3. Isolate the endpoint from normal network paths while preserving authorized forensic evidence.
  4. Patch exposed network services and isolate infected subnets to interrupt propagation.

Explanation

Correct Answer

B:

A Trojan relies on deceptive packaging or consent rather than autonomous worm-like replication; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that application-control logs block unsigned or unapproved software from executing on managed systems.

Incorrect Answers

A:

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 trojan masquerade finding described here.

C:

Containment limits active compromise before extensive investigation or full eradication is complete; the proposed safeguard addresses a case where an infected laptop continues contacting internal systems while responders collect screenshots for a report, rather than the trojan masquerade finding described here.

D:

Worms can spread automatically through vulnerable network paths without needing a human to launch each copy; the proposed safeguard addresses a case where infected hosts begin transmitting infection attempts to neighboring machines without user-opened attachments, rather than the trojan masquerade finding described here.

Question 754

A finding concerns anonymous FTP listing. Select the explanation that captures how this issue or control works.

  1. NFS export configurations can expose mountable file systems and depend on host and user identity controls.
  2. Anonymous FTP can publish files and names without identity verification or transport encryption.
  3. SMB share enumeration reveals network resource names and sometimes access permissions before file access is attempted.
  4. Service principal names map services to accounts and can indicate privileged service account exposure.

Explanation

Correct Answer

B:

An old file-transfer service exposes a directory listing to a user without authentication; that situation illustrates the actual operating behavior under review. Its practical safeguard is to disable public anonymous access unless the published data is expressly intended for unrestricted release, with confirmation when unauthenticated listing requests cannot enumerate private directories on the file-transfer service.

Incorrect Answers

A:

A storage server discloses exported file systems to a remote system outside its application tier; those details characterize NFS export listing and would call for restrict exports by trusted clients and enforce appropriate identity mapping and access permissions, rather than explaining anonymous FTP listing.

C:

A file server lists sensitive shared folders to users who do not need to know those names; those details characterize SMB share exposure and would call for restrict share listing and access through least privilege and authenticated SMB policy, rather than explaining anonymous FTP listing.

D:

A directory assessment reveals service principal names linked to high-value application identities; those details characterize Kerberos service principals and would call for inventory service identities, avoid excessive privileges, and use robust managed credentials, rather than explaining anonymous FTP listing.

Question 755

An analyst is sorting findings by mechanism. One entry reads: An unapproved program restarts after each user login because a startup registration remains present. Which label is the right one?

  1. Trojan masquerade
  2. Sandbox behavioral analysis
  3. Persistence via autoruns
  4. File-infecting virus

Explanation

Correct Answer

C:

Autorun entries can preserve malicious startup behavior without relying on the original launch process; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to baseline startup locations and alert on unauthorized autostart registrations, verified when startup comparisons show only approved persistence entries after remediation and reboot.

Incorrect Answers

A:

A Trojan relies on deceptive packaging or consent rather than autonomous worm-like replication; this different classification would fit when an executable marketed as a routine system utility installs an unrelated unwanted component when launched, not the evidence pointing to persistence via autoruns in the question.

B:

An isolated analysis environment records process, file, registry, and network behavior with containment; this different classification would fit when a defender needs to observe a suspicious file's effects without running it on a production workstation, not the evidence pointing to persistence via autoruns in the question.

D:

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 persistence via autoruns in the question.

Question 756

An assessor must categorize a result: An event-triggered cloud function can invoke unrelated administrative APIs using its execution role. Which category best fits the observed condition?

  1. Cloud IAM overprivilege
  2. Serverless least privilege
  3. Cloud audit logging
  4. Cloud network security groups

Explanation

Correct Answer

B:

Serverless code still runs with an identity whose permissions determine its possible cloud-side actions; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to grant the function only event-processing actions and scope them to exact resources, verified when role-policy tests show unrelated administrative API operations denied to the function identity.

Incorrect Answers

A:

Broad cloud roles amplify a compromised workload's capabilities outside its necessary operations; this different classification would fit when a serverless function can administer all storage resources even though it reads one designated object, not the evidence pointing to serverless least privilege in the question.

C:

Cloud control-plane audit trails capture identity and API activity when correctly enabled and retained; this different classification would fit when a privileged cloud policy change is discovered but the team cannot identify who made the API request, not the evidence pointing to serverless least privilege in the question.

D:

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 serverless least privilege in the question.

Question 757

The assessor flags this situation for follow-up: An authorized tester identifies a serious flaw in a supplier product during the agreed assessment. Select the most appropriate action.

  1. Prioritize remediation using asset criticality, realistic attack paths, and likelihood as well as severity.
  2. Document allowed and prohibited techniques, safe stopping conditions, and communication channels.
  3. Assign a data owner and approved sensitivity label before selecting storage and access safeguards.
  4. Notify the designated contact privately under the disclosure terms and avoid releasing exploit details.

Explanation

Correct Answer

D:

Coordinated disclosure allows the owner or vendor to validate, mitigate, and communicate an issue without reckless publication; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that a dated disclosure record tracks acknowledgement, remediation decisions, and approved public communication.

Incorrect Answers

A:

Operational risk also depends on exposure, business impact, asset importance, and exploitability, not severity alone; the proposed safeguard addresses a case where two findings have equal technical severity, but only one affects an internet-facing payroll system, rather than the responsible disclosure finding described here.

B:

Engagement rules translate authorization into actionable limits on methods, time windows, escalation, and contacts; the proposed safeguard addresses a case where the client permits enumeration during business hours but prohibits disruptive tests against production, rather than the responsible disclosure finding described here.

C:

Classification links information sensitivity and ownership to controls, retention, and handling requirements; the proposed safeguard addresses a case where a test report finds a storage location containing regulated personal records but no assigned data owner, rather than the responsible disclosure finding described here.

Question 758

A planned improvement must address the following: A network monitor can see TLS endpoints and timing but not protected application payloads. Which control best targets that requirement?

  1. Use mirrored authorized traffic and avoid treating passive fingerprints as definitive identity proof.
  2. Review source and destination flows and ensure the required reverse path is explicitly allowed.
  3. Correlate endpoint and metadata telemetry instead of assuming packet capture reveals encrypted requests.
  4. Interpret ICMP code and network path together instead of assuming every error means a dead host.
  5. Correlate reset traffic with service listeners and firewall policy before concluding a port is open.

Explanation

Correct Answer

C:

Transport encryption limits inspection of application content unless decryption is explicitly authorized and configured; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that a review confirms the sensor records connection metadata while protected payload content stays opaque.

Incorrect Answers

A:

Passive fingerprinting observes packet properties and protocol behaviors already traversing the sensor; the proposed safeguard addresses a case where a network sensor infers endpoint platform traits from ordinary traffic without sending probes, rather than the encrypted traffic visibility finding described here.

B:

Directional and stateless access rules must account for both request and response traffic; the proposed safeguard addresses a case where an inbound permit appears correct but replies still fail because an egress rule blocks the return path, rather than the encrypted traffic visibility finding described here.

D:

ICMP errors signal forwarding or delivery conditions and may be filtered or rate-limited in practice; the proposed safeguard addresses a case where a router returns a destination-unreachable diagnostic for a packet that cannot be forwarded, rather than the encrypted traffic visibility finding described here.

E:

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 encrypted traffic visibility finding described here.

Question 759

In a controlled review, analysts encounter this situation: A file server lists sensitive shared folders to users who do not need to know those names. Select the best matching concept.

  1. Anonymous FTP listing
  2. DNS service enumeration
  3. SMB share exposure
  4. NFS export listing

Explanation

Correct Answer

C:

SMB share enumeration reveals network resource names and sometimes access permissions before file access is attempted; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to restrict share listing and access through least privilege and authenticated SMB policy, verified when a low-privilege access test cannot list or open restricted shares while approved users retain access.

Incorrect Answers

A:

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 SMB share exposure in the question.

B:

DNS records may expose system naming and topology when public and internal views are mixed; this different classification would fit when an external reviewer learns internal-looking DNS names from a public-facing name service, not the evidence pointing to SMB share exposure in the question.

D:

NFS export configurations can expose mountable file systems and depend on host and user identity controls; this different classification would fit when a storage server discloses exported file systems to a remote system outside its application tier, not the evidence pointing to SMB share exposure in the question.

Question 760

The security team observes this condition: A Bluetooth Low Energy wearable broadcasts a fixed identifier that can be tracked across locations. Which term should appear in the primary finding?

  1. WPA2-Enterprise authentication
  2. Wireless client isolation
  3. Rogue access point detection
  4. BLE privacy addressing

Explanation

Correct Answer

D:

Persistent wireless identifiers can enable device tracking even when application content is encrypted; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to enable supported private randomized addresses and minimize unnecessary identifier broadcasts, verified when radio captures show identifiers rotate as specified without disrupting authorized pairing.

Incorrect Answers

A:

Enterprise WLAN access uses 802.1X and an authentication backend to manage per-identity access; this different classification would fit when a corporate wireless network needs distinct user or device identities instead of one shared password, not the evidence pointing to BLE privacy addressing in the question.

B:

Client isolation can stop direct peer-to-peer traffic between wireless stations on the same guest service; this different classification would fit when visitors connected to the same guest network can open each other's device-sharing services, not the evidence pointing to BLE privacy addressing in the question.

C:

Rogue access points create unauthorized alternate network paths, sometimes bypassing wired policies; this different classification would fit when an unapproved radio bridges an internal Ethernet port to a wireless network outside the corporate controller, not the evidence pointing to BLE privacy addressing in the question.

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