YARA · SEKOIA.IO Community
SEKOIA_Apt_Uta0178_Javascript_Inclusion_Strings
Detects UTA0178 malicious inclusion strings
- Auteur
- Sekoia.io
- Date
- 2024-01-12
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects UTA0178 malicious inclusion strings
Elle définit 5 motifs (5 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
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
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s0 | texte | ".value" | |
| $s1 | texte | "btoa(" | |
| $s2 | texte | "https://" | |
| $s3 | texte | "new XMLHttpRequest();" | |
| $s4 | texte | ".send(null);" |
Condition
@s0< @s1 and @s1 < @s2 and @s2 < @s3 and @s3 < @s4 and @s4- @s0 < 350Tester 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
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: af816c35-1f00-47ea-86ee-c034607c625e
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06