Metadata-Version: 2.5
Name: CAPE-parsers
Version: 0.1.74
Summary: CAPE: Malware Configuration Extraction
Author-email: Kevin O'Reilly <kev@capesandbox.com>, doomedraven <doomedraven@capesandbox.com>
License: MIT
License-File: LICENSE
Keywords: cape,configuration,malware,parsers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <4.0,>=3.12
Requires-Dist: dncil>=1.0.2
Requires-Dist: dnfile>=0.15.1
Requires-Dist: pefile
Requires-Dist: pycryptodomex>=3.20.0
Requires-Dist: rat-king-parser>=4.1.0
Requires-Dist: unicorn>=2.1.4
Requires-Dist: yara-python>=4.5.1
Requires-Dist: yara-x>=1.0.0
Provides-Extra: maco
Requires-Dist: maco>=1.1.8; extra == 'maco'
Description-Content-Type: text/markdown

# CAPE-parsers
CAPE core and community parsers

[![PyPI version](https://img.shields.io/pypi/v/CAPE-parsers)](https://pypi.org/project/CAPE-parsers/)

### Configs structure
```
CNCs: []
campaign: str
botnet: str
dga_seed: hex str
version: str
mutex: str
user_agent: str
build: str
cryptokey: str
cryptokey_type: str (algorithm). Ex: RC4, RSA public key. salsa20, (x)chacha20
raw: {any other data goes here}
```
* All CNC entries should be in URL format. aka `<schema>://<hostname>:<port>/<uri>`
    * Schema examples: `tcp://`, `ftp://`, `udp://`, `http(s)`, etc.
    * Old CAPE configs still have lack of this structures as most of them are dead families.
    * This CNC simplification make it easier to parse with tools like `tldextract` or `urlparse`
