YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Follina_CVE_2022_30190_Msdt_Msprotocoluri_May22
Detects the malicious usage of the ms-msdt URI as seen in CVE-2022-30190 / Follina exploitation
- Author
- Tobias Michalski, Christian Burkard
- Date
- 2022-05-30
- Modified
- 2022-07-18
- Score / Quality
- 80 / 85
What this rule detects
Detects the malicious usage of the ms-msdt URI as seen in CVE-2022-30190 / Follina exploitation
It defines 2 patterns (1 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_EXPL_Follina_CVE_2022_30190_Msdt_Msprotocoluri_May22 : CVE_2022_30190 FILE
{
meta:
= "Detects the malicious usage of the ms-msdt URI as seen in CVE-2022-30190 / Follina exploitation"
= "Tobias Michalski, Christian Burkard"
= "62e67c25-a420-5dac-9d1c-b0648ea6b574"
= "2022-05-30"
= "2022-07-18"
= "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L81-L99"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4a24048f81afbe9fb62e7a6a49adbd1faf41f266b5f9feecdceb567aec096784"
= "778cbb0ee4afffca6a0b788a97bc2f4855ceb69ddc5eaa230acfa2834e1aeb07"
= "d56820737951f97606749c74025589e6a8ecbe70cfff069492368b2ba8528a7d"
= 80
= 85
= "CVE-2022-30190, FILE"
strings:
$re1 = /location\.href\s{0,20}=\s{0,20}"ms-msdt:/
$a1 = "%6D%73%2D%6D%73%64%74%3A%2F" ascii
condition:
filesize > 3KB and filesize < 100KB and 1 of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $re1 | regex | /location\.href\s{0,20}=\s{0,20}"ms-msdt:/ | |
| $a1 | text | "%6D%73%2D%6D%73%64%74%3A%2F" | ascii |
Condition
filesize > 3KB and filesize < 100KB and 1 of themIn plain words (Heuristic)
- The file must be smaller than 100KB (a cheap guard that skips large files).
- The file must be larger than 3KB.
- At least 1 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).
- 4a24048f81afbe9fb62e7a6a49adbd1faf41f266b5f9feecdceb567aec096784
- 778cbb0ee4afffca6a0b788a97bc2f4855ceb69ddc5eaa230acfa2834e1aeb07
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: 62e67c25-a420-5dac-9d1c-b0648ea6b574
Tags:CVE_2022_30190FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard· 2022-05-30