Skip to main content

Configure F5 BIG-IP VE ASM for Security for Storage

BIG-IP VE ASM is service platform from F5 Networks that provides speed, availability, and security for applications and networks.

This topic describes how to configure the F5 BIG-IP VE ASM platform to use it with GravityZone Security for Storage on VMware ESXi.

Overview

F5 BIG-IP VE ASM is a layer between users (clients) and the internet (web server) that can integrate Bitdefender Security Server as an ICAP server to scan requests from users.

big-14.png

The figure above describes the integration components:

  • Users are clients who make requests to Internet.

  • HTTP proxy server is the ICAP client, in this particular case F5 BIG-IP VE ASM.

  • ICAP server is the Bitdefender Security Server with ICAP scanning enabled.

  • Internet is a web server.

Requirements and prerequisites

For using GravityZone Security for Storage with F5 BIG-IP VE ASM, you need the following:

  • A VMware ESXi server deployed and configured.

  • A GravityZone environment with Bitdefender Security Server deployed and configured to use ICAP scanning. For details on how to install Bitdefender Security Server on VMware ESXi, refer to Install Security Server on an Ubuntu machine from XenServer, ESXi or AWS. For details on enabling ICAP scanning, refer to ???.

    You can use a single Security Server for testing purposes. In production we recommend you use two Security Servers to ensure availability and scanning load distribution.

  • A BIG-IP SE appliance deployed and configured. The following procedure contains several references to the F5 documentation and to other useful resources across the internet. Take your time to read them carefully to make sure everything is working as expected.

Deploy and configure BIG-IP VE ASM on VMware ESXi for ICAP scanning

The following procedure describes how to deploy and configure BIG-IP VE ASM on VMware ESXi and how the integrate the Bitdefender Security Server.

  1. Download the .OVA file of the BIG-IP VE appliance. For information regarding the version compatibility, refer to this matrix in the F5 documentation.

  2. Deploy the .OVA file of BIG-IP VE on a VMware ESXi host.

  3. Configure the .OVA file to use a single network interface controller (NIC). That means removing the internal, the external, and the hardware accelerated (HA) NICs.

    For information on how to change from multi-NICs to a single NIC, refer to the F5 documentation.

  4. Request a BIG-IP VE license. You need to use a valid email address for registration. You will receive the license key by email.

    If you plan to redeploy the BIG-IP VE appliance, the first step is to detach the license. For details, refer to F5 documentation.

  5. Log in and set up BIG-IP VE. For initial configuration, take into account these details:

    1. The default user is admin and the default password is also admin.

    2. First set up the hostname, the IP address, and the date.

    3. Enable Application Security Manager (ASM) from Resource Provisioning.

    4. Configure VLANs.

    For details, refer to this article from networkjutsu.com.

  6. Set up the Virtual Server and pool servers. Follow these steps:

    1. In BIG-IP VE ASM, go to Main menu > Security > Guided Configuration.

    2. Select Web Application Protection.

      big-1.png
    3. In Web Application Security Policy Properties:

      1. Set Security Policy Name.

      2. Set Enforcement Mode to Blocking. Leave the other settings as default.

        big-2.png
      3. Click Save > Next.

    4. In Virtual Server Properties:

      1. Under Virtual Server, select Create New.

      2. Enter an IP address and the port of your application.

      3. Under Security Logging Profile, select Log all requests.

      4. Under SSL Profile for Server Authentication, select Use Existing.

        big-3.png
      5. Click Save > Next.

    5. In Pool Properties:

      1. Select Create New.

      2. For Load Balancing Method, select Round Robin.

      3. Under Pool Servers, enter the IP address of the customer server, followed by port.

        big-4.png
      4. Click Finish. Wait until the settings are deployed.

  7. Integrate a Bitdefender Security Server with ICAP scanning enabled. Follow these steps:

    1. In the Main menu, under Security, go to Options > Application Security > Integrated Services > Anti-Virus Protection.

      big-5.png
    2. In the Integrated Services tab, for Server Host Name/IP Address enter the Bitdefender Security Server IP address. For Server Port Number, enter the port used by Bitdefender Security Server: 1344.

      big-6.png
    3. Click Save.

    4. To activate the security policy changes immediately, select Apply Policy.

    5. Go to Options > Application Security > Advanced Configuration > System Variables and do these operations:

      1. For virus_name_header, enter X-Infection-Found,X-Virus-ID,X-Violations-Found

      2. Connect over SSH to BIG-IP VE appliance and run: tmsh restart sys service asm

        big-7.png
  8. Configure antivirus settings. Follow these steps:

    1. Go to Application Security > Policy Building and select Learning and Blocking Settings.

      big-8.png
    2. Go to Policy Building Settings > Antivirus and select the check boxes for Learn, Alarm, and Block.

      big-9.png
    3. Click Save.

    4. To activate the security policy changes immediately, select Apply Policy.

    5. Go to Application Security > Integrated Services > Anti-Virus Protection and enable Inspect file uploads within HTTP requests.

      big-11.png
    6. Click Save.

    7. To activate the security policy changes immediately, click Apply Policy.

      To learn more about configuring the antivirus protection in F5 BIG-IP VE ASM, refer to this article.

  9. To view the application logs, in the Main menu, go to Security > Event Logs > Application > Requests.

    big-12.png

Test the integration

After configuring BIG-IP VE ASM to use GravityZone Security for Storage, follow these steps to test the integration:

  1. Make sure the Bitdefender Security Server has a GravityZone policy applied, with ICAP scanning enabled.

  2. Access your application and upload an infected file.

  3. Log in to BIG-IP VE ASM platform and check the Event Logs.

    big-13.png