File type classifier for Karton framework
Project description
Classifier karton service
File type classifier for the Karton framework.
Entrypoint for samples. Classifies type of samples labeled as kind: raw
,
which makes them available for subsystems that receive samples with specific
type only (e.g. raw
=> runnable:win32:exe
)
Author: CERT.pl
Maintainers: psrok1, msm, nazywam
Consumes:
{
"type": "sample",
"kind": "raw"
"payload": {
"magic": "output from 'file' command",
"sample": <Resource>
}
}
Produces:
{
"type": "sample",
"stage": "recognized",
"kind": "runnable" # Executable format default for OS platform
|| "document" # Office document
|| "archive" # Archive containing samples (zip, e-mails)
|| "dump" # Dump from sandbox
|| "script", # Script (js/vbs/bat...)
"platform": "win32"
|| "win64"
|| "linux"
|| "android",
|| "macos",
"extension": "*", # Expected file extension
... (other fields are derived from incoming task)
}
Usage
First of all, make sure you have setup the core system: https://github.com/CERT-Polska/karton
Then install karton-classifier from PyPi:
$ pip install karton-classifier
$ karton-classifier
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file karton_classifier-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: karton_classifier-1.3.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9455c085438e4797918b7c1091099b9c0e021f46b6d3a5517824e4c246f3ef6c |
|
MD5 | 4de5a6c28cb6d9d5edf80865d1df4143 |
|
BLAKE2b-256 | ec09550758776244f77dd7401c9f57ef6a97482bd968500e847db5f0217d129b |