Cybercriminals using digitally signed Java exploits to trick users

The lack of default certification revocation checking in Java makes the problem worse, researchers say

Security researchers warn that cybercriminals have started using Java exploits signed with digital certificates to trick users into allowing the malicious code to run inside browsers.

A signed Java exploit was discovered Monday on a website belonging to the Chemnitz University of Technology in Germany that was infected with a Web exploit toolkit called g01pack, security researcher Eric Romang said Tuesday in a blog post.

"It's definitely go01 pack," Jindrich Kubec, director of threat intelligence at antivirus vendor Avast, said via email. The first sample of this signed Java exploit was detected on Feb. 28, he said.

It was not immediately clear if this exploit targets a new vulnerability or an older Java flaw that has already been patched. Oracle released new Java security updates on Monday to address two critical vulnerabilities, one of which was being actively exploited by attackers.

Java exploits have traditionally been delivered as unsigned applets -- Java Web applications. The execution of such applets used to be automated in older Java versions, which allowed hackers to launch drive-by download attacks that were completely transparent to the victims.

Starting with the January release of Java 7 Update 11, the default security controls for Web-based Java content are set to high, prompting users for confirmation before applets are allowed to run inside browsers, regardless of whether they are digitally signed or not.

That said, using signed exploits over unsigned ones does provide benefits for attackers, because the confirmation dialogs displayed by Java in the two cases are considerably different. The dialogs for unsigned Java applets are actually titled "Security Warning."

Digital signing is an important part of assuring users they can trust your code, Bogdan Botezatu, a senior e-threat analyst at antivirus vendor Bitdefender, said via email. The confirmation dialog displayed for signed code is much more discrete and less threatening than the one displayed in the case of unsigned code, he said.

"Additionally, Java itself processes signed and unsigned code differently and enforces security restrictions appropriately," Botezatu said. For example, if the Java security settings are set to "very high," unsigned applets won't run at all, while signed applets will run if the user confirms the action. In corporate environments where very high Java security settings are enforced, code signing may be the only way for attackers to run a malicious applet on a targeted system, he said.

This new Java exploit has also brought to light the fact that Java does not check for digital certificate revocations by default.

The exploit found by researchers Monday was signed with a digital certificate that's most likely stolen. The certificate was issued by Go Daddy to a company called Clearesult Consulting based in Austin, Texas, and was subsequently revoked with a date of Dec 7, 2012.

Certificate revocations can apply retroactively and it's not clear when exactly Go Daddy flagged the certificate for revocation. However, on Feb. 25, three days before the oldest sample of this exploit was detected, the certificate was already listed as revoked in the certificate revocation list published by the company, Kubec said. Despite this, Java sees the certificate as valid.

On the "Advanced" tab of the Java control panel, under the "Advanced security settings" category, there are two options called "Check certificates for revocation using Certificate Revocation Lists (CRLs)" and "Enable online certificate validation" -- the second option uses OCSP (Online Certificate Status Protocol). Both of these options are disabled by default.

Oracle does not have any comment about this issue at this time, Oracle's PR agency in the U.K. said Tuesday via email.

"Sacrificing security for convenience is a serious security oversight, especially as Java has been the most targeted third-party piece of software since November 2012," Botezatu said. However, Oracle is not alone in this, the researcher said, noting that Adobe ships Adobe Reader 11 with an important sandbox mechanism disabled by default for usability reasons.

Both Botezatu and Kubec are convinced that attackers will increasingly start using digitally signed Java exploits in order to bypass Java's new security restrictions more easily.

Security firm Bit9 recently revealed that hackers compromised one of its digital certificates and used it to sign malware. Last year, hackers did the same with a compromised digital certificate from Adobe.

Those incidents and this new Java exploit are proof that valid digital certificates can end up signing malicious code, Botezatu said. In this context, actively checking for certificate revocations is particularly important because it is the only mitigation available in case of certificate compromise, he said.

Users who require Java in a browser on a daily basis should consider enabling certificate revocation checking to better protect against attacks exploiting stolen certificates, said Adam Gowdiak, the founder of Polish vulnerability research firm Security Explorations, via email. Security Explorations researchers have found and reported over 50 Java vulnerabilities in the past year.

While users should manually enable these certificate revocation options, many of them will probably not do it considering that they don't even install security updates, Kubec said. The researcher hopes that Oracle will turn on the feature automatically in a future update.

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags online safetysecurityAvastDesktop securityGo DaddyExploits / vulnerabilitiesmalwareOraclebitdefenderpki

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?