https://github.com/malice-plugins/sophos
Malice Sophos Plugin
https://github.com/malice-plugins/sophos
antivirus docker malice plugin sophos
Last synced: about 1 month ago
JSON representation
Malice Sophos Plugin
- Host: GitHub
- URL: https://github.com/malice-plugins/sophos
- Owner: malice-plugins
- License: mit
- Created: 2016-11-12T02:59:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T22:45:14.000Z (about 6 years ago)
- Last Synced: 2025-03-21T22:11:20.522Z (2 months ago)
- Topics: antivirus, docker, malice, plugin, sophos
- Language: Go
- Size: 3.19 MB
- Stars: 10
- Watchers: 5
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# malice-sophos
[](https://circleci.com/gh/malice-plugins/sophos) [](http://doge.mit-license.org) [](https://hub.docker.com/r/malice/sophos/) [](https://hub.docker.com/r/malice/sophos/) [](https://hub.docker.com/r/malice/sophos/)
Malice Sophos AntiVirus Plugin
> This repository contains a **Dockerfile** of [Sophos](https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx) for [Docker](https://www.docker.io/)'s [trusted build](https://hub.docker.com/r/malice/sophos/) published to the public [DockerHub](https://index.docker.io/).
### Dependencies
- [ubuntu:bionic (_84.1 MB_\)](https://hub.docker.com/_/ubuntu/)
## Installation
1. Install [Docker](https://www.docker.io/).
2. Download [trusted build](https://hub.docker.com/r/malice/sophos/) from public [DockerHub](https://hub.docker.com): `docker pull malice/sophos`## Usage
```
docker run --rm malice/sophos EICAR
```### Or link your own malware folder:
```bash
$ docker run --rm -v /path/to/malware:/malware:ro malice/sophos FILEUsage: sophos [OPTIONS] COMMAND [arg...]
Malice Sophos AntiVirus Plugin
Version: v0.1.0, BuildTime: 20180903
Author:
blacktop -Options:
--verbose, -V verbose output
--elasticsearch value elasticsearch url for Malice to store results [$MALICE_ELASTICSEARCH_URL]
--table, -t output as Markdown table
--callback, -c POST results to Malice webhook [$MALICE_ENDPOINT]
--proxy, -x proxy settings for Malice webhook endpoint [$MALICE_PROXY]
--timeout value malice plugin timeout (in seconds) (default: 60) [$MALICE_TIMEOUT]
--help, -h show help
--version, -v print the versionCommands:
update Update virus definitions
web Create a Sophos scan web service
help Shows a list of commands or help for one commandRun 'sophos COMMAND --help' for more information on a command.
```This will output to stdout and POST to malice results API webhook endpoint.
## Sample Output
### [JSON](https://github.com/malice-plugins/sophos/blob/master/docs/results.json)
```json
{
"sophos": {
"infected": true,
"result": "EICAR-AV-Test",
"engine": "5.27.0",
"database": "5.35",
"updated": "20170123"
}
}
```### [Markdown](https://github.com/malice-plugins/sophos/blob/master/docs/SAMPLE.md)
---
#### Sophos
| Infected | Result | Engine | Updated |
| -------- | ------------- | ------ | -------- |
| true | EICAR-AV-Test | 5.27.0 | 20170123 |---
## Documentation
- [To write results to ElasticSearch](https://github.com/malice-plugins/sophos/blob/master/docs/elasticsearch.md)
- [To create a Sophos scan micro-service](https://github.com/malice-plugins/sophos/blob/master/docs/web.md)
- [To post results to a webhook](https://github.com/malice-plugins/sophos/blob/master/docs/callback.md)
- [To update the AV definitions](https://github.com/malice-plugins/sophos/blob/master/docs/update.md)## Issues
Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to [file an issue](https://github.com/malice-plugins/sophos/issues/new).
## CHANGELOG
See [`CHANGELOG.md`](https://github.com/malice-plugins/sophos/blob/master/sophos/CHANGELOG.md)
## Contributing
[See all contributors on GitHub](https://github.com/malice-plugins/sophos/graphs/contributors).
Please update the [CHANGELOG.md](https://github.com/malice-plugins/sophos/blob/master/sophos/CHANGELOG.md) and submit a [Pull Request on GitHub](https://help.github.com/articles/using-pull-requests/).
### License
MIT Copyright (c) 2016 **blacktop**