← Back to SOC feed Coverage →

Certificate used for digitally signing malware.

yara LOW ReversingLabs
malware-family
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 ReversingLabs →
Retrieved: 2026-08-29T11:00:00Z · Confidence: medium

Hunt Hypothesis

This rule detects adversaries who leverage valid digital certificates to sign malicious executables, thereby evading signature-based defenses and establishing trust with endpoint security solutions. Proactively hunting for this behavior in Azure Sentinel is essential because attackers increasingly abuse legitimate certificate authorities to bypass initial detection mechanisms and facilitate lateral movement within the environment.

YARA Rule

rule cert_blocklist_094bf19d509d3074913995160b195b6c {
    meta:
        author      = "ReversingLabs"
        source      = "ReversingLabs"
        status      = "RELEASED"
        sharing     = "TLP:WHITE"
        category    = "INFO"
        description = "Certificate used for digitally signing malware."

    condition:
        uint16(0) == 0x5A4D and
        for any i in (0..pe.number_of_signatures): (
            pe.signatures[i].subject contains "Porral Twinware S.L.L." and
            pe.signatures[i].serial == "09:4b:f1:9d:50:9d:30:74:91:39:95:16:0b:19:5b:6c" and
            1373241599 <= pe.signatures[i].not_after
        )
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

False Positive Guidance

Here are 5 specific false positive scenarios for the “Certificate used for digitally signing malware” detection rule, including suggested filters and exclusions:

Original source: https://github.com/reversinglabs/reversinglabs-yara-rules/blob/main/yara/certificate/blocklist.yara