Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Snap2Html

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

Outil offensifSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-02-08
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

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

Cibles : PE Windows.

Elle définit 12 motifs (12 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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
}

Chaînes (12 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"Snap2HTML.exe"fullword wide ascii
$str02texte"Snap2HTML.Properties"ascii
$str03texte"set_txtRoot"ascii
$str04texte"set_chkHidden"ascii
$str05texte"set_chkSystem"ascii
$str06texte"set_chkLinkFiles"ascii
$str07texte"set_txtLinkRoot"ascii
$str08texte"set_chkOpenOutput"ascii
$str09texte"set_txtTitle"ascii
$str10texte"get_CancellationPending"ascii
$str11texte"set_RootFolder"ascii
$str12texte"add_SettingsLoaded"ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 7 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 9865daac-f23b-417e-813e-cbed03f45161

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE