← Back to SOC feed Coverage →

MinGW 32x Dll WinMain additional

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-09-26T23:00:00Z · Confidence: medium

Hunt Hypothesis

This rule identifies 32-bit Windows DLLs compiled with MinGW that contain a WinMain entry point, a characteristic often associated with custom or obfuscated malware payloads that deviate from standard PE structures. Proactively hunting for these artifacts helps the SOC team detect low-fidelity or legacy tooling that may be used for initial access or lateral movement, ensuring visibility into non-standard binaries that traditional signature-based detections might miss.

YARA Rule

rule MinGW_32x_Dll_WinMain_additional: PEiD
{
    strings:
        $a = { 55 89 E5 83 EC 18 89 75 FC 8B 75 0C 89 5D F8 83 FE 01 74 5C 89 74 24 04 8B 55 10 89 54 24 08 8B 55 08 89 14 24 E8 96 01 00 00 83 EC 0C 83 FE 01 89 C3 74 2C 85 F6 75 0C 8B 0D 00 30 00 10 85 C9 75 10 31 DB 89 D8 8B 5D F8 8B 75 FC 89 EC 5D C2 0C 00 E8 59 00 }
    condition:
        $a at pe.entry_point

}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/packers/peid.yar