This hypothesis targets the presence of ShockWave movie files, which are frequently used by adversaries to deliver malicious payloads or execute code through legacy Flash-based content. Proactively hunting for these files in Azure Sentinel helps identify potential initial access vectors or persistence mechanisms that may have been introduced via web downloads or email attachments before being executed.
rule MacroMedia_ShockWave_Movie_file: PEiD
{
strings:
$a = { 46 57 53 }
condition:
$a at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
.swf or related Shockwave files to the local disk for caching.
C:\Users\<username>\AppData\Local\Adobe\Flash Player\Cache or C:\Users\<username>\AppData\Local\Temp where the parent process is a known browser (e.g., chrome.exe, msedge.exe, firefox.exe) or Adobe Media Player.C:\Projects\, D:\Media\) when the parent process is Animate.exe, MediaEncoder.exe, or AdobeBridge.exe, and the user account belongs to the IT-Admins or Creative-Team security group.C:\BackupStaging\, D:\SyncTemp\) when the parent process is a backup agent (e.g., VeeamAgent.exe, commvaultagent.exe) or a scheduled task service (svchost.exe with specific task IDs), and the file age is less than 24 hours.