Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Snap2Html

Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery

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

Qué detecta esta regla

Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery

Objetivos: PE de Windows.

Define 12 patrones (12 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-snap2html.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Snap2Html : FILE
{
	meta:
		description = "Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery"
		author = "Sekoia.io"
		id = "9865daac-f23b-417e-813e-cbed03f45161"
		date = "2024-02-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_snap2html.yar#L1-L26"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8805a80193ba1323dffd68456833f27cc93f2182660a5047dbe69e8ed65ac184"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "Snap2HTML.exe" fullword wide ascii
		$str02 = "Snap2HTML.Properties" ascii
		$str03 = "set_txtRoot" ascii
		$str04 = "set_chkHidden" ascii
		$str05 = "set_chkSystem" ascii
		$str06 = "set_chkLinkFiles" ascii
		$str07 = "set_txtLinkRoot" ascii
		$str08 = "set_chkOpenOutput" ascii
		$str09 = "set_txtTitle" ascii
		$str10 = "get_CancellationPending" ascii
		$str11 = "set_RootFolder" ascii
		$str12 = "add_SettingsLoaded" ascii

	condition:
		uint16( 0 ) == 0x5a4d and 7 of them
}

Cadenas (12 patrones)

IdentificadorTipoValorModificadores
$str01texto"Snap2HTML.exe"fullword wide ascii
$str02texto"Snap2HTML.Properties"ascii
$str03texto"set_txtRoot"ascii
$str04texto"set_chkHidden"ascii
$str05texto"set_chkSystem"ascii
$str06texto"set_chkLinkFiles"ascii
$str07texto"set_txtLinkRoot"ascii
$str08texto"set_chkOpenOutput"ascii
$str09texto"set_txtTitle"ascii
$str10texto"get_CancellationPending"ascii
$str11texto"set_RootFolder"ascii
$str12texto"add_SettingsLoaded"ascii

Condición

uint16( 0 ) == 0x5a4d and 7 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 7 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: 9865daac-f23b-417e-813e-cbed03f45161

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE