Malice File Info Plugin (libmagic, exiftool, TRiD and ssdeep)
Malice File Info Plugin (exiftool, TRiD and ssdeep)
This repository contains a Dockerfile of the FileInfo malice plugin malice/fileinfo.
docker pull malice/fileinfo
$ docker run -v /path/to/malware:/malware malice/fileinfo FILE
Usage: fileinfo [OPTIONS] COMMAND [arg...]
Malice File Info Plugin - ssdeep/exiftool/TRiD
Version: , BuildTime: 20180902
Author:
blacktop - <https://github.com/blacktop>
Options:
--verbose, -V verbose output
--table, -t output as Markdown table
--mime, -m output only mimetype
--callback, -c POST results to Malice webhook [$MALICE_ENDPOINT]
--proxy, -x proxy settings for Malice webhook endpoint [$MALICE_PROXY]
--elasticsearch value elasticsearch url for Malice to store results [$MALICE_ELASTICSEARCH_URL]
--timeout value malice plugin timeout (in seconds) (default: 10) [$MALICE_TIMEOUT]
--help, -h show help
--version, -v print the version
Commands:
web Create a File Info web service
help Shows a list of commands or help for one command
Run 'fileinfo COMMAND --help' for more information on a command.
{
"magic": {
"mime": "application/x-executable",
"description": "ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, BuildID[sha1]=8ffd894e500a9f125b32fa8a3f700f0f710961de, stripped"
},
"ssdeep": "768:C7tsNKQhyl96U9eJqaZ2e5ofMolkcksNmisf4BB5iqboecL027:DkXe1UHfM4N3sfezcL0",
"trid": [
"50.1% (.) ELF Executable and Linkable format (Linux) (4025/14)",
"49.8% (.O) ELF Executable and Linkable format (generic) (4000/1)"
],
"exiftool": {
"CPUArchitecture": "64 bit",
"CPUByteOrder": "Little endian",
"CPUType": "AMD x86-64",
"ExifToolVersionNumber": "10.25",
"FileSize": "51 kB",
"FileType": "ELF executable",
"FileTypeExtension": "",
"MIMEType": "application/octet-stream",
"ObjectFileType": "Executable file"
}
}
Field | Value |
---|---|
Mime | application/x-dosexec |
Description | PE32 executable (GUI) Intel 80386, for MS Windows |
768:15jQ4nVHQaeO379u4XckKVCsknBN9A4hUnDxDiNZ957ZpK0IUUiM95Zdz:15jQ4nVHQaeO9uwckKuBN9A4UnDxcbFi
Field | Value |
---|---|
CharacterSet | Unicode |
CodeSize | 20480 |
Comments | |
CompanyName | Microsoft Corporation |
EntryPoint | 0x5a46 |
ExifToolVersionNumber | 11.06 |
...SNIP
...
Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue
See CHANGELOG.md
See all contributors on GitHub.
Please update the CHANGELOG.md and submit a Pull Request on GitHub.
MIT Copyright (c) 2016-2018 blacktop