Welcome Guest. | Log In | Register | Membership Benefits

The Dark Side Of Java

Metasploit adds new module for latest Java attack as Java becomes cybercriminals' new favorite target

Dec 01, 2011 | 08:08 PM | 

By Kelly Jackson Higgins
Dark Reading
It's a declining tool on the developer side, but Java remains a major yet oft-forgotten presence on the desktop that is increasingly being targeted by the bad guys.

Why Java as an attack vector? Its pervasiveness and inordinate number of out-of-date versions running out there on desktops are making Java the black hat hacker's choice of late. The numbers say it all: Some 80 of enterprise systems run outdated, unpatched versions of Java, according to data from Qualys. And since the third quarter of 2010, Microsoft has detected or blocked some 6.9 million exploit attempts on Java each quarter, with a total of 27.5 million attempted exploits during that 12-month period.

Overall, 3 billion devices and 80 percent of browsers worldwide use Java. Meanwhile, some security-savvy users are disabling or uninstalling it altogether as a precaution.

Developers of the wildly popular open-source Metasploit penetration-testing tool this week added a new module for the latest Java attack that abuses a recently patched vulnerability in Oracle's Java implementation, Rhino. The flaw in Oracle Java SE JDK and JRE 7 and 6 Update 27 and earlier versions, which initially was publicized by researchers here and here and then was quickly "productized" into a crimeware kit in the underground, as blogger Brian Krebs discovered. Krebs On Security reported that the attack also was getting rolled into the BlackHole crimeware kit.

"Java is everywhere, and no one updates it properly," says HD Moore, creator and chief architect for Metasploit and CSO at Rapid7. "Very few enterprises update it on desktops."

Oracle does offer an auto-update feature for Java, but it requires admin privileges for the desktop user to use it, something most enterprises don't allow, Moore says.

Microsoft's director of Trustworthy Computing, Tim Rains, earlier this week noted in a blog post that patched flaws in Oracle's Java software have been under siege for months. "Vulnerabilities in Oracle’s Java software have been getting attacked on a relatively large scale for many months and, as I already mentioned, security updates for these vulnerabilities have been available for some time," Rains said. "If you haven’t updated Java in your environment recently, you should evaluate the current risks."

Among other things, organizations need to be aware that they might have multiple versions of Java running, he said.

The Oracle Java flaw, which was patched by Oracle last month, basically lets a Java applet run arbitrary code outside of the Java sandbox. Rapid7's Moore says the so-called java rhino exploit -- which works across multiple platforms, including Windows, iOS, and Linux -- happens in the background, unbeknown to the user hit by the drive-by exploit. Interesting, Linux is most vulnerable to the attack right now: "Oracle patched it; Apple pushed an update at the software level. But most Linux vendors … haven't pushed updates," Moore says.

It's typically used as a first stage in a multistage attack, used for downloading an executable file or installing a bot.

Wolfgang Kandek, CTO of Qualys, says having Metasploit supporting the latest exploit will help raise awareness about the dangers of out-of-date Java apps. "The benefit of having it in Metasploit is that the good guys can demonstrate how this [attack] works," he says.

Many of the organizations found running outdated Java apps in Qualys' customer data were large enterprises, he says. "There tends to be no good process for patching Java. It flies under the radar," he says.

What about disabling Java altogether? Kandek says he doesn't use it, and it's possible to survive without it. "But some companies need it, and they should figure out how to be sure they are on the latest version of it," he says.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS



Vulnerability Management Reports

report Choosing the Right Vulnerability Scanner for Your Organization
Vulnerability scanners can be used to help detect and fix systemic problems in an organization's security program and monitor the effectiveness of security controls. However, a vulnerability scanner can improve the organization?s security posture only when it is used as part of a vulnerability management program, in which products, processes and people are working together to find, identify, prioritize and mitigate threats. Here are some tips on choosing and implementing vulnerability scanners in your enterprise.

report Using Google to Find Vulnerabilities In Your IT Environment
Attackers are increasingly using a simple method for finding flaws in websites and applications: they Google them. Using Google code search, hackers can identify crucial vulnerabilities in application code strings, providing the entry point they need to break through application security. Sound scary? It is, but there is good news: You can use these same methods to find flaws before the bad guys do. In this special report, we outline methods for using search engines such as Google and Bing to identify vulnerabilities in your applications, systems and services--and to fix them before they can be exploited.

report Security Pro's Guide to Patch Management
It's no longer sufficient to patch just Windows, Office and IE. With the massive array of applications now residing on enterprise PCs, and the proliferation of mobile and cloud-based applications, your business is far too vulnerable to exploitation unless you have a solid strategy for patch prioritization, deployment and quality assurance. Follow these steps to put your plan in place.

Other reports from the Vulnerability Management Tech Center:




Featured Webcasts
Featured Whitepapers
Featured Reports