← Back to SOC feed Coverage →

detect Remcos in memory

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-07-04T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt targets adversaries deploying the Remcos remote access trojan (RAT) to establish persistent, in-memory command and control channels that evade traditional disk-based scanning. Proactively hunting for this behavior in Azure Sentinel is critical because identifying these lightweight memory artifacts early allows the SOC team to isolate compromised endpoints before the RAT can exfiltrate sensitive data or pivot laterally across the network.

YARA Rule

rule Quasar {
          meta:
            description = "detect Remcos in memory"
            author = "JPCERT/CC Incident Response Group"
            rule_usage = "memory scan"
            hash1 = "390c1530ff62d8f4eddff0ac13bc264cbf4183e7e3d6accf8f721ffc5250e724"

          strings:
            $quasarstr1 = "Client.exe" wide
            $quasarstr2 = "({0}:{1}:{2})" wide
            $class = { 52 00 65 00 73 00 6F 00 75 00 72 00 63 00 65 00 73 00 00 17 69 00 6E 00 66 00 6F 00 72 00 6D 00 61 00 74 00 69 00 6F 00 6E 00 00 80 }
          condition: all of them
}

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 “detect Remcos in memory” rule, including suggested filters and exclusions tailored for an enterprise environment:

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