ECCouncil 312-38 (Certified Network Defender) Practice Test 18

Question 170

A web service runs as LocalSystem although it only needs access to one application directory and a specific network resource. Which Windows service hardening technique is the most direct solution?

  1. Disable unnecessary Windows services
  2. Constrain Windows service accounts
  3. Enable PowerShell logging
  4. Restrict Remote Desktop exposure
  5. Disable SMBv1

Explanation

Correct Answer

B:

Giving services limited identities and filesystem rights reduces damage if their process is compromised. Prefer dedicated managed identities when feasible.

Incorrect Answers

A:

Removing unused services reduces listeners, privileges and patch obligations; it handles removal of unused background services, while the decisive evidence in the question is excessive privileges granted to services.

C:

Script Block Logging and related PowerShell telemetry can reveal script content and execution patterns under configured policy in a setting defined by recording PowerShell script activity; the observed issue is excessive privileges granted to services.

D:

Restricting RDP by firewall, network path and authentication reduces reachable attack surface when analysts encounter constrained remote desktop reachability; this question instead describes excessive privileges granted to services.

E:

Removing SMBv1 reduces dependency on an outdated file-sharing protocol in a setting defined by elimination of legacy SMB protocol support; the observed issue is excessive privileges granted to services.

Question 171

Users repeatedly launch obfuscated child processes from Office documents, and administrators want policy-based blocking of that behavior. Which Windows endpoint threat-control capability is the best match?

  1. Tamper protection
  2. EDR endpoint isolation
  3. Controlled folder access
  4. Attack Surface Reduction rule

Explanation

Correct Answer

D:

Defender Attack Surface Reduction rules can restrict risky process patterns associated with common infection paths. Audit mode helps test impact first.

Incorrect Answers

A:

Tamper protection restricts changes to selected security settings even when software seeks to weaken defenses; its distinguishing scope is preventing security tool configuration tampering, not the reported blocking abusive Office process behavior.

B:

EDR isolation restricts most network communication to contain a host while allowing approved security management channels, subject to product behavior; that is relevant to network containment of a compromised host but does not directly account for blocking abusive Office process behavior.

C:

Controlled folder access limits write access to protected directories for untrusted processes, helping reduce some ransomware damage in a setting defined by restricting untrusted edits to protected data; the observed issue is blocking abusive Office process behavior.

Question 172

Malware attempts to disable endpoint security settings locally before dropping a payload, and central policy must resist unauthorized changes. Which Windows endpoint threat-control capability is the best match?

  1. Windows Sysmon deployment
  2. EDR endpoint isolation
  3. Tamper protection
  4. Controlled folder access

Explanation

Correct Answer

C:

Tamper protection restricts changes to selected security settings even when software seeks to weaken defenses. It is not an alternative to system recovery.

Incorrect Answers

A:

Sysmon records configurable security-relevant system activity for collection and correlation in a setting defined by enhanced endpoint process and connection telemetry; the observed issue is preventing security tool configuration tampering.

B:

EDR isolation restricts most network communication to contain a host while allowing approved security management channels, subject to product behavior when analysts encounter network containment of a compromised host; this question instead describes preventing security tool configuration tampering.

D:

Controlled folder access limits write access to protected directories for untrusted processes, helping reduce some ransomware damage for situations characterized by restricting untrusted edits to protected data; the case points instead to preventing security tool configuration tampering.

Question 173

A workstation's document directories need additional protection against untrusted applications trying to modify many files. Which Windows endpoint threat-control capability is the best match?

  1. Controlled folder access
  2. Windows Sysmon deployment
  3. EDR endpoint isolation
  4. Tamper protection

Explanation

Correct Answer

A:

Controlled folder access limits write access to protected directories for untrusted processes, helping reduce some ransomware damage. Legitimate apps may need allowlisting.

Incorrect Answers

B:

Sysmon records configurable security-relevant system activity for collection and correlation for situations characterized by enhanced endpoint process and connection telemetry; the case points instead to restricting untrusted edits to protected data.

C:

EDR isolation restricts most network communication to contain a host while allowing approved security management channels, subject to product behavior in a setting defined by network containment of a compromised host; the observed issue is restricting untrusted edits to protected data.

D:

Tamper protection restricts changes to selected security settings even when software seeks to weaken defenses for the specific concern of preventing security tool configuration tampering, not the requirement involving restricting untrusted edits to protected data.

Question 174

A compromised laptop is still communicating with malicious infrastructure and analysts need to contain it while preserving remote investigation access. Which Windows endpoint threat-control capability is the best match?

  1. Windows Sysmon deployment
  2. Tamper protection
  3. EDR endpoint isolation
  4. Attack Surface Reduction rule

Explanation

Correct Answer

C:

EDR isolation restricts most network communication to contain a host while allowing approved security management channels, subject to product behavior.

Incorrect Answers

A:

Sysmon records configurable security-relevant system activity for collection and correlation for situations characterized by enhanced endpoint process and connection telemetry; the case points instead to network containment of a compromised host.

B:

Tamper protection restricts changes to selected security settings even when software seeks to weaken defenses; the operational difference is preventing security tool configuration tampering versus the scenario's network containment of a compromised host.

D:

Defender Attack Surface Reduction rules can restrict risky process patterns associated with common infection paths; it handles blocking abusive Office process behavior, while the decisive evidence in the question is network containment of a compromised host.

Question 175

Analysts need richer host telemetry about network connections, process relationships and file operations than default audit logging provides. Which Windows endpoint threat-control capability is the best match?

  1. Windows Sysmon deployment
  2. Attack Surface Reduction rule
  3. Tamper protection
  4. EDR endpoint isolation
  5. Controlled folder access

Explanation

Correct Answer

A:

Sysmon records configurable security-relevant system activity for collection and correlation. Filtering and retention planning are needed to manage event volume.

Incorrect Answers

B:

Defender Attack Surface Reduction rules can restrict risky process patterns associated with common infection paths when analysts encounter blocking abusive Office process behavior; this question instead describes enhanced endpoint process and connection telemetry.

C:

Tamper protection restricts changes to selected security settings even when software seeks to weaken defenses; that is relevant to preventing security tool configuration tampering but does not directly account for enhanced endpoint process and connection telemetry.

D:

EDR isolation restricts most network communication to contain a host while allowing approved security management channels, subject to product behavior; this characterizes network containment of a compromised host, whereas the reported condition is enhanced endpoint process and connection telemetry.

E:

Controlled folder access limits write access to protected directories for untrusted processes, helping reduce some ransomware damage for the specific concern of restricting untrusted edits to protected data, not the requirement involving enhanced endpoint process and connection telemetry.

Question 176

An operator must restart one service without receiving unrestricted root access to every command on a Linux server. In a separate workstream, the team must also handle per-user access beyond basic mode bits. Which TWO of the listed methods or controls correspond to these distinct requirements? Choose TWO.

  1. Sudo command delegation
  2. File mode permissions
  3. POSIX access control list
  4. Service-specific system account

Explanation

Correct Answers

A:

Carefully scoped sudoers rules allow selected commands under another identity, supporting least privilege; for this multi-part scenario, the pertinent observation is limited elevation for a specific command.

C:

POSIX ACL entries can grant fine-grained named-user and named-group rights beyond ordinary mode bits; this specifically explains per-user access beyond basic mode bits among the independent requirements in the combined case.

Incorrect Answers

B:

Unix mode bits constrain owner, group and other permissions; its distinguishing scope is owner-only local file access, not the reported limited elevation for a specific command and per-user access beyond basic mode bits.

D:

Dedicated nonlogin accounts and tightly scoped permissions limit the impact of service exploitation; this characterizes reducing daemon execution identity privileges, whereas the reported condition is limited elevation for a specific command and per-user access beyond basic mode bits.

Question 177

A private configuration file is readable by all local users and should allow only its owner to read and write it. Which Linux account or permission mechanism best addresses this requirement?

  1. Service-specific system account
  2. Setuid privilege review
  3. File mode permissions
  4. POSIX access control list

Explanation

Correct Answer

C:

Unix mode bits constrain owner, group and other permissions. Filesystem ACLs may add granularity when basic modes are insufficient.

Incorrect Answers

A:

Dedicated nonlogin accounts and tightly scoped permissions limit the impact of service exploitation; its distinguishing scope is reducing daemon execution identity privileges, not the reported owner-only local file access.

B:

Setuid can elevate a program's effective user identity and is sensitive when the owner is root when the underlying evidence concerns privileged execution through file attribute rather than the stated owner-only local file access.

D:

POSIX ACL entries can grant fine-grained named-user and named-group rights beyond ordinary mode bits when analysts encounter per-user access beyond basic mode bits; this question instead describes owner-only local file access.

Question 178

Two support users need read access to a file while retaining a separate owning group and denying everyone else. Which Linux account or permission mechanism best addresses this requirement?

  1. File mode permissions
  2. POSIX access control list
  3. Sudo command delegation
  4. Setuid privilege review

Explanation

Correct Answer

B:

POSIX ACL entries can grant fine-grained named-user and named-group rights beyond ordinary mode bits. Effective-mask settings matter.

Incorrect Answers

A:

Unix mode bits constrain owner, group and other permissions for situations characterized by owner-only local file access; the case points instead to per-user access beyond basic mode bits.

C:

Carefully scoped sudoers rules allow selected commands under another identity, supporting least privilege for the specific concern of limited elevation for a specific command, not the requirement involving per-user access beyond basic mode bits.

D:

Setuid can elevate a program's effective user identity and is sensitive when the owner is root; that is relevant to privileged execution through file attribute but does not directly account for per-user access beyond basic mode bits.

Question 179

An unexpected executable has a privileged owner and the setuid bit, allowing users to invoke it with the owner's effective identity. Which Linux account or permission mechanism best addresses this requirement?

  1. Setuid privilege review
  2. Sudo command delegation
  3. Service-specific system account
  4. File mode permissions

Explanation

Correct Answer

A:

Setuid can elevate a program's effective user identity and is sensitive when the owner is root. Unneeded privileged binaries should be removed or corrected.

Incorrect Answers

B:

Carefully scoped sudoers rules allow selected commands under another identity, supporting least privilege for the specific concern of limited elevation for a specific command, not the requirement involving privileged execution through file attribute.

C:

Dedicated nonlogin accounts and tightly scoped permissions limit the impact of service exploitation; the operational difference is reducing daemon execution identity privileges versus the scenario's privileged execution through file attribute.

D:

Unix mode bits constrain owner, group and other permissions for the specific concern of owner-only local file access, not the requirement involving privileged execution through file attribute.

Question 180

An HTTP daemon currently runs with root privileges even though its runtime work only requires low-privilege access. Which Linux account or permission mechanism best addresses this requirement?

  1. File mode permissions
  2. Setuid privilege review
  3. POSIX access control list
  4. Service-specific system account
  5. Sudo command delegation

Explanation

Correct Answer

D:

Dedicated nonlogin accounts and tightly scoped permissions limit the impact of service exploitation. Privileged ports can be handled through supported capabilities.

Incorrect Answers

A:

Unix mode bits constrain owner, group and other permissions when the underlying evidence concerns owner-only local file access rather than the stated reducing daemon execution identity privileges.

B:

Setuid can elevate a program's effective user identity and is sensitive when the owner is root; that is relevant to privileged execution through file attribute but does not directly account for reducing daemon execution identity privileges.

C:

POSIX ACL entries can grant fine-grained named-user and named-group rights beyond ordinary mode bits in a setting defined by per-user access beyond basic mode bits; the observed issue is reducing daemon execution identity privileges.

E:

Carefully scoped sudoers rules allow selected commands under another identity, supporting least privilege in a setting defined by limited elevation for a specific command; the observed issue is reducing daemon execution identity privileges.

Certified Network Defender (312-38) Practice Tests