YARA · ditekSHen detection
DITEKSHEN_INDICATOR_OLE_Remotetemplate
Detects XML relations where an OLE object is refrencing an external target in dropper OOXML documents
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 75
What this rule detects
Detects XML relations where an OLE object is refrencing an external target in dropper OOXML documents
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_INDICATOR_OLE_Remotetemplate
{
meta:
= "Detects XML relations where an OLE object is refrencing an external target in dropper OOXML documents"
= "ditekSHen"
= "fbf40436-fc0a-5e55-89ac-5e1dd93e1833"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L691-L702"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "80cc5b1a8a8899f632401956055374d265c734449e56ffeee5f0ba4911050f36"
= 75
= 75
= ""
strings:
$olerel = "relationships/oleObject" ascii
$target1 = "Target=\"http" ascii
$target2 = "Target=\"file" ascii
$mode = "TargetMode=\"External" ascii
condition:
$olerel and $mode and 1 of ( $target* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $olerel | text | "relationships/oleObject" | ascii |
| $target1 | text | "Target=\"http" | ascii |
| $target2 | text | "Target=\"file" | ascii |
| $mode | text | "TargetMode=\"External" | ascii |
Condition
$olerel and $mode and 1 of ( $target* )In plain words (Heuristic)
- At least 1 patterns in ( $target* ) must match.
- Pattern $olerel must be present.
- Pattern $mode 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: fbf40436-fc0a-5e55-89ac-5e1dd93e1833
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