ComplianceCIS Safeguard v8.1

CIS-4.4 Implement and Manage a Firewall on Servers

Official page ↗
Framework
CIS Controls v8.1
Control
CIS-4 Secure Configuration of Enterprise Assets and Software
ATT&CK techniques mitigated
41

ATT&CK mappings (CTID)

• T1021 Remote Services — A default-deny host firewall directly restricts inbound remote service access to servers, reducing opportunities for remote administration and lateral movement. • T1021.001 Remote Desktop Protocol — Restricting TCP 3389 to authorized management hosts directly limits unauthorized RDP access to servers. • T1021.002 SMB/Windows Admin Shares — Blocking inbound SMB (TCP 445/139) is a primary server firewall function and directly reduces lateral movement via administrative shares. • T1021.003 Distributed Component Object Model — DCOM relies on RPC communications that can be restricted through host firewall rules, limiting remote DCOM access to authorized systems. Dynamic RPC ports make the effectiveness dependent on careful firewall configuration. • T1021.004 SSH — A default-deny server firewall can directly restrict inbound SSH, normally TCP 22, to approved management systems. This reduces unauthorized remote administration and lateral movement against Linux, macOS, and other SSH-enabled servers. • T1021.005 VNC — A server firewall prevents unauthorized inbound VNC connections unless the relevant service and source systems are explicitly permitted. • T1021.006 Windows Remote Management — Restricting WinRM ports, commonly TCP 5985 and 5986, to approved administrative systems directly limits unauthorized remote management of servers. • T1041 Exfiltration Over C2 Channel — This technique may be mitigated depending on where ingress and egress is tightly controlled. For example, the use network signatures such as IP addresses or domain names to identify traffic for specific adversary malware can be used to mitigate activity at the network level. • T1048 Exfiltration Over Alternative Protocol — When outbound filtering is configured, a server firewall can block unauthorized protocols used to exfiltrate data. Effectiveness depends on whether egress rules are enforced rather than allowing unrestricted outbound traffic. • T1048.001 Exfiltration Over Symmetric Encrypted Non-C2 Protocol — Outbound firewall restrictions can block unapproved encrypted non-C2 protocols or destinations used for exfiltration. The control is less effective when the traffic uses an explicitly permitted protocol and destination. • T1048.002 Exfiltration Over Asymmetric Encrypted Non-C2 Protocol — A managed egress policy can prevent servers from establishing unapproved asymmetric encrypted connections used to transfer data. This mitigation depends on restrictive outbound rules and destination controls. • T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol — A host firewall can block unauthorized outbound protocols and ports used for unencrypted data exfiltration. Exfiltration over an explicitly permitted service may remain possible. • T1071 Application Layer Protocol — Application-aware or restrictive outbound firewall rules can limit unauthorized HTTP, HTTPS, DNS, SMTP, and other application-layer communications used for command and control. A basic port-only policy provides limited protection when adversaries use permitted protocols. • T1071.001 Web Protocols — Adversaries use web protocols to blend with normal traffic. A server firewall can partially restrict which destinations, ports, and web services a server may contact, though it will not stop all HTTP/S abuse. • T1090 Proxy — Restricting outbound server connections can prevent malware from reaching unauthorized proxy infrastructure or accepting proxy traffic on unapproved ports. Proxy activity over approved channels may still succeed. • T1090.003 Multi-hop Proxy — This technique may be lessened or mitigated though the use of firewall policy that constrains relay and redirect paths. • T1095 Non-Application Layer Protocol — Host firewalls can restrict raw IP, ICMP, GRE, and other non-application-layer protocols used for command and control. The mitigation depends on denying protocols that the server does not explicitly require. • T1105 Ingress Tool Transfer — Restrictive outbound firewall rules can prevent a compromised server from downloading tools or payloads from unapproved external systems. The mapping is partial because transfers over approved destinations and protocols may still be possible. • T1133 External Remote Services — A default-deny host firewall reduces the exposure of externally accessible remote services by permitting only explicitly authorized ports, protocols, and source systems. • T1190 Exploit Public-Facing Application — A host firewall cannot remove vulnerabilities in a public-facing application, but it can ensure that only intended application ports are reachable and restrict access by source where operationally feasible. This reduces unnecessary exposure and possible exploitation paths. • T1197 BITS Jobs — Modify network and/or host firewall rules, as well as other network controls, to only allow legitimate BITS traffic. • T1205 Traffic Signaling — ATT&CK mentions that the mitigation of some variants of this technique could be achieved through the use of stateful firewalls, depending upon how it is implemented. • T1205.001 Port Knocking — Port knocking relies on specific traffic patterns that cause a firewall or related mechanism to expose a service port. Managed default-deny rules and monitoring of unauthorized firewall changes can restrict the trigger traffic and prevent unapproved ports from being opened. • T1205.002 Socket Filters — ATT&CK mentions that the mitigation of some variants of this technique could be achieved through the use of stateful firewalls, depending upon how it is implemented. • T1210 Exploitation of Remote Services — Exploitation of a remote service requires network reachability to the vulnerable service. A default-deny server firewall reduces the number of reachable services and limits access to authorized source systems. • T1218.012 Verclsid — Consider modifying host firewall rules to prevent egress traffic from verclsid.exe. • T1219 Remote Access Tools — Host firewall rules can block inbound or outbound communications associated with unauthorized remote access software. The firewall does not prevent the software from being installed or executed when it communicates over an allowed channel. • T1537 Transfer Data to Cloud Account — Egress filtering can restrict server connections to unauthorized cloud services or accounts, making cloud-based data transfer more difficult. The mitigation depends on destination-aware outbound controls. • T1552.005 Cloud Instance Metadata API — ATT&CK mentions to limit access to the Instance Metadata API using a host-based firewall such as iptables. A properly configured Web Application Firewall (WAF) may help prevent external adversaries from exploiting Server-side Request Forgery (SSRF) attacks that allow access to the Cloud Instance Metadata API. • T1557.001 Name Resolution Poisoning and SMB Relay — Blocking unnecessary LLMNR, NBT-NS, mDNS, NetBIOS, and SMB traffic can reduce name-resolution poisoning and relay opportunities involving servers. Disabling the protocols and enforcing SMB signing remain stronger primary mitigations. • T1557.002 ARP Cache Poisoning — A host firewall may restrict follow-on connections created through ARP poisoning, but it has limited ability to prevent manipulation of Layer 2 address resolution itself. This is therefore a weak and environment-dependent mitigation. • T1557.003 DHCP Spoofing — A host firewall may limit some follow-on communications after a malicious DHCP configuration is accepted, but it does not directly prevent DHCP spoofing. Network access controls and DHCP protections are the primary mitigations. • T1563.002 RDP Hijacking — Adversaries leverage RDP if it is reachable. Firewall rules are among the most direct ways to prevent unauthorized RDP reachability to servers. • T1570 Lateral Tool Transfer — Lateral tool transfers often rely on SMB, WinRM, SSH, or other network services that are directly governed by server firewall rules. Restricting those services to approved systems impedes common transfer channels. • T1571 Non-Standard Port — A default-deny firewall blocks communication over arbitrary or non-standard ports unless they are explicitly permitted, directly limiting adversary use of unexpected ports. • T1572 Protocol Tunneling — Restricting permitted ports, protocols, and destinations can impede protocol tunneling from compromised servers. Tunnels carried inside an explicitly allowed protocol may still bypass simple port-based filtering. • T1602.001 SNMP (MIB Dump) — Blocking unnecessary SNMP traffic and restricting authorized SNMP sources reduces the ability to query management information from servers or server-hosted management services. The applicability depends on whether the server exposes SNMP. • T1686 Disable or Modify System Firewall — Adversaries may disable or alter host firewall configurations to expose services or enable unrestricted network communication, directly undermining the safeguard. Implementing and actively managing the firewall establishes the required configuration and supports identifying or correcting unauthorized changes. • T1686.001 Cloud Firewall — This sub-technique concerns changes to cloud firewall rules or security groups rather than a host-based firewall installed on a server. The relationship to Safeguard 4.4 is therefore indirect and primarily relevant where server firewall management also encompasses associated cloud firewall controls. • T1686.002 Network Device Firewall — This sub-technique targets firewalls implemented on network infrastructure rather than host-based firewalls on servers. Its relationship to Safeguard 4.4 is weak and applies only where the server firewall management process also governs supporting network firewall policy. • T1686.003 Windows Host Firewall — This sub-technique explicitly covers disabling or modifying the Windows host firewall, including changing profiles or rules to expose services or permit command-and-control traffic. Implementing and managing the required firewall configuration helps identify, prevent, or reverse unauthorized changes.

Related

Mitigates · MITRE ATT&CK (41)

  • T1686 Disable or Modify System Firewall technique
  • T1686.001 Cloud Firewall sub-technique
  • T1686.002 Network Device Firewall sub-technique
  • T1686.003 Windows Host Firewall sub-technique
  • T1205.002 Socket Filters sub-technique
  • T1557.003 DHCP Spoofing sub-technique
  • T1602.001 SNMP (MIB Dump) sub-technique
  • T1557.002 ARP Cache Poisoning sub-technique
  • T1218.012 Verclsid sub-technique
  • T1205.001 Port Knocking sub-technique
  • T1048.001 Exfiltration Over Symmetric Encrypted Non-C2 Protocol sub-technique
  • T1048.002 Exfiltration Over Asymmetric Encrypted Non-C2 Protocol sub-technique
  • T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol sub-technique
  • T1071.001 Web Protocols sub-technique
  • T1572 Protocol Tunneling technique
  • T1090.003 Multi-hop Proxy sub-technique
  • T1571 Non-Standard Port technique
  • T1570 Lateral Tool Transfer technique
  • T1563.002 RDP Hijacking sub-technique
  • T1021.001 Remote Desktop Protocol sub-technique
  • T1021.002 SMB/Windows Admin Shares sub-technique
  • T1021.003 Distributed Component Object Model sub-technique
  • T1021.004 SSH sub-technique
  • T1021.005 VNC sub-technique
  • T1021.006 Windows Remote Management sub-technique
  • T1552.005 Cloud Instance Metadata API sub-technique
  • T1557.001 Name Resolution Poisoning and SMB Relay sub-technique
  • T1537 Transfer Data to Cloud Account technique
  • T1190 Exploit Public-Facing Application technique
  • T1197 BITS Jobs technique
Show all 41 ›

Referenced by Compliance · has member (1)

  • CIS-4 Secure Configuration of Enterprise Assets and Software CIS Control v8.1