This detection identifies potential malicious activity involving specific Windows RAR/SFX executable patterns that may indicate the presence of embedded archives or self-extracting installers often used in supply chain attacks. Proactive hunting for this behavior is essential to uncover early-stage threats where adversaries leverage legitimate compression tools to obfuscate payloads and evade standard signature-based defenses within the Azure Sentinel environment.
rule FSGv110EngbartxtWinRARSFX
{
meta:
author="malware-lu"
strings:
$a0 = { 80 E9 A1 C1 C1 13 68 E4 16 75 46 C1 C1 05 5E EB 01 9D 68 64 86 37 46 EB 02 8C E0 5F F7 D0 }
$a1 = { EB 01 02 EB 02 CD 20 B8 80 ?? 42 00 EB 01 55 BE F4 00 00 00 13 DF 13 D8 0F B6 38 D1 F3 F7 }
condition:
$a0 at pe.entry_point or $a1 at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the FSGv110EngbartxtWinRARSFX YARA rule, along with targeted filters and exclusions:
Scenario: Automated Backup Execution via Veeam or Commvault
.rar or .sfx archives containing configuration scripts or agent updates during scheduled nightly windows. The YARA rule may flag the extraction process as a suspicious archive execution.VeeamAgent.exe, CommServe.exe, and their child processes when running under the service account NT SERVICE\Veeam or specific backup service accounts. Add a path exclusion for the installation directory: C:\Program Files\VEEAM\Backup & Replication\....Scenario: Software Deployment via Microsoft Endpoint Configuration Manager (SCCM)
ccmsetup.exe) launches a temporary extraction tool that matches the RAR/SFX signature.CcmExec.exe and WUAHandler.exe. Filter events where the parent process is ccmsetup.exe and the file path contains \CCM\Logs or \ContentLib.Scenario: Scheduled System Maintenance by Sysinternals PsExec
PsExec.exe, which often involves unpacking RAR archives containing PowerShell scripts or configuration files. The rule detects the extraction activity as a potential threat vector.