YARA · SEKOIA.IO Community
SEKOIA_Apt_Uta0178_Javascript_Inclusion_Strings
Detects UTA0178 malicious inclusion strings
- Autor
- Sekoia.io
- Fecha
- 2024-01-12
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detects UTA0178 malicious inclusion strings
Define 5 patrones (5 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
apt-uta0178-javascript-inclusion-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Uta0178_Javascript_Inclusion_Strings
{
meta:
= "Detects UTA0178 malicious inclusion strings"
= "Sekoia.io"
= "af816c35-1f00-47ea-86ee-c034607c625e"
= "2024-01-12"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_uta0178_javascript_inclusion_strings.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d3fedf49417178df374d6ae20e57ffcfa00cb68a647769964c049d9a8e0f4958"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$s0 = ".value"
$s1 = "btoa("
$s2 = "https://"
$s3 = "new XMLHttpRequest();"
$s4 = ".send(null);"
condition:
@s0< @s1 and @s1 < @s2 and @s2 < @s3 and @s3 < @s4 and @s4- @s0 < 350
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s0 | texto | ".value" | |
| $s1 | texto | "btoa(" | |
| $s2 | texto | "https://" | |
| $s3 | texto | "new XMLHttpRequest();" | |
| $s4 | texto | ".send(null);" |
Condición
@s0< @s1 and @s1 < @s2 and @s2 < @s3 and @s3 < @s4 and @s4- @s0 < 350Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: af816c35-1f00-47ea-86ee-c034607c625e
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Reglas relacionadas
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-03-06