FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
chaithrar
Staff
Staff
Article Id 195941

Description

 

This article describes how to configure heuristic scanning.

Solution

 

The FortiGate heuristic antivirus engine performs tests on files to detect virus-like behavior or known virus indicators.
Heuristic scanning is performed last after file blocking and virus scanning have found no matches.
In this way, heuristic scanning detects new viruses but also produces some false positive results.

To configure heuristic scanning.

 

  • From CLI, use the following command.

config antivirus heuristic

    set mode {pass|block|disable}

end

 

To configure heuristic settings on models 200 and higher.

 

  • From CLI, use the following command.

config antivirus quarantine

    set drop_heuristic {ftp http imap pop3 smtp}
    set store_heuristic {ftp http imap pop3 smtp}
end

 

The heuristic scanning option has changed in version 7.0.x onward and it has been driven by antivirus engine AI.

 

From CLI, use the following command.

 

config antivirus settings

    set machine-learning-detection enable


config antivirus quarantine
    set drop-machine-learning imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs ssh
    set drop-machine-learning imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs ssh

 

In newer versions, heuristic scanning is configured via the antispam profile.

 

Related documents:

How do I configure heuristic scanning?

Configuring antispam profiles and antispam action profiles