YARA · SEKOIA.IO Community
SEKOIA_Apt_Susp_Apt28_Uac0063_Malicious_Doc_Vba
Detects some suspected APT28 document vba
- Author
- Sekoia.io
- Date
- 2024-07-25
- Modified
- 2024-12-19
- Score / Quality
- 65 / 80
What this rule detects
Detects some suspected APT28 document vba
Targets: OLE / legacy Office.
It defines 2 patterns (1 text, 1 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Apt_Susp_Apt28_Uac0063_Malicious_Doc_Vba : FILE
{
meta:
= "Detects some suspected APT28 document vba"
= "Sekoia.io"
= "58040dbd-09ae-4f9e-940d-3a522e7ccfbb"
= "2024-07-25"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_susp_apt28_uac0063_malicious_doc_vba.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "fceffb8ae94cef3af21b2943131e94db9e0e67073de48d9d32601a245448d067"
= "c57676b765364c5c51d2bf231b5fe858129b45ba837ec6554b353177bb16bd8a"
= 65
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = { 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 33 31 30 }
$ = "ThisDocument" wide
condition:
uint32be( 0 ) == 0xd0cf11e0 and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | { 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 33 31 30 } | |
| $ | text | "ThisDocument" | wide |
Condition
uint32be( 0 ) == 0xd0cf11e0 and all of themIn plain words (Heuristic)
- The file must start with the OLE header — legacy Office documents, MSI.
- All 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- fceffb8ae94cef3af21b2943131e94db9e0e67073de48d9d32601a245448d067
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: 58040dbd-09ae-4f9e-940d-3a522e7ccfbb
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06