YARA · ditekSHen detection
DITEKSHEN_INDICATOR_RTF_Threadkit_Exploit_Builder_Document
Detects vaiations of RTF documents generated by ThreadKit builder.
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 75
What this rule detects
Detects vaiations of RTF documents generated by ThreadKit builder.
It defines 8 patterns (7 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-rtf-threadkit-exploit-builder-document.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_RTF_Threadkit_Exploit_Builder_Document : FILE
{
meta:
= "Detects vaiations of RTF documents generated by ThreadKit builder."
= "ditekSHen"
= "f4a4e7f0-ea2f-523f-9634-a939dc90706e"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L565-L582"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f2308ac6ae5345e0c783871dd6b471397ec83ba7194db5cc74c8984d84c2c0c2"
= 75
= 75
= "FILE"
strings:
$obj1 = "\\objhtml" ascii
$obj2 = "\\objdata" ascii
$obj3 = "\\objupdate" ascii
$obj4 = "\\objemb" ascii
$obj5 = "\\objautlink" ascii
$obj6 = "\\objlink" ascii
$obj7 = "\\mmath" ascii
$pat1 = /\\objupdate\\v[\\\s\n\r]/ ascii
condition:
uint32( 0 ) == 0x74725c7b and 2 of ( $obj* ) and 1 of ( $pat* )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $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 |
| $pat1 | regex | /\\objupdate\\v[\\\s\n\r]/ | ascii |
Condition
uint32( 0 ) == 0x74725c7b and 2 of ( $obj* ) and 1 of ( $pat* )In plain words (Heuristic)
- The file must start with “{\rt” — an RTF document.
- At least 2 patterns in ( $obj* ) must match.
- At least 1 patterns in ( $pat* ) 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.
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: f4a4e7f0-ea2f-523f-9634-a939dc90706e
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