Configure the Golden Image for Non-Persistent VDI
To avoid starting your VDI with a cache of unknown executable files, you can use the Traps VDI tool to request verdicts for all known PEs on your golden image. The Traps VDI tool is available on the Customer Support Portal (UpdatesSoftware UpdatesTraps Endpoint Protection Agent).
There are two versions of the VDI tool: 32-bit and 64-bit. Use the version of VDI tool that matches the VDI architecture.
- Before you begin:
- Install the Traps Agent for Windows and any software
that you plan to have on the VDI instances.If after completing the process to configure the golden image, you need to install additional software, you must recreate the WildFire cache file using the Traps VDI tool. This ensures that Traps obtains verdicts for the new software.
- Verify that the Traps agent on the golden image can
access the ESM Server.On the Traps agent, click Check In Now to obtain the latest verdicts from the ESM Server. If the ESM Server is reachable, the status on the console displays Connected.
- Use the Cytool for Windows to stop Traps
services (including local analysis) on the endpoint.Note that the Traps Reporting Service remains running after you stop services.
- Collect all PE files available on the golden image
using Sigcheck. This tool creates a file for you to use as input
for the Traps VDI tool.
- Download Sigcheck (a Windows Sysinternals utility) from https://technet.microsoft.com/en-us/sysinternals/bb897441.aspx.
- Open a command prompt as an administrator and navigate to the directory to which you downloaded Sigcheck.
- Run Sigcheck recursively to find executable files regardless of extension and output the hashes in comma-separated format to a folder and file name of your choice.The Sigcheck parameters are subject to change. To display available usage guidelines, run the sigcheck command without options.The following examples show the commands you can use in two different versions of Sigcheck:Sigcheck version 2.54
sigcheck /s /c /e /h C:\ > C:\temp\outfilename.csvSigcheck version 2.2
sigcheck /accepteula -s -h -e -c C:\ > C:\temp\outfilename.csv
- Install the Traps Agent for Windows and any software that you plan to have on the VDI instances.
- Use the Traps VDI Tool to obtain verdicts for all PE
files To ensure that the Traps VDI tool can obtain verdicts for all unknown files, we recommend that you verify the ESM Server can access WildFire (https://wildfire.paloaltonetworks.com).The Traps VDI tool communicates with the ESM Server to request any verdicts the server has stored in its server cache. The Traps VDI tool then creates a WildFire cache which can contain any of the following verdicts for each hash: malicious, benign, or unknown. A hash has an unknown verdict if the ESM Server has not submitted the sample to or received an updated verdict from WildFire.
- Open the Traps VDI tool.
- Configure the following settings:
- ESM server address—IP address or hostname of the ESM Server used for checking the hashes. This server must be able to connect to WildFire.
- ESM server SSL binding—Set the value to True if the server uses an SSL binding (default is False).
- Input file—Path of the comma-separated value (CSV) file created by the Sigcheck tool that contains all the hashes.
- Password—Enter the agent's uninstall password. This password is required to read data from protected locations when Service Protection is enabled.
- ESM server port—Port number for the ESM server (default is 2125).
- Hash bulk size—Hashes will be reported to the server in fragments of this size (default is 300; range is 1 to 500).
- Tool timeout in hours—Time in hours to wait for the Traps VDI tool to finish obtaining verdicts. If the Traps VDI tool exceeds the timeout, it stops generating the WildFire cache (default is 24 hours).
- Wait for WildFire verdicts—Select False to skip uploading unknown hashes and creating the cache file.
- WildFire verdicts check interval—Time in minutes between inquiries to check for new verdicts (default is 10).
- Write malware to cache—Select True to write malware verdicts to the cache file (default is False).
- Click Start.The Traps VDI tool uses the results of the verdict lookup to create the WildFire cache of verdicts.
- Wait two hours for the ESM Server to query WildFire for any unknown verdicts and then proceed to the next step. During this time, the ESM Server populates the server cache with any verdicts for hashes WildFire has previously analyzed.
- Submit any remaining unknown executable files for analysis.The Traps VDI tool uploads the files to the ESM Server which then sends the files to WildFire for inspection. After the ESM Server submits the samples, the server queries WildFire every 10 minutes for updated verdicts. The entire process can take up to 24 hours to obtain verdicts for all unknown files.
- Open the Traps VDI tool.
- Change the Wait for WildFire verdicts setting to True. This setting enables the Traps VDI tool to send any remaining unknown executable files and wait for the WildFire verdict.
- Click Start.After the verdict lookup is complete, the Traps VDI tool recreates the WildFire cache containing the hashes and their verdicts.
- Review any PE files that WildFire determined to be malicious.
- From the ESM Console, go to the PoliciesMalwareHash Control page.
- Use the Hash Control search conditions to identify malware detected on the golden image:
- Perform one of the following actions for each malicious
- Remove the malicious PE file from the golden image.
- If you believe the WildFire verdict is incorrect:
- Override the verdict for the PE file on the Hash Control page of the ESM Console.
- Ensure that the Traps agent receives any verdict overrides. To do this, run the Traps VDI tool with the Wait for WildFire verdicts set to True. This enables the Traps VDI tool to obtain the changed verdicts from the ESM Server. This step typically finishes within ten minutes.
- Configure the golden image as a non-persistent VDI using
the Traps VDI tool.This ensures that the agent on each spawned machine registers with the ESM as a new agent. This also ensures the ESM revokes licenses for the VDI when the session is inactive or ends.
- On the golden image, open the Traps VDI tool.
- Select MenuMark as VDI.
- Enter the Traps uninstall password and click Mark
as VDI.The Traps VDI tool identifies the machine in the Windows registry as a non-persistent VDI.
Set Up a Non-Persistent VDI
Set Up a Non-Persistent VDI To set up a non-persistent virtual machine, you must configure a template policy known as a golden image. The settings ...
Traps VDI Tool CLI
Traps VDI Tool CLI The Traps VDI Tool requests verdicts for all the PE files detected on the golden image and outputs the verdicts to ...
Verdict Caches Traps stores hashes and the corresponding Verdicts for all executable files that open on the endpoint in its local cache . The local ...
VDI Installation Considerations
VDI Installation Considerations Optimize the default session policy on the VDI test pool to assure stable session spawning when the VDI is recompiled. Every new ...
Tune and Test the VDI Policy
Tune and Test the VDI Policy After you configure the golden image, tune and test the policy using the following workflow. Fine-tune the exploit and ...
VDI Modes A VDI environment can run in the following modes: Non-Persistent VDI Mode Persistent VDI Mode Non-Persistent VDI Mode In non-persistent VDI mode, each ...
WildFire Integration WildFire is the Palo Alto Networks sandbox solution for analyzing unfamiliar files—including unknown executable files. WildFire issues verdicts for all scrutinized files: benign ...
Malware Protection Flow
Malware Protection Flow To protect the endpoint from malicious and unknown executable files, the malware prevention engine employs four methods of protection: Phase 1: Evaluation ...
ESM Forwarding The Endpoint Security Manager (ESM) forwards unknown samples for in-depth analysis to the WildFire. You can integrate your ESM environment with either the ...