YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_OBFUSC_Indiators_XML_Officedoc_Sep21_1
Detects suspicious encodings in fields used in reference files found in weaponized MS Office documents
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2021-09-18
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 65 / 85
Qué detecta esta regla
Detects suspicious encodings in fields used in reference files found in weaponized MS Office documents
Define 3 patrones (3 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_SUSP_OBFUSC_Indiators_XML_Officedoc_Sep21_1 : WINDOWS CVE FILE
{
meta:
= "Detects suspicious encodings in fields used in reference files found in weaponized MS Office documents"
= "Florian Roth (Nextron Systems)"
= "ffcaf270-f574-5692-90e5-6776c34eb71b"
= "2021-09-18"
= "2023-12-05"
= "https://twitter.com/sudosev/status/1439205606129377282"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cve_2021_40444.yar#L64-L81"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "13de9f39b1ad232e704b5e0b5051800fcd844e9f661185ace8287a23e9b3868e"
= "84674acffba5101c8ac518019a9afe2a78a675ef3525a44dceddeed8a0092c69"
= "fc8f0dd02460ab8f8cc6717c66eba51e6ed74881a48e92fd0bf978467dfb40e3"
= 65
= 85
= "WINDOWS, CVE, FILE"
strings:
$h1 = "<?xml " ascii wide
$xml_e = "Target=\"&#" ascii wide
$xml_mode_1 = "TargetMode=\"&#" ascii wide
condition:
filesize < 500KB and $h1 and 1 of ( $xml* )
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $h1 | texto | "<?xml " | ascii wide |
| $xml_e | texto | "Target=\"&#" | ascii wide |
| $xml_mode_1 | texto | "TargetMode=\"&#" | ascii wide |
Condición
filesize < 500KB and $h1 and 1 of ( $xml* )En palabras sencillas (Heurística)
- El archivo debe ocupar menos de 500KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de ( $xml* ).
- El patrón $h1 debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 13de9f39b1ad232e704b5e0b5051800fcd844e9f661185ace8287a23e9b3868e
- 84674acffba5101c8ac518019a9afe2a78a675ef3525a44dceddeed8a0092c69
Licencia y atribución
Autor: Florian Roth (Nextron Systems)
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: ffcaf270-f574-5692-90e5-6776c34eb71b
Reglas relacionadas
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25