YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_XML_Encoded_CVE_2021_40444
Detects possible CVE-2021-40444 with no encoding, HTML/XML entity (and hex notation) encoding, or all 3
- Auteur
- James E.C, Proofpoint
- Date
- 2021-09-18
- Modifiée
- 2021-09-19
- Score / Qualité
- 70 / 85
Ce que détecte cette règle
Detects possible CVE-2021-40444 with no encoding, HTML/XML entity (and hex notation) encoding, or all 3
Elle définit 3 motifs (1 texte, 0 hex, 2 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_EXPL_XML_Encoded_CVE_2021_40444 : CVE_2021_40444 FILE
{
meta:
= "Detects possible CVE-2021-40444 with no encoding, HTML/XML entity (and hex notation) encoding, or all 3"
= "James E.C, Proofpoint"
= "4bf9ec64-c662-5c8f-9e58-12a7412ef07d"
= "2021-09-18"
= "2021-09-19"
= "https://twitter.com/sudosev/status/1439205606129377282"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cve_2021_40444.yar#L44-L61"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "13de9f39b1ad232e704b5e0b5051800fcd844e9f661185ace8287a23e9b3868e"
= "84674acffba5101c8ac518019a9afe2a78a675ef3525a44dceddeed8a0092c69"
= "feaeadd8e7e262f191ea0c2f85377531208262e5ac19d6706703e62cf8b4ec90"
= 70
= 85
= "CVE-2021-40444, FILE"
strings:
$h1 = "<?xml " ascii wide
$t_xml_r = /Target[\s]{0,20}=[\s]{0,20}\["']([Mm]|&#(109|77|x6d|x4d);)([Hh]|&#(104|72|x68|x48);)([Tt]|&#(116|84|x74|x54);)([Mm]|&#(109|77|x6d|x4d);)([Ll]|&#(108|76|x6c|x4c);)(:|:|:)/
$t_mode_r = /TargetMode[\s]{0,20}=[\s]{0,20}\["']([Ee]|&#(x45|x65|69|101);)([Xx]|&#(x58|x78|88|120);)([Tt]|&#(x74|x54|84|116);)/
condition:
filesize < 500KB and $h1 and all of ( $t_* )
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $h1 | texte | "<?xml " | ascii wide |
| $t_xml_r | regex | /Target[\s]{0,20}=[\s]{0,20}\["']([Mm]|&#(109|77|x6d|x4d);)([Hh]|&#(104|72|x68|x48);)([Tt]|&#(116|84|x74|x54);)([Mm]|&#(109|77|x6d|x4d);)([Ll]|&#(108|76|x6c|x4c … | |
| $t_mode_r | regex | /TargetMode[\s]{0,20}=[\s]{0,20}\["']([Ee]|&#(x45|x65|69|101);)([Xx]|&#(x58|x78|88|120);)([Tt]|&#(x74|x54|84|116);)/ |
Condition
filesize < 500KB and $h1 and all of ( $t_* )En clair (Heuristique)
- Le fichier doit faire moins de 500KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de ( $t_* ) doivent être trouvés.
- Le motif $h1 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é.
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).
- 13de9f39b1ad232e704b5e0b5051800fcd844e9f661185ace8287a23e9b3868e
- 84674acffba5101c8ac518019a9afe2a78a675ef3525a44dceddeed8a0092c69
Licence et attribution
Auteur : James E.C, Proofpoint
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: 4bf9ec64-c662-5c8f-9e58-12a7412ef07d
Tags:CVE_2021_40444FILE
Règles liées
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Jeremy Brown / @alteredbytes· 2021-09-10