YARA · SEKOIA.IO Community
SEKOIA_Tool_Win_Snap2Html
Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery
- Author
- Sekoia.io
- Date
- 2024-02-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery
Targets: Windows PE.
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Tool_Win_Snap2Html : FILE
{
meta:
= "Finds Snap2HTML samples based on specific strings. Legitimate tool used by ransomware affiliates to perform discovery"
= "Sekoia.io"
= "9865daac-f23b-417e-813e-cbed03f45161"
= "2024-02-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_snap2html.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "8805a80193ba1323dffd68456833f27cc93f2182660a5047dbe69e8ed65ac184"
= 75
= 80
= "FILE"
= "1.0"
= "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
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "Snap2HTML.exe" | fullword wide ascii |
| $str02 | text | "Snap2HTML.Properties" | ascii |
| $str03 | text | "set_txtRoot" | ascii |
| $str04 | text | "set_chkHidden" | ascii |
| $str05 | text | "set_chkSystem" | ascii |
| $str06 | text | "set_chkLinkFiles" | ascii |
| $str07 | text | "set_txtLinkRoot" | ascii |
| $str08 | text | "set_chkOpenOutput" | ascii |
| $str09 | text | "set_txtTitle" | ascii |
| $str10 | text | "get_CancellationPending" | ascii |
| $str11 | text | "set_RootFolder" | ascii |
| $str12 | text | "add_SettingsLoaded" | ascii |
Condition
uint16( 0 ) == 0x5a4d and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 9865daac-f23b-417e-813e-cbed03f45161
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-09-09