A file type classifier based on Detect-It-East DIE.
Module's only goal is to attach DIE signatures, as tags, to samples submitted to mwdb-core
{
"type": "sample",
"kind": "raw"
}, {
"type": "sample",
"stage": "recognized"
}
{
"type": "sample",
"stage": "analyzed"
}
$ curl -s https://api.github.com/repos/horsicq/DIE-engine/releases/latest | grep browser_download_url | awk -F"\":" '{print $2}' | tr -d "\"" | grep deb | wget -q --show-progress -i -
# e.g. die_3.02-20210605_amd64.deb
$ sudo dpkg -i die_3.02-20210605_amd64.deb
$ git clone https://github.com/raw-data/karton-die-classifier/
$ cd karton-die-classifier/
$ python3 -m venv .venv
$ source .venv/bin/active
$ pip install .
$ karton-die-classifier