Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_LOLKEK

Detects LOLKEK / GlobeImposter ransowmare

MalwareLOLKEKditekSHen 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 LOLKEK / GlobeImposter ransowmare

Familia de malware asociada: LOLKEK.

Objetivos: PE de Windows.

Define 10 patrones (10 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

malware-win-lolkek.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_LOLKEK : FILE
{
	meta:
		description = "Detects LOLKEK / GlobeImposter ransowmare"
		author = "ditekShen"
		id = "96374c8d-2ef7-5706-a96f-27d60f73f8c1"
		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#L10847-L10864"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "047492f8b7b56c75cfdcc4359de2b02a76cf9591b902171785806987e552995a"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "$Recycle.bin" fullword wide
		$s2 = "\\\\?\\%c:" fullword wide
		$s3 = ".MMM" fullword wide
		$s4 = "ReadMe.txt" fullword wide
		$s5 = "select * from Win32_ShadowCopy" fullword wide
		$s6 = "Win32_ShadowCopy.ID='%s'" fullword wide
		$s7 = "W3CRYPTO LOCKER" ascii
		$s8 = "http://mmcb" ascii
		$s9 = "yip.su/2QstD5" ascii
		$s10 = "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\AddInProcess32.exe" ascii

	condition:
		uint16( 0 ) == 0x5a4d and 7 of them
}

Cadenas (10 patrones)

IdentificadorTipoValorModificadores
$s1texto"$Recycle.bin"fullword wide
$s2texto"\\\\?\\%c:"fullword wide
$s3texto".MMM"fullword wide
$s4texto"ReadMe.txt"fullword wide
$s5texto"select * from Win32_ShadowCopy"fullword wide
$s6texto"Win32_ShadowCopy.ID='%s'"fullword wide
$s7texto"W3CRYPTO LOCKER"ascii
$s8texto"http://mmcb"ascii
$s9texto"yip.su/2QstD5"ascii
$s10texto"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\AddInProcess32.exe"ascii

Condición

uint16( 0 ) == 0x5a4d and 7 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 7 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: 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: 96374c8d-2ef7-5706-a96f-27d60f73f8c1

Etiquetas:FILE