YARA · ditekSHen detection
DITEKSHEN_INDICATOR_XML_Webrelframe_Remotetemplate
Detects XML web frame relations 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 web frame relations refrencing an external target in dropper OOXML documents
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_INDICATOR_XML_Webrelframe_Remotetemplate : FILE
{
meta:
= "Detects XML web frame relations refrencing an external target in dropper OOXML documents"
= "ditekSHen"
= "724650db-8d58-5e73-92e7-287890babc3b"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L742-L752"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "fbe209e31ddb4369de02b6e91bf65f0588089c7b838dcf80f182248790b59e20"
= 75
= 75
= "FILE"
strings:
$target1 = "/frame\" Target=\"http" ascii nocase
$target2 = "/frame\" Target=\"file" ascii nocase
$mode = "TargetMode=\"External" ascii
condition:
uint32( 0 ) == 0x6d783f3c and ( 1 of ( $target* ) and $mode )
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $target1 | text | "/frame\" Target=\"http" | ascii nocase |
| $target2 | text | "/frame\" Target=\"file" | ascii nocase |
| $mode | text | "TargetMode=\"External" | ascii |
Condition
uint32( 0 ) == 0x6d783f3c and ( 1 of ( $target* ) and $mode )In plain words (Heuristic)
- At least 1 patterns in ( $target* ) must match.
- 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: 724650db-8d58-5e73-92e7-287890babc3b
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