This rule detects the presence of unpacked BSSFX archive files, which are often used by adversaries to stage or execute payloads after bypassing initial file-based detection mechanisms. Proactively hunting for these artifacts in Azure Sentinel allows the SOC team to identify potential staging areas or dropped components that may precede further post-exploitation activities, even when the initial infection vector has been obscured.
rule UnpackedBSSFXArchivev19
{
meta:
author="malware-lu"
strings:
$a0 = { 1E 33 C0 50 B8 [2] 8E D8 FA 8E D0 BC [2] FB B8 [2] CD 21 3C 03 73 }
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.
.fx or .bss archive to extract configuration files or binary assets for a specific application deployment.
java.exe for Jenkins, node.exe for Azure DevOps agents, or powershell.exe launched by a CI service) and the working directory resides within a standard build workspace path (e.g., C:\Jenkins\workspace\, C:\azure-pipelines\).unpack_bss.bat or extract_fx.ps1) from a shared network drive or local admin folder to restore a backup or migrate data for a legacy application.
C:\AdminTools\, C:\ProgramData\VendorName\Utils\) or where the parent process is cmd.exe or powershell.exe initiated by a user with the Domain Admins or IT_Ops group membership.schtasks.exe or svchost.exe (specifically the Task Scheduler service) and the command line contains keywords like unpack, extract, or restore associated with a known application name.