LinuxCommandLibrary

vt

VirusTotal command-line interface

TLDR

Scan file

$ vt scan file [file]
copy
Get file report
$ vt file [hash]
copy
Scan URL
$ vt scan url [https://example.com]
copy
Get URL report
$ vt url [url]
copy
Search
$ vt search "[query]"
copy
Download file
$ vt download [hash]
copy

SYNOPSIS

vt command [subcommand] [options] [args]

DESCRIPTION

vt is the official command-line interface for VirusTotal, the online service that analyzes files and URLs for malware using dozens of antivirus engines and security tools. It provides direct access to VirusTotal's scanning and intelligence capabilities from the terminal.
The tool can submit files and URLs for scanning, retrieve analysis reports by file hash or URL, search the VirusTotal database for known threats, and download samples for research. Results include detection verdicts from multiple antivirus engines, behavioral analysis data, and community reputation scores.
All operations require a VirusTotal API key, with rate limits depending on the account tier. The CLI supports both free and premium API features, making it useful for security analysts, incident responders, and automated threat detection workflows.

PARAMETERS

scan

Submit for scanning.
file
File operations.
url
URL operations.
search
Search VT.
download
Download file.
--apikey KEY
API key.

CAVEATS

API key required. Rate limits apply. Premium for more.

HISTORY

vt is the official CLI for VirusTotal, the online malware scanning service by Google.

SEE ALSO

curl(1), clamav(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community