Saltar al contenido

YARA · CAPE Sandbox (CAPEv2)

CAPE_Quasarrat_Kingrat

No description has been set in the source file - CAPE

GenéricaCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compila con YARA-X
Autor
jeFF0Falltrades
Fecha
2024-10-09
Modificada
2025-02-03
Puntuación / Calidad
75 / 70

Qué detecta esta regla

No description has been set in the source file - CAPE

Define 11 patrones (6 de texto, 5 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

quasarrat-kingrat.yarGNU General Public License v3.0
rule CAPE_Quasarrat_Kingrat
{
	meta:
		description = "No description has been set in the source file - CAPE"
		author = "jeFF0Falltrades"
		id = "dc0139e1-9f69-51da-b28f-212358b2f68b"
		date = "2024-10-09"
		modified = "2025-02-03"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/AsyncRAT.yar#L268-L287"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "1f4296a592134edbe52e256dc353143af02e897ff1afad98f3dac0c5ab13f3f7"
		score = 75
		quality = 70
		tags = ""
		cape_type = "QuasarRAT Payload"

	strings:
		$str_quasar = "Quasar." wide ascii
		$str_hidden = "set_Hidden" wide ascii
		$str_shell = "DoShellExecuteResponse" wide ascii
		$str_close = "echo DONT CLOSE THIS WINDOW!" wide ascii
		$str_pause = "ping -n 10 localhost > nul" wide ascii
		$str_aes_exc = "masterKey can not be null or empty" wide ascii
		$byte_aes_key_base = { 7E [3] 04 73 [3] 06 25 }
		$byte_aes_salt_base = { BF EB 1E 56 FB CD 97 3B B2 19 }
		$byte_special_folder = { 7e 73 [4] 28 [4] 80 }
		$patt_config = { 72 [3] 70 80 [3] 04 }
		$patt_verify_hash = { 7e [3] 04 6f [3] 0a 6f [3] 0a 74 [3] 01 }

	condition:
		6 of them and #patt_config >= 10
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$str_quasartexto"Quasar."wide ascii
$str_hiddentexto"set_Hidden"wide ascii
$str_shelltexto"DoShellExecuteResponse"wide ascii
$str_closetexto"echo DONT CLOSE THIS WINDOW!"wide ascii
$str_pausetexto"ping -n 10 localhost > nul"wide ascii
$str_aes_exctexto"masterKey can not be null or empty"wide ascii
$byte_aes_key_basehex{ 7E [3] 04 73 [3] 06 25 }
$byte_aes_salt_basehex{ BF EB 1E 56 FB CD 97 3B B2 19 }
$byte_special_folderhex{ 7e 73 [4] 28 [4] 80 }
$patt_confighex{ 72 [3] 70 80 [3] 04 }
$patt_verify_hashhex{ 7e [3] 04 6f [3] 0a 6f [3] 0a 74 [3] 01 }

Condición

6 of them and #patt_config >= 10

En palabras sencillas (Heurística)

  • Deben coincidir al menos 6 patrones de la regla.
  • El patrón $patt_config debe aparecer >= 10 veces.

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

Licencia y atribución

Autor: jeFF0Falltrades

Repositorio de origen: CAPE Sandbox (CAPEv2) @ 6b15e76f28

Licencia: GNU General Public License v3.0 (licencia del repositorio)

Aviso de copyright: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.

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: dc0139e1-9f69-51da-b28f-212358b2f68b

Metadatos

cape_typeQuasarRAT Payload