Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Honkai_Jan2023

Rule to detect Honkai ransomware samples.

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
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:
		description = "Rule to detect Honkai ransomware samples."
		author = "Sekoia.io"
		id = "6ef91cb5-e122-4f91-bc15-3813b8f91cbf"
		date = "2023-02-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_honkai_jan2023.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "989cf96da60d9ebfb6f364717b4f0cae1667fdc7f9d89f77acc254ab47d439e6"
		logic_hash = "19f831f77e043f11b790b7f24e9f585e4986d9af6580bae7c344b7960f2f0965"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "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)

IdentifierTypeValueModifiers
$s1text"DP_Main.exe"ascii wide
$s2text"DP_MainForm"ascii wide
$s3text"DP_Main"ascii wide
$s4text"#DECRYPT MY FILES#.html"ascii wide
$s5text"/api/Encrypted.php"ascii wide
$s6text"http://upload.paradisenewgenshinimpact.top:2095"ascii wide
$s7text"main@paradisenewgenshinimpact.top"ascii wide
$s8text".honkai"ascii wide

Condition

uint16be( 0 ) == 0x4d5a and 6 of them

In 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.

Open in editor

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)

Original rule

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

version1.0
classificationTLP:CLEAR

Tags:FILE