← Back to SOC feed Coverage →

Detects CrossRAT known hash

yara LOW Yara-Rules
backdoorcommunity
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-07-12T23:00:00Z · Confidence: medium

Hunt Hypothesis

This rule identifies the execution of the CrossRAT remote access tool by matching its specific file hash against ingested telemetry within Azure Sentinel. Proactively hunting for this signature is essential to distinguish legitimate administrative usage from potential unauthorized remote sessions that could serve as a foothold for lateral movement or data exfiltration.

YARA Rule

rule CrossRAT: RAT
{
    meta:
        description = "Detects CrossRAT known hash"
        author = "Simon Sigre (simon.sigre@gmail.com)"
        date = "26/01/2018"
        ref = "https://simonsigre.com"
        ref= "https://objective-see.com/blog/blog_0x28.html"
    strings:
        $magic = { 50 4b 03 04 ( 14 | 0a ) 00 }
        $string_1 = "META-INF/"
        $string_2 = ".class" nocase

    condition:
        filesize < 400KB and
        $magic at 0 and 1 of ($string_*) and
        hash.md5(0, filesize) == "85b794e080d83a91e904b97769e1e770"
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the Detects CrossRAT known hash rule, tailored for a legitimate enterprise environment:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/RAT_CrossRAT.yar