YARA · SEKOIA.IO Community
SEKOIA_Apt_Menupass_Maliciouslibvlc_Dll
Detects the malicious LibVLC variants used by MenuPass
- Author
- Sekoia.io
- Date
- 2022-04-06
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects the malicious LibVLC variants used by MenuPass
Targets: Windows PE.
It has no patterns: the condition alone decides (modules, file properties or other rules). YARA modules used: pe.
YARA-X says: warning[non_bool_expr]: non-boolean expression used as boolean
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_Apt_Menupass_Maliciouslibvlc_Dll
{
meta:
= "Detects the malicious LibVLC variants used by MenuPass"
= "Sekoia.io"
= "8b6b56f3-33b5-41cf-8bcb-e653c98718bd"
= "2022-04-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_menupass_maliciouslibvlc_dll.yar#L3-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "de56e112a477d3a77146f1b84c8aa3e66a382a87f1492dd50aa1de9458b33717"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
condition:
pe.DLL and pe.number_of_exports < 15 and for all i in ( 0 .. pe.number_of_exports - 1 ) : ( pe.export_details [ i ] . name contains "libvlc_" )
}
Condition
pe.DLL and pe.number_of_exports < 15 and for all i in ( 0 .. pe.number_of_exports - 1 ) : ( pe.export_details [ i ] . name contains "libvlc_" )In plain words (Heuristic)
- A for-loop checks a property over several matches or items.
- 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: 8b6b56f3-33b5-41cf-8bcb-e653c98718bd
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06