About:
Mal/JavaJarA is a Trojan for the Windows platform that exploits a Java vulnerability.
We've spotted this malware recently in spam messages claiming to be a scanned document from HP Officejet. Links in the messages lead to webpages containing a malicious javascript.
The spam messages in this campaign use random Officejet model numbers and device numbers. The Sent by name varies as well.
Subject:
Scan from a HP Officejet #568256
Content:
A document was scanned and sent to you using a Hewlett-Packard HP Officejet 63794A.
Sent by: CASSEY
Images : 9
Attachment Type: Image (.jpg) Download
Hewlett-Packard Officejet Location: machine location not set
Device: OFC588AA3BSX7587406
Subject:
Scan from a Hewlett-Packard Officejet 89624765
Content:
A document was scanned and sent to you using a Hewlett-Packard HP Officejet 71594A.
Sent by: GERTIE
Images : 9
Attachment Type: Image (.jpg) Download
Hewlett-Packard Officejet Location: machine location not set
Device: OFC520AA3BSX6848533
Subject:
Fwd: Scan from a HP Officejet #50358665
Content:
A document was scanned and sent to you using a Hewlett-Packard HP Officejet 9713A.
Sent by: Amare
Images : 9
Attachment Type: Image (.jpg) Download
Hewlett-Packard Officejet Location: machine location not set
Device: OFC651AA0BSX13242048
Two links in the message—one at the name of the purported sender, the other on the word Download—direct to a page main.php with names hp-fax-service[random digits].info. This page contains a malicious javascript that loads a .jar file to exploit Windows vulnerability CVE-2010-0840.
The php pages have the following text near the top:
<applet archive="main.php_files/worms.jar" code="support.ForMail.class"
width="1" height="1">
The code loads ForMail.class in the java archive file worms.jar. In addition, the page also contains a highly obfuscated javascript that exploits a privilege escalation vulnerability disclosed in CVE-2010-0840.
We detect the .jar file in this campaign as Mal/JavaJar-A. The malicious class files are detected as Mal/JavaMl-Gen and Exp/20100840-A.