YARA · ditekSHen detection
DITEKSHEN_INDICATOR_RTF_Equation_Bitsadmin_Downloader
Detects RTF documents that references both Microsoft Equation Editor and BITSAdmin. Common exploit + dropper behavior.
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 75
What this rule detects
Detects RTF documents that references both Microsoft Equation Editor and BITSAdmin. Common exploit + dropper behavior.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_INDICATOR_RTF_Equation_Bitsadmin_Downloader : FILE
{
meta:
= "Detects RTF documents that references both Microsoft Equation Editor and BITSAdmin. Common exploit + dropper behavior."
= "ditekSHen"
= "e96a6f18-9a5e-58ca-829e-c82b444ad403"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L428-L451"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "39a07a0af243e929a6b3df48b6cf8a9d30bc8ef9e7deac494348945427b015e7"
= 75
= 75
= "FILE"
= "910002-910003"
= "910001"
= "INDICATOR.RTF.EquationBITSAdminDownloader"
strings:
$eq = "0200000002CE020000000000C000000000000046" ascii nocase
$ba = "6269747361646d696e" ascii nocase
$obj1 = "\\objhtml" ascii
$obj2 = "\\objdata" ascii
$obj3 = "\\objupdate" ascii
$obj4 = "\\objemb" ascii
$obj5 = "\\objautlink" ascii
$obj6 = "\\objlink" ascii
$obj7 = "\\mmath" ascii
condition:
uint32( 0 ) == 0x74725c7b and ( ( $eq and $ba ) and 1 of ( $obj* ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $eq | text | "0200000002CE020000000000C000000000000046" | ascii nocase |
| $ba | text | "6269747361646d696e" | ascii nocase |
| $obj1 | text | "\\objhtml" | ascii |
| $obj2 | text | "\\objdata" | ascii |
| $obj3 | text | "\\objupdate" | ascii |
| $obj4 | text | "\\objemb" | ascii |
| $obj5 | text | "\\objautlink" | ascii |
| $obj6 | text | "\\objlink" | ascii |
| $obj7 | text | "\\mmath" | ascii |
Condition
uint32( 0 ) == 0x74725c7b and ( ( $eq and $ba ) and 1 of ( $obj* ) )In plain words (Heuristic)
- The file must start with “{\rt” — an RTF document.
- At least 1 patterns in ( $obj* ) must match.
- Pattern $eq must be present.
- Pattern $ba 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.
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: e96a6f18-9a5e-58ca-829e-c82b444ad403
Metadata
| snort2_sid | 910002-910003 |
|---|---|
| snort3_sid | 910001 |
| clamav_sig | INDICATOR.RTF.EquationBITSAdminDownloader |
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