This section provides an example for configuring APT defense with local sandbox inspection enabled.
As shown in Figure 1, the enterprise intranet connects to the Internet through the FW and router and has a local sandbox deployed. The local sandbox has a reachable route to the FW. The FW interworks with the local sandbox to send risky traffic identified by the FW to the local sandbox for detection. The FW periodically obtains detection results from the local sandbox and updates the list of malicious files or URLs in the cache based on the detection results. When subsequent traffic with the same features matches the malicious file or URL list, the specified action, such as block, is performed to protect users on the intranet from APT attacks.
Item |
Data |
|---|---|
Local sandbox |
Local sandbox information:
Profile size:
|
FW |
|
Set interface IP addresses and assign the interfaces to security zones.
Configure security policies so that the enterprise intranet users, local sandbox, and FW can properly communicate.
Configure malicious URL detection.
When this function is enabled, the device matches traffic against cached malicious URLs. If the traffic matches a malicious URL, the device blocks the URL, and the traffic does not need to be sent to the sandbox for inspection. If the traffic does not match a malicious URL, the traffic is sent to the sandbox for inspection.
Configure file reputation detection.
When this function is enabled, the device matches traffic against cached malicious files. If the traffic matches a malicious file, the device performs the specified action, and the traffic does not need to be sent to the sandbox for inspection. If the traffic does not match a malicious file, the traffic is sent to the sandbox for inspection.
Configure the protocol type, transfer direction, and type of files sent to the sandbox for inspection.



You can view the detailed detection information by clicking the proportion chart.

# interface GigabitEthernet0/0/1 undo shutdown ip address 10.3.0.1 255.255.255.0 # interface GigabitEthernet0/0/2 undo shutdown ip address 10.1.2.1 255.255.255.0 # interface GigabitEthernet0/0/3 undo shutdown ip address 1.1.1.1 255.255.255.0 # firewall zone trust set priority 85 add interface GigabitEthernet0/0/1 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/3 # firewall zone dmz set priority 50 add interface GigabitEthernet0/0/2 # sandbox default type FireHunter ip 10.1.2.2 port 5002 server-certificate huaweica.cer api-key %^%#f=m6Gr>@I,'B\BIZ)9z%\Kq|Ly&^Y3Ewc#$&#\p1%^%# linkage enable file-set EXE max-size 1024 file-set GZIP max-size 1024 file-set OFFICE max-size 1024 file-set PDF max-size 1024 file-set PICTURE max-size 200 file-set WEB max-size 200 # profile type aapt name sandbox_local description AAPT profile of local sandbox file-reputation enable malicious-url enable file-type BAT CLASS PE32 SWF DOC XLS PPT DOCX sandbox-type local # security-policy rule name policy_to_sandbox source-zone local destination-zone dmz action permit rule name policy_to_Internet source-zone trust destination-zone untrust profile aapt sandbox_local action permit # return