Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Loader_Win_Svcready_Imports

Finds samples of the SVCReady loader

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

Qué detecta esta regla

Finds samples of the SVCReady loader

Familia de malware asociada: Svcready.

Objetivos: PE de Windows.

Define 2 patrones (2 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.

loader-win-svcready-imports.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Loader_Win_Svcready_Imports : FILE
{
	meta:
		description = "Finds samples of the SVCReady loader"
		author = "Sekoia.io"
		id = "e89aa736-acee-4881-b367-a9abfe9784ec"
		date = "2022-06-08"
		modified = "2024-12-19"
		reference = "https://threatresearch.ext.hp.com/svcready-a-new-loader-reveals-itself/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_svcready_imports.yar#L3-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "f210c5363d19dbc822b8476f8ecfd86184af8f1c36819a6c868f171152e7cb74"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str0 = "Svc:RunPEDllNative" ascii
		$str1 = "RunPEDllNative::" ascii

	condition:
		uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 and all of them
}

Cadenas (2 patrones)

IdentificadorTipoValorModificadores
$str0texto"Svc:RunPEDllNative"ascii
$str1texto"RunPEDllNative::"ascii

Condición

uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 and all of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 2MB (un límite barato que descarta archivos grandes).
  • El archivo debe ocupar más de 200KB.
  • Deben coincidir todos los patrones de la regla.
  • Usa el módulo pe.
  • Comprueba funciones o bibliotecas importadas.

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: e89aa736-acee-4881-b367-a9abfe9784ec

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE