YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Email_Suspicious_Onenote_Attachment_Jan23_1
Detects suspicious OneNote attachment that embeds suspicious payload, e.g. an executable (FPs possible if the PE is attached separately)
- Author
- Florian Roth (Nextron Systems)
- Date
- 2023-01-27
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
Detects suspicious OneNote attachment that embeds suspicious payload, e.g. an executable (FPs possible if the PE is attached separately)
It defines 18 patterns (18 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_Email_Suspicious_Onenote_Attachment_Jan23_1 : FILE
{
meta:
= "Detects suspicious OneNote attachment that embeds suspicious payload, e.g. an executable (FPs possible if the PE is attached separately)"
= "Florian Roth (Nextron Systems)"
= "492b74c2-3b81-5dff-9244-8528565338c6"
= "2023-01-27"
= "2023-12-05"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_onenote_phish.yar#L2-L39"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "c7c5fc86f1dbe54da2d3ff8f039c5e53c3d1f67c9271cb467b2318310f744f93"
= 65
= 85
= "FILE"
strings:
$ge1 = "5xbjvWUmEUWkxI1NC3qer"
$ge2 = "cW471lJhFFpMSNTQt6nq"
$ge3 = "nFuO9ZSYRRaTEjU0Lep6s"
$sp1 = "VGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZG"
$sp2 = "RoaXMgcHJvZ3JhbSBjYW5ub3QgYmUgcnVuIGluIERPUyBtb2Rl"
$sp3 = "UaGlzIHByb2dyYW0gY2Fubm90IGJlIHJ1biBpbiBET1MgbW9kZ"
$sp4 = "VGhpcyBwcm9ncmFtIG11c3QgYmUgcnVuIHVuZGVy"
$sp5 = "RoaXMgcHJvZ3JhbSBtdXN0IGJlIHJ1biB1bmRlc"
$sp6 = "UaGlzIHByb2dyYW0gbXVzdCBiZSBydW4gdW5kZX"
$se1 = "QGVjaG8gb2Zm"
$se2 = "BlY2hvIG9mZ"
$se3 = "AZWNobyBvZm"
$se4 = "PEhUQTpBUFBMSUNBVElPTi"
$se5 = "xIVEE6QVBQTElDQVRJT04g"
$se6 = "8SFRBOkFQUExJQ0FUSU9OI"
$se7 = "TAAAAAEUAg"
$se8 = "wAAAABFAIA"
$se9 = "MAAAAARQCA"
condition:
filesize < 5MB and 1 of ( $ge* ) and 1 of ( $s* )
}
Strings (18 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ge1 | text | "5xbjvWUmEUWkxI1NC3qer" | |
| $ge2 | text | "cW471lJhFFpMSNTQt6nq" | |
| $ge3 | text | "nFuO9ZSYRRaTEjU0Lep6s" | |
| $sp1 | text | "VGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZG" | |
| $sp2 | text | "RoaXMgcHJvZ3JhbSBjYW5ub3QgYmUgcnVuIGluIERPUyBtb2Rl" | |
| $sp3 | text | "UaGlzIHByb2dyYW0gY2Fubm90IGJlIHJ1biBpbiBET1MgbW9kZ" | |
| $sp4 | text | "VGhpcyBwcm9ncmFtIG11c3QgYmUgcnVuIHVuZGVy" | |
| $sp5 | text | "RoaXMgcHJvZ3JhbSBtdXN0IGJlIHJ1biB1bmRlc" | |
| $sp6 | text | "UaGlzIHByb2dyYW0gbXVzdCBiZSBydW4gdW5kZX" | |
| $se1 | text | "QGVjaG8gb2Zm" | |
| $se2 | text | "BlY2hvIG9mZ" | |
| $se3 | text | "AZWNobyBvZm" | |
| $se4 | text | "PEhUQTpBUFBMSUNBVElPTi" | |
| $se5 | text | "xIVEE6QVBQTElDQVRJT04g" | |
| $se6 | text | "8SFRBOkFQUExJQ0FUSU9OI" | |
| $se7 | text | "TAAAAAEUAg" | |
| $se8 | text | "wAAAABFAIA" | |
| $se9 | text | "MAAAAARQCA" |
Condition
filesize < 5MB and 1 of ( $ge* ) and 1 of ( $s* )In plain words (Heuristic)
- The file must be smaller than 5MB (a cheap guard that skips large files).
- At least 1 patterns in ( $ge* ) must match.
- At least 1 patterns in ( $s* ) 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.
Licence & attribution
Author: Florian Roth (Nextron Systems)
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: 492b74c2-3b81-5dff-9244-8528565338c6
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10