YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Royalroad_Code_Pattern3
Detects RoyalRoad weaponized RTF documents
- Author
- nao_sec
- Date
- 2020-01-15
- Modified
- 2023-12-05
- Score / Quality
- 80 / 85
What this rule detects
Detects RoyalRoad weaponized RTF documents
It defines 2 patterns (2 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
royalroad-code-pattern3.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Royalroad_Code_Pattern3 : FILE
{
meta:
= "Detects RoyalRoad weaponized RTF documents"
= "nao_sec"
= "7bce2fe6-a921-51ec-8b5f-5d7f55ab3864"
= "2020-01-15"
= "2023-12-05"
= "https://jsac.jpcert.or.jp/archive/2020/pdf/JSAC2020_8_koike-nakajima_jp.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_royalroad.yar#L59-L75"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3b5d9872eb86d1a220e5b70c560e7054bee8b2bc1fa2a75781d87616674e2927"
= 80
= 85
= "FILE"
strings:
$S1 = "4746424151515151505050500000000000584242eb0642424235353336204460606060606060606061616161616161616161616161616161"
$RTF = "{\\rt"
condition:
$RTF at 0 and $S1
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $S1 | text | "4746424151515151505050500000000000584242eb0642424235353336204460606060606060606061616161616161616161616161616161" | |
| $RTF | text | "{\\rt" |
Condition
$RTF at 0 and $S1In plain words (Heuristic)
- Pattern $RTF must be found at offset 0.
- Pattern $S1 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.
Licence & attribution
Author: nao_sec
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: 7bce2fe6-a921-51ec-8b5f-5d7f55ab3864
Tags:FILE
Related rules
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15
- GenericSignature Base (Florian Roth / Nextron)· nao_sec· 2020-01-15