Advanced malware sandbox (WildFire) lets you protect your network against unknown, file-based threats and malware. To enable Advanced malware sandbox in your network, you must set up multiple Cloud Next Generation Firewall components, including firewall endpoints, security profiles, and security profile groups. This document provides a high-level workflow that describes how to configure these components and enable Advanced malware sandbox.
To learn more about Advanced malware sandbox, see Advanced malware sandbox overview.
Required roles
Identity and Access Management (IAM) roles govern the actions for configuring and enabling Advanced malware sandbox. The following table describes the roles that are necessary for each step:
| Ability | Necessary role |
|---|---|
| Create a firewall endpoint and a firewall endpoint association for a Virtual Private Cloud (VPC) network. | To perform this task, ensure that you have one of the following roles:
|
| Create a Advanced malware sandbox security profile, a threat prevention security profile, and a security profile group | Security Profile Admin (roles/networksecurity.securityProfileAdmin) at either the project level (Preview) or organization level.This role includes the following required permissions:
|
| Create a hierarchical firewall policy and its rules | Compute Organization Firewall Policy Admin (roles/compute.orgFirewallPolicyAdmin). You must have this role to create a hierarchical firewall policy. You must grant the role on the resource where you want to create the policy. In addition, you must have this role to create a rule in a hierarchical firewall policy. You must grant the role on the resource containing the policy or on the policy itself. The role includes the following required permissions:
|
| Associate a hierarchical firewall policy with an organization or folder | To perform this task, ensure that you have one of the following roles:
|
| Create a global network firewall policy and its rules | Compute Security Admin (roles/compute.securityAdmin)You must have this role to create a global network firewall policy. You must grant the role on the project where you want to create the policy. In addition, you must have this role to create a rule in a global network firewall policy. You must grant the role on the project containing the policy or on the policy itself. The role includes the following required permissions:
|
| Associate a global network firewall policy with a VPC network | Compute Network Admin (roles/compute.networkAdmin)This role includes the following required permissions:
|
| Create a CA pool | CA Service Operation Manager (roles/privateca.caManager)If you use Transport Layer Security (TLS) inspection, you must have this role to create a Certificate Authority (CA) pool. |
| Create a TLS inspection policy | To perform this task, ensure that you have one of the following roles:
|
Configure Advanced malware sandbox without TLS inspection
To configure Advanced malware sandbox without Transport Layer Security (TLS) inspection in your network, do the following:
Accept the Advanced malware sandbox EULA
Before you enable Advanced malware sandbox on endpoints, you must review and accept the end-user license agreement (EULA) on the billing project. You can accept the EULA when you create or update an endpoint.
For more information, see Create a firewall endpoint.
Create an Advanced malware sandbox security profile
Create an Advanced malware sandbox security profile of type
WILDFIRE_ANALYSISand specify the types of files to submit for analysis and the traffic direction (upload or download).For more information, see Create an Advanced malware sandbox security profile.
Create a threat prevention security profile
A threat prevention security profile is required when you use an Advanced malware sandbox security profile in a group. Create a threat prevention security profile of type
THREAT_PREVENTION.For more information, see Create a threat prevention security profile.
Create a security profile group
Add the Advanced malware sandbox and threat prevention security profiles to the security profile group.
For more information, see Create a security profile group.
Create a firewall endpoint with Advanced malware sandbox enabled
Create a firewall endpoint. In the Advanced configuration section, select the Enable Advanced malware sandbox (WildFire) checkbox.
For more information, see Create a firewall endpoint.
Associate the firewall endpoint with your VPC networks
To enable Advanced malware sandbox, associate the firewall endpoint with your VPC networks. Ensure that your workloads run in the same zone as the firewall endpoint.
A firewall endpoint with jumbo frame support can accept packets only up to 8,500 bytes. Alternatively, a firewall endpoint without jumbo frame support can accept packets only up to 1,460 bytes. If you need Advanced malware sandbox, we recommend that you configure the associated VPC networks to use the maximum transmission unit (MTU) limits of 8,500 bytes and 1,460 bytes. For more information, see Supported packet size.
For more information, see Create firewall endpoint associations.
Configure and apply Advanced malware sandbox to your network traffic
Create a global or hierarchical firewall policy rule with the
apply_security_profile_groupaction. Specify your security profile group. Ensure that the firewall policy is associated with the same VPC network as the workloads to inspect.For more information, see Create hierarchical firewall policies and rules and Create global network firewall policies and rules.
Configure Advanced malware sandbox with TLS inspection
To configure Advanced malware sandbox with TLS inspection in your network, do the following:
Accept the Advanced malware sandbox EULA
Before you enable Advanced malware sandbox on endpoints, you must review and accept the EULA on the billing project. You can accept the EULA when you create or update an endpoint.
For more information, see Create a firewall endpoint.
Create an Advanced malware sandbox security profile
Create an Advanced malware sandbox security profile of type
WILDFIRE_ANALYSISand specify the types of files to submit for analysis and the traffic direction (upload or download).For more information, see Create an Advanced malware sandbox security profile.
Create a threat prevention security profile
A threat prevention security profile is required when you use an Advanced malware sandbox security profile in a group. Create a threat prevention security profile of type
THREAT_PREVENTION.For more information, see Create a threat prevention security profile.
Create a security profile group
Add the Advanced malware sandbox and threat prevention security profiles to the security profile group.
For more information, see Create a security profile group.
Create a firewall endpoint with Advanced malware sandbox enabled
Create a firewall endpoint. In the Advanced configuration section, select the Enable Advanced malware sandbox (WildFire) checkbox.
For more information, see Create a firewall endpoint.
Associate the firewall endpoint with your VPC networks
To enable Advanced malware sandbox, associate the firewall endpoint with your VPC networks. Ensure that your workloads run in the same zone as the firewall endpoint.
A firewall endpoint with jumbo frame support can accept packets only up to 8,500 bytes. Alternatively, a firewall endpoint without jumbo frame support can accept packets only up to 1,460 bytes. If you need Advanced malware sandbox, we recommend that you configure the associated VPC networks to use the maximum transmission unit (MTU) limits of 8,500 bytes and 1,460 bytes. For more information, see Supported packet size.
For more information, see Create firewall endpoint associations.
Create and configure resources to inspect encrypted traffic
Create a CA pool
A CA pool is a collection of CAs with a common certificate issuance policy and IAM policy. A regional CA pool must exist before you can configure TLS inspection.
For more information, see Create a CA pool.
Create a root CA
To use TLS inspection, you must have at least one root CA. The root CA signs an intermediate CA, which then signs all leaf certificates for the clients. For more information, see the
gcloud privateca roots createcommand reference.Grant permissions to the Network Security service agent
Cloud NGFW requires the Network Security service agent to generate intermediate CAs for TLS inspection. The service agent needs permissions to request certificates for the CA pool.
For more information, see Create a service account.
Create a regional TLS inspection policy
A TLS inspection policy specifies how to intercept encrypted traffic. A regional TLS inspection policy contains the configuration settings for TLS inspection.
For more information, see Create a TLS inspection policy.
Add a TLS inspection policy to a firewall endpoint association
To add the TLS inspection policy to a firewall endpoint association, see Create firewall endpoint associations.
Configure and apply Advanced malware sandbox to your network traffic
To configure Advanced malware sandbox, create a global network firewall policy or a hierarchical firewall policy with Layer 7 inspection.
In a new or existing global firewall policy, add a rule with the
apply_security_profile_groupaction. Specify the name of the security profile group that you created previously. Ensure that the firewall policy is associated with the same VPC network as the workloads to inspect.For more information, see Create a global network firewall policy and Create a rule.
In a new or existing hierarchical firewall policy, add a rule with the
apply_security_profile_groupaction. Ensure that the firewall policy is associated with the same VPC network as the workloads to inspect.For more information, see Create a rule.
Upgrade an existing firewall endpoint to enable Advanced malware sandbox
If you have already deployed Cloud Next Generation Firewall Enterprise endpoints in your network with active threat prevention security profiles and security profile groups, do the following to configure and enable Advanced malware sandbox:
Accept the Advanced malware sandbox EULA
Review and accept the Advanced malware sandbox EULA on the billing project for your endpoints.
Create an Advanced malware sandbox security profile
Create an Advanced malware sandbox security profile of type
WILDFIRE_ANALYSISand define the file submission rules, custom protocol overrides, or threat overrides. For more information, see Create an Advanced malware sandbox security profile.Update your security profile group
Add the new Advanced malware sandbox security profile to your security profile group. The security profile group must contain a threat prevention profile. For more information, see Update a security profile group.
Enable Advanced malware sandbox on the firewall endpoint
Update the firewall endpoint and select the Enable Advanced malware sandbox (WildFire) checkbox in the Advanced configuration section for the zonal endpoint. For more information, see Update a firewall endpoint.
What's next
- Advanced malware sandbox overview
- Security profile overview
- Security profile group overview
- Firewall endpoint overview