YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_DOC_RTF_Externalresource_EMAIL_Jun22
Detects a suspicious pattern in RTF files which downloads external resources as seen in CVE-2022-30190 / Follina exploitation inside e-mail attachment
- Author
- Christian Burkard
- Date
- 2022-06-01
- Modified
- 2026-05-15
- 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 inside e-mail attachment
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_DOC_RTF_Externalresource_EMAIL_Jun22 : CVE_2022_30190 FILE
{
meta:
= "Detects a suspicious pattern in RTF files which downloads external resources as seen in CVE-2022-30190 / Follina exploitation inside e-mail attachment"
= "Christian Burkard"
= "3ddc838c-8520-5572-9652-8cb823f83e27"
= "2022-06-01"
= "2026-05-15"
= "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L195-L221"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "73e76bd80f77640c0d8d47ebb7903eb9cc23336fbe653e7d008cae6a0de7c45b"
= 70
= 85
= "CVE-2022-30190, FILE"
strings:
$sa1 = "PFJlbGF0aW9uc2hpcH" ascii
$sa2 = "xSZWxhdGlvbnNoaXBz" ascii
$sa3 = "8UmVsYXRpb25zaGlwc" ascii
$sb1 = "VGFyZ2V0TW9kZT0iRXh0ZXJuYWwi" ascii
$sb2 = "RhcmdldE1vZGU9IkV4dGVybmFsI" ascii
$sb3 = "UYXJnZXRNb2RlPSJFeHRlcm5hbC" ascii
$sc1 = "Lmh0bWwhI" ascii
$sc2 = "5odG1sIS" ascii
$sc3 = "uaHRtbCEi" ascii
condition:
filesize < 400KB and 1 of ( $sa* ) and 1 of ( $sb* ) and 1 of ( $sc* )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sa1 | text | "PFJlbGF0aW9uc2hpcH" | ascii |
| $sa2 | text | "xSZWxhdGlvbnNoaXBz" | ascii |
| $sa3 | text | "8UmVsYXRpb25zaGlwc" | ascii |
| $sb1 | text | "VGFyZ2V0TW9kZT0iRXh0ZXJuYWwi" | ascii |
| $sb2 | text | "RhcmdldE1vZGU9IkV4dGVybmFsI" | ascii |
| $sb3 | text | "UYXJnZXRNb2RlPSJFeHRlcm5hbC" | ascii |
| $sc1 | text | "Lmh0bWwhI" | ascii |
| $sc2 | text | "5odG1sIS" | ascii |
| $sc3 | text | "uaHRtbCEi" | ascii |
Condition
filesize < 400KB and 1 of ( $sa* ) and 1 of ( $sb* ) and 1 of ( $sc* )In plain words (Heuristic)
- The file must be smaller than 400KB (a cheap guard that skips large files).
- At least 1 patterns in ( $sa* ) must match.
- At least 1 patterns in ( $sb* ) must match.
- At least 1 patterns in ( $sc* ) 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: 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: 3ddc838c-8520-5572-9652-8cb823f83e27
Tags:CVE_2022_30190FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2024-04-18
- 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)· Paul Hager· 2022-06-02
- GenericSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-05-24
- GenericSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-05-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard· 2022-05-30