| Description |
The article describes how to block SMBv1 because it is a legacy protocol, making it a prime target for cyberattacks. |
| Scope | FortiOS. |
| Solution |
Since FortiGate firewall rules alone cannot differentiate between SMB versions, the best approach is to use an Application control signature to detect the SMB version. SMBv1 operates over TCP 139 and TCP 445. Since SMBv2 and SMBv3 also use TCP 445, the Firewall policy must use Deep Packet Inspection (DPI) to block only SMBv1.
To block SMBv1 and allow SMBv3 on a FortiGate firewall, follow these steps:
Create an Application profile to block SMBV1:
Apply the Application Control Profile to a Firewall Policy:
Related document: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.