Get a Malware Test File (WildFire API)
Table of Contents
Expand all | Collapse all
-
- Get a WildFire Verdict (WildFire API)
- Get Multiple WildFire Verdicts (WildFire API)
- Get a List of Samples with Changed WildFire Appliance Verdicts (WildFire API)
- Get a Sample (WildFire API)
- Get a Packet Capture (WildFire API)
- Get a WildFire Analysis Report (WildFire API)
- Get a Malware Test File (WildFire API)
- Get URL Web Artifacts
- WildFire API Error Codes
Get a Malware Test File (WildFire API)
Get a malware PE, MacOSX, or APK test file, which you
can use to test end-to-end WildFire sample processing. For details
on the sample file, see Test a Sample Malware File.
Unlike
other WildFire API resources, the /testresources
do not require an API key for authentication. It also is not available
on the WildFire appliance.
Resource
/test
Request Parameters
Use the following form
parameters when requesting a sample:
Parameters | Description | Example |
---|---|---|
| (Required) Test
file type | Example:
|
| Example:
| |
| Example:
| |
| Example:
|
Example Request
Make a GET request to the /test resource with the file type you want to retrieve. Use the -JO option to retain the Content-Disposition filename, as shown in the following cURL command example:curl -JO 'https://wildfire.paloaltonetworks.com/publicapi/test/pe'
The
response saves the malware test file to your local system. Each
time you download the test file, it has a different SHA-256 hash
value.