What type of compressed files are supported?

Google Threat Intelligence (Google TI) supports analysis of compressed archives and password-protected files up to the standard 650 MB upload limit.

Supported Formats

Password-Protected Archives

  • ZIP (.zip): Standard and AES-encrypted ZIP archives.
  • 7-Zip (.7z): Password-protected 7-Zip archives, including archives with encrypted headers and filenames.
  • RAR (.rar): Password-protected RAR archives.

Password-Protected Documents

  • PDF (.pdf): Password-protected and encrypted PDF documents.
  • Modern Office OpenXML (.docx, .xlsx, .pptx): Password-protected Office OpenXML documents.
  • Legacy Microsoft Office (.doc, .xls, .ppt): Password-protected legacy Microsoft Office documents.

Other Compressed Formats

  • Additional archive formats such as .tar, .gz, .bz2, and .xz.

Web Interface Submissions

When selecting a file for upload in the web interface (both in standard scanning and in Private Scanning), the interface prompts for a decryption password if password protection is detected before initiating the upload. You can submit password-protected archives and documents up to the standard 650 MB upload limit.

Multi-File Extraction & Bundle Analysis

When a password is provided—or when an archive utilizes a standard known password such as infected—Google TI extracts all inner files from the archive:

  • Public Scanning: Extracted inner files are scanned individually across static and dynamic analysis engines and linked under the Relations tab of the parent archive report through the bundled_files relationship.
  • Private Scanning: Extracted inner files are staged privately and listed under the Relations tab of the parent report via bundled_files as files you may choose to analyze.
  • Container metadata (such as type, num_children, uncompressed_size, extensions, and file_types) is cataloged in the bundle_info attribute.

Dynamic Sandbox Detonation

Supplied decryption passwords are used in supported dynamic analysis sandboxes to decrypt password-protected archives and documents, execute extracted payloads, and record behavioral indicators such as network communications, dropped files, and process trees.

API Integration

When submitting or rescanning password-protected archives and encrypted documents via the API, provide the decryption password using the optional password parameter (a UTF-8 string up to 128 characters):

  • Standard Scanning:
    • POST /files: Pass password as a multipart form field.
    • GET /files/upload_url: Supplying password as a multipart/form-data field in the subsequent POST upload step is recommended to avoid exposing passwords in URL query strings (GET ?password= is also supported).
    • POST /files/{id}/analyse: Pass password as a query parameter to re-analyse existing files.
  • Private Scanning:

Did this page help you?