https://github.com/malice-plugins/nsrl
Malice NSRL Plugin
https://github.com/malice-plugins/nsrl
binary docker malice md5 nsrl sha1 whitelist
Last synced: about 1 month ago
JSON representation
Malice NSRL Plugin
- Host: GitHub
- URL: https://github.com/malice-plugins/nsrl
- Owner: malice-plugins
- License: mit
- Created: 2015-12-31T00:03:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T22:45:09.000Z (about 2 years ago)
- Last Synced: 2025-03-29T22:11:10.844Z (about 2 months ago)
- Topics: binary, docker, malice, md5, nsrl, sha1, whitelist
- Language: Go
- Size: 3.23 MB
- Stars: 7
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# malice-nsrl
[](https://circleci.com/gh/malice-plugins/nsrl) [](http://doge.mit-license.org) [](https://hub.docker.com/r/malice/nsrl/) [](https://hub.docker.com/r/malice/nsrl/) [](https://hub.docker.com/r/malice/nsrl/)
Malice NSRL Plugin - This takes the **5.5 GB** [NSRL](http://www.nsrl.nist.gov/Downloads.htm) minimal set and converts it into a **77.4 MB** [bloom filter](https://en.wikipedia.org/wiki/Bloom_filter) with an Estimate False Positive Rate of `0.001`
This repository contains a **Dockerfile** of the [NSRL](http://www.nsrl.nist.gov) lookup malice plugin **malice/nsrl**.
### Dependencies
- [malice/alpine](https://hub.docker.com/r/malice/alpine/)
## Image Tags
```
REPOSITORY TAG SIZE
malice/nsrl latest 117MB
malice/nsrl 0.1.0 117MB
malice/nsrl sha1 117MB
malice/nsrl md5 117MB
```> **NOTE:**
>
> - tags `latest` and `0.1.0` are the same as `sha1`
> - tag `sha1` can query by sha1 hash
> - tag `md5` can query by md5 hash## Installation
1. Install [Docker](https://www.docker.io/).
2. Download [trusted build](https://hub.docker.com/r/malice/nsrl/) from public [DockerHub](https://hub.docker.com): `docker pull malice/nsrl`## Usage
```bash
docker run --rm malice/nsrl --helpUsage: nsrl [OPTIONS] COMMAND [arg...]
Malice nsrl Plugin
Version: v0.1.0, BuildTime: 20161119
Author:
blacktop -Options:
--verbose, -V verbose output
--help, -h show help
--version, -v print the versionCommands:
web Create a NSRL lookup web service
build Build bloomfilter from NSRL database
lookup Query NSRL for hash
help Shows a list of commands or help for one commandRun 'nsrl COMMAND --help' for more information on a command.
```### Lookup By Hash `md5|sha1`
```
docker run --rm malice/nsrl:md5 lookup 829e4805b0e12b383ee09abdc9e2dc3c
docker run --rm malice/nsrl:sha1 lookup 5a272b7441328e09704b6d7eabdbd51b8858fde4
``````
NAME:
nsrl lookup - Query NSRL for hashUSAGE:
nsrl lookup [command options] SHA1 to query NSRL withOPTIONS:
--elasticsearch value elasticsearch url for Malice to store results [$MALICE_ELASTICSEARCH_URL]
--post, -p 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: 10) [$MALICE_TIMEOUT]
--table, -t output as Markdown table
```## Sample Output
### [JSON](https://github.com/malice-plugins/nsrl/blob/master/docs/results.json)
---
```json
{
"nsrl": {
"found": true,
"hash": "5A272B7441328E09704B6D7EABDBD51B8858FDE4"
}
}
```---
### [Markdown](https://github.com/malice-plugins/nsrl/blob/master/docs/SAMPLE.md)
---
#### NSRL Database
- Found :white_check_mark:
---
## Documentation
- [To write results to ElasticSearch](https://github.com/malice-plugins/nsrl/blob/master/docs/elasticsearch.md)
- [To create a nsrl lookup micro-service](https://github.com/malice-plugins/nsrl/blob/master/docs/web.md)
- [To post results to a webhook](https://github.com/malice-plugins/nsrl/blob/master/docs/callback.md)
- [To query NSRL for a filename](https://github.com/malice-plugins/nsrl/blob/master/docs/query_filename.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/nsrl/issues/new)
## CHANGELOG
See [`CHANGELOG.md`](https://github.com/malice-plugins/nsrl/blob/master/CHANGELOG.md)
## Contributing
[See all contributors on GitHub](https://github.com/malice-plugins/nsrl/graphs/contributors).
Please update the [CHANGELOG.md](https://github.com/malice-plugins/nsrl/blob/master/CHANGELOG.md) and submit a [Pull Request on GitHub](https://help.github.com/articles/using-pull-requests/).
## License
MIT Copyright (c) 2015 **blacktop**