This rule identifies executable files that mimic legitimate Microsoft Visual C++ 5.0 MFC binaries, a technique often used by adversaries to bypass signature-based detection or establish a foothold through trusted code execution. Proactively hunting for these pseudo-signed artifacts in Azure Sentinel helps uncover low-severity initial access or persistence mechanisms that may evade standard threshold-based alerts.
rule PseudoSigner01MicrosoftVisualC50MFCAnorganix
{
meta:
author="malware-lu"
strings:
$a0 = { 55 8B EC 6A FF 68 [4] 68 [4] 64 A1 00 00 00 00 50 E9 }
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.
Legacy MFC Application Deployment via Group Policy
gpupdate.exe or gpedit.msc, or exclude files located in the standard C:\Windows\Installer\ or C:\Program Files\ directories if the file hash matches a known baseline for that specific legacy app.Scheduled Maintenance Job for Legacy Reporting Tool
Task Scheduler) runs a custom reporting utility written in VC++ 5.0 MFC that generates PDF reports for finance. The executable is stored in a network share or local temp directory and is executed by svchost.exe (Task Scheduler service) or explorer.exe (if user-triggered). The binary may carry the pseudo-signature due to its age and lack of re-signing.svchost.exe and the command line contains the specific task name (e.g., FinanceReportGen.exe), or exclude files with a specific SHA256 hash that is whitelisted in the asset inventory.Development Environment Build/Run Cycle
.exe for unit testing