This detection identifies potential file compression or archiving activities that may indicate an adversary attempting to stage data for exfiltration or obfuscate malicious artifacts within the environment. Proactive hunting is essential in Azure Sentinel to distinguish legitimate administrative archiving from subtle lateral movement tactics that could precede a larger data breach, ensuring early visibility into low-severity anomalies before they escalate.
rule Shrinkv10
{
meta:
author="malware-lu"
strings:
$a0 = { 50 9C FC BE [2] BF [2] 57 B9 [2] F3 A4 8B [3] BE [2] BF [2] F3 A4 C3 }
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 Shrinkv10 detection rule in an enterprise environment, along with suggested filters or exclusions:
Scenario: Microsoft Office Deployment Toolkit (ODT) Execution
setup.exe when deploying Office 365 via the ODT. During scheduled maintenance windows, administrators run silent installation scripts that invoke shrink-like compression or packaging logic within the Office installer package.Microsoft Office Deployment Toolkit (odt.exe) and the file path contains \Microsoft Office Setup\. Additionally, filter for user context SYSTEM during maintenance windows (e.g., 02:00–04:00).Scenario: Endpoint DLP Agent Background Scanning
SymantecDLP.exe, ForcepointAgent.exe). Exclude alerts where the command line arguments contain keywords like -compress or -archive and the process is running under the specific service account used by the DLP solution.Scenario: Automated Backup Job via Veeam or Commvault
vssvc (Volume Shadow Copy) interaction