Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stormkitty

Finds StormKitty samples (or their variants) based on specific strings

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

Qué detecta esta regla

Finds StormKitty samples (or their variants) based on specific strings

Familia de malware asociada: Stormkitty.

Objetivos: PE de Windows.

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

infostealer-win-stormkitty.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stormkitty : FILE
{
	meta:
		description = "Finds StormKitty samples (or their variants) based on specific strings"
		author = "Sekoia.io"
		id = "5014d2e5-af5c-4800-ab1e-b57de37a2450"
		date = "2023-03-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stormkitty.yar#L1-L31"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "57a4603faf6af9742db79f9bc8751f3a5c091b6271998434f0a3b9f5c30cb1e8"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$sk01 = "LimerBoy/StormKitty" ascii wide
		$sk02 = "StormKitty-Latest.log" wide
		$sk03 = "StormKitty.exe" ascii
		$sk04 = "Debug\\StormKitty.pdb" ascii
		$sk05 = "StormKitty.Implant" ascii
		$str01 = "set_sUsername" ascii
		$str02 = "set_sIsSecure" ascii
		$str03 = "set_sExpMonth" ascii
		$str04 = "WritePasswords" ascii
		$str05 = "WriteCookies" ascii
		$str06 = "sChromiumPswPaths" ascii
		$str07 = "sGeckoBrowserPaths" ascii
		$str08 = "Username: {1}" wide
		$str09 = "Password: {2}" wide
		$str10 = "encrypted_key\":\"(.*?)\"" wide

	condition:
		uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )
}

Cadenas (15 patrones)

IdentificadorTipoValorModificadores
$sk01texto"LimerBoy/StormKitty"ascii wide
$sk02texto"StormKitty-Latest.log"wide
$sk03texto"StormKitty.exe"ascii
$sk04texto"Debug\\StormKitty.pdb"ascii
$sk05texto"StormKitty.Implant"ascii
$str01texto"set_sUsername"ascii
$str02texto"set_sIsSecure"ascii
$str03texto"set_sExpMonth"ascii
$str04texto"WritePasswords"ascii
$str05texto"WriteCookies"ascii
$str06texto"sChromiumPswPaths"ascii
$str07texto"sGeckoBrowserPaths"ascii
$str08texto"Username: {1}"wide
$str09texto"Password: {2}"wide
$str10texto"encrypted_key\":\"(.*?)\""wide

Condición

uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 1 patrones de ( $sk* ).
  • Deben coincidir al menos 3 patrones de ( $str* ).
  • Deben coincidir al menos 7 patrones de ( $str* ).

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: 5014d2e5-af5c-4800-ab1e-b57de37a2450

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Stormkitty