This detection identifies 86-bit executable artifacts linked to the Pelles C runtime library, which may indicate the presence of legacy or custom-compiled tools often leveraged by adversaries for persistence and code execution within Azure Sentinel environments. Proactively hunting for these specific binaries allows the SOC team to distinguish between benign development artifacts and potential malicious implants that exploit standard C libraries to evade traditional signature-based detection.
rule PellesC300400450EXEX86CRTLIB
{
meta:
author="malware-lu"
strings:
$a0 = { 55 89 E5 6A FF 68 [4] 68 [4] 64 FF 35 [4] 64 89 25 [4] 83 EC ?? 53 56 57 89 65 E8 68 00 00 00 02 E8 [4] 59 A3 }
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 4 specific false positive scenarios for the PellesC300400450EXEX86CRTLIB detection rule, including suggested filters and exclusions:
Scenario: Legacy Build Tool Execution
msvcr*.dll) associated with 32-bit executables. In an enterprise environment using PellesC or legacy build systems (e.g., older versions of MSBuild, Visual Studio 2015/2017), the compiler or linker often loads this specific CRT library during compilation tasks.devenv.exe (Visual Studio) or msbuild.exe, and the file path contains \Program Files\Microsoft Visual Studio\ or \PellesC\.Scenario: Scheduled Database Maintenance Jobs
sqlagent, oracle.exe, or specific custom job executables located in \Program Files\Microsoft SQL Server\MSSQL*\MSSQL\Binn\ when the execution time falls within defined maintenance windows (e.g., 02:00–06:00).Scenario: Antivirus and Endpoint Protection Scanning