Web example: Configuring APT defense

Network configuration

As shown in Figure 1, a security gateway device is deployed at the border of the enterprise network. A sandbox is deployed in the enterprise network. The sandbox and device are reachable to each other. Configure the collaboration between the device and the sandbox to protect the internal users against APT attacks.

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on E9671 of the M9000-X06 device.

Restrictions and guidelines

To block the APT attacks detected by the APT defense feature, you must configure the anti-virus feature. When the subsequent malicious traffic passes through the device, the device can identify the application layer protocol of the malicious traffic and take actions specified in the anti-virus profile on the malicious traffic.

Procedure

  1. Assign IP addresses to interfaces and add the interfaces to security zones:

# On the top navigation bar, click Network.

# From the navigation pane, select Interface Configuration > Interfaces.

# Click the Edit icon for GE 1/0/1.

# In the dialog box that opens, configure the interface:

  1. Select the Trust security zone.

  1. Click the IPv4 Address tab, and then enter the IP address and mask length of the interface. In this example, use 192.168.1.1/24.

  1. Use the default settings for other parameters.

  1. Click OK.

# Add GE 1/0/2 to the Untrust security zone and set its IP address to 20.1.1.1/24 in the same way you configure GE 1/0/1.

# Add GE 1/0/3 to the DMZ security zone and set its IP address to 192.168.33.1/24 in the same way you configure GE 1/0/1.

  1. Configure settings for routing:

This example configures a static route. If dynamic routes are used, configure a routing protocol.

# On the top navigation bar, click Network.

# From the navigation pane, select Routing > Static Routing.

# On the IPv4 Static Routing tab, click Create.

# In the dialog box that opens, create an IPv4 static route:

# Click OK.

  1. Configure the collaboration between the device and the sandbox:

# On the top navigation bar, click Objects.

# From the navigation pane, select APP Security > APT Defense > Sandbox.

Figure 2 Configuring the sandbox

  1. Configure an APT defense profile.

# On the top navigation bar, click Objects.

# From the navigation pane, select APP Security > APT Defense > Profile.

# Click Create.

# In the dialog box that opens, configure APT defense profile apt1 and then click OK.

Figure 3 Creating an APT defense profile

 

  1. Configure an anti-virus profile. (Details not shown.)

To block packets, use the APT defense feature in collaboration with the anti-virus feature. When you configure an anti-virus profile, set the action to Block for specific protocols as needed.

This example uses the default anti-virus profile default.

  1. Configure security policies:

# On the top navigation bar, click Policies.

# From the navigation pane, select Security Policies > Security Policies.

# Click Create, and then click Create a policy.

# In the dialog box that opens, configure a security policy:

# Click OK.

# Create security policy trust-untrust in the same way you create security policy untrust-trust:

# Click OK.

# Create security policy local-dmz in the same way you create security policy untrust-trust:

# Click OK.

# Create security policy dmz-local in the same way you create security policy untrust-trust:

# Click OK.

  1. Activate the security policy configuration:

# On the Security Policies > Security Policies page, click Submit to make the anti-virus profile take effect.

# Click Activate to immediately activate acceleration for the security policies.

  1. Enable the log collection feature:

# On the top navigation bar, click System.

# From the navigation pane, select Log Settings > Basic Settings.

# Click the Storage Space Settings tab.

# Select the check box next to sandbox-log | log to enable log collection for sandbox logs.

Verifying the configuration

Verify that the device can collaborate with the sandbox and anti-virus feature to protect the internal users against APT attacks. To view sandbox logs, click Monitor on the top navigation bar, and then select Security Logs > Sandbox Logs from the navigation pane.