Saltar al contenido

YARA · CAPE Sandbox (CAPEv2)

CAPE_Heavenssyscall

Bypass variants of heaven's gate direct syscalls

GenéricaCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compila con YARA-X
Autor
kevoreilly
Fecha
2024-03-25
Puntuación / Calidad
75 / 70

Qué detecta esta regla

Bypass variants of heaven's gate direct syscalls

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

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

Código de la regla

heavenssyscall.yarGNU General Public License v3.0
rule CAPE_Heavenssyscall : FILE
{
	meta:
		description = "Bypass variants of heaven's gate direct syscalls"
		author = "kevoreilly"
		id = "7c60102a-ac8b-5e28-8dbb-4b6c3f4cddff"
		date = "2024-03-25"
		modified = "2024-03-25"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/HeavensSyscall.yar#L1-L13"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "aeb981fcba0936ff8b1be4c601445fd45e5d3b74856a9439d351edd57f5a50c3"
		score = 75
		quality = 70
		tags = "FILE"
		cape_options = "clear,br0=$gate1-9,action1=seteax:0,count=0,sysbp=$sysenter+10"
		packed = "2950b4131886e06bdb83ab1611b71273df23b0d31a4d8eb6baddd33327d87ffa"

	strings:
		$gate1 = {00 00 00 00 74 24 8D 45 F8 50 6A FF FF 95 [4] 85 C0 74 08 8B 4D F8 89 4D FC EB 07 C7 45 FC 00 00 00 00 8B 45 FC EB 02 33 C0 8B E5 5D C2 C0}
		$sysenter = {68 [4] E8 [4] E8 [4] C2 ?? 00 CC CC CC CC CC CC CC CC}

	condition:
		uint16( 0 ) == 0x8B55 and all of them
}

Cadenas (2 patrones)

IdentificadorTipoValorModificadores
$gate1hex{00 00 00 00 74 24 8D 45 F8 50 6A FF FF 95 [4] 85 C0 74 08 8B 4D F8 89 4D FC EB 07 C7 45 FC 00 00 00 00 8B 45 FC EB 02 33 C0 8B E5 5D C2 C0}
$sysenterhex{68 [4] E8 [4] E8 [4] C2 ?? 00 CC CC CC CC CC CC CC CC}

Condición

uint16( 0 ) == 0x8B55 and all of them

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de la regla.

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: 7c60102a-ac8b-5e28-8dbb-4b6c3f4cddff

Metadatos

cape_optionsclear,br0=$gate1-9,action1=seteax:0,count=0,sysbp=$sysenter+10
packed2950b4131886e06bdb83ab1611b71273df23b0d31a4d8eb6baddd33327d87ffa

Etiquetas:FILE