Zum Inhalt springen

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.

APT / AkteurVolexity threat-intelBSD 2-Clause LicenseKompiliert mit YARA-X (mit Warnungen)
Autor
threatintel@volexity.com
Datum
2023-06-27
Geändert
2023-09-21
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects the JMASK profiling script in an obfuscated format using a string array and an offset.

Sie definiert 17 Muster (17 Text, 0 Hex, 0 Regex).

YARA-X meldet: warning[duplicate_pattern_value]: duplicate pattern value

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-delivery-web-js-jmask-str-array-variant.yarBSD 2-Clause License
rule VOLEXITY_Apt_Delivery_Web_Js_Jmask_Str_Array_Variant : EVILBAMBOO FILE
{
	meta:
		description = "Detects the JMASK profiling script in an obfuscated format using a string array and an offset."
		author = "threatintel@volexity.com"
		id = "d5d32c8b-53fb-5103-ac73-05f320e71c97"
		date = "2023-06-27"
		modified = "2023-09-21"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L408-L444"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "7995c382263f8dbbfc37a9d62392aef8b4f89357d436b3dd94dea842f9574ecf"
		logic_hash = "0ae7c96e0f866f21d66d7a23bf937d6ce48c9dd1ea19142dbb13487208780146"
		score = 75
		quality = 80
		tags = "EVILBAMBOO, FILE"
		scan_context = "file"
		license = "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
}

Strings (17 Muster)

BezeichnerTypWertModifikatoren
$array_1Text"http://eular.github.io"
$array_2Text"stun:stun.services.mozilla.com"
$array_3Text"\xE6\x9C\xAA\xE5\xAE\x89\xE8\xA3\x85MetaMask"
$array_4Text"/jquery/jquery.min.js"
$array_5Text"onicecandidate"
$ios_1Text"['a7', '640x1136', [_0x"
$ios_2Text"['a7', _0x"
$ios_3Text"['a8', _0x"
$ios_4Text"['a8', '750x1334', ['iPhone\\x206']]"
$ios_5Text"['a8', '1242x2208', ['iPhone\\x206\\x20Plus']]"
$ios_6Text"['a8', _0x"
$ios_7Text"['a9', _0x"
$ios_8Text"['a9', '750x1334', [_0x"
$ios_9Text"['a9', '1242x2208', ['iPhone\\x206s\\x20Plus']]"
$ios_10Text"['a9x', '2048x2732', ['iPad\\x20Pro\\x20(1st\\x20gen\\x2012.9-inch)']]"
$ios_11Text"['a10x', '1668x2224', [_0x"
$headerText"info = {}, finished = 0x0;"

Bedingung

3 of ( $array_* ) or 5 of ( $ios_* ) or $header

In Worten (Heuristik)

  • Mindestens 3 Muster aus ( $array_* ) müssen treffen.
  • Mindestens 5 Muster aus ( $ios_* ) müssen treffen.
  • Muster $header muss vorhanden sein.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 7995c382263f8dbbfc37a9d62392aef8b4f89357d436b3dd94dea842f9574ecf

Lizenz & Namensnennung

Autor: threatintel@volexity.com

Quell-Repository: Volexity threat-intel @ 3a9d0b5245

Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright-Hinweis: Copyright 2022 by Volexity, Inc.

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: d5d32c8b-53fb-5103-ac73-05f320e71c97

Metadaten

scan_contextfile

Tags:EVILBAMBOOFILE