YARA · ditekSHen detection
DITEKSHEN_INDICATOR_PUB_MSIEXEC_Remote
detects VB-enable Microsoft Publisher files utilizing Microsoft Installer to retrieve remote files and execute them
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 75
What this rule detects
detects VB-enable Microsoft Publisher files utilizing Microsoft Installer to retrieve remote files and execute them
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_INDICATOR_PUB_MSIEXEC_Remote : FILE
{
meta:
= "detects VB-enable Microsoft Publisher files utilizing Microsoft Installer to retrieve remote files and execute them"
= "ditekSHen"
= "518db2bb-174b-54c4-b330-1e8a8e36265d"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L535-L549"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "be5407e6e6e21e77f6de1d3a378996bfc6ce4326986aa03eb152e772bb495184"
= 75
= 75
= "FILE"
strings:
$s1 = "Microsoft Publisher" ascii
$s2 = "msiexec.exe" ascii
$s3 = "Document_Open" ascii
$s4 = "/norestart" ascii
$s5 = "/i http" ascii
$s6 = "Wscript.Shell" fullword ascii
$s7 = "\\VBE6.DLL#" wide
condition:
uint16( 0 ) == 0xcfd0 and 6 of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Microsoft Publisher" | ascii |
| $s2 | text | "msiexec.exe" | ascii |
| $s3 | text | "Document_Open" | ascii |
| $s4 | text | "/norestart" | ascii |
| $s5 | text | "/i http" | ascii |
| $s6 | text | "Wscript.Shell" | fullword ascii |
| $s7 | text | "\\VBE6.DLL#" | wide |
Condition
uint16( 0 ) == 0xcfd0 and 6 of themIn plain words (Heuristic)
- At least 6 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
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: 518db2bb-174b-54c4-b330-1e8a8e36265d
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