After cloud sandbox inspection is configured, the restored file is sent to the cloud sandbox connected to FW for inspection. The FW periodically obtains file inspection results from the cloud sandbox, updates the cached malicious file and malicious URL lists accordingly. If subsequent traffic matches the malicious file or malicious URL list, the block or alert action is performed to prevent APT attacks.
To use the cloud sandbox detection function, ensure that:
Protocol |
File Detection in the Upload Direction |
File Detection in the Download Direction |
Default Action |
|---|---|---|---|
HTTP |
Enable |
Enable |
Block |
HTTPS |
Enable |
Enable |
Block |
FTP |
Enable |
Enable |
Block |
SMTP |
Enable |
- |
Alert |
POP3 |
- |
Enable |
Alert |
IMAP |
Enable |
Enable |
Alert |
NFS |
Enable |
Enable |
Alert |
SMB |
Enable |
Enable |
Block |
Sandbox detection. The following table lists sandbox detection parameters.
Protocol |
Sandbox Inspection in the Upload Direction |
Sandbox Inspection in the Download Direction |
|---|---|---|
HTTP |
Enable |
Enable |
HTTPS |
Enable |
Enable |
FTP |
Enable |
Enable |
SMTP |
Enable |
- |
POP3 |
- |
Enable |
IMAP |
Enable |
Enable |
NFS |
Enable |
Enable |
SMB |
Enable |
Enable |
File Type: BAT, CLASS, PE32, MSI, HLP, JAR, DOC, RTF, XLS, PPT, PDF, SWF, VBS, DOCX, PPTX, XLSX, WPS, DPS, ET, RAR, ZIP, GZ, 7Z, CAB, BZIP2, TAR, EML, ELF, MSP, VSD, APK, MST. Sandbox Type: Cloud sandbox. |
||
You can run the display profile type aapt name default command on the CLI to view the configuration information about the default profile.
The FW supports user-defined APT defense profiles. You can configure the preceding functions and parameters as required.
Set the country where the FW device resides.
country country-code
If you set the country where the FW resides before enabling the cloud sandbox function, the system schedules could sandbox services based on the configured country when the cloud sandbox function is enabled.
Configure the account name for the FW to log in to the cloud in the system view.
cloud account-name account-name
Set cloud sandbox parameters in the cloud sandbox view.
Enable the cloud sandbox interworking function.
After the cloud sandbox component and license are successfully loaded, the cloud sandbox interworking function is enabled by default. After you disable the cloud sandbox interworking function, you can still perform other configurations in the cloud sandbox view. However, these configurations take effect only after you run this command to enable the cloud sandbox interworking function.
Specify the deployment region for the cloud sandbox.
server deployment-region region-name
When the cloud sandbox function is enabled, the system schedules cloud sandbox services based on the country configured using the country (system view) command and the deployment region configured using the server deployment-region command. If the country where the device resides is configured but the deployment region of the cloud sandbox is not configured, the system schedules cloud sandbox services based on the country. If the deployment region of the cloud sandbox is configured but the country where the device resides is not configured, the system schedules cloud sandbox services based on the deployment region. If both the country where the device resides and the deployment region of the cloud sandbox are not configured, the system fails to schedule cloud sandbox services.
ca-certificate certificate-file-name
By default, the device uses the preset ca certificate (default_ca.cer) to interwork with the cloud sandbox through HTTPS.
local-certificate certificate-file-name
By default, the device uses the preset local certificate to interwork with the cloud sandbox through HTTPS.
Configure sizes of files sent to the cloud sandbox.
file-set { exe | office | gzip | pdf } max-size max-file-size
The FW filters files of various types based on their sizes. Oversized files are not sent to the cloud sandbox for detection, reducing the load on the sandbox.
Configure the description of the APT defense profile in the APT defense profile view.
description description
A description helps identify the function of a specific profile.
Configure the file protocol and file transfer direction subject to sandbox inspection.
sandbox-detect protocol-type direction { both | download | upload }
Configure types of files that need to be sent to the sandbox for detection.
file-type { name &<1-8> | all }
The cloud sandbox does not support image files, web page files, media files, or other files (including CMD, VBE, RB, PY, POWERSHELL, JSE, WSF, LNK, TXT, and PSD files).
Set the sandbox type to the cloud sandbox.
sandbox-type cloud
profile aapt name