This hunt targets adversaries deploying a specific suite of Chinese-origin hack tools (Project1.exe, Generate.exe, and rejoice.exe) that may indicate reconnaissance or lateral movement activities within the environment. Proactively hunting for these binaries in Azure Sentinel is critical to identify potential low-severity footholds before they evolve into more significant threats, especially given their association with known regional threat actors.
rule _Project1_Generate_rejoice {
meta:
description = "Chinese Hacktool Set - from files Project1.exe, Generate.exe, rejoice.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
super_rule = 1
hash0 = "d1a5e3b646a16a7fcccf03759bd0f96480111c96"
hash1 = "2cb4c3916271868c30c7b4598da697f59e9c7a12"
hash2 = "fe634a9f5d48d5c64c8f8bfd59ac7d8965d8f372"
strings:
$s1 = "sfUserAppDataRoaming" fullword ascii
$s2 = "$TRzFrameControllerPropertyConnection" fullword ascii
$s3 = "delphi32.exe" fullword ascii
$s4 = "hkeyCurrentUser" fullword ascii
$s5 = "%s is not a valid IP address." fullword wide
$s6 = "Citadel hooking error" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 2000KB and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 6 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the Chinese Hacktool Set detection rule, detailing legitimate enterprise activities that trigger Project1.exe, Generate.exe, and rejoice.exe:
Legacy Chinese Accounting Software Updates (e.g., Kingdee or Yonyou)
Project1.exe and Generate.exe to compile financial reports and generate tax compliance documents. These processes often spawn temporary helper files that match the known Chinese Hacktool signatures.\Kingsoft\, \Yonyou\, or \Kingdee\. Additionally, exclude process trees where the parent process is K3Server.exe or U8Service.exe.Scheduled Document Conversion Jobs via “Rejoice” Office Suite
rejoice.exe. The process frequently accesses network shares and writes to local temp directories, mimicking the behavior of a reconnaissance tool.rejoice.exe when executed by the “System” or specific service account (e.g., svc_doc_converter) during off-hours (02:00 – 06:00). Add a path filter for execution originating from \Program Files\Rejoice Office Suite\Bin\.Internal Development Build Pipelines