YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Doc_RTF_Externalresource_May22
Detects a suspicious pattern in RTF files which downloads external resources as seen in CVE-2022-30190 / Follina exploitation
- Author
- Tobias Michalski, Christian Burkard
- Date
- 2022-05-30
- Modified
- 2022-05-31
- Score / Quality
- 70 / 85
What this rule detects
Detects a suspicious pattern in RTF files which downloads external resources as seen in CVE-2022-30190 / Follina exploitation
It defines 2 patterns (2 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_Doc_RTF_Externalresource_May22 : CVE_2022_30190 FILE
{
meta:
= "Detects a suspicious pattern in RTF files which downloads external resources as seen in CVE-2022-30190 / Follina exploitation"
= "Tobias Michalski, Christian Burkard"
= "71bb97e0-ec12-504c-a1f6-25039ac91c86"
= "2022-05-30"
= "2022-05-31"
= "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L63-L79"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "c841e0c1ff78bf8dade5f573a7452b16a7f447cfc19417704b727684a8f3d3ff"
= 70
= 85
= "CVE-2022-30190, FILE"
strings:
$s1 = " LINK htmlfile \"http" ascii
$s2 = ".html!\" " ascii
condition:
uint32be( 0 ) == 0x7B5C7274 and filesize < 300KB and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | " LINK htmlfile \"http" | ascii |
| $s2 | text | ".html!\" " | ascii |
Condition
uint32be( 0 ) == 0x7B5C7274 and filesize < 300KB and all of themIn plain words (Heuristic)
- The file must start with “{\rt” — an RTF document.
- The file must be smaller than 300KB (a cheap guard that skips large files).
- 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.
Licence & attribution
Author: Tobias Michalski, Christian Burkard
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: 71bb97e0-ec12-504c-a1f6-25039ac91c86
Tags:CVE_2022_30190FILE
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard· 2022-05-30
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Paul Hager· 2022-06-02
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard, Wojciech Cieslak· 2022-05-30
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Nasreddine Bencherchali, Christian Burkard· 2022-05-31