A repository of YARA rules and configuration extractors for detecting and analyzing malware families.
This project provides detection signatures and config-parsing tools to help defenders, DFIR analysts, and threat researchers identify and extract configuration data from known malware families.
Each malware family lives in its own directory containing a YARA rule and, where available, a Python configuration extractor with sample output.
| Family | YARA Rule | Config Extractor | Notes |
|---|---|---|---|
| 44CALIBER | 44caliber.yara | — | .NET credential stealer with Discord webhook exfiltration |
| AlmondRAT | almondrat.yara | — | .NET RAT with system-info collection and file exfiltration |
| ArrowRAT | ArrowRAT.yara | — | RAT with hVNC (hidden desktop) capability |
| gh0stRAT | gh0stRAT.yara | — | Classic C++ RAT; rule covers multiple variants |
| LimeRAT | LimeRAT.yara | limeRAT_config.py | .NET RAT; extractor decrypts the AES-encrypted config (sample output) |
| RunningRAT | runningrat.yara | — | RAT using reversed API strings for obfuscation |
| SparkRAT | sparkrat.yara | sparkrat_config.py | Go-based cross-platform RAT; extractor decrypts the AES-CTR config blob |
Every rule includes a SHA-256 reference hash of the sample it was written against in its meta section.
Install YARA, then scan a file or directory:
# Scan with a single rule
# Scan a directory recursively with all rulesThe extractors decrypt and parse the embedded C2 configuration from unpacked samples.
Malware_family:
python malware_config.py <unpacked_sample><family>/
├── <family>.yara # YARA detection rule
├── <family>_config.py # Config extractor (where available)
└── config_poc.* # Example extractor output (where available)
Contributions are welcome. When adding a new family, please:
- Create a directory named after the family.
- Include a YARA rule with
description,Reference(sample SHA-256),author, anddatein themetasection. - Test the rule against known samples to minimize false positives.
- Optionally include a config extractor and proof-of-concept output.
This repository is intended for detection engineering, threat research, and defensive purposes only. It does not host functional malware samples. Users are responsible for complying with applicable laws and their organization's policies when using these signatures and tools.
MIT License
Copyright (c) 2026
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.