nerdexam
CompTIA

CAS-005 · Question #306

A malware researcher has discovered a credential stealer is looking at a specific memory register to harvest passwords that will be used later for lateral movement in corporate networks. The malware i

The correct answer is B. Enabling a host firewall. A credential stealer harvests passwords from memory and uses TCP 4444 for lateral movement; the objective is to best mitigate this lateral movement.

Submitted by salim_om· Mar 6, 2026Security Operations

Question

A malware researcher has discovered a credential stealer is looking at a specific memory register to harvest passwords that will be used later for lateral movement in corporate networks. The malware is using TCP 4444 to communicate with other workstations. The lateral movement would be best mitigated by:

Options

  • AConfiguring the CPU's NX bit
  • BEnabling a host firewall
  • CEnabling an edge firewall
  • DEnforcing all systems to use UEFI
  • EEnabling ASLR on the Active Directory server

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    76% (19)
  • C
    16% (4)
  • E
    4% (1)

Why each option

A credential stealer harvests passwords from memory and uses TCP 4444 for lateral movement; the objective is to best mitigate this lateral movement.

AConfiguring the CPU's NX bit

Configuring the CPU's NX bit prevents code execution from data segments, mitigating certain exploits like buffer overflows, but it does not directly prevent network-based lateral movement using specific TCP ports.

BEnabling a host firewallCorrect

Enabling a host firewall on individual workstations and servers provides granular control over network connections, allowing the blocking of outbound connections on TCP 4444, which directly prevents the malware from establishing communication for lateral movement between machines.

CEnabling an edge firewall

Enabling an edge firewall controls traffic entering and leaving the entire corporate network but is typically ineffective at preventing lateral movement *within* the internal network between workstations.

DEnforcing all systems to use UEFI

Enforcing all systems to use UEFI improves boot security but does not directly mitigate malware's network communication for lateral movement once the operating system is running.

EEnabling ASLR on the Active Directory server

Enabling ASLR randomizes memory locations to make exploit development harder but does not prevent established malware from using a specific port for lateral movement.

Concept tested: Host-based intrusion prevention

Source: https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/configure-windows-firewall-with-advanced-security

Community Discussion

No community discussion yet for this question.

Full CAS-005 Practice