YARA · ditekSHen detection
DITEKSHEN_INDICATOR_RTF_Equation_Certutil_Downloader
Detects RTF documents that references both Microsoft Equation Editor and CertUtil. 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 CertUtil. 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_Certutil_Downloader : FILE
{
meta:
= "Detects RTF documents that references both Microsoft Equation Editor and CertUtil. Common exploit + dropper behavior."
= "ditekSHen"
= "a47f31f9-91fc-5009-8aff-2b9e334c3139"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L453-L476"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d6c62957ce40ed755a84bd9aa8900e4990c466097d6df55c539b289bf50fe94e"
= 75
= 75
= "FILE"
= "910006-910007"
= "910003"
= "INDICATOR.RTF.EquationCertUtilDownloader"
strings:
$eq = "0200000002CE020000000000C000000000000046" ascii nocase
$cu = "636572747574696c" 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 $cu ) and 1 of ( $obj* ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $eq | text | "0200000002CE020000000000C000000000000046" | ascii nocase |
| $cu | text | "636572747574696c" | 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 $cu ) 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 $cu 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: a47f31f9-91fc-5009-8aff-2b9e334c3139
Metadata
| snort2_sid | 910006-910007 |
|---|---|
| snort3_sid | 910003 |
| clamav_sig | INDICATOR.RTF.EquationCertUtilDownloader |
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