Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Loader_Latrodectus_Dll

Finds Latrodectus samples based on the specific strings

MalwareLatrodectusSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2023-12-08
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Finds Latrodectus samples based on the specific strings

Familia de malware asociada: Latrodectus.

Objetivos: PE de Windows.

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

loader-latrodectus-dll.yarDetection Rule License 1.1
rule SEKOIA_Loader_Latrodectus_Dll : FILE
{
	meta:
		description = "Finds Latrodectus samples based on the specific strings"
		author = "Sekoia.io"
		id = "c60676ad-31cb-4f4d-9073-757a0ad7d23d"
		date = "2023-12-08"
		modified = "2024-12-19"
		reference = "https://twitter.com/Myrtus0x0/status/1732997981866209550"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_latrodectus_dll.yar#L1-L35"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "57aae1944eded14537cdc1c17b21cfc503687a416551b782fc76f8c7858e936e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "c:\\temp\\debug.pdb" fullword ascii
		$str02 = "Bottmp64.dll" fullword ascii
		$str03 = "scab" fullword ascii
		$str04 = "&wmic=" fullword ascii
		$str05 = "&ipconfig=" fullword ascii
		$str06 = "&systeminfo=" fullword ascii
		$str07 = "&domain_trusts=" fullword ascii
		$str08 = "&domain_trusts_all=" fullword ascii
		$str09 = "&net_view_all_domain=" fullword ascii
		$str10 = "&net_view_all=" fullword ascii
		$str11 = "&net_group=" fullword ascii
		$str12 = "&net_config_ws=" fullword ascii
		$str13 = "&net_wmic_av=" fullword ascii
		$str14 = "&whoami_group=" fullword ascii
		$str15 = "\"subproc\": [" fullword ascii
		$str16 = "&proclist=[" fullword ascii
		$str17 = "&desklinks=[" fullword ascii
		$str18 = "Update_%x" fullword wide
		$str19 = "Custom_update" fullword wide
		$str20 = "\\update_data.dat" fullword wide

	condition:
		uint16( 0 ) == 0x5A4D and 10 of them
}

Cadenas (20 patrones)

IdentificadorTipoValorModificadores
$str01texto"c:\\temp\\debug.pdb"fullword ascii
$str02texto"Bottmp64.dll"fullword ascii
$str03texto"scab"fullword ascii
$str04texto"&wmic="fullword ascii
$str05texto"&ipconfig="fullword ascii
$str06texto"&systeminfo="fullword ascii
$str07texto"&domain_trusts="fullword ascii
$str08texto"&domain_trusts_all="fullword ascii
$str09texto"&net_view_all_domain="fullword ascii
$str10texto"&net_view_all="fullword ascii
$str11texto"&net_group="fullword ascii
$str12texto"&net_config_ws="fullword ascii
$str13texto"&net_wmic_av="fullword ascii
$str14texto"&whoami_group="fullword ascii
$str15texto"\"subproc\": ["fullword ascii
$str16texto"&proclist=["fullword ascii
$str17texto"&desklinks=["fullword ascii
$str18texto"Update_%x"fullword wide
$str19texto"Custom_update"fullword wide
$str20texto"\\update_data.dat"fullword wide

Condición

uint16( 0 ) == 0x5A4D and 10 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 10 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: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

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: c60676ad-31cb-4f4d-9073-757a0ad7d23d

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Latrodectus