Manual:$wgAntivirus

Details
Use this setting to select a virus scanner from the list in the   array. This serves as a key to the   array, e.g. 'clamav'.

If you set this variable to something other than  , and   is set correctly, every file uploaded will be scanned for viruses.