YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_PS1_Msdt_Execution_May22
Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation
- Author
- Nasreddine Bencherchali, Christian Burkard
- Date
- 2022-05-31
- Modified
- 2025-03-21
- Score / Quality
- 65 / 85
What this rule detects
Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation
It defines 11 patterns (10 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_PS1_Msdt_Execution_May22 : CVE_2022_30190 FILE
{
meta:
= "Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation"
= "Nasreddine Bencherchali, Christian Burkard"
= "a1863582-87a2-5d07-a549-ef4a31bf0ed2"
= "2022-05-31"
= "2025-03-21"
= "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L2-L37"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9b8a061de4210d23e58b5190a300ee331273fc98f357156a0bb1d79f9f2b49b1"
= 65
= 85
= "CVE-2022-30190, FILE"
strings:
$a = "PCWDiagnostic" ascii wide fullword
$sa1 = "msdt.exe" ascii wide
$sa2 = "msdt " ascii wide
$sa3 = "ms-msdt" ascii wide
$sb1 = "/af " ascii wide
$sb2 = "-af " ascii wide
$sb3 = "IT_BrowseForFile=" ascii wide
$fp1 = { 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00
46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00
00 00 70 00 63 00 77 00 72 00 75 00 6E 00 2E 00
65 00 78 00 65 00 }
$fp2 = "FilesFullTrust" wide
$fp3 = "Cisco Spark" ascii wide
$fp4 = "author: " ascii
condition:
filesize < 10MB and $a and 1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* ) and not uint8( 0 ) == 0x7B
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a | text | "PCWDiagnostic" | ascii wide fullword |
| $sa1 | text | "msdt.exe" | ascii wide |
| $sa2 | text | "msdt " | ascii wide |
| $sa3 | text | "ms-msdt" | ascii wide |
| $sb1 | text | "/af " | ascii wide |
| $sb2 | text | "-af " | ascii wide |
| $sb3 | text | "IT_BrowseForFile=" | ascii wide |
| $fp1 | hex | { 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00 46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00 00 00 70 00 63 00 77 00 72 00 75 … | |
| $fp2 | text | "FilesFullTrust" | wide |
| $fp3 | text | "Cisco Spark" | ascii wide |
| $fp4 | text | "author: " | ascii |
Condition
filesize < 10MB and $a and 1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* ) and not uint8( 0 ) == 0x7BIn plain words (Heuristic)
- The file must be smaller than 10MB (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 ( $fp* ) must match.
- Pattern $a 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.
Licence & attribution
Author: Nasreddine Bencherchali, 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: a1863582-87a2-5d07-a549-ef4a31bf0ed2
Tags:CVE_2022_30190FILE
Related rules
- 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· 2022-05-30
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard, Wojciech Cieslak· 2022-05-30