YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Onenote_Embedded_Filedatastoreobject_Type_Jan23_1
Detects suspicious embedded file types in OneNote files
Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Florian Roth
- Date
- 2023-01-27
- Modified
- 2023-02-27
- Score / Quality
- 65 / 85
What this rule detects
Detects suspicious embedded file types in OneNote files
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
susp-onenote-embedded-filedatastoreobject-type-jan23-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Onenote_Embedded_Filedatastoreobject_Type_Jan23_1 : FILE
{
meta:
= "Detects suspicious embedded file types in OneNote files"
= "Florian Roth"
= "b8ea8c7b-052f-5a97-9577-99903462ea84"
= "2023-01-27"
= "2023-02-27"
= "https://blog.didierstevens.com/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_onenote_phish.yar#L63-L106"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "d91ca297ea96f80534085f174d335ffe961c569534f043c5c2ae8d6a9f7ac083"
= 65
= 85
= "FILE"
strings:
$x1 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? 4d 5a }
$x2 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [0-4] 40 65 63 68 6f }
$x3 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [0-4] 40 45 43 48 4f }
$x4 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [0-4] 4F 6E 20 45 }
$x5 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [0-4] 6F 6E 20 65 }
$x6 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? 4c 00 00 00 }
$x7 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? 49 54 53 46 }
$x8 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [6-200] 3C 68 74 61 3A }
$x9 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [6-200] 3C 48 54 41 3A }
$x10 = { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? [6-200] 3C 6A 6F 62 20 }
condition:
filesize < 10MB and 1 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 4d 5a } | |
| $x2 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [0-4] 40 65 63 68 6f … | |
| $x3 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [0-4] 40 45 43 48 4f … | |
| $x4 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [0-4] 4F 6E 20 45 } | |
| $x5 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [0-4] 6F 6E 20 65 } | |
| $x6 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 4c 00 00 00 } | |
| $x7 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 49 54 53 46 } | |
| $x8 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [6-200] 3C 68 74 61 3A … | |
| $x9 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [6-200] 3C 48 54 41 3A … | |
| $x10 | hex | { e7 16 e3 bd 65 26 11 45 a4 c4 8d 4d 0b 7a 9e ac ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [6-200] 3C 6A 6F 62 20 … |
Condition
filesize < 10MB and 1 of themIn plain words (Heuristic)
- The file must be smaller than 10MB (a cheap guard that skips large files).
- At least 1 patterns in the rule 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: Florian Roth
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: b8ea8c7b-052f-5a97-9577-99903462ea84
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-10-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-08-04
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-08-07
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-02-14