Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Torisma

Detects Torisma

MalwareTorismaditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects Torisma

Familia de malware asociada: Torisma.

Objetivos: PE de Windows.

Define 9 patrones (6 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

malware-win-torisma.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Torisma : FILE
{
	meta:
		description = "Detects Torisma"
		author = "ditekSHen"
		id = "e62a0f1c-4404-5da1-9c43-4cb58e735827"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4339-L4355"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bd3823f8a91fdfc443e20bcb299a5103b7176a694f0d5328e7986de83f677a31"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "ACTION=PREVPAGE&CODE=C%s&RES=%d" fullword ascii
		$s2 = "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" fullword ascii
		$s3 = "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" fullword ascii
		$s4 = "Your request has been accepted. ClientID: {" ascii
		$s5 = "Proxy-Connection: Keep-Alive" fullword wide
		$s6 = "Content-Length: %d" fullword wide
		$o0 = { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
		$o1 = { 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
		$o2 = { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }

	condition:
		uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}

Cadenas (9 patrones)

IdentificadorTipoValorModificadores
$s1texto"ACTION=PREVPAGE&CODE=C%s&RES=%d"fullword ascii
$s2texto"ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d"fullword ascii
$s3texto"ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d"fullword ascii
$s4texto"Your request has been accepted. ClientID: {"ascii
$s5texto"Proxy-Connection: Keep-Alive"fullword wide
$s6texto"Content-Length: %d"fullword wide
$o0hex{ f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
$o1hex{ 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
$o2hex{ f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }

Condición

uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $o* ).
  • Deben coincidir al menos 4 patrones de ( $s* ).
  • Deben coincidir al menos 3 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

Licencia y atribución

Autor: ditekSHen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: e62a0f1c-4404-5da1-9c43-4cb58e735827

Etiquetas:FILE