An administrator can enable and configure virus scanners for use on uploaded files via Site administration > Plugins > Antivirus plugins > Manage antivirus plugins.
ClamAV antivirus is available as a standard plugin. It's likely that more antivirus plugins will be available in future from the Moodle plugins directory.
ClamAV antivirus
To make use of ClamAV antivirus, ClamAV® should be installed on your server. See http://www.clamav.net for more information.
See also
- RHEL/CentOS and SELinux: https://moodle.org/mod/forum/discuss.php?d=316066
- RHEL/CentOS and PrivateTmp: https://moodle.org/mod/forum/discuss.php?d=364706
- Improve performance by using ClamDScan https://moodle.org/mod/forum/discuss.php?d=382731