This detection identifies the presence of mysqlfast.exe, a known artifact from the Chinese Hacktool set often deployed by advanced persistent threat groups to establish persistence or conduct reconnaissance within Windows environments. Proactively hunting for this file in Azure Sentinel is critical because its low severity classification may cause it to be overlooked during routine monitoring, allowing adversaries to maintain a covert foothold before escalating their activities.
rule mysqlfast {
meta:
description = "Chinese Hacktool Set - file mysqlfast.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "32b60350390fe7024af7b4b8fbf50f13306c546f"
strings:
$s2 = "Invalid password hash: %s" fullword ascii
$s3 = "-= MySql Hash Cracker =- " fullword ascii
$s4 = "Usage: %s hash" fullword ascii
$s5 = "Hash: %08lx%08lx" fullword ascii
$s6 = "Found pass: " fullword ascii
$s7 = "Pass not found" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 900KB and 4 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 - mysqlfast.exe detection rule, tailored for a legitimate enterprise environment:
Database Migration and Backup Operations via DBeaver or Navicat Enterprise
mysqlfast.exe internally) to handle high-speed data transfer and query execution during scheduled nightly ETL jobs or manual schema migrations.dbeaver.exe, navicat.exe) and restrict the file path to the application’s installation directory (e.g., C:\Program Files\DBeaver\plugins\mysqlfast.exe).Automated Patch Management by SCCM or Intune
mysqlfast.exe to a temporary working directory (e.g., %TEMP%\Updates\MySQLPatch) to verify database integrity before applying security patches, triggering the rule upon file creation and execution.ccmexec.exe or MicrosoftEdgeUpdate.exe and the file path contains known update staging folders (e.g., \Windows\CCMCache\, \Temp\).Legacy Financial Reporting Tool Execution
mysqlfast.exe to fetch real-time transaction data from the