1. Verifying the inspection mode
Flow-based is the default inspection mode for FortiOS. To verify that your FortiGate is in this mode, go to System > Settings and locate System Operations Settings.
Verify that Inspection Mode is set to Flow-based and NGFW Mode is set to Profile-based.
2. Configuring the AntiVirus profile
Go to System > Feature Visibility and verify that AntiVirus is enabled under Security Features.
To edit the default antivirus profile, go to Security Profiles > AntiVirus.
Set Scan Mode to Full and Detect Viruses to Block.
Under APT Protection Options, enable Use Virus Outbreak Prevention Database to provide an additional layer of protection from early stage virus outbreaks.
3. Enabling antivirus in a policy
To edit your Internet access policy, go to Policy & Objects > IPv4 Policy.
Under Security Profiles, enable AntiVirus and select the default profile.
SSL Inspection is enabled by default. Select deep-inspection.
4. Results
To test the antivirus scanning, go to www.eicar.org and attempt to download a test file. The browser will display a message denying permission to download the file.
To view information about the blocked file, go to FortiView > Traffic from LAN/DMZ > Threats.