This detection identifies adversary activity where malicious Java Archive (JAR) files utilize specific packing structures associated with the Adwind threat group to execute payloads within the environment. Proactively hunting for this signature in Azure Sentinel is critical because it enables the SOC team to uncover early-stage supply chain compromises or lateral movement attempts that may be missed by standard endpoint protection due to their low severity classification.
rule Adwind_JAR_PACKB : binary RAT Frutas Unrecom AlienSpy {
meta:
author = "Vitaly Kamluk, Vitaly.Kamluk@kaspersky.com"
reference = "https://securelist.com/securelist/files/2016/02/KL_AdwindPublicReport_2016.pdf"
last_modified = "2015-11-30"
strings:
$c1 = "META-INF/MANIFEST.MF" ascii
$c2 = "main/Start.class" ascii
$a1 = "con g/con g.perl" ascii
$b1 = "java/textito.isn" ascii
condition:
int16(0) == 0x4B50 and ($c1 and $c2 and ($a1 or $b1))
}
This YARA rule can be deployed in the following contexts:
This rule contains 4 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the Adwind JAR PACKB detection rule in an enterprise environment, along with recommended filters or exclusions:
CI/CD Pipeline Artifact Staging
unpack activity often occurs on shared network drives or specific build agent nodes, mimicking suspicious lateral movement or payload extraction.svc-jenkins, gitlab-runner) and restrict the scope to specific build server hostnames or IP subnets where no user interaction is expected.Enterprise Java Application Deployment
lib directories, triggering the rule during standard maintenance windows.ansible-playbook.exe, chef-client) or filter by file paths matching the standard installation directory structure of major Java application servers (e.g., \Program Files\IBM\WebSphere\AppServer\).Antivirus and Endpoint Protection Scanning
%TEMP% directory or user download folders. The internal extraction mechanism