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
- Auteur
- Nasreddine Bencherchali, Christian Burkard
- Date
- 2022-05-31
- Modifiée
- 2025-03-21
- Score / Qualité
- 65 / 85
Ce que détecte cette règle
Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation
Elle définit 11 motifs (10 texte, 1 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $a | texte | "PCWDiagnostic" | ascii wide fullword |
| $sa1 | texte | "msdt.exe" | ascii wide |
| $sa2 | texte | "msdt " | ascii wide |
| $sa3 | texte | "ms-msdt" | ascii wide |
| $sb1 | texte | "/af " | ascii wide |
| $sb2 | texte | "-af " | ascii wide |
| $sb3 | texte | "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 | texte | "FilesFullTrust" | wide |
| $fp3 | texte | "Cisco Spark" | ascii wide |
| $fp4 | texte | "author: " | ascii |
Condition
filesize < 10MB and $a and 1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* ) and not uint8( 0 ) == 0x7BEn clair (Heuristique)
- Le fichier doit faire moins de 10MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 1 motifs de ( $sa* ) doivent être trouvés.
- Au moins 1 motifs de ( $sb* ) doivent être trouvés.
- Au moins 1 motifs de ( $fp* ) doivent être trouvés.
- Le motif $a doit être présent.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Licence et attribution
Auteur : Nasreddine Bencherchali, Christian Burkard
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: a1863582-87a2-5d07-a549-ef4a31bf0ed2
Tags:CVE_2022_30190FILE
Règles liées
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Paul Hager· 2022-06-02
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard· 2022-05-30
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Tobias Michalski, Christian Burkard, Wojciech Cieslak· 2022-05-30