YARA · Volexity threat-intel
VOLEXITY_Apt_Delivery_Web_Js_Jmask_Str_Array_Variant
Detects the JMASK profiling script in an obfuscated format using a string array and an offset.
- Auteur
- threatintel@volexity.com
- Date
- 2023-06-27
- Modifiée
- 2023-09-21
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects the JMASK profiling script in an obfuscated format using a string array and an offset.
Elle définit 17 motifs (17 texte, 0 hex, 0 regex).
YARA-X indique : warning[duplicate_pattern_value]: duplicate pattern value
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule VOLEXITY_Apt_Delivery_Web_Js_Jmask_Str_Array_Variant : EVILBAMBOO FILE
{
meta:
= "Detects the JMASK profiling script in an obfuscated format using a string array and an offset."
= "threatintel@volexity.com"
= "d5d32c8b-53fb-5103-ac73-05f320e71c97"
= "2023-06-27"
= "2023-09-21"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L408-L444"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "7995c382263f8dbbfc37a9d62392aef8b4f89357d436b3dd94dea842f9574ecf"
= "0ae7c96e0f866f21d66d7a23bf937d6ce48c9dd1ea19142dbb13487208780146"
= 75
= 80
= "EVILBAMBOO, FILE"
= "file"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
strings:
$array_1 = "http://eular.github.io"
$array_2 = "stun:stun.services.mozilla.com"
$array_3 = "\xE6\x9C\xAA\xE5\xAE\x89\xE8\xA3\x85MetaMask"
$array_4 = "/jquery/jquery.min.js"
$array_5 = "onicecandidate"
$ios_1 = "['a7', '640x1136', [_0x"
$ios_2 = "['a7', _0x"
$ios_3 = "['a8', _0x"
$ios_4 = "['a8', '750x1334', ['iPhone\\x206']]"
$ios_5 = "['a8', '1242x2208', ['iPhone\\x206\\x20Plus']]"
$ios_6 = "['a8', _0x"
$ios_7 = "['a9', _0x"
$ios_8 = "['a9', '750x1334', [_0x"
$ios_9 = "['a9', '1242x2208', ['iPhone\\x206s\\x20Plus']]"
$ios_10 = "['a9x', '2048x2732', ['iPad\\x20Pro\\x20(1st\\x20gen\\x2012.9-inch)']]"
$ios_11 = "['a10x', '1668x2224', [_0x"
$header = "info = {}, finished = 0x0;"
condition:
3 of ( $array_* ) or 5 of ( $ios_* ) or $header
}
Chaînes (17 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $array_1 | texte | "http://eular.github.io" | |
| $array_2 | texte | "stun:stun.services.mozilla.com" | |
| $array_3 | texte | "\xE6\x9C\xAA\xE5\xAE\x89\xE8\xA3\x85MetaMask" | |
| $array_4 | texte | "/jquery/jquery.min.js" | |
| $array_5 | texte | "onicecandidate" | |
| $ios_1 | texte | "['a7', '640x1136', [_0x" | |
| $ios_2 | texte | "['a7', _0x" | |
| $ios_3 | texte | "['a8', _0x" | |
| $ios_4 | texte | "['a8', '750x1334', ['iPhone\\x206']]" | |
| $ios_5 | texte | "['a8', '1242x2208', ['iPhone\\x206\\x20Plus']]" | |
| $ios_6 | texte | "['a8', _0x" | |
| $ios_7 | texte | "['a9', _0x" | |
| $ios_8 | texte | "['a9', '750x1334', [_0x" | |
| $ios_9 | texte | "['a9', '1242x2208', ['iPhone\\x206s\\x20Plus']]" | |
| $ios_10 | texte | "['a9x', '2048x2732', ['iPad\\x20Pro\\x20(1st\\x20gen\\x2012.9-inch)']]" | |
| $ios_11 | texte | "['a10x', '1668x2224', [_0x" | |
| $header | texte | "info = {}, finished = 0x0;" |
Condition
3 of ( $array_* ) or 5 of ( $ios_* ) or $headerEn clair (Heuristique)
- Au moins 3 motifs de ( $array_* ) doivent être trouvés.
- Au moins 5 motifs de ( $ios_* ) doivent être trouvés.
- Le motif $header 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é.
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).
- 7995c382263f8dbbfc37a9d62392aef8b4f89357d436b3dd94dea842f9574ecf
Licence et attribution
Auteur : threatintel@volexity.com
Dépôt source : Volexity threat-intel @ 3a9d0b5245
Licence : BSD 2-Clause License (indiquée dans les métadonnées de la règle)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Mention de copyright : Copyright 2022 by Volexity, Inc.
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: d5d32c8b-53fb-5103-ac73-05f320e71c97
Métadonnées
| scan_context | file |
|---|
Tags:EVILBAMBOOFILE
Règles liées
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-06-15
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-06-01
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-05-25
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-03