This rule detects reconnaissance activity from Chinese-origin MSSQL scanners that probe database endpoints to map network topology and identify potential vulnerabilities. Proactive hunting for this behavior in Azure Sentinel is critical to uncover early-stage threat actors conducting intelligence gathering before initiating more complex attacks on sensitive data repositories.
rule CN_Hacktool_1433_Scanner_Comp2 {
meta:
description = "Detects a chinese MSSQL scanner - component 2"
author = "Florian Roth"
score = 40
date = "12.10.2014"
strings:
$magic = { 4d 5a }
$s0 = "1433" wide fullword
$s1 = "1433V" wide
$s2 = "UUUMUUUfUUUfUUUfUUUfUUUfUUUfUUUfUUUfUUUfUUUfUUUMUUU" ascii fullword
condition:
( $magic at 0 ) and all of ($s*)
}
This YARA rule can be deployed in the following contexts:
This rule contains 4 string patterns in its detection logic.
Here are specific false positive scenarios for the “Detects a Chinese MSSQL Scanner - Component 2” rule, including suggested filters and exclusions:
Scenario: Legitimate Third-Party Database Health Monitoring
10.50.20.x) and filter out traffic where the User Agent string contains specific vendor identifiers like “SolarWinds” or “Redgate,” even if the underlying protocol matches the scanner signature.Scenario: Scheduled Automated Backup Integrity Checks
192.168.50.x). Additionally, exclude events where the Process Name matches the backup agent executable (e.g., vbrservice.exe or commvaultagent.exe).Scenario: Internal Compliance and Audit Scanning