Fortinet white logo
Fortinet white logo

Test Installation with a file scan

Test Installation with a file scan

To verify the configuration is successful, perform an on-demand file scan with a Windows VM clone.

To perform an on-demand file scan with a Windows VM clone
  1. On the FortiSandbox GUI, go to Scan Policy and Object > VM Settings and change Clone # to 1. Expand the clone number after vminit is completed. Click Apply to trigger the VM initialization.

  1. In a new CLI console window, check the VM clone initialization using the command: diagnose-debug vminit

  2. After VM is initialized, the Status of the VM in GUI will be In Use. Go to the Dashboard->Connectivity and Services to verify there is a green checkmark beside Custom VM.

  1. To associate file extensions to the custom VM, go to Scan Policy and Object> Scan Profile and click the VM Association tab.

  2. Test the installation:

    1. Go to Scan Job > File On-Demand > Submit File.

    2. Select the file, enable , skip all the static scan, enable and , select the VM just initialized, then click Submit.

  1. When the scan is finished, click the listed job then click the icon to view job details in File On-Demand page.

  1. (Optional) Interaction with a custom VM clone during scan:

    1. Go to Scan Job > File On-Demand or URL on-Demand and click Submit File or Submit File/URL.

    2. Enable Force to scan and Allow interaction.

    3. Select Force to scan inside the following VMs and select the custom VM.

    4. Click Submit.

    5. Go to Scan Policy and Object> VM Settings and click VM Screenshot.

    6. When the icon in the Interaction column is enabled, click the icon to establish an RDP tunnel with the Serial Number as password.

    7. Click Yes to manually start the scan process with VM Interaction.

    8. When the FortiSandbox tracer engine displays the PDF/Office sample, execute the exe sample or open the URL, etc…, you can click Yes to manually stop the scan process.

    9. When the scan is finished, go to the job details page to view the scan results.

Test Installation with a file scan

Test Installation with a file scan

To verify the configuration is successful, perform an on-demand file scan with a Windows VM clone.

To perform an on-demand file scan with a Windows VM clone
  1. On the FortiSandbox GUI, go to Scan Policy and Object > VM Settings and change Clone # to 1. Expand the clone number after vminit is completed. Click Apply to trigger the VM initialization.

  1. In a new CLI console window, check the VM clone initialization using the command: diagnose-debug vminit

  2. After VM is initialized, the Status of the VM in GUI will be In Use. Go to the Dashboard->Connectivity and Services to verify there is a green checkmark beside Custom VM.

  1. To associate file extensions to the custom VM, go to Scan Policy and Object> Scan Profile and click the VM Association tab.

  2. Test the installation:

    1. Go to Scan Job > File On-Demand > Submit File.

    2. Select the file, enable , skip all the static scan, enable and , select the VM just initialized, then click Submit.

  1. When the scan is finished, click the listed job then click the icon to view job details in File On-Demand page.

  1. (Optional) Interaction with a custom VM clone during scan:

    1. Go to Scan Job > File On-Demand or URL on-Demand and click Submit File or Submit File/URL.

    2. Enable Force to scan and Allow interaction.

    3. Select Force to scan inside the following VMs and select the custom VM.

    4. Click Submit.

    5. Go to Scan Policy and Object> VM Settings and click VM Screenshot.

    6. When the icon in the Interaction column is enabled, click the icon to establish an RDP tunnel with the Serial Number as password.

    7. Click Yes to manually start the scan process with VM Interaction.

    8. When the FortiSandbox tracer engine displays the PDF/Office sample, execute the exe sample or open the URL, etc…, you can click Yes to manually stop the scan process.

    9. When the scan is finished, go to the job details page to view the scan results.