Adding extension exclusions without compromising security.

Article:TECH154120  |  Created: 2011-02-24  |  Updated: 2011-07-15  |  Article URL http://www.symantec.com/docs/TECH154120
Article Type
Technical Solution

Issue



A customer has an issue where they receive Result ID = 6 regarding tmp files. They want to stop these errors.

However there is no adverse effect to these errors, the customer would simply would like to prevent the error messages building in the event viewer.


Error



The error 6 that can also accompanied with an error 24.


Cause



The error 6 while also seen with error 24 can be caused by a file not being scanned due to expected conditions.

1. When a file is decomposed

2. when a file is too large to be scanned in memory (the in-memory file system settings)

3. When the file path is not fully supported by scan engine (the file is requested via the 8.3 file path, saved to the temp location and scanned).
 

However, on this occasion it is simply .tmp files that are triggering the error (without any fallout).


Solution



You should exclude .tmp files from being scanned. the tmp files are usually a byproduct of the parent file being scanned and they soon disappear very quickly and can on that basis generate the error 6.

There is no security compromise here as ScanEngine will scan files based on their true type even if these files have been renamed to .tmp

For example. If an executable to renamed to .tmp from .exe, it will be scanned as it's true type is Executable.

At the Symantec Scan Engine, Scan Engine performs true file typing before it applies exclusions by either file extension or MIME type. To do so, it must receive the entirety of the file, before it attempts to determine the file's true type.


Supplemental Materials

Description

All the true types that will be scanned by the latest release of Scan Engine is as follows.

 

Type="audio" SubType="mp3"
Type="audio" SubType="mp4"
Type="video" SubType="mp4"
Type="audio" SubType="aac"
Type="image" SubType="jpeg"
Type="image" SubType="bmp"
Type="image" SubType="gif"
Type="image" SubType="tiff"
Type="image" SubType="x-png"
Type="image" SubType="x-rgb"
Type="image" SubType="x-pixmap"
Type="image" SubType="x-ico"
Type="audio" SubType="x-aiff"
Type="audio" SubType="x-au"
Type="audio" SubType="midi"
Type="audio" SubType="x-wav"
Type="audio" SubType="x-mid"
Type="video" SubType="x-rm"
Type="audio" SubType="x-realaudio"
Type="application" SubType="x-tdb"
Type="application" SubType="x-wp"
Type="application" SubType="x-hyp"
Type="application" SubType="x-tlb"
Type="application" SubType="x-cpx"
Type="application" SubType="x-ccd"
Type="application" SubType="x-cue"
Type="application" SubType="x-AlcoholImageFile"
Type="application" SubType="x-wri"
Type="application" SubType="x-sqz"
Type="audio" SubType="x-mez"
Type="application" SubType="x-wk4"
Type="application" SubType="x-http"
Type="application" SubType="x-msc"
Type="application" SubType="x-installshieldCAB"
Type="audio" SubType="x-s3m"
Type="audio" SubType="shn"
Type="audio" SubType="x-stx"
Type="audio" SubType="it"
Type="audio" SubType="x-mod"
Type="audio" SubType="med"
Type="audio" SubType="mtm"
Type="video" SubType="x-msvideo"
Type="video" SubType="mpeg"
Type="video" SubType="x-ms-wmv"
Type="video" SubType="quicktime"
Type="application" SubType="pcx"
Type="binary" SubType="ms-structured-storage"
Type="application" SubType="ms-tnef"
Type="application" SubType="x-lharc"
Type="application" SubType="x-lha"
Type="application" SubType="lzh"
Type="application" SubType="rar"
Type="application" SubType="lz"
Type="application" SubType="ole"
Type="application" SubType="java-archive"
Type="application" SubType="imz"
Type="application" SubType="arj"
Type="application" SubType="x-gzip"
Type="application" SubType="x-zip"
Type="application" SubType="x-tar"
Type="application" SubType="cab"
Type="application" SubType="x-ace"
Type="application" SubType="graphicconverter"
Type="application" SubType="ani"
Type="application" SubType="bh"
Type="application" SubType="x-bz2"
Type="application" SubType="x-macbinary"
Type="audio" SubType="ogg"
Type="application" SubType="x-pdf"
Type="application" SubType="rtf"
Type="application" SubType="x-sit"
Type="application" SubType="x-sitx"
Type="application" SubType="x-zoo"
Type="application" SubType="postscript"
Type="application" SubType="x86-win-16-com"
Type="application" SubType="x86-win-16-exe"
Type="application" SubType="x86-win-32-exe"
Type="application" SubType="x-dwg"
Type="video" SubType="x-shockwave-flash"
Type="application" SubType="x-reg"
Type="application" SubType="x-amg"
Type="application" SubType="x-7z"
Type="application" SubType="x-hqx"
Type="application" SubType="applefile"
Type="application" SubType="iso"
Type="application" SubType="x-director"
Type="application" SubType="x-scf"
Type="application" SubType="x-msaccess"
Type="application" SubType="x-ins"
Type="application" SubType="x-autorun"
Type="application" SubType="x-crt"
Type="audio" SubType="mp3"
Type="audio" SubType="mp4"
Type="video" SubType="mp4"
Type="audio" SubType="aac"
Type="image" SubType="jpeg"
Type="image" SubType="bmp"
Type="image" SubType="gif"
Type="image" SubType="tiff"
Type="image" SubType="x-png"
Type="image" SubType="x-rgb"
Type="image" SubType="x-pixmap"
Type="image" SubType="x-ico"
Type="audio" SubType="x-aiff"
Type="audio" SubType="x-au"
Type="audio" SubType="midi"
Type="audio" SubType="x-wav"
Type="audio" SubType="x-mid"
Type="video" SubType="x-rm"
Type="audio" SubType="x-realaudio"
Type="application" SubType="x-tdb"
Type="application" SubType="x-wp"
Type="application" SubType="x-hyp"
Type="application" SubType="x-tlb"
Type="application" SubType="x-cpx"
Type="application" SubType="x-ccd"
Type="application" SubType="x-cue"
Type="application" SubType="x-AlcoholImageFile"
Type="application" SubType="x-wri"
Type="application" SubType="x-sqz"
Type="audio" SubType="x-mez"
Type="application" SubType="x-wk4"
Type="application" SubType="x-http"
Type="application" SubType="x-msc"
Type="application" SubType="x-installshieldCAB"
Type="audio" SubType="x-s3m"
Type="audio" SubType="shn"
Type="audio" SubType="x-stx"
Type="audio" SubType="it"
Type="audio" SubType="x-mod"
Type="audio" SubType="med"
Type="audio" SubType="mtm"
Type="video" SubType="x-msvideo"
Type="video" SubType="mpeg"
Type="video" SubType="x-ms-wmv"
Type="video" SubType="quicktime"
Type="application" SubType="pcx"
Type="binary" SubType="ms-structured-storage"
Type="application" SubType="ms-tnef"
Type="application" SubType="x-lharc"
Type="application" SubType="x-lha"
Type="application" SubType="lzh"
Type="application" SubType="rar"
Type="application" SubType="lz"
Type="application" SubType="ole"
Type="application" SubType="java-archive"
Type="application" SubType="imz"
Type="application" SubType="arj"
Type="application" SubType="x-gzip"
Type="application" SubType="x-zip"
Type="application" SubType="x-tar"
Type="application" SubType="cab"
Type="application" SubType="x-ace"
Type="application" SubType="graphicconverter"
Type="application" SubType="ani"
Type="application" SubType="bh"
Type="application" SubType="x-bz2"
Type="application" SubType="x-macbinary"
Type="audio" SubType="ogg"
Type="application" SubType="x-pdf"
Type="application" SubType="rtf"
Type="application" SubType="x-sit"
Type="application" SubType="x-sitx"
Type="application" SubType="x-zoo"
Type="application" SubType="postscript"
Type="application" SubType="x86-win-16-com"
Type="application" SubType="x86-win-16-exe"
Type="application" SubType="x86-win-32-exe"
Type="application" SubType="x-dwg"
Type="video" SubType="x-shockwave-flash"
Type="application" SubType="x-reg"
Type="application" SubType="x-amg"
Type="application" SubType="x-7z"
Type="application" SubType="x-hqx"
Type="application" SubType="applefile"
Type="application" SubType="iso"
Type="application" SubType="x-director"
Type="application" SubType="x-scf"
Type="application" SubType="x-msaccess"
Type="application" SubType="x-ins"
Type="application" SubType="x-autorun"
Type="application" SubType="x-crt"
 



Article URL http://www.symantec.com/docs/TECH154120


Terms of use for this information are found in Legal Notices