Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Backoor_Win_Tinyturla_Ng

Detect the TinyTurla-NG backdoor used by Turla

APT / actorTiny TurlaTinyturla NgSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-03-04
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detect the TinyTurla-NG backdoor used by Turla

Familia de malware asociada: Tiny Turla, Tinyturla Ng.

Objetivos: PE de Windows.

Define 5 patrones (5 de texto, 0 hex, 0 regex). Módulos YARA usados: pe.

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

backoor-win-tinyturla-ng.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Backoor_Win_Tinyturla_Ng : FILE
{
	meta:
		description = "Detect the TinyTurla-NG backdoor used by Turla"
		author = "Sekoia.io"
		id = "019043bb-0212-4b73-bc93-03e9a746d28d"
		date = "2024-03-04"
		modified = "2024-12-19"
		reference = "https://blog.talosintelligence.com/tinyturla-next-generation/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backoor_win_tinyturla_ng.yar#L3-L28"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "267071df79927abd1e57f57106924dd8a68e1c4ed74e7b69403cdcdf6e6a453b"
		hash = "d6ac21a409f35a80ba9ccfe58ae1ae32883e44ecc724e4ae8289e7465ab2cf40"
		logic_hash = "a2fe2187e0cdd02fa31cbbecd600d044d4d12788ea6f76086aef7e77cbf232a0"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "delkill /F /IM explENT_USER\\Softwar"
		$ = "Set-PSReadLineOption -HistorySaveStyle SaveNothing"
		$ = "changeshell"
		$ = "chcp 437 > $null"
		$ = "powershell.exe -nologo"

	condition:
		uint16be( 0 ) == 0x4d5a and all of them or pe.imphash ( ) == "2240ae6f0dcbc0537836dfd9205a1f2b"
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$texto"delkill /F /IM explENT_USER\\Softwar"
$texto"Set-PSReadLineOption -HistorySaveStyle SaveNothing"
$texto"changeshell"
$texto"chcp 437 > $null"
$texto"powershell.exe -nologo"

Condición

uint16be( 0 ) == 0x4d5a and all of them or pe.imphash ( ) == "2240ae6f0dcbc0537836dfd9205a1f2b"

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de la regla.
  • Usa el módulo pe.
  • Comprueba el hash de importaciones PE (imphash).

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).

  • 267071df79927abd1e57f57106924dd8a68e1c4ed74e7b69403cdcdf6e6a453b
  • d6ac21a409f35a80ba9ccfe58ae1ae32883e44ecc724e4ae8289e7465ab2cf40

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: 019043bb-0212-4b73-bc93-03e9a746d28d

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Tiny Turla