This rule detects the presence of Cobalt Strike beaconing activity, specifically targeting the MicroJoiner16 variant, which adversaries often deploy for initial access or lateral movement. Proactively hunting for this signature in Azure Sentinel allows the SOC team to identify compromised endpoints before the beacon establishes a persistent command-and-control channel or executes further post-exploitation actions.
rule MicroJoiner16coban2k
{
meta:
author="malware-lu"
strings:
$a0 = { 33 C0 64 8B 38 48 8B C8 F2 AF AF 8B 1F 66 33 DB 66 81 3B }
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.
Scenario: A legacy Java application server (e.g., Tomcat or JBoss) performs routine class loading and bytecode verification during startup or hot-reload cycles. The YARA rule likely matches specific byte patterns in .class files or memory segments that resemble the MicroJoiner obfuscation technique, triggering a false positive on standard JVM operations.
java.exe or jvm.dll when the parent process is a known application server service (e.g., tomcat.exe, jboss-service.exe). Additionally, exclude file paths ending in .class or located within standard JAR/WAR extraction directories (e.g., C:\Program Files\Tomcat\temp\).Scenario: An enterprise endpoint detection and response (EDR) agent or antivirus (e.g., CrowdStrike Falcon, SentinelOne, or Microsoft Defender) performs real-time memory scanning or heuristic analysis on a newly downloaded or updated application binary. The scanner may temporarily load or map the binary into memory in a way that matches the MicroJoiner16coban2k signature, especially if the binary contains embedded resources or obfuscated strings.
FalconSensor.exe, SentinelOneAgent.exe, MsMpEng.exe) or exclude events where the target file path resides in common security tool installation directories (e.g., C:\Program Files\CrowdStrike\, C:\Program Files\SentinelOne\).Scenario: A developer or system administrator uses a GUI-based binary editor or decompiler (e.g., IDA Pro, Ghidra, or HxD) to inspect or patch a custom internal tool or legacy executable. The tool may load the binary into memory or create temporary copies in the user’s temp directory, which