T1686 Disable or Modify System Firewall
Defense Impairmenton attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0145 Detection of Disabled or Modified System Firewalls across OS Platforms.
AN0406 Windows
Detection of firewall tampering by monitoring processes executing netsh, PowerShell Set-NetFirewallProfile, or sc stop mpssvc. Registry modifications under HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy also indicate adversarial actions.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=13, 14 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0407 Linux
Detection of iptables, nftables, or firewalld rule modifications. Correlation of sudden drops in active firewall rules with suspicious processes suggests adversarial evasion.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve: iptables, nft, firewall-cmd modifications | Not mapped to Sentinel yet. |
linux:osqueryexecution of known firewall binaries | Not mapped to Sentinel yet. |
AN0408 macOS
Detection of PF firewall rule modifications via pfctl, socketfilterfw, or defaults write to com.apple.alf. Adversaries often disable firewall profiles entirely or whitelist malicious processes.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogpfctl -d, socketfilterfw --setglobalstate off, or modifications to com.apple.alf | Not mapped to Sentinel yet. |
AN0409 ESXi
Detection of firewall changes using esxcli network firewall set or vSphere API modifications. Sudden disabling of firewall rules across management interfaces is a strong adversarial signal.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:hostdesxcli network firewall set commands | Not mapped to Sentinel yet. |
esxi:hostdvSphere API calls modifying firewall settings | Not mapped to Sentinel yet. |
AN0410 Network Devices
Detection of firewall ACL or rule base changes through CLI (e.g., no access-list, permit any any). Monitor configuration commits from unusual users or sessions.
| MITRE log source | In Microsoft Sentinel |
|---|---|
networkdevice:clifirewall disable commands or suspicious ACL modifications | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (19)
- AWSCloudTrail - Changes to Amazon VPC settings
- AWSCloudTrail - Changes to AWS Elastic Load Balancer security groups
- AWSCloudTrail - Changes to AWS Security Group ingress and egress settings
- AWSCloudTrail - Changes to internet facing AWS RDS Database instances
- AWSCloudTrail - Network ACL with all the open ports to a specified CIDR
- Conditional Access - A Conditional Access Device platforms condition has changed (the Device platforms condition can be…
- Conditional Access - A Conditional Access policy was deleted
- Conditional Access - A Conditional Access policy was disabled
- Conditional Access - A Conditional Access policy was put into report-only mode
- Conditional Access - A new Conditional Access policy was created
- GCP Audit Logs - Open Firewall Rule Created or Modified
- AWSCloudTrail - Network ACL entry deleted
- AWSCloudTrail - Route table attribute modifications
- Azure Network Configuration Tampered by Compromised Identity
- GCP Audit Logs - List All GCP Firewall Operations by Principal
- GCP Audit Logs - List All GCP VPN Tunnels Created
- Multi-service network exposure followed by key and data access
- Post-Auth Config Change on Network Appliance (3P)
- Suspicious sign-in followed by cloud network exposure writes
In Sigma rules
36 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- All Rules Have Been Deleted From The Windows Firewall Configuration
- Disable System Firewall
- New Firewall Rule Added In Windows Firewall Exception List For Potential Suspicious Application
- RDP Connection Allowed Via Netsh.EXE
- Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE
- A Rule Has Been Deleted From The Windows Firewall Exception List
- Azure Firewall Modified or Deleted
- Azure Firewall Rule Collection Modified or Deleted
- Azure Network Firewall Policy Modified or Deleted
- Bpfdoor TCP Ports Redirect
- Disable Microsoft Defender Firewall via Registry
- Disable Windows Firewall by Registry
- Disabling Security Tools
- Disabling Security Tools - Builtin
- Firewall Disabled via Netsh.EXE
- Firewall Rule Deleted Via Netsh.EXE
- Flush Iptables Ufw Chain
- Modify System Firewall
- Netsh Allow Group Policy on Microsoft Defender Firewall
- New Firewall Rule Added In Windows Firewall Exception List Via WmiPrvSE.EXE
- New Firewall Rule Added Via Netsh.EXE
- New Network Route Added
- UFW Disable Attempt
- Uncommon New Firewall Rule Added In Windows Firewall Exception List
- Windows Firewall Profile Disabled
Mitigations
M1018User Account ManagementM1022Restrict File and Directory PermissionsM1024Restrict Registry PermissionsM1047Audit
Sub-techniques
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.