Development examples

Curtain

from modules.processing.curtain import deobfuscate
blob = """here"""
print(deobfuscate(blob))

Suricata name detection

import os, sys
CUCKOO_ROOT = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..")
sys.path.append(CUCKOO_ROOT)

from lib.cuckoo.core.plugins import get_suricata_family
# Signature example: "ET MALWARE Sharik/Smoke CnC Beacon 11"
print(get_suricata_family(signature_string))