VirusTotal is an agent that scans for viruses in a file using the VirusTotal public API.
This repository is an implementation of the VirusTotal agent.
To perform your first scan, simply run the following command.
oxo scan run --install --agent agent/ostorlab/virustotal file malware.exe
This command will download and install agent/ostorlab/virustotal
and targets the file malware.exe
.
For more information, please refer to the OXO Documentation
Agent VirusTotal can be installed directly from the oxo agent store or built from this repository.
oxo agent install agent/ostorlab/virustotal
You can then run the agent with the following command:
oxo scan run --agent agent/ostorlab/virustotal file malware.exe
- To build the virustotal agent you need to have oxo installed in your machine. if you have already installed oxo, you can skip this step.
pip3 install ostorlab
- Clone this repository.
git clone https://github.com/Ostorlab/agent_virus_total.git && cd agent_virus_total
- Build the agent image using oxo cli.
ostortlab agent build --file=ostorlab.yaml
You can pass the optional flag --organization
to specify your organisation. The organization is empty by default.
- Run the agent using one of the following commands:
- If you did not specify an organization when building the image:
oxo scan run --agent agent//virustotal file malware.exe
- If you specified an organization when building the image:
oxo scan run --agent agent/[ORGANIZATION]/virustotal file malware.exe