YARA · SEKOIA.IO Community
SEKOIA_Latrodectus_Exports
detection based on the exports
- Author
- Sekoia.io
- Date
- 2024-07-03
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
detection based on the exports
Associated malware family: Latrodectus.
Targets: Windows PE.
It has no patterns: the condition alone decides (modules, file properties or other rules). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
rule SEKOIA_Latrodectus_Exports : FILE
{
meta:
= "detection based on the exports"
= "Sekoia.io"
= "29076cf5-f391-42f2-918f-e1c929bd368d"
= "2024-07-03"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/latrodectus_exports.yar#L3-L15"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "01385f31b1f2fc94453a2ead136a1f7fb253a72bee95f74d755acfa97abdb26d"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
condition:
(pe.exports ( "stow" ) or pe.exports ( "homq" ) or pe.exports ( "scub" ) ) and pe.number_of_exports >= 3 and uint16( 0 ) == 0x5a4d
}
Condition
(pe.exports ( "stow" ) or pe.exports ( "homq" ) or pe.exports ( "scub" ) ) and pe.number_of_exports >= 3 and uint16( 0 ) == 0x5a4dIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- Uses the pe module.
- Checks exported functions or the DLL name.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 29076cf5-f391-42f2-918f-e1c929bd368d
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-06-25
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-12-08
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23