This rule detects the presence of the MESSv120 malware variant, which is often associated with initial access or persistence mechanisms in compromised environments. Proactively hunting for this signature in Azure Sentinel allows the SOC team to identify low-severity threats that may be used for lateral movement or data staging before they escalate into more impactful attacks.
rule MESSv120
{
meta:
author="malware-lu"
strings:
$a0 = { FA B9 [2] F3 [2] E3 ?? EB ?? EB ?? B6 }
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.
yara-scan.exe or a wrapper script) that loads the MESSv120.yar file into memory to scan endpoint binaries. The rule triggers because the YARA compiler or scanner process holds the rule definition in memory, matching its own signature.
yara.exe, yara-scan.ps1) or where the image path contains \yara\ or \security-tools\.MESSv120.yar file stored in a shared network drive (\\fileserver\security\rules\). The editor loads the file into memory, triggering the detection on the editor process.
notepad.exe, code.exe, notepad++.exe) and the command line contains the specific rule filename (MESSv120.yar).java.exe, node.exe, or msbuild.exe) loads the rule file into memory during the compilation phase.
jenkins.exe, agent.exe, node.exe) and the working directory or command line references the YARA repository path.