Saltar al contenido

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bruteratelpacker

BruteRatel Outer Encryption Layer

Herramienta ofensivaCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compila con YARA-X
Autor
kevoreilly
Fecha
2024-07-11
Modificada
2024-07-22
Puntuación / Calidad
75 / 70

Qué detecta esta regla

BruteRatel Outer Encryption Layer

Define 3 patrones (0 de texto, 3 hex, 0 regex).

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

Código de la regla

bruteratelpacker.yarGNU General Public License v3.0
rule CAPE_Bruteratelpacker
{
	meta:
		description = "BruteRatel Outer Encryption Layer"
		author = "kevoreilly"
		id = "631083be-7058-590a-a394-984545f42ad7"
		date = "2024-07-11"
		modified = "2024-07-22"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/BruteRatel.yar#L14-L26"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "2ccb17efe378d034df34d20d7580c58171d0fd11c18fef6c9a23f1ba238514e6"
		score = 75
		quality = 70
		tags = ""
		cape_options = "bp1=$outer*,action1=scan,count=0"

	strings:
		$outer = {83 45 F8 01 81 7D F8 FF 00 00 00 7E ?? 83 45 FC 01 8B 45 FC 3B 45 ?? 7E ?? 48}
		$inner = {88 E3 32 1C 0E 88 5C 15 00 48 8D 49 01 48 8D 52 01 38 C1 76 ?? 48 01 CE EB ?? FF}
		$date = {48 8B 17 48 85 D2 0F 85 [2] 00 00 8B 47 08 85 C0 0F 85 [2] 00 00}

	condition:
		($outer ) and not ( $inner ) and not ( $date )
}

Cadenas (3 patrones)

IdentificadorTipoValorModificadores
$outerhex{83 45 F8 01 81 7D F8 FF 00 00 00 7E ?? 83 45 FC 01 8B 45 FC 3B 45 ?? 7E ?? 48}
$innerhex{88 E3 32 1C 0E 88 5C 15 00 48 8D 49 01 48 8D 52 01 38 C1 76 ?? 48 01 CE EB ?? FF}
$datehex{48 8B 17 48 85 D2 0F 85 [2] 00 00 8B 47 08 85 C0 0F 85 [2] 00 00}

Condición

($outer ) and not ( $inner ) and not ( $date )

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: kevoreilly

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: 631083be-7058-590a-a394-984545f42ad7

Metadatos

cape_optionsbp1=$outer*,action1=scan,count=0