CyberKit

ATT&CK map

T1686: Disable or Modify System Firewall

Tactics: Defense Impairment. Platforms: ESXi, Linux, macOS, Network Devices, Windows.

Adversaries may disable or modify host-based or network firewalls to impair defensive mechanisms and enable further action.

MITRE's description

Adversaries may disable or modify host-based or network firewalls to impair defensive mechanisms and enable further action. Once an adversary has gathered sufficient privileges, they can tamper with firewall services, policies, or rule sets to remove restrictions on inbound or outbound traffic.

Telemetry that detects it

  • Command Execution
  • Firewall Rule Modification
  • Process Creation
  • Windows Registry Key Modification

Mitigations

User Account Management
Ensure proper user permissions are in place to prevent adversaries from disabling or modifying firewall settings.
Restrict File and Directory Permissions
Ensure proper process and file permissions are in place to prevent adversaries from disabling or modifying firewall settings.
Restrict Registry Permissions
Ensure proper Registry permissions are in place to prevent adversaries from disabling or modifying firewall settings.
Audit
Routinely check account role permissions to ensure only expected users and roles have permission to modify system firewalls.

Groups documented using it

Carbanak, Salt Typhoon

Procedure examples

  • APT38 have created firewall exemptions on specific ports, including ports 443, 6443, 8443, and 9443.
  • The "ZR" variant of BACKSPACE will check to see if known host-based firewalls are installed on the infected systems. BACKSPACE will attempt to establish a C2 channel, then will examine open windows to identify a pop-up from the firewall…
  • BPFDoor starts a shell on a high TCP port starting at 42391 up to 43391, then changes the local iptables rules to redirect all packets from the attacker to the shell port.
  • BlackByte modified firewall rules on victim machines to enable remote system discovery.

30 documented uses in all. These are a sample.

T1686 on attack.mitre.org

MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.