YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Honkai_Jan2023
Rule to detect Honkai ransomware samples.
- Author
- Sekoia.io
- Date
- 2023-02-13
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Rule to detect Honkai ransomware samples.
Targets: Windows PE.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
ransomware-win-honkai-jan2023.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Honkai_Jan2023 : FILE
{
meta:
= "Rule to detect Honkai ransomware samples."
= "Sekoia.io"
= "6ef91cb5-e122-4f91-bc15-3813b8f91cbf"
= "2023-02-13"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_honkai_jan2023.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "989cf96da60d9ebfb6f364717b4f0cae1667fdc7f9d89f77acc254ab47d439e6"
= "19f831f77e043f11b790b7f24e9f585e4986d9af6580bae7c344b7960f2f0965"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "DP_Main.exe" ascii wide
$s2 = "DP_MainForm" ascii wide
$s3 = "DP_Main" ascii wide
$s4 = "#DECRYPT MY FILES#.html" ascii wide
$s5 = "/api/Encrypted.php" ascii wide
$s6 = "http://upload.paradisenewgenshinimpact.top:2095" ascii wide
$s7 = "main@paradisenewgenshinimpact.top" ascii wide
$s8 = ".honkai" ascii wide
condition:
uint16be( 0 ) == 0x4d5a and 6 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "DP_Main.exe" | ascii wide |
| $s2 | text | "DP_MainForm" | ascii wide |
| $s3 | text | "DP_Main" | ascii wide |
| $s4 | text | "#DECRYPT MY FILES#.html" | ascii wide |
| $s5 | text | "/api/Encrypted.php" | ascii wide |
| $s6 | text | "http://upload.paradisenewgenshinimpact.top:2095" | ascii wide |
| $s7 | text | "main@paradisenewgenshinimpact.top" | ascii wide |
| $s8 | text | ".honkai" | ascii wide |
Condition
uint16be( 0 ) == 0x4d5a and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 989cf96da60d9ebfb6f364717b4f0cae1667fdc7f9d89f77acc254ab47d439e6
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: 6ef91cb5-e122-4f91-bc15-3813b8f91cbf
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20