Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Lightrail

Detect the LIGHTRAIL tunneler used by UNC1549

Herramienta ofensivaLightrailSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-02-29
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detect the LIGHTRAIL tunneler used by UNC1549

Familia de malware asociada: Lightrail.

Objetivos: PE de Windows.

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

tool-win-lightrail.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Lightrail : FILE
{
	meta:
		description = "Detect the LIGHTRAIL tunneler used by UNC1549"
		author = "Sekoia.io"
		id = "39259f2c-11fe-4edd-8a9e-f36920132272"
		date = "2024-02-29"
		modified = "2024-12-19"
		reference = "https://www.mandiant.com/resources/blog/suspected-iranian-unc1549-targets-israel-middle-east"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_lightrail.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "e7ddab967b0487827db069833221aa2fe4ca05f7cda976cbc528ecb306a22774"
		hash = "4ecd511d9654f7fd66a61eb4ab6d7153040b5092d1594ff39935f01fbdbd4914"
		hash = "3472bc8ed6182eb17811c97ada7ebd48034ad09b6a7062b341fe09818d7a309f"
		hash = "ec7b97092278123f0c0613c5f9252eeccf55265d4aa5f2cfed57a63ebf3530ac"
		hash = "8f3757b8f5888a1303af71cbc1a106927d3d6c45552ee192c3ed0347804c2194"
		hash = "8b47b5ed1ed7afcc9194e1350d4e1996bd91ca3204747b586f309f4609a1a4cc"
		logic_hash = "84491bf7e955930c04e96f63ffb8c8f35ad02d9a917eceb727bf87c9ed3d831e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "lastenzug.dll"
		$s2 = "Lastenzug.dll"
		$azure = ".cloudapp.azure.com" wide

	condition:
		uint16be( 0 ) == 0x4d5a and 1 of ( $s* ) and $azure
}

Cadenas (3 patrones)

IdentificadorTipoValorModificadores
$s1texto"lastenzug.dll"
$s2texto"Lastenzug.dll"
$azuretexto".cloudapp.azure.com"wide

Condición

uint16be( 0 ) == 0x4d5a and 1 of ( $s* ) and $azure

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 1 patrones de ( $s* ).
  • El patrón $azure debe estar presente.

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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • e7ddab967b0487827db069833221aa2fe4ca05f7cda976cbc528ecb306a22774
  • 4ecd511d9654f7fd66a61eb4ab6d7153040b5092d1594ff39935f01fbdbd4914
  • 3472bc8ed6182eb17811c97ada7ebd48034ad09b6a7062b341fe09818d7a309f
  • ec7b97092278123f0c0613c5f9252eeccf55265d4aa5f2cfed57a63ebf3530ac
  • 8f3757b8f5888a1303af71cbc1a106927d3d6c45552ee192c3ed0347804c2194
  • 8b47b5ed1ed7afcc9194e1350d4e1996bd91ca3204747b586f309f4609a1a4cc

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: 39259f2c-11fe-4edd-8a9e-f36920132272

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE