SYM12-017 Symantec Legacy Decomposer CAB File Issues
|Article:TECH199470|||||Created: 2012-11-07|||||Updated: 2013-06-19|||||Article URL http://www.symantec.com/docs/TECH199470|
You use Symantec Endpoint Protection and would like more information about the SYM12-017 Symantec Legacy Decomposer CAB File Issue vulnerability.
A vulnerability has been identified in the Symantec Decomposer component that is used to decompose some types of archive content while scanning for malicious content. For additional information on the SYM12-017 vulnerability, read the Symantec Security Response SYM12-017 Security Advisory.
There are several possible ways to remove the SYM12-017 vulnerability in Symantec Endpoint Protection (SEP):
As an alternative, there is one workaround that while not removing the vulnerability completely, will lessen the exposure:
Note: Excluding the .cab file extension does not fully mitigate the issue. Use one of the options described above to mitigate this issue.
Symantec AntiVirus (SAV) 10.x clients are also affected by this vulnerability. SAV 10.x has officially reached end of life status and is no longer supported. However, if you are still using SAV 10.x and wish to mitigate this vulnerability, you can use the manual mitigation options listed below or upgrade to a current version of Symantec Endpoint Protection.
All versions of Symantec Endpoint Protection 12.1 are unaffected. To obtain the latest release, read the document Best practices for upgrading to the latest version of Symantec Endpoint Protection 12.1.x.
Symantec has made updated Decomposer files available for SEP 11.x and 12.0.x clients through LiveUpdate. This update can be obtained by running LiveUpdate on clients, or by distribution from updated Symantec Endpoint Protection Managers or Group Update Providers. For more information, read the document About the LiveUpdate patch for Symantec Advisory SYM-12-017.
The Symantec Decomposer Update Tool mitigates the problem on clients with Symantec Endpoint Protection 11.0 RU5 and later versions.
About the Decomposer Update Tool
Symantec has created a tool to update the decomposer engine for Symantec Endpoint Protection 11.x clients running 11.0 RU5 and above. This tool updates the client to Decomposer 1.2.8.
The tool is available for download from the attachments section of this article in a zipped format. Unzip the utility before using it.
The tool must be run with Administrator or System account privileges on each endpoint.
If the "Protect files and registry keys" setting in SEP Application and Device Control has been enabled, the tool will fail to apply. Create an exception for SYM12_017_Fixtool.exe before deploying or installing the tool.
Note: Any SEP 11.0 releases prior to RU5 are not supported by SYM12_017_Fixtool.exe tool. SEP 12.0 is also not supported by this tool. SEP 12.1.x products have a newer version of Decomposer and are not affected by this vulnerability.
Command line options
The following command line option is available for the tool:
Appends or creates the log file SYM2012_017_Fixtool.log in the user temp variable folder (%temp%)
The tool accesses the Windows Registry to determine the version of Symantec Endpoint Protection and the location of the Decomposer engine.
The tool stops the services that depend on the Decomposer files in order to ensure that the files are not held open or otherwise locked. Any dependent services will also be stopped.
The tool replaces the existing Decomposer files with the new files.
If the tool is unable to replace the files due to a file lock, the files will be replaced upon reboot.
The tool restarts any services that were stopped.
/loption is enabled, the tool creates the logfile SYM12_017_Fixtool.log in the user temp variable (%temp%) folder.
The tool replaces the following files:
The tool will update Dec_ABI.dll (located in C:\Program Files (x86)\Common Files\Symantec Shared) to version 22.214.171.124.
There are five possible return codes:
- Update successful
- The .dll was patched, but a service restart is required
- Update failed
- Unable to patch the .dll, a reboot is required to complete
- The patch isn’t applicable to this system (it is already patched or the version of SEP is unsupported.)
If a reboot is required, a registry value DecUpdateRebootRequired with value data of 0 will be added in the following Registry location:
This method manually prevents the Decomposer engine from scanning files that may cause the problem.
- In Windows Explorer, open the Symantec Endpoint Protection installation folder. The location of this folder varies by product and operating system.
- Create a backup copy of the Dec3.cfg file.
- In an ASCII text editor such as Notepad, open the file Dec3.cfg.
- Find the following line:
- Delete the Dec2CAB.dll line and the line that immediately follows.
- Count the number of .dll files that are listed after removing the Dec2CAB.dll line. On the fifth line of the file, replace the existing number with the new number of .dll files.
- Close and save the Dec3.cfg file.
- Restart the Symantec Endpoint Protection service.
This procedure disables the Dec2CAB.dll. After these files are disabled, Symantec Endpoint Protection is no longer vulnerable.
Example: The following is an example of the contents of the Dec3.cfg file before and after the manual alteration. Bold emphasis has been added to the lines that are altered.
The fix can be delivered using a third-party tool by copying the Dec3.cfg file from a manually-repaired computer and deploying it to other endpoints. The Dec3.cfg file differs between versions, so clients must receive a Dec3.cfg file from a client in the same group of versions:
SEP 11.0 through SEP 11.0 MR4 MP2
SEP 11.0 RU5 or greater
SEP 12.0 RU1
For example, a SEP 11.0 MR1 client can use a Dec3.cfg file from SEP 11.0 MR3, but not from SEP 11.0 RU6 or SEP 12.0, while a SEP 12.0 RU1 client can only use a Dec3.cfg file from another SEP 12.0 RU1 client.
On Windows 7, Windows Vista and Windows 2008, User Access Control may block manually editing this file. Depending on settings, Administrators may need to open Windows Explorer using "Run As Administrator" in order to edit the file. Any scripts must be run with Administrator privileges.
This method prevents the Decomposer engine from parsing any compressed file during a manual scan or when called by either of the two e-mail scanning tools. This mitigation option allows an administrator to disable compressed file scanning centrally by using an antivirus policy change.
For instructions, please read the following article: How to disable scanning of compressed files within Symantec Endpoint Protection
This disables scanning of all compressed files, not just .cab files. This setting must be changed in all administrator and active scans, as well as in both the Exchange and Lotus Notes e-mail client tools.
A computer is vulnerable as long as .cab file scanning is enabled. This workaround lowers the risk while still providing real-time protection through Auto-Protect. With this configuration in place the .cab file decomposer engine is only used if a user right-clicks and scans a .cab file, or if a user-created scan on the machine does not include the "disable compressed file scanning" option.
Note: When using this configuration setting, compressed files are not scanned during normal administrator or active scans. However, AutoProtect still scans these files if a user extracts them. For example, if a user downloads a .cab or .zip file, it is not scanned during the next administrator scheduled scan. However, if the user extracts it, AutoProtect immediately scans and detects any malicious content. Since the file was not extracted by SEP, the vulnerability is not exposed.
Article URL http://www.symantec.com/docs/TECH199470