Views:

Learn how to deploy your own Virtual Network Sensor with KVM, using Red Hat Enterprise Linux 9.2 as an example.

Virtual Network Sensor is a lightweight network sensor that scans your network activity and feeds network activity data to Trend Vision One and allows you to discover unmanaged assets and gain a holistic view of your attack surface. Before using the features of Network Security, you need to set up your Virtual Network Sensor and connect your sensor to Trend Vision One.
Important
Important
If the throughput exceeds 2000 Mbps, Trend Micro recommends configuring your Virtual Network Sensor using a PCI passthrough that is compliant with the following drivers: Broadcom tg3 and bnxt_en, and Intel i40e, igb, ixgbe, and e1000.
Note
Note
Before deploying the Virtual Network Sensor, ensure that you have adequate system resources and prepare the following:
  • KVM environment for hosting a virtual appliance (at least 8 GB RAM, 2 virtual CPUs, and 50 GB of disk space)
  • Root privileges
  • The destination folder for the Virtual Network Sensor instance (which may require administrator permission for access)
  • Virtual switch for the management port
  • Virtual switch for the data port
  • Console access on virt-manager or virt-viewer
  • Software requirements: libvirt version 8.0.0, QEMU version 6.2.0, and virt-install version 3.2.0

Procedure

  1. In the Red Hat Enterprise Linux 9.2 environment (KVM host), install the required software.
  2. On the KVM host CLI, ensure that you have root privileges and create your destination folder and the data and management ports.
  3. On the Trend Vision One console, go to Network SecurityNetwork InventoryVirtual Network Sensor.
  4. Click Deploy Virtual Network Sensor.
    The Virtual Network Sensor Deployment panel appears.
  5. Select KVM for the platform.
  6. Set the Admin password and confirm the password.
    The password must contain the following:
    • 12 to 32 characters
    • Both uppercase and lowercase characters
    • At least one number (0-9)
    • At least one special character: ~!`@#$%^&*()/_+=[]{}-\|<>',.?:;" or space
    Note
    Note
    This step is used to set the default admin password to access the Virtual Network Sensor command line interface after deployment.
  7. Select the Connection method.
    • Direct connection: the Virtual Network Sensor connects to Trend Vision One directly. Make sure the Virtual Network Sensor is able to connect to the internet when using this configuration.
    • Connect using a custom proxy: the Virtual Network Sensor connects to Trend Vision One through a third-party proxy. After choosing this method, configure the following fields:
      • Proxy address: Specify the IP address of the proxy.
      • Proxy port: Specify the connecting port of the proxy.
      • Proxy server requires authentication: (Optional) Select if the proxy requires authentication credentials.
      • User name: Specify the user name for the proxy credentials.
      • Password: Specify the password for the proxy credentials.
    • Connect using a Service Gateway as proxy: the Virtual Network Sensor connects to Trend Vision One through a Service Gateway. Select a Service Gateway to use for this method.
      Important
      Important
      The Virtual Network Sensor must be able to connect to a Service Gateway with the Forward Proxy Service configured and enabled. For more information, see Managing services in Service Gateway.
  8. Click Download Disk Image.
  9. Extract the disk image zip file.
  10. On the KVM host CLI, execute $ cp -a cacert.pem checksum checksum.p7 vns_deploy.sh vns_meta.iso \vns_system.qcow2 <destination_folder>/ to copy the files to the destination folder.
  11. Execute $ bash ./vns_deploy.sh --mgmt <mgmt_network> --data <data_network> to deploy Virtual Network Sensor.
    Your Virtual Network Sensor deploys and automatically connects to Network Inventory.
  12. To confirm that your Virtual Network Sensor has successfully deployed, go to Network SecurityNetwork InventoryVirtual Network Sensor on the Trend Vision One console to view information about your deployed Virtual Network Sensor.
    Tip
    Tip