This detection identifies potential file compression or packing activities often utilized by malware to obfuscate malicious payloads and evade signature-based scanning. Proactive hunting for this behavior in Azure Sentinel is essential to uncover stealthy threats that may bypass initial security controls by disguising their execution characteristics through advanced shrinking techniques.
rule VirogensPEShrinkerv014
{
meta:
author="malware-lu"
strings:
$a0 = { 9C 55 E8 [4] 87 D5 5D 60 87 D5 8D [5] 8D [5] 57 56 AD 0B C0 74 }
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.
Here are 5 specific false positive scenarios for the VirogensPEShrinkerv014 detection rule, including suggested filters and exclusions:
Scenario: Legitimate backup compression by Veeam Backup & Replication during nightly windows.
vbrservice.exe process invokes a native compression engine that mimics the shrinking behavior detected by the YARA rule while archiving large database snapshots.C:\Program Files\Veeam\Backup and Replication Enterprise Edition\vbrservice.exe AND the parent process is vbrsvc.exe.Scenario: Scheduled PDF generation by Microsoft Word via Office 365 ProPlus.
WINWORD.EXE which utilizes internal shrinking algorithms to reduce file size when exporting documents to PDF, triggering the rule’s signature for archive manipulation.WINWORD.EXE where the command line contains parameters related to /export or /saveas, specifically within the path C:\Program Files\Microsoft Office\root\Office16\.Scenario: Antivirus heuristic scanning by CrowdStrike Falcon.
csfalcon.exe) performs real-time file integrity checks and temporary compression of large log files, which the YARA rule interprets as a potential “shrinker” activity often associated with malware packing.csfalcon.exe or csagent.exe running under the system account (NT AUTHORITY\SYSTEM).Scenario: Database maintenance by SQL Server Agent.
sqlservr.exe