Optional: Using a custom VM on AWS
FortiSandbox AWS supports custom VMs. You can provide a VHD image of a custom VM and the FortiSandbox firmware can load the VM image and use it for sample analysis.
For information on setting up a custom VM on AWS, see the custom VM image section in the FortiSandbox Administration Guide to do the following:
- Create a custom VHD image using virtualization software such as VirtualBox.
- Prepare the OS installation package.
- Install software and components on the custom VM image.
- Set up the VM image environment.
Preparing the network interface for custom VM
- Create a network interface under
private_subnet
(10.0.1.x) and assign a private IP address. - Attach this network interface to FortiSandbox AWS.
- Reboot the FortiSandbox instance.
- Go to System > Interfaces to verify that the network interface is attached.
Installing a custom VM using CLI
Convert the saved pem
file which you downloaded while creating the key pair to a ppk
file.
If you did not choose the without key pair option, log in using <InstanceID>
as the password.
|
Do not use the |
To install a custom VM on AWS:
- Go to the FortiSandbox firmware CLI.
- Import the VHD image using the CLI command
vm-customized
.For more information about the
vm-customized
command, see the FortiSandbox CLI Reference Guide in the Fortinet Document Library. - In the FortiSandbox GUI, go to Scan Policy and Object > VM Settings and change Clone # to 1 or higher.
- In a new CLI window, check the VM clone initialization using the
diagnose-debug vminit
command. - In the FortiSandbox GUI, go to the Dashboard to verify there is a green checkmark beside Windows VM.
- To associate file extensions to the custom VM, go to Scan Policy and Object> Scan Profile to the VM Association tab.
Test the installation
- Go to Scan Job > File On-Demand > Submit File.
- Select the file and click Submit. For example, select
Sample.pdf
.If the file you send to FortiSandbox is not harmful, the rating is Clean.
- When the scan is finished, click the View File icon to view job details.
Interaction with a custom VM clone during scan
- Go to Scan Job > File On-Demand or URL on-Demand and click Submit File or Submit File/URL.
- Enable Force to scan the file inside VM or Force to scan the url inside VM.
- Select Force to scan inside the following VMs and select the custom VM.
- Click Submit.
- Go to Scan Policy and Object> VM Settings and click VM Screenshot.
- When the icon in the Interaction column is enabled, click the icon to establish an RDP tunnel.
- Click Yes to manually start the scan process with VM Interaction.
- When the FortiSandbox tracer engine displays the PDF sample, you can click Yes to manually stop the scan process.
- When the scan is finished, go to the job details page to view the scan results.