YARA · ditekSHen detection
DITEKSHEN_INDICATOR_PPT_Mastermana
Detects known malicious pattern (MasterMana) in PowerPoint documents.
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 71
What this rule detects
Detects known malicious pattern (MasterMana) in PowerPoint documents.
It defines 13 patterns (12 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-ppt-mastermana.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_PPT_Mastermana : FILE
{
meta:
= "Detects known malicious pattern (MasterMana) in PowerPoint documents."
= "ditekSHen"
= "8e9b8185-6211-54c6-946d-b16f2226312a"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L720-L740"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f8169e63b22fbbd48de9a63ff228d9d9fb105e95d2ea8a37c0993493515e8b2e"
= 75
= 71
= "FILE"
strings:
$a1 = "auto_close" ascii nocase
$a2 = "autoclose" ascii nocase
$a3 = "auto_open" ascii nocase
$a4 = "autoopen" ascii nocase
$vb1 = "\\VBE7.DLL" ascii
$vb2 = { 41 74 74 72 69 62 75 74 ?? 65 20 56 42 5f 4e 61 6d ?? 65 }
$clsid = "000204EF-0000-0000-C000-000000000046" wide nocase
$i1 = "@j.mp/" ascii wide
$i2 = "j.mp/" ascii wide
$i3 = "\\pm.j\\\\:" ascii wide
$i4 = ".zz.ht/" ascii wide
$i5 = "/pm.j@" ascii wide
$i6 = "\\pm.j@" ascii wide
condition:
uint16( 0 ) == 0xcfd0 and 1 of ( $i* ) and $clsid and 1 of ( $a* ) and 1 of ( $vb* )
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "auto_close" | ascii nocase |
| $a2 | text | "autoclose" | ascii nocase |
| $a3 | text | "auto_open" | ascii nocase |
| $a4 | text | "autoopen" | ascii nocase |
| $vb1 | text | "\\VBE7.DLL" | ascii |
| $vb2 | hex | { 41 74 74 72 69 62 75 74 ?? 65 20 56 42 5f 4e 61 6d ?? 65 } | |
| $clsid | text | "000204EF-0000-0000-C000-000000000046" | wide nocase |
| $i1 | text | "@j.mp/" | ascii wide |
| $i2 | text | "j.mp/" | ascii wide |
| $i3 | text | "\\pm.j\\\\:" | ascii wide |
| $i4 | text | ".zz.ht/" | ascii wide |
| $i5 | text | "/pm.j@" | ascii wide |
| $i6 | text | "\\pm.j@" | ascii wide |
Condition
uint16( 0 ) == 0xcfd0 and 1 of ( $i* ) and $clsid and 1 of ( $a* ) and 1 of ( $vb* )In plain words (Heuristic)
- At least 1 patterns in ( $i* ) must match.
- At least 1 patterns in ( $a* ) must match.
- At least 1 patterns in ( $vb* ) must match.
- Pattern $clsid must be present.
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.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8e9b8185-6211-54c6-946d-b16f2226312a
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekSHen· 2023-08-22
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21