> Source: [sk105164](https://support.checkpoint.com/results/sk/sk105164)

# sk105164 - Threat Emulation issues caused by non-ASCII characters

| Property | Value |
|----------|-------|
| Solution ID | sk105164 |
| Date Created | 2015-03-10 |
| Last Modified | 2026-02-15 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20, R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Solution

**Table of Contents:**

* Introduction
* Scenario 1 - Threat Emulation does not emulate file attached to e-mail if file name is written in non-ASCII characters
* Scenario 2 - When name of file attached to e-mail is written in non-ASCII characters, it is displayed as "unsafe string" in received e-mail
* Scenario 3 - "Email Subject" field in Threat Emulation log shows the ISO-2022 string instead of original e-mail subject when Mail Transfer Agent (MTA) is configured
* Scenario 4 - "Email Subject" field in Threat Emulation log shows the ISO-2022 string instead of original e-mail subject when Mail Transfer Agent (MTA) is disabled
* Related documents
* Related solutions

Show the Entire Article

Introduction {#Introduction}
----------------------------

This article describes different scenarios when Threat Emulation fails, or Threat Emulation logs are not clear if non-ASCII characters are used (e.g., in e-mail subject, in the name of a file attached to e-mail).

Scenario 1 - Threat Emulation does not emulate file attached to e-mail if file name is written in non-ASCII characters {#Scenario 1}
------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

Threat Emulation does not emulate the file, and the "File Name" field in Threat Emulation log (in SmartView Tracker) shows some garbage string instead of original file name in the following scenario:

1. Enable the Threat Emulation blade on Security Gateway.
2. Configure the Mail Transfer Agent (MTA) in the Security Gateway object.
3. Configure Threat Prevention policy to generate a Threat Emulation log when an e-mail is sent.
4. Install policy.
5. Send an e-mail with attached file whose name if written in non-ASCII characters (e.g., in Japanese, Chinese, Korean).
6. The following issues are observed:  
   * For known malware file: Threat Emulation does *not* send the for emulation:  
     Output of "*tecli show emulator emulations* " and "*tecli show emulator vm synopsis*" does not show this file being emulate.
   * For known clean file: Threat Emulation emulates the file, but the "File Name" field in Threat Emulation log (in SmartView Tracker) shows some garbage string instead of original file name.  
     *Example* :  
     [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/Corrupted_File_Name.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/Corrupted_File_Name.png "Click the image to see it in full size in a new tab/window")

Show / Hide solution  

**Issue:**

* 01472793

**Cause:**

* After decoding the file with Base64, the file is not decoded with UTF-8
* Special characters that are not allowed in the file names (e.g., question sign (?), double-quote (")) are not processed completely

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841)
* [Check Point R77.30](http://supportcontent.checkpoint.com/solutions?id=sk104859)

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=73) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade VSX](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=359) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

**Code was improved:** "File Name" field in Threat Emulation log will show the original file name.

For **R77, R77.10 and R77.20 versions** , [Check Point Support](http://www.checkpoint.com/services/contact/index.html) can supply a **Hotfix** .  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**

1. Hotfix has to be installed on **Security Gateway / *each* cluster member**.

   **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
2. Transfer the hotfix package to the machine (into some directory, e.g., `/some_path_to_fix/`).

3. Unpack and install the hotfix package:

   ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
   ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
   **Note** : The script will stop all of Check Point services ('`cpstop`') - read the output on the screen.
4. Reboot the machine.

Scenario 2 - When name of file attached to e-mail is written in non-ASCII characters, it is displayed as "unsafe string" in received e-mail {#Scenario 2}
---------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

The received e-mail with stripped attachment is shown as "unsafe string", if name of file attached to e-mail is written in non-ASCII characters (e.g., in Japanese, Chinese, Korean) in the following scenario:

1. Enable the Threat Emulation blade on Security Gateway.
2. Configure the Mail Transfer Agent (MTA) in the Security Gateway object.
3. Configure Threat Prevention policy to generate a Threat Emulation log when an e-mail is sent.
4. Install policy.
5. Send an e-mail with attached file whose name is written in non-ASCII characters (e.g., in Japanese, Chinese, Korean).
6. In received e-mail, the attachment file is stripped, and it says "unsafe string".

Show / Hide solution  

**Issue:**

* 01481725

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841)
* [Check Point R77.30](http://supportcontent.checkpoint.com/solutions?id=sk104859)

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=73) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade VSX](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=359) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

**Code was improved:** The received e-mail with stripped attachment will show the original file name.

For **R77, R77.10 and R77.20 versions** , [Check Point Support](http://www.checkpoint.com/services/contact/index.html) can supply a **Hotfix** .  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**

1. Hotfix has to be installed on **Security Gateway / *each* cluster member**.

   **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
2. Transfer the hotfix package to the machine (into some directory, e.g., `/some_path_to_fix/`).

3. Unpack and install the hotfix package:

   ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
   ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
   **Note** : The script will stop all of Check Point services ('`cpstop`') - read the output on the screen.
4. Reboot the machine.

Scenario 3 - "Email Subject" field in Threat Emulation log shows the ISO-2022 string instead of original e-mail subject when Mail Transfer Agent (MTA) is configured {#Scenario 3}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

"Email Subject" field in Threat Emulation log (in SmartView Tracker) shows the ISO-2022 string instead of original e-mail subject in the following scenario:

1. Enable the Threat Emulation blade on Security Gateway.
2. Configure the Mail Transfer Agent (MTA) in the Security Gateway object.
3. Configure Threat Prevention policy to generate a Threat Emulation log when an e-mail is sent.
4. Install policy.
5. Send an e-mail with subject written in non-ASCII characters (e.g., in Japanese, Chinese, Korean).
6. Connect with SmartView Tracker to Security Management Server / Domain Management Server.
7. In the left pane, go to "Threat Emulation" section.
8. The "Email Subject" field in the log shows [ISO-2022](https://en.wikipedia.org/wiki/ISO/IEC_2022) string instead of original e-mail subject:  
   *Example* :  
   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/SmVT_Log.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/SmVT_Log.png "Click the image to see it in full size in a new tab/window")

Show / Hide solution  

**Issue:**

* 01480623

**Cause:**

* E-mail subject encoded as UTF-8 is not decoded when Mail Transfer Agent (MTA) is used.

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841)
* [Check Point R77.30](http://supportcontent.checkpoint.com/solutions?id=sk104859)

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=73) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade VSX](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=359) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

**Code was improved:** E-mail subject encoded as UTF-8 will be decoded when Mail Transfer Agent (MTA) is used.

For **R77, R77.10 and R77.20 versions** , [Check Point Support](http://www.checkpoint.com/services/contact/index.html) can supply a **Hotfix** .  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**

1. Hotfix has to be installed on **Security Gateway / *each* cluster member**.

   **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
2. Transfer the hotfix package to the machine (into some directory, e.g., `/some_path_to_fix/`).

3. Unpack and install the hotfix package:

   ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
   ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
   **Note** : The script will stop all of Check Point services ('`cpstop`') - read the output on the screen.
4. Reboot the machine.

Scenario 4 - "Email Subject" field in Threat Emulation log shows the ISO-2022 string instead of original e-mail subject when Mail Transfer Agent (MTA) is disabled {#Scenario 4}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

"Email Subject" field in Threat Emulation log (in SmartView Tracker) shows the ISO-2022 string instead of original e-mail subject in the following scenario:

1. Enable the Threat Emulation blade on Security Gateway.
2. Do NOT enable the Mail Transfer Agent (MTA) in the Security Gateway object.
3. Configure Threat Prevention policy to generate a Threat Emulation log when an e-mail is sent.
4. Install policy.
5. Send an e-mail with subject written in non-ASCII characters (e.g., in Japanese, Chinese, Korean).
6. Connect with SmartView Tracker to Security Management Server / Domain Management Server.
7. In the left pane, go to "Threat Emulation" section.
8. The "Email Subject" field in the log shows [ISO-2022](https://en.wikipedia.org/wiki/ISO/IEC_2022) string instead of original e-mail subject:  
   *Example* :  
   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/SmVT_Log.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk105164/SmVT_Log.png "Click the image to see it in full size in a new tab/window")

Show / Hide solution  

**Issue:**

* 01696858

**Cause:**

* E-mail subject encoded as UTF-8 is not decoded when Mail Transfer Agent (MTA) is not used.

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841)
* [Jumbo Hotfix Accumulator for R77.30](http://supportcontent.checkpoint.com/solutions?id=sk106162) - since *Take_101*

For **R77, R77.10, and R77.20 versions** , [Check Point Support](http://www.checkpoint.com/support-services/contact-support/index.html) can supply a **Hotfix** .  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Code was improved:** E-mail subject encoded as UTF-8 will be decoded when Mail Transfer Agent (MTA) is not used.

**Hotfix installation instructions:**

1. Hotfix has to be installed on **Security Gateway / *each* cluster member**.

   **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster.
2. Transfer the hotfix package to the machine (into some directory, e.g., `/some_path_to_fix/`).

3. Unpack and install the hotfix package:

   ***\[Expert@HostName:0\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName:0\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz***   
   ***\[Expert@HostName:0\]# ./fw1_wrapper_\<HOTFIX_NAME\>***
   **Note** : The script will stop all of Check Point services ('`cpstop`') - read the output on the screen.
4. Reboot the machine.

Related documents {#Related documents}
--------------------------------------

* [R77 Versions Threat Prevention Administration Guide](https://sc1.checkpoint.com/documents/R77/CP_R77_ThreatPrevention_WebAdmin/html_frameset.htm) - Chapter "[Getting Started with Threat Emulation](https://sc1.checkpoint.com/documents/R77/CP_R77_ThreatPrevention_WebAdmin/101646.htm)"
* <https://en.wikipedia.org/wiki/ISO/IEC_2022>

Related solutions {#Related solutions}
--------------------------------------

* [sk93598 - Threat Emulation Sizing Mode: how to measure the required inspections at an organization](http://supportcontent.checkpoint.com/solutions?id=sk93598)
* [sk106210 - Threat Emulation Appliances: TE100X, TE250X, TE1000X, TE2000X (SandBlast)](http://supportcontent.checkpoint.com/solutions?id=sk106210)
* [sk107333 - Support for CPU Level sandboxing on Threat Emulation appliances TE100X, TE250X, TE1000X, TE2000X](http://supportcontent.checkpoint.com/solutions?id=sk107333)
* [sk94326 - Threat Emulation Appliances: TE250, TE1000, TE2000](http://supportcontent.checkpoint.com/solutions?id=sk94326)
* [sk102309 - Threat Emulation support for Multiple Private Cloud Appliances](http://supportcontent.checkpoint.com/solutions?id=sk102309)
* [sk108553 - Mail Transfer Agent (MTA) - FAQ](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk108553)
* [sk109699 - ATRG: Mail Transfer Agent (MTA)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk109699)

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
