YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Doc_Wordxmlrels_May22
Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation
- Auteur
- Tobias Michalski, Christian Burkard, Wojciech Cieslak
- Date
- 2022-05-30
- Modifiée
- 2022-06-20
- Score / Qualité
- 70 / 85
Ce que détecte cette règle
Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation
Elle définit 6 motifs (6 texte, 0 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_Doc_Wordxmlrels_May22 : CVE_2022_30190 FILE
{
meta:
= "Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation"
= "Tobias Michalski, Christian Burkard, Wojciech Cieslak"
= "304c4816-b2f6-5319-9fe9-8f74bdb82ad0"
= "2022-05-30"
= "2022-06-20"
= "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L39-L61"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "62f262d180a5a48f89be19369a8425bec596bc6a02ed23100424930791ae3df0"
= "c9846f8c2c1724792de14ab4de0064f951a8faaf01cc27d873e600f29d59c842"
= 70
= 85
= "CVE-2022-30190, FILE"
strings:
$a1 = "<Relationships" ascii
$a2 = "TargetMode=\"External\"" ascii
$x1 = ".html!" ascii
$x2 = ".htm!" ascii
$x3 = "%2E%68%74%6D%6C%21" ascii
$x4 = "%2E%68%74%6D%21" ascii
condition:
filesize < 50KB and all of ( $a* ) and 1 of ( $x* )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $a1 | texte | "<Relationships" | ascii |
| $a2 | texte | "TargetMode=\"External\"" | ascii |
| $x1 | texte | ".html!" | ascii |
| $x2 | texte | ".htm!" | ascii |
| $x3 | texte | "%2E%68%74%6D%6C%21" | ascii |
| $x4 | texte | "%2E%68%74%6D%21" | ascii |
Condition
filesize < 50KB and all of ( $a* ) and 1 of ( $x* )En clair (Heuristique)
- Le fichier doit faire moins de 50KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de ( $a* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
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é.
Références
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 62f262d180a5a48f89be19369a8425bec596bc6a02ed23100424930791ae3df0
Licence et attribution
Auteur : Tobias Michalski, Christian Burkard, Wojciech Cieslak
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: 304c4816-b2f6-5319-9fe9-8f74bdb82ad0
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)· Nasreddine Bencherchali, Christian Burkard· 2022-05-31