IoC scanning and dataset inclusionAny IoC submitted or queried via the API will be scanned and added to the Google Threat Intelligence dataset, making it accessible to the community. Do not submit or query indicators containing sensitive, confidential, or personally identifiable information (PII).
Upload and analyse a file
File sizeIf the file to be uploaded is bigger than 32MB, please use the /files/upload_url endpoint instead which admits files up to 650MB.
Quota counts are not impacted if the submitted file is unique and has no prior record in the our database.
Password-Protected Archives and Documents
To upload and scan password-protected archives (.zip, .7z, .rar) or encrypted documents (.pdf, Microsoft Office files), pass the optional password multipart form parameter (a UTF-8 string up to 128 characters).
Google TI uses the supplied password to:
- Decrypt the archive and extract all inner files, indexing them under the bundled_files relationship.
- Analyze encrypted archives and documents in supported dynamic analysis sandboxes.
curl --request POST \
--url https://www.virustotal.com/api/v3/files \
--header "x-apikey: YOUR_API_KEY" \
--header "accept: application/json" \
--header "content-type: multipart/form-data" \
--form "file=@/path/to/archive.zip" \
--form "password=infected"