Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Apk_Badbazaar_Stage2_Implant_May23

Detection of the second stage capability of the BadBazaar android malware that has the main malicious capabilities. Will gather various info about the user/phone and routinely send this to the C2.

APT / actorVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2023-05-25
Modificada
2023-08-30
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detection of the second stage capability of the BadBazaar android malware that has the main malicious capabilities. Will gather various info about the user/phone and routinely send this to the C2.

Define 11 patrones (11 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-malware-apk-badbazaar-stage2-implant-may23.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Apk_Badbazaar_Stage2_Implant_May23 : EVILBAMBOO FILE
{
	meta:
		description = "Detection of the second stage capability of the BadBazaar android malware that has the main malicious capabilities. Will gather various info about the user/phone and routinely send this to the C2."
		author = "threatintel@volexity.com"
		id = "1f97c610-773f-5385-935a-445cb9192157"
		date = "2023-05-25"
		modified = "2023-08-30"
		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#L257-L285"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "bf5f7fbf42236e89bcf663d2822d54bee89abaf3f247a54f371bf156e0e03629"
		logic_hash = "2186369298ebfa0b892ecb14ebacc93c6d14c9c35012e8e6cdff077634cf3773"
		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:
		$c1 = "%{\"command\":\"%s\",\"path\":\"%s\",\"files\":["
		$c2 = "{\"name\":\"%s\",\"dirs\":\"%d\",\"files\":\"%d\",\"isfolder\":\"%d\",\"path\":\"%s\"},"
		$s1 = "Timezon id:"
		$s2 = "China Telecom"
		$s3 = "China Unicom"
		$s4 = "ConfigPipe"
		$s5 = "ForwordTo"
		$s6 = "can't get camera content"
		$s7 = "cat /sys/class/net/wlan0/address"
		$s8 = "_preferences_light"
		$s9 = "registration_jid"

	condition:
		1 of ( $c* ) or 5 of ( $s* )
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$c1texto"%{\"command\":\"%s\",\"path\":\"%s\",\"files\":["
$c2texto"{\"name\":\"%s\",\"dirs\":\"%d\",\"files\":\"%d\",\"isfolder\":\"%d\",\"path\":\"%s\"},"
$s1texto"Timezon id:"
$s2texto"China Telecom"
$s3texto"China Unicom"
$s4texto"ConfigPipe"
$s5texto"ForwordTo"
$s6texto"can't get camera content"
$s7texto"cat /sys/class/net/wlan0/address"
$s8texto"_preferences_light"
$s9texto"registration_jid"

Condición

1 of ( $c* ) or 5 of ( $s* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 1 patrones de ( $c* ).
  • Deben coincidir al menos 5 patrones de ( $s* ).

Prueba 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.

Abrir en el editor

Referencias

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).

  • bf5f7fbf42236e89bcf663d2822d54bee89abaf3f247a54f371bf156e0e03629

Licencia y atribución

Autor: threatintel@volexity.com

Repositorio de origen: Volexity threat-intel @ 3a9d0b5245

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

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

Aviso de copyright: Copyright 2022 by Volexity, Inc.

Regla original

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: 1f97c610-773f-5385-935a-445cb9192157

Metadatos

scan_contextfile

Etiquetas:EVILBAMBOOFILE