YARA · SEKOIA.IO Community
SEKOIA_Loader_Latrodectus_Dll
Finds Latrodectus samples based on the specific strings
- Author
- Sekoia.io
- Date
- 2023-12-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Latrodectus samples based on the specific strings
Associated malware family: Latrodectus.
Targets: Windows PE.
It defines 20 patterns (20 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-latrodectus-dll.yarDetection Rule License 1.1
rule SEKOIA_Loader_Latrodectus_Dll : FILE
{
meta:
= "Finds Latrodectus samples based on the specific strings"
= "Sekoia.io"
= "c60676ad-31cb-4f4d-9073-757a0ad7d23d"
= "2023-12-08"
= "2024-12-19"
= "https://twitter.com/Myrtus0x0/status/1732997981866209550"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_latrodectus_dll.yar#L1-L35"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "57aae1944eded14537cdc1c17b21cfc503687a416551b782fc76f8c7858e936e"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "c:\\temp\\debug.pdb" fullword ascii
$str02 = "Bottmp64.dll" fullword ascii
$str03 = "scab" fullword ascii
$str04 = "&wmic=" fullword ascii
$str05 = "&ipconfig=" fullword ascii
$str06 = "&systeminfo=" fullword ascii
$str07 = "&domain_trusts=" fullword ascii
$str08 = "&domain_trusts_all=" fullword ascii
$str09 = "&net_view_all_domain=" fullword ascii
$str10 = "&net_view_all=" fullword ascii
$str11 = "&net_group=" fullword ascii
$str12 = "&net_config_ws=" fullword ascii
$str13 = "&net_wmic_av=" fullword ascii
$str14 = "&whoami_group=" fullword ascii
$str15 = "\"subproc\": [" fullword ascii
$str16 = "&proclist=[" fullword ascii
$str17 = "&desklinks=[" fullword ascii
$str18 = "Update_%x" fullword wide
$str19 = "Custom_update" fullword wide
$str20 = "\\update_data.dat" fullword wide
condition:
uint16( 0 ) == 0x5A4D and 10 of them
}
Strings (20 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "c:\\temp\\debug.pdb" | fullword ascii |
| $str02 | text | "Bottmp64.dll" | fullword ascii |
| $str03 | text | "scab" | fullword ascii |
| $str04 | text | "&wmic=" | fullword ascii |
| $str05 | text | "&ipconfig=" | fullword ascii |
| $str06 | text | "&systeminfo=" | fullword ascii |
| $str07 | text | "&domain_trusts=" | fullword ascii |
| $str08 | text | "&domain_trusts_all=" | fullword ascii |
| $str09 | text | "&net_view_all_domain=" | fullword ascii |
| $str10 | text | "&net_view_all=" | fullword ascii |
| $str11 | text | "&net_group=" | fullword ascii |
| $str12 | text | "&net_config_ws=" | fullword ascii |
| $str13 | text | "&net_wmic_av=" | fullword ascii |
| $str14 | text | "&whoami_group=" | fullword ascii |
| $str15 | text | "\"subproc\": [" | fullword ascii |
| $str16 | text | "&proclist=[" | fullword ascii |
| $str17 | text | "&desklinks=[" | fullword ascii |
| $str18 | text | "Update_%x" | fullword wide |
| $str19 | text | "Custom_update" | fullword wide |
| $str20 | text | "\\update_data.dat" | fullword wide |
Condition
uint16( 0 ) == 0x5A4D and 10 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 10 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
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: c60676ad-31cb-4f4d-9073-757a0ad7d23d
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-06-25
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-03
- 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