Ratty is an open-source remote access Trojan written in Java and used to maintain remote access to compromised systems. It has been associated with persistent access and stealthy internal reconnaissance, including use by the cybercriminal group Scattered Spider documented in July 2025.
Ratty has been distributed through malicious email campaigns using shipment- and business-document-themed lures, and deployed as a secondary payload by RATDispenser and in Schneiken dropper infection chains. Windows-targeting campaigns have concealed Ratty Java archives by appending them to signed Windows Installer packages, creating MSI/JAR polyglot files. These files exploit differences in how security scanners and application parsers interpret file formats, allowing malicious Java code to be overlooked during inspection. The technique does not imply that the appended malicious payload itself carries a valid digital signature.
7 distinct techniques documented for this family, organized by ATT&CK tactic.
shipment.label.jar Shipment-label.jar TrackingOrder.jar tracking.update.jar ups-label.jar shipment.delivery.label.06-03.jar CONFIRMATION_SWIFT.pdf.jar
copy /b clean_signed.msi + malicious.jar signed_malicious.jar signed_malicious.jar
Under the MITRE classification, this technique falls under the Masquerading category (T1036.008, Masquerade File Type).
"These activities commonly include... capturing keyboard input..."
"These activities commonly include... collecting system information..."
"These activities commonly include... capturing keyboard input..."
"These activities commonly include... dropping other malware into the infected system..."
"These activities commonly include... performing denial-of-service (DoS) attacks..."
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.