This detection identifies potential legacy or custom applications utilizing Borland Delphi and Microsoft Visual C++ frameworks that may harbor obfuscated malicious code within their compiled binaries. Proactive hunting for these specific signatures in Azure Sentinel is essential to uncover dormant threats from older development environments that traditional signature-based defenses might overlook due to their low severity classification.
rule FSGv110EngdulekxtBorlandDelphiMicrosoftVisualCx
{
meta:
author="malware-lu"
strings:
$a0 = { 1B DB E8 02 00 00 00 1A 0D 5B 68 80 [2] 00 E8 01 00 00 00 EA 5A 58 EB 02 CD 20 68 F4 00 }
condition:
$a0 at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the detection rule FSGv110EngdulekxtBorlandDelphiMicrosoftVisualCx, which targets legacy Borland Delphi and Microsoft Visual C++ artifacts often found in enterprise environments:
Legacy ERP Module Execution
C:\Program Files\EnterpriseERP\modules directory. The rule triggers because the executable contains specific Delphi runtime signatures and embedded Visual C++ libraries that match the YARA pattern.C:\Program Files\EnterpriseERP\modules\*.exe where the file hash matches the known good inventory module, or add a whitelist for the parent process InventoryScheduler.exe.DevOps Build Pipeline Compilation
C:\Builds\Temp directory, triggering the rule due to the presence of standard compiler artifacts.\Builds\Temp\ or filter based on the parent process name (e.g., java.exe, dockerd.exe) when running under the build service account (svc-build-agent).Third-Party Reporting Tool Updates