Skip to content

YARA: Java Unsafe XML-RPC Deserialization Payload Gadget Chains (CVE-2026-96560 / CVE-2026-82384) — Detection Rule

Density:
Evaluation DimensionObserved Telemetry / AttributeEpistemic Status
Detection Rule IdentifierDET-YARA-JAVA-DESER-GADGETCanonical Rule Node
Detection EngineYARAMulti-Format Standard
Severity ClassificationCRITICALCalibrated Alert Priority
Target Technology SurfaceJava Runtime Environment & XML-RPC Ingestion GatewaysMonitored Platform
Test & Validation StatusVALIDATEDVerification Assurance
False-Positive Risk IndexLOWOperational Noise Rating
Associated Weaponized CVEsCVE-2026-96560, CVE-2026-82384Target Vulnerabilities
Attributed Adversary SyndicatesShinyHunters, ACTOR-DEV-0056Threat Origin
Linked Intrusion CampaignsOperation PeopleSoft Infiltration 2026Active Wave
Linked Exploit ChainsERP Perimeter Pre-Auth Bypass to Core Database Exfiltration, Pre-Auth Java Deserialization to MySQL Database ExfiltrationChained Topology
Analytical Confidence97%Rule Soundness Score
Primary Evidence SourcesSRC-MANDIANT-GOOGLE, SRC-SHADOWSERVER, SRC-CISA-KEVIntelligence Attestation

Byte-level YARA signature inspecting network buffers, proxy stream dumps, and process memory for serializable Java magic headers combined with CommonsCollections/Xalan gadget invocation vectors.

Detection engineering requires proactive alignment between known offensive tradecraft and defensive sensor placement. This rule intercepts adversarial attempts before lateral proliferation or host compromise can solidify.


rule Hermes_Exploit_Java_Deserialization_Gadget_Chain {
meta:
description = "Detects serialized Java gadget payloads targeting PeopleSoft and Apache Roller XML-RPC endpoints"
author = "Hermes Detection Engineering"
reference = "CVE-2026-96560, CVE-2026-82384"
date = "2026-09-29"
severity = "CRITICAL"
strings:
$magic_java = { AC ED 00 05 }
$magic_b64 = "rO0ABX"
$gadget1 = "org.apache.commons.collections4.functors.InvokerTransformer"
$gadget2 = "com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl"
$gadget3 = "java.lang.Runtime"
$cmd_exec = "getRuntime().exec"
$xml_rpc = "<methodCall><methodName>"
condition:
($magic_java or $magic_b64) and ($xml_rpc or any of ($gadget*)) and $cmd_exec
}

Block Java object deserialization across public endpoints, enforce JEP 290 serialization filters, and upgrade target web components.

  1. Isolation Directive: Immediately isolate hosts matching this alert from the internal VLAN to prevent lateral pivoting.
  2. Memory & Log Preservation: Capture volatile RAM dumps and forward local daemon journals to an immutable central repository.
  3. Patch Verification: Validate that all emergency vendor updates associated with CVE-2026-96560, CVE-2026-82384 are deployed across all edge gateways.