- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-21-2018 01:16 PM
I’ve been able to successfully submit files for analysis and file hashes for verdicts, that works fine, but I am now trying to submit a URL for a verdict, instead of a file. So I send this:
Submit Google Link to WF using API
curl -F 'apikey=<apikey>' -F 'link=https://www.google.com' 'https://wildfire.paloaltonetworks.com/publicapi/submit/link'
Response from WF:
<?xml version="1.0" encoding="UTF-8"?>
<wildfire>
<submit-link-info>
<url>https://www.google.com</url>
<sha256>ac6bb669e40e44a8d9f8f0c94dfc63734049dcf6219aac77f02edf94b9162c09</sha256>
<md5>8ffdefbdec956b595d257f0aaeefd623</md5>
</submit-link-info>
</wildfire>
I then try to get a verdict from WF
curl -F 'apikey=<apikey>' -F 'hash=8ffdefbdec956b595d257f0aaeefd623' 'https://wildfire.paloaltonetworks.com/publicapi/get/verdict'
Response from WF:
<?xml version="1.0" encoding="UTF-8"?>
<wildfire>
<get-verdict-info>
<sha256></sha256>
<verdict>-102</verdict>
<md5>8ffdefbdec956b595d257f0aaeefd623</md5>
</get-verdict-info>
</wildfire>
As you can see I get a “-102” response which means "unknown, cannot find sample record in the database". I've done this for multiple links, both HTTP and HTTPS over a number of days but always get the -102 verdict. Am I doing this correctly to get a verdict for a URL? I have opened a TAC case but they don't have any answers for me other than they'll get back to me and that it may take some time...
03-21-2018 02:41 PM
Hello,
I have also received a similar response from TAC regarding URL's or files submitted via a URL. What I do is double check with 3rd party sites such as virustotal or hybrid-analysis to see what they have to say about it as well. It's good to get second or thrid opinions.
Regards,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!