YARA · CAPE Sandbox (CAPEv2)
CAPE_Latrodectus_1
Latrodectus export selection
- Author
- kevoreilly
- Date
- 2024-02-26
- Score / Quality
- 75 / 70
What this rule detects
Latrodectus export selection
Associated malware family: Latrodectus.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Latrodectus_1 : FILE
{
meta:
= "Latrodectus export selection"
= "kevoreilly"
= "7c6f167a-6b76-5509-b164-306d1cd19b0f"
= "2024-02-26"
= "2024-02-26"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/Latrodectus.yar#L1-L12"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "378d220bc863a527c2bca204daba36f10358e058df49ef088f8b1045604d9d05"
= "c2c9f23e287253d766425c05eb774f6e07bdcbabc259e04b723a1a87c8b91fbd"
= 75
= 70
= "FILE"
= "export=$export"
strings:
$export = {48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 83 EC 30 4C 8B 05 [4] 33 D2 C7 40 [5] 88 50 ?? 49 63 40 3C 42 8B 8C 00 88 00 00 00 85 C9 0F 84}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $export | hex | {48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 83 EC 30 4C 8B 05 [4] 33 D2 C7 40 [5] 88 50 ?? 49 63 40 3C 42 8B 8C 00 88 00 00 00 85 C9 0F 8 … |
Condition
uint16( 0 ) == 0x5A4D and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule must match.
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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 378d220bc863a527c2bca204daba36f10358e058df49ef088f8b1045604d9d05
Licence & attribution
Author: kevoreilly
Source repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licence: GNU General Public License v3.0 (repository licence)
Copyright notice: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7c6f167a-6b76-5509-b164-306d1cd19b0f
Metadata
| cape_options | export=$export |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-06-25
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-03
- 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)· kevoreilly· 2026-07-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05