Disable or Modify System Firewall
- ID
- T1686
- Tactics
- TA0112 Defense Impairment
- Platforms
- ESXi, Linux, macOS, Network Devices, Windows
- Data sources
- Process Creation, Windows Registry Key Modification, Command Execution, Firewall Rule Modification
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
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. For example, this may include turning off firewall profiles, altering existing rules to permit previously blocked ports or protocols, or adding new rules that create covert communication paths (e.g., adding a new firewall rule for a well-known protocol (such as RDP) using a non-traditional and potentially less securitized port.[1]
Adversaries may disable or modify firewalls using different behaviors, depending on the platform. For example, in ESXi, firewall rules may be modified directly via the esxcli (e.g., via esxcli network firewall set) or via the vCenter user interface.[2][3]
Sub-techniques (3)
Detection
- DET0145 Detection of Disabled or Modified System Firewalls across OS Platforms.
Data components: Process Creation, Windows Registry Key Modification, Command Execution, Firewall Rule Modification
Mitigations (4)
- M1018 User Account Management
Ensure proper user permissions are in place to prevent adversaries from disabling or modifying firewall settings.
- M1022 Restrict File and Directory Permissions
Ensure proper process and file permissions are in place to prevent adversaries from disabling or modifying firewall settings.
- M1024 Restrict Registry Permissions
Ensure proper Registry permissions are in place to prevent adversaries from disabling or modifying firewall settings.
- M1047 Audit
Routinely check account role permissions to ensure only expected users and roles have permission to modify system firewalls.
Groups (13)
- G0008 Carbanak
- G0035 Dragonfly
- G0046 FIN7
- G0082 APT38
- G0094 Kimsuky
- G0106 Rocke
- G0139 TeamTNT
- G1022 ToddyCat
- G1043 BlackByte
- G1045 Salt Typhoon
- G1047 Velvet Ant
- G1048 UNC3886
- G1051 Medusa Group
Software (15)
- S0013 PlugX
- S0031 BACKSPACE
- S0088 Kasidet
- S0108 netsh
- S0260 InvisiMole
- S0336 NanoCore
- S0376 HOPLIGHT
- S0412 ZxShell
- S0492 CookieMiner
- S0531 Grandoreiro
- S1032 PyDCrypt
- S1161 BPFDoor
- S1178 ShrinkLocker
- S1211 Hannotog
- S1223 THINCRUST
