Massive Amount of Malware Targets Older Java Flaws 102
Trailrunner7 writes "It's no secret that Java has moved to the top of the target list for many attackers. It has all the ingredients they love: ubiquity, cross-platform support and, best of all, lots of vulnerabilities. Malware targeting Java flaws has become a major problem, and new statistics show that this epidemic is following much the same pattern as malware exploiting Microsoft vulnerabilities has for years. Research from Microsoft shows that there has been a huge spike in malware targeting Java vulnerabilities since the third quarter of 2011, and much of the activity has centered on patched vulnerabilities in Java. Part of the reason for this phenomenon may be that attackers like vulnerabilities that are in multiple versions of Java, rather than just one specific version."
Oracle Java: Bad (Score:5, Informative)
Re: (Score:2)
Re:Oracle Java: Bad (Score:5, Informative)
Those have performance issues. Look at Jmol vs. JSmol. JSmol is great, buy how many years will it be before it's as fast as Jmol? The demos on the test pages are using small molecules. The performance issues are magnified greatly when used to study molecules on the order of hundreds of thousands of atoms. Plus there are security issues. JS and HTML can't write files to the clients computer. What if your client wants files? You have to send the content to the server, and then back again to the client. So then the client has to trust you with their data. Java can write to their computer and doesn't have to send the data to the server first.
Saving with the File API (Score:2)
JS and HTML can't write files to the clients computer.
This may be true of JavaScript and HTML in IE pre-10, but the draft File API [w3.org] allows JavaScript programs to ask the browser to present a "Save As" file chooser and write to the file that the user chose. And because JavaScript's File API does access control through the file chooser, it doesn't require a code signing certificate from a commercial CA in order to be able to write such a file
Re:Oracle Java: Bad (Score:5, Interesting)
Which changes nothing other than the application your updating.
You realize that MS is the only company that gets the word 'patched'.
Firefox, chrome and opera all do the same as Oracle.
Not that MS hasn't introduced breaking changes and called them patches or anything.
If you think the browser is a stable platform you've clearly never done web development.
Re: (Score:3)
>Yeah but what would the alternative be? .NET?
No. Programs.
Programs work. You write them and they run on computers.
If you're writing a thing within a thing that runs on a thing within another thing, then you're writing Java, not a program.
Re: (Score:1)
If you're writing a thing within a thing that runs on a thing within another thing, then you're writing Java, not a program.
This definition of "program" excludes everything except for operating systems and programs that run on microcontrollers.
Re: (Score:2)
Re: (Score:2)
Python is compiled. It's a more effective cross platform language than Java. As TFA points out, Java brings much version baggage. A compiled python program tends to work.
Re: (Score:2)
Hardly any one actually programs against the native operating system for business apps these days. They write code against the Java and .NET run time and call it a day. That's not necessarily a bad thing because the run times do take handle of a lot of issues behind the scenes such as memory management. Both Java and .NET were touted as RAD and it does cut development time. And if needed you can always invoke system level functionality from both run times.
Re: (Score:2, Interesting)
Hardly true. I'm using a whole system (Gentoo Linux) with no .NET (thank you, junk belongs to..) and no Java (disabled on the system level). Here we go: a bunch of programs NOT using Java or .Net AND actually working. That is what people use when they want the job done. Or, you can look at a bunch of Java programmers writing tons of code in pity attempt to create some useful.
If they are trying to create desktop applications, that's in most cases laughable, with very few exceptions. The created monstrous din
Re: (Score:2)
You have led a very sheltered life if you have not encountered any well written Enterprise applications. Lets all write everything in C/C++/Objective-C because it is easier and faster than Java or .NET. and it's really cool.
Re: (Score:1)
Re: Oracle Java: Bad (Score:1)
C or C++. use less frameworks, use less applicationservers. Use less layers between you and the OS, start shipping your own security patches when you introduce one. This trust in others middleware has always suppriced me. And Im a proffessional Java developer too.
Re: (Score:2)
Re:Oracle Java: Bad (Score:5, Interesting)
Actually, the one practically undisputed big selling point of Java is backwards compatibility. In fact, most experienced developers I know would cite that Java's stringent backwards compatibility policy is one of the things that has been holding the platform back, impeding progress. As an experienced Java developer myself, I would claim that 95% of Java applications should be upgradable to the most recent version without any issues at all.
Re: (Score:2)
"upgradable" was the wrong word. Most Java applications should run on the newest version of the VM without problems, right out of the box.
Re: (Score:3, Interesting)
Good luck with that... having code that works in more than one VM is a big task. For example, am I stuck with a VM that has JCE, or do I have access to JSSE? Even then, a JVM on a Mac may not run code written by a JVM on Windows.
Oracle needs to do a complete library enema of Java and really get write once, run everywhere going properly, just like how MS cleaned up house going from .NET 1.x to 2.0.
If I want something that works across platforms, it would be JavaScript, or HTML5. No flash, no Java, no stup
Re: (Score:2)
Re: (Score:2)
Actually, the one practically undisputed big selling point of Java is backwards compatibility.
Was backwards compatibility.
Before Oracle took over.
Nowadays all you're backwards compatible with is the old exploits.
Re: (Score:2)
Re: (Score:2, Interesting)
Re: (Score:3, Informative)
It's not the programmers that matter. Programmers can write Java and compile it with any JDK they please, and it should run on any JRE, including OpenJDK [java.net] and its companion JRE project. I don't know how well they patch compared to Oracle, but it's an open-source replacement, which works pretty well in my experience.
Re: (Score:2)
Ugh, no.
My last two forays with OpenJDK have led me to never ever use it again. It is not compatible.
Re:Oracle Java: Bad (Score:4, Interesting)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
You noted that I didn't talk to Android, because that one works, whether Oracle likes it or not. OpenJDK just wasn't there, and probably won't be there for a while, especially in the areas of truly interesting functionality, such as NIO. (To me anyways, I write mostly server type code, for non mobile clients anyways).
I do take exception to your claim of Java being a massive security breach, because it's not. What is a screaming pile of cracker opium are the browser plugins. Yes, the security manager / sand
Re: (Score:2)
What's interesting is the pedantic point that right or wrong, OpenJDK's right. Sure, it's horribly broken, but by being the reference implementation, it's right by definition. This is indeed similar to Microsoft's mistreatment of the Office Open XML format. Upon release, the official spec was demonstrably not the format Office actually used. For making a program compatible with Microsoft Office, Microsoft's spec was nearly useless. For making a JRE compatible with Oracle's Java, Oracle's spec is nearly usel
Re: (Score:1)
OpenJDK's ... horribly broken, but by being the reference implementation, it's right by definition.
Seriously, do you even read what you write? it's broken, it's not the reference implementation, that would be Sun's, and now Oracle. There are other implementations that work - namely Apple, IBM, and BEA's renditions (also now acquired by Oracle). So there's no excuse for the horror that is OpenJDK, so the "spec is nearly useless" is provably false. You may not like it, it may not be the idealist's preferred outcome, but Java does work.
Google's Dalvik VM was never mentioned as a replacement, just as an i
Re: (Score:2)
Keep digging that hole deeper [oracle.com].
Historically, Sun always used the Sun JDK as the RI and made it available under the Binary Code License (BCL). This was very convenient for Sun since it meant that its product implementation was compatible by definition. However, it was also confusing since the Sun JDK contained quite a few features that were not part of the standard, such as the Java Plugin.
Re: (Score:2)
Re: (Score:1)
I am not worried. At the end of the day, MS has the absolute worst security record out there, by any definition you care to make. Remove the browser and run Java with known code, amazingly, it's quite secure and powers all sorts of web sites that deal with PCI, PPI, and more. Anything MS has to get an exception.
Re: (Score:1)
And you are still wrong. I didn't say squat about low right mode and good AV. Under windows, even windows 7, this means absolutely nothing thanks to a common and easily abused DLL injection mechanism and a completely retarded security model.
Considering that it's not really meant to be used in a browser (yeah, surprise, it's not), it's amazing that people still try to use it this way.
Re: (Score:2)
You have got to be joking.
Please tell us how you got on building and running something even as basic as MIDlets with OpenJDK.
Re: (Score:2, Interesting)
Re: (Score:2)
Re: (Score:1)
You are so hellbent on a crusade you're sad.
Read your post - Browser site browser browser download webpage......
You do realize that the "jar" could also be an EXE, or some sort of script, or any numerous other entry points. It could even be a jar that contains an EXE that it then copies and executes. In any case, it's either a trojan (read that as you're a moron for running untrusted code) or a plugin. So, you're still wrong. Enjoy.
Re: (Score:2)
URL: is another one that forces us to have insecure crap on our system. We run a thin client which runs firefox which runs their crap.
This of course removes all the sales drone drooling about fixing the lost work time problem of everyone standing in line doing nothing.
The genius that chose these tards has departed the building for more pay or that's what we were told.
Re: (Score:2)
they don't patch: they give you new versions...require you to use old, vulnerable versions
Exactly. And as such, we will be running Java 6 Update 16 (released in 2009) until at least 2014 on 5,000+ machines.
Re: (Score:3)
If a Java application requires an older version of the platform, it's probably due to crappy coding (violating a precondition of some method, trusting undefined behaviour, using undocumented libraries that are not part of the standard API, etc.)
I have been developing in Java for like 12 years and I have never had any issues with backward compatibility. The closest I have had to an issue was a change to how word wrapping works in Swing text components in 1.7, which made an application look a bit uglier in th
Re: (Score:1)
We've had that policy for years now and it's working quite well. Using .net for everything may be a bit of a pain at times, but it beats having to test every app twice a month when a new version of Java comes out.
research by microsoft (Score:1)
shows that microsoft is no longer the target of attacks, nor the target of use.
just wait for the caps to blow on the old p4 syste (Score:2)
just wait for the caps to blow on the old p4 systems to force a upgrade.
Re: (Score:2)
Instead of VMs, could you use more physical boxes and a KVM? As an ancillary benefit, when management complains that you have six PCs under your desk you can say "Well, I could toss all of these if you buy me one new PC." Alternately, wait until another department tosses a better machine than you're using: four and five year old Dells were running Core 2 Duos and Core 2 Quads, so any day now you should be able to pick up a decent system off the discard pile.
It's the Forrest Gump principle (Score:3)
Re: (Score:1)
Re: (Score:2)
With Microsoft, all you have to do is turn on Windows Update and the patches will be installed once a month, like clockwork. Or, with Linux, you can check for updates any time you please and pick up whatever's come in since the last time you checked. Either way, the process is (mostly) automated.
Re: (Score:2)
By the Great Old Ones, have you the misfortune of trying to push out Flash Player using AD group policy? Have you seen the contortions you have to do to make it /work/? Ugh.
No shit Sherlock (Score:2)
Wouldn't you be pretty stupid to target the current mostly patched version and ignore the FAR larger pool of older installs.
This is only news if you don't have a clue
zombie journalism (Score:1)
Read these words:
Java.
Malware.
Security.
Flaw.
Now watch this interview (and maybe the blooper reel as well) [tomwoods.com]
and then read these words once again:
Java.
Malware.
Security.
Flaw.
I bet you are reading these in that zombie voice now.
Oracle Java UPDATER is the reason for this (Score:5, Interesting)
Some posts above mine, people blame Oracle Java. I blame the updater.
My dad was hit by malware lately, which he got, because of an outdated Java on his system. He told me he always updated everything and blocked the install of everything else like toolbars. The last thing before he got the virus he remembered, was not allowing jusched.exe admin priviledges.
I get it: jusched mean java update scheduler and everytime it's run it asks for admin priviledges. First of all:
1.) This should be updated automatically by a package manager, hence I blame Microsoft
2.) If 1.) is not the case, it should at least be called JAVA UPDATE PROCESS
3.) It should display some kind of information before requesting Admin rights.
Not many people outside of Slashdot know what jusched.exe is. Updating needs to be automated. Actually: We should somehow take this into our own hands and provide OpenJDK for Windows also ourselves and get people to switch. Maybe even without the ASK Toolbar
Re: (Score:1)
Your 2 and 3 are pointless. Any virus could easily duplicate and display the same information
Re: (Score:1)
No, updating should not be automated. The INSTALLER should ask whether or not you want it automatically updated, and if so, how/when, etc. Instead, we get the situation where (for example) I have to put up with jusched.exe's constant complaining that it has an update, but I don't have the privileges to install it, so I get nagged about it EVERY FRICKING TIME I login to a machine I have no control over (and therefore it isn't getting updated ever); or I get the situation where I do have admin rights, but I
Re: (Score:1)
If you start the offline installer and don't respond to any of the prompts you should be able to find a directory containg an installer in msi format in c:\users\$username\AppData\LocalLow\Sun\Java.
After you copy the referenced directory somewhere you can cancel the installer. Now that you have a msi file you can use Group Policy, or psexec, or something else to deliver your java update.
An added bonus is that I also do not seem to have the Java updater installed.
Re: (Score:2)
Now you've solved two problems.
Re: (Score:2)
Hehehehe
Re: (Score:2)
Re: (Score:2)
Better yet, why isn't it downloading on behalf of the installer and letting the INSTALLER ask for admin rights?
Half the time, it claims there's an update, and then it promptly fails to download it. After giving it admin. Why not attempt to download it ahead of time?
Yes, ask for admi
Re: (Score:2)
I'll say it again people (Score:2)
...if you don't have a need for it or don't remember when you last used it, uninstall it.
Microsoft ? (Score:2)
Microsoft deflecting their own security flaws,
Enable Click to Play (Score:1)
In Chrome, Firefox, and all Android browsers, just enable "click to play" for all plugins, instantly 99.9% of your vulnerabilities are gone.
Bonuses: no flashing ads, fewer CPU or RAM chugging browser tabs, no random audio ads, better battery life.
On the few sites where you want it on by default (youtube for example) it's just a two click "enable permanently" whitelist.
WHY isn't this the default on all browsers by now?
It's Java Browser Plugin! (Score:4, Insightful)
95% of Java today is running on the server-side. And there are very few security problems there.
Given the amount of articles and FUD targeted at Java on Slashdot in recent months, they could have gotten this right by now. Editors, please be explicit about this being java APPLET/BROWSER PLUGIN vulnerability every time this comes up. This is not Java language vulnerability.
--Codera
Re: (Score:1)
but you're wrong.
The plugin is simply the vector that a great number of attacks use to infect your system, the flaws are still (mostly) in the JVM.
Don't stick your head in the sand and say "blah blah no flaws in java", as you're doing everyone a huge disservice. There are bugs in the JRE that are exploited all the time (check the security fixes Oracle publishes to see what these are)., and understand that removing the plugin simply means the attackers have a harder, but not impossible, time to hack you.
JAVA is safe - Applets are not. (Score:1)
Stop the bullshit ! Java is as safe as or even safer than any other technologies.
And for
Problem with Java is Management (as usual) (Score:2)
We built a basic html app and one yahoo wanted rounded corners because they looked nice.
We said "No" due to performance issues. Then he tried to get it in thru the standard backdoor of 'standardization' and we used our strategy of defensive paperwork--the first criteria for standardization was performance, not looks. We couldn't get the other departments to stop using Java to develop apps with rounded corn
Re: (Score:2)
One ring to rule them all is fiction, not fact.