malice-plugins / archive

Malice Zip/Compressed File Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

malice-zip (WIP)

Circle CI License Docker Stars Docker Pulls Docker Image

Malice Zip/Compressed File Plugins

This repository contains a Dockerfile of the malice plugin malice/zip.

Dependencies

Installation

  1. Install Docker.
  2. Download trusted build from public DockerHub: docker pull malice/zip

Usage

docker run --rm -v /path/to/rules:/rules:ro malice/zip FILE

Or link your own malware folder

$ docker run -v /path/to/malware:/malware:ro -v /path/to/rules:/rules:ro malice/zip FILE

Usage: zip [OPTIONS] COMMAND [arg...]

Malice Zip Plugin

Version: v0.1.0, BuildTime: 20160214

Author:
  blacktop - <https://github.com/blacktop>

Options:
  --verbose, -V		verbose output
  --rethinkdb value	rethinkdb address for Malice to store results [$MALICE_RETHINKDB]
  --post, -p		POST results to Malice webhook [$MALICE_ENDPOINT]
  --proxy, -x		proxy settings for Malice webhook endpoint [$MALICE_PROXY]
  --table, -t		output as Markdown table
  --rules value		zip rules directory (default: "/rules")
  --help, -h		show help
  --version, -v		print the version

Commands:
  help	Shows a list of commands or help for one command

Run 'zip COMMAND --help' for more information on a command.

This will output to stdout and POST to malice results API webhook endpoint.

Sample Output

JSON:

{ "zip": { } }

STDOUT (Markdown Table):


Zip


Documentation

To write results to ElasticSearch

$ docker volume create --name malice
$ docker run -d --name elastic \
                -p 9200:9200 \
                -v malice:/usr/share/elasticsearch/data \
                 blacktop/elasticsearch
$ docker run --rm --link elastic malice/zip FILE

POST results to a webhook

$ docker run -v `pwd`:/malware:ro \
             -e MALICE_ENDPOINT="https://malice.io:31337/scan/file" \
             malice/zip --post evil.zip

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

CHANGELOG

See CHANGELOG.md

Contributing

See all contributors on GitHub.

Please update the CHANGELOG.md and submit a Pull Request on GitHub.

Credits

Uses Jurriaan Bremer's sflock which has a gplv3 license.

License

MIT Copyright (c) 2016-2017 blacktop

About

Malice Zip/Compressed File Plugins

License:MIT License


Languages

Language:Python 98.9%Language:Makefile 1.1%