This hunt targets adversaries deploying the specific Chinese hacktool WebCrack4-RouterPasswordCracking.exe to conduct credential brute-forcing attacks against network infrastructure. Proactively searching for this executable in Azure Sentinel is critical because its low-severity classification may cause it to be overlooked, allowing attackers to establish persistence and exfiltrate data before triggering higher-level alerts.
rule WebCrack4_RouterPasswordCracking {
meta:
description = "Chinese Hacktool Set - file WebCrack4-RouterPasswordCracking.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "00c68d1b1aa655dfd5bb693c13cdda9dbd34c638"
strings:
$s0 = "http://www.site.com/test.dll?user=%USERNAME&pass=%PASSWORD" fullword ascii
$s1 = "Username: \"%s\", Password: \"%s\", Remarks: \"%s\"" fullword ascii
$s14 = "user:\"%s\" pass: \"%s\" result=\"%s\"" fullword ascii
$s16 = "Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)" fullword ascii
$s20 = "List count out of bounds (%d)+Operation not allowed on sorted string list%String" wide
condition:
uint16(0) == 0x5a4d and filesize < 5000KB and 2 of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the WebCrack4-RouterPasswordCracking.exe detection rule in an enterprise environment, along with suggested filters or exclusions:
IT Asset Management Scans (e.g., Lansweeper or SCCM)
WebCrack4-RouterPasswordCracking.exe to a specific endpoint to verify router credentials before the tool is automatically deleted after execution.C:\ProgramData\Lansweeper\Tools\) and exclude executions where the parent process is the asset management agent (e.g., LanSweep.exe or ccmexec.exe).Network Security Audits via PowerShell Scripts
Invoke-NetworkAudit.ps1) that dynamically downloads password cracking utilities to test the strength of default router passwords across remote branches. The script invokes the executable directly from a temporary download folder before archiving results.powershell.exe or pwsh.exe, specifically when the command line arguments include the specific hash of WebCrack4-RouterPasswordCracking.exe and the execution path matches a known script directory (e.g., C:\Scripts\NetworkAudit\).Vendor-Supported Remote Maintenance Sessions
\\FileServer\Vendors\Tools\)