Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Lcpdot

Detects LCPDot

MalwareLcpdotditekSHen 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 LCPDot

Familia de malware asociada: Lcpdot.

Objetivos: PE de Windows.

Define 12 patrones (9 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-lcpdot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lcpdot : FILE
{
	meta:
		description = "Detects LCPDot"
		author = "ditekSHen"
		id = "e4db3784-7fb0-58bd-997e-788f409445cd"
		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#L4318-L4337"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b0f77f17976c38a69c2ff0d84002f2db29a4d25873309259519115b5f2b210ff"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" fullword wide
		$s2 = "Cookie: SESSID=%s" fullword ascii
		$s3 = "Cookie=Enable" fullword ascii
		$s4 = "Cookie=Enable&CookieV=%d&Cookie_Time=32" fullword ascii
		$s5 = ".?AVTShellCodeRuner@@" fullword ascii
		$s6 = ".?AVTHashEncDecoder@@" fullword ascii
		$s7 = ".?AVTWebAddressList@@" fullword ascii
		$s8 = "WinMain.dll" fullword ascii
		$s9 = "HotPlugin" wide
		$o0 = { 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
		$o1 = { 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
		$o2 = { c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

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

Cadenas (12 patrones)

IdentificadorTipoValorModificadores
$s1texto"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"fullword wide
$s2texto"Cookie: SESSID=%s"fullword ascii
$s3texto"Cookie=Enable"fullword ascii
$s4texto"Cookie=Enable&CookieV=%d&Cookie_Time=32"fullword ascii
$s5texto".?AVTShellCodeRuner@@"fullword ascii
$s6texto".?AVTHashEncDecoder@@"fullword ascii
$s7texto".?AVTWebAddressList@@"fullword ascii
$s8texto"WinMain.dll"fullword ascii
$s9texto"HotPlugin"wide
$o0hex{ 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
$o1hex{ 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
$o2hex{ c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

Condición

uint16( 0 ) == 0x5a4d and 6 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 6 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: e4db3784-7fb0-58bd-997e-788f409445cd

Etiquetas:FILE