YARA · ditekSHen detection
DITEKSHEN_INDICATOR_XML_Squiblydoo_1
detects Squiblydoo variants extracted from exploit RTF documents.
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-06
- Score / Quality
- 75 / 75
What this rule detects
detects Squiblydoo variants extracted from exploit RTF documents.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-xml-squiblydoo-1.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_XML_Squiblydoo_1 : FILE
{
meta:
= "detects Squiblydoo variants extracted from exploit RTF documents."
= "ditekSHen"
= "cac326ab-cc31-59c1-bd12-285db1675695"
= "2020-11-06"
= "2024-09-06"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L608-L622"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b52ebd76dd4e60f6bd5cb19fed3a72b6aeb90dea95f0d1be61dcfff39ea674ae"
= 75
= 75
= "FILE"
strings:
$slt = "<scriptlet" ascii
$ws1 = "CreateObject(\"WScript\" & \".Shell\")" ascii
$ws2 = "CreateObject(\"WScript.Shell\")" ascii
$ws3 = "ActivexObject(\"WScript.Shell\")" ascii
$r1 = "[\"run\"]" nocase ascii
$r2 = ".run \"cmd" nocase ascii
$r3 = ".run chr(" nocase ascii
condition:
( uint32( 0 ) == 0x4d583f3c or uint32( 0 ) == 0x6d783f3c ) and $slt and 1 of ( $ws* ) and 1 of ( $r* )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $slt | text | "<scriptlet" | ascii |
| $ws1 | text | "CreateObject(\"WScript\" & \".Shell\")" | ascii |
| $ws2 | text | "CreateObject(\"WScript.Shell\")" | ascii |
| $ws3 | text | "ActivexObject(\"WScript.Shell\")" | ascii |
| $r1 | text | "[\"run\"]" | nocase ascii |
| $r2 | text | ".run \"cmd" | nocase ascii |
| $r3 | text | ".run chr(" | nocase ascii |
Condition
( uint32( 0 ) == 0x4d583f3c or uint32( 0 ) == 0x6d783f3c ) and $slt and 1 of ( $ws* ) and 1 of ( $r* )In plain words (Heuristic)
- At least 1 patterns in ( $ws* ) must match.
- At least 1 patterns in ( $r* ) must match.
- Pattern $slt 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.
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: cac326ab-cc31-59c1-bd12-285db1675695
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