Slashdot Mirror


Why You Can't Dump Java (Even Though You Want To)

snydeq writes "Since so many recent exploits have used Java as their attack vector, you might conclude Java should be shown the exit, but the reality is that Java is not the problem, writes Security Advisor's Roger Grimes. 'Sure, I could opt not to use those Java-enabled services or install Java and uninstall when I'm finished. But the core problem isn't necessarily Java's exploitability; nearly all software is exploitable. It's unpatched Java. Few successful Java-related attacks are related to zero-day exploits. Almost all are related to Java security bugs that have been patched for months (or longer),' Grimes writes. 'The bottom line is that we aren't addressing the real problems. It isn't a security bug here and there in a particular piece of software; that's a problem we'll never get rid of. Instead, we allow almost all cyber criminals to get away with their Internet crime without any penalty. They almost never get caught and punished. Until we solve the problem of accountability, we will never get rid of the underlying problem.'"

28 of 402 comments (clear)

  1. Accountability by amginenigma · · Score: 4, Insightful

    Good luck with that, we humans have entire criminal justice systems which are supposed to bring accountability... pretty sure you know where I'm going with this one.

    1. Re:Accountability by icebike · · Score: 4, Insightful

      Good luck with that, we humans have entire criminal justice systems which are supposed to bring accountability... pretty sure you know where I'm going with this one.

      The criminal justice system, and the police are scaled just big enough to keep people from murdering each other and running off with with other people's property on any grand scale. It was never intended that this level of policing should be 100% fool proof. Even in those countries where there is totalitarian control, petty crime is rampant and tolerated simply because you can't lock up everybody.

      I doubt you or the author of TFA would want to live in a society so tightly monitored that it was impossible to commit ID theft or internet crime (he seems to equate the two).

      There was an opportunity, and actually some proposals for a non anonymous internet once upon a time. Also for absolutely verifiable Email senders. That path wasn't chosen, and would likely have been impossible anyway, with the side effect of turning a lot of petty internet activity into internet crimes, merely because you posted without a license, or made a name up.

      --
      Sig Battery depleted. Reverting to safe mode.
    2. Re:Accountability by Grishnakh · · Score: 4, Informative

      The whole idea of accountability is utterly stupid as long as you have a single data network that spans multiple countries. If someone in Nigeria sends you a virus or does something else illegal, WTF are you going to do about it? Nothing. There's absolutely no way you're going to make people entirely accountable for their actions as long as there's multiple governments, and worse different laws in different places. The only rational thing to do is to protect yourself.

    3. Re:Accountability by emho24 · · Score: 5, Insightful

      I simply cannot understand the position some people take "it's just stuff, it's not worth a life!". You broke into my *home*. This is where I live with my wife and child. I am not going to spend one nanosecond pondering your motives, whether you are here to steal my tv or the life of my family. I'm going to shoot center mass (no, *not* in the legs), and I am not going to stop shooting until the threat is no more. Period. My state has a castle doctrine, but I don't care. It was my doctrine long before it was state law. No one is going to tell me that my life and my family’s lives are worth less than some criminal that broke into my house.

      --
      You must gather your party before venturing forth.
  2. Can't stop crims, can fix holes by Anonymous Coward · · Score: 5, Insightful

    He may be right, but he's also totally unrealistic. Nothing you ever do will stop the "underlying problem". But we can fix security holes, and pressure companies to release more secure code.

    No point hoping for what is "right", or "best". Aim for something realistic instead.

    1. Re:Can't stop crims, can fix holes by jhoegl · · Score: 4, Insightful

      seems more like he is building a case for rules to govern the internet, justifying "big brother" tactics, and random stealing of servers from server racks by the FBI.

    2. Re:Can't stop crims, can fix holes by ChunderDownunder · · Score: 4, Interesting

      'We' can't do anything to fix security holes in "Java", unfortunately.

      Only core virtual machine and class libraries have been released under the GPL + Classpath Exception. The installer, auto updater, javafx, java web start, browser plugin are proprietary Oracle.

      OpenJDK might be free but Java (TM) isn't. My bet, [citation needed], is that many of these Java security holes occur in unreleased code.

    3. Re:Can't stop crims, can fix holes by icebike · · Score: 5, Insightful

      You are right of course.

      Further, Grimes falls headlong into the punch-bowl of the "Its popular, therefore, its attacked" Koolaid that Microsoft has been serving up for years now. With a few thousand more eyes on that source code its quite possible it could be much more secure than it is now, especially since Grimes himself points out it was originally designed with security in mind. But as long as vendors and bloggers can claim that popular platforms fall to attack simply because they are popular, we will never see much pressure for improvement.

      Some popular things, like Gold Ingots, are just harder to steal because Fort Knox has better security. Even with a map, a tour, and three corrupt ex-guards on your payroll you aren't going to succeed.

      The idea that we will ship code, vetted by nobody in particular, for execution on some remote machine, and then expect a software sandbox to contain that code successfully, forever, with zero maintenance is just begging for trouble. To do so without publicly vetting the platform in all of its details is foolish.

      --
      Sig Battery depleted. Reverting to safe mode.
    4. Re:Can't stop crims, can fix holes by Shoten · · Score: 4, Insightful

      You are right of course.

      Further, Grimes falls headlong into the punch-bowl of the "Its popular, therefore, its attacked" Koolaid that Microsoft has been serving up for years now. .

      Here, you hit the nail on the head...but it isn't about open- versus closed-source. It's about the real problem...patching. Most exploitation involves Flash, Java or Adobe Reader vulnerabilities largely because these don't get patched as easily. Microsoft became the gold standard in patch deployment over the past several years, and as a result the time in which a Microsoft-based vulnerability can be counted on to produce botted host after botted host from a compromised website is far shorter. On the other hand, Java and Adobe both tend to lag a bit in their patching, and their systems rely upon a reboot to even look for the latest version. When Microsoft pushes a patch, within 24-36 hours I usually have it installed. I don't know how long it takes between when the latest Java engine is out and when I happen to reboot and, once my machine comes back up...ah, look! A new Java version!

      Criminals will always exist, and they will go after the easier targets. Vulnerabilities will always exist. The key is to patch the vulnerabilities quickly enough and frequently enough that criminals look for lower-hanging fruit.

      --

      For your security, this post has been encrypted with ROT-13, twice.
    5. Re:Can't stop crims, can fix holes by DarwinSurvivor · · Score: 4, Insightful

      Microsoft became the gold standard in patch deployment over the past several years

      I *actually* laughed when I read that! When Microsoft's updater can update software other than their own, THEN you can TRY saying that again. Until then all the Linux users will just shake their heads at your ignorance.

    6. Re:Can't stop crims, can fix holes by DigiShaman · · Score: 4, Interesting

      Excuse me! If MS ever pulled a stunt like that, it would be published on Slashdot with thousands of readers keel hauling Microsoft for pulling a reckless stunt like that! Microsoft has no business nor responsibility for patching a 3rd party application that may break existing functionality. Not even Apple does this in their walled garden. At least not to my knowledge as a MacBook user myself.

      I wouldn't mind if Microsoft provided warnings and notifications to users to seek out their respective 3rd party vendor for updates. But to actually hold Microsoft accountable for updating someone elses applications is ludicrous! No wonder shit breaks under Linux when an update rolls along. In fact aside from a hardware failure, 99% of the Linux horror stories involves updates breaking shit. That update policy sucks ass!

      --
      Life is not for the lazy.
    7. Re:Can't stop crims, can fix holes by sjames · · Score: 4, Interesting

      Again, we've been known to bend over backwards to get our laws imposed on people in other countries when the FBI's lords and masters (the *AA) want them to. Perhaps they should use some of that to go after actual criminals rather than autistic UFO nuts and Megaupload.

      Most of the Nigerian scams could be handled by insisting that U.S. banks clear checks once and for all with foreign banks (as in no take backs) before they claim that a check has cleared. That won't help people who are determined to be ripped off, but it will help a lot of people. "Identity theft" could be killed dead by making banks take responsibility when they hand wads of cash over to strangers and letting credit agencies know that if they continue repeating gossip and hearsay as if it was somehow verified information, they WILL be on the hook for libel.

  3. The other problem by MrEricSir · · Score: 4, Insightful

    Security is one problem -- the other being that you'll get sued for using it. Just ask Microsoft and Google.

    --
    There's no -1 for "I don't get it."
  4. This is a stupid article by rgbrenner · · Score: 4, Insightful

    Java isn't insecure, criminals just aren't being punished.

    That applies to EVERY piece of software. Why should Java get a free pass?

    1. Re:This is a stupid article by GIL_Dude · · Score: 5, Informative

      Well, in the enterprise space you have a huge catch-22. I deal with this at work all the time. Since Oracle / Sun Java doesn't actually do patches (they just do full versions that introduce new features, break existing code, and deprecate other features), you can't deploy it. You have this trade off of known security vulnerabilities vs. enterprise software that won't work with the new versions. You have banks that require you to run Java versions that are a year old in order to move money. You have vendors whose code won't work with the current version of Java - ever (since they take longer to get their code working on new versions that it takes Oracle to release the next new version). We try as hard as we can to get app owners to test - but every last time we ship a new Java versions apps come out of the woodwork with emergency requests to "stop the push". You can't win. Bust people's critical apps and you lose. Allow machines to get owned by insecure versions of Java? Yeah, you lose there too. Oracle needs to figure out how to do security patches that just fix the vulnerabilities and don't introduce (and remove) features. Until they can do that - yes, it is their fault.

    2. Re:This is a stupid article by Sarten-X · · Score: 4, Insightful

      You mean the "java update" icon in the taskbar? The one that wants to update every few months?

      Yeah, I ignore it, too... It seems every update is a few hundred megabytes, and I don't really want to pay attention to it long enough to tell it to install, then come back to follow up on it. Between all of the "time-tested" self-updaters for Windows, Adobe, Apple, Google, and a dozen more I could track down if I cared to, I'm sick of the whole self-updating thing. Why the hell don't we use RSS (or equivalent) for this yet, and be able to group all the updates together in a single interface, with a single "update now" button?

      I guess that'll still be a Linux-only thing for another decade or so...

      --
      You do not have a moral or legal right to do absolutely anything you want.
    3. Re:This is a stupid article by PCM2 · · Score: 5, Interesting

      Yeah, I think the bigger problem is that the updates are weird. It's been a while since I've had Java installed on my main machines, but the way I remember it, you'd end up with a long list of updates in your Programs and Settings panel, even when they all have the same major version number. Like... you could keep Java 1.6.19 even when you uninstalled Java 1.6.12. And they don't seem to be patches, either... like, each one adds another 350MB subdirectory to some folder in your system disk, and they all just sit there like turds.

      Then there was the time Oracle tried to bundle a McAfee "security scan" in the Java updates. That really inspired confidence. "Hey, I know -- let's interrupt this vital security procedure to push crapware from our marketing partners."

      No, I think Roger Grimes is wrong -- folks can and will uninstall Java. I've been avoiding it just fine, and those bespoke Java applications that we're told all these Fortune 500 companies are sitting on will eventually be replaced with Web applications.

      (None of this is to say Java doesn't have a strong future in the datacenter, though.)

      --
      Breakfast served all day!
  5. soo.. by Anonymous Coward · · Score: 4, Insightful

    We should legislate away our technical problems?
    No thanks. It's been shown time and time again that not only doesn't it work, but it tends to make the technical problems worse.

    If everyone thinks "i can just sue them later" them attention to security will drop even farther.

    There are very good security systems out there that very few people and organizations bother to implement or continue.

  6. Invalid argument... by wbr1 · · Score: 5, Insightful

    We punish drug dealers and users... they keep on pushing and using.
    We punish robbers and gangsters... stores get robbed and people gangbanged every day.
    We punish rapists and other sex offenders...new ones crop up.
    We punish murderers and and wife beaters... people still get killed and wives beaten every day.

    Punishment it little if any deterrent. In countries with far less harsh criminal penalties than the United States, the crime rate stays about even to all other industrialized countries, even given the lesser punishments.
    And somehow Grimes thinks that punishing crackers (not hackers.. I am proudly one of those), is going to make a difference. Even if you did manage to snuff it out in one place (highly unlikely), the internet is worldwide and you will have places with less lax laws or corrupt officials where those of a criminal bent can launch whatever they choose.
    Most crime (not all)is cause by real or perceived poverty or other social disparity. Spending billions to incarcerate the underprivileged does nothing but further this disparity and create -more- crime.
    Try looking at the world with empathy instead of greed and anger and try to lift people up. You may be surprised what a difference it makes.

    --
    Silence is a state of mime.
    1. Re:Invalid argument... by wbr1 · · Score: 4, Insightful

      It doesn't work at that either though. Many criminals would like a better life and a better chance, and don't want to make the same mistakes again. Not all, of course there are exceptions. But you take a man, put him in prison for 5 or 10 or 15 years at the prime of his life, give him some opportunities to learn, but most are bogus, and most of what is learned is -more- criminal mentality, and more hatred of -the system-. Then you put him out on the street with strict rules, little money, most of his family and friend have probably deserted him (if he had much to begin with) during his time in prison so he has little if any healthy support systems in place. No add to the fact that everywhere he turns he cannot get a job. If he owes court fines he may not even be able to get a drivers license until he can pay part of his fees, further limiting his chance of employment. Is it any wonder if he goes back to robbing stores or dealing drugs? It is what he knew and all he has left.
      And even if you made him a ward of the state forever, now the state has weakened whatever family he had, and made it more likely for others in his family to follow the same path. And there will ALWAYS be more criminals to replace him.
      So no, it is not about deterrence. It is not about accountability even. In the United States it is about making victims feel better, and about making money for the government. Bringing in tax dollars through fear.

      --
      Silence is a state of mime.
  7. story summary != story by circletimessquare · · Score: 5, Funny

    Title:

    Why Elephants Are Large

    Story:

    An Elephant's trunk is very flexible. Even more amazing are the flexible snakes in the grass. Click this link to learn all about why bird's eggs are shaped the way they are.

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  8. Get away with crime? by Toe,+The · · Score: 5, Funny

    Instead, we allow almost all cyber criminals to get away with their Internet crime without any penalty.

    Beloved, this is not being true! I have sure-fire way to stop crimes and makes you not being victims of many internet crimes ever. Alls I needs is your passwords to your accounts, and I makes them very secures. Especially yours banks passwords accounts numbers, I very much promising. I extra interested if you been scammed before. I help most much.

    To show I most sincere, I also give you free 500 Viagra pills extra-effective man-stick for your every account you wants me protect! Your woman moan against your amazing he umbrella many time.

  9. Not just unpatched Java by Hentes · · Score: 4, Insightful

    The big security problem with Java software is that you can't differentiate between them since they all run on the jvm. For example, you can't block net access from a Java program in a firewall, because you would have to block the whole jvm.

  10. Re:less risk? by Tough+Love · · Score: 5, Insightful

    but we can still remove java and have less risk right ?

    Indeed. I will have to disagree with "security advisor Roger Grimes" and point out that complexity breeds bugs; bugs breed security holes; Java's JIT and supporting libraries are just way too complex for their own good. This problem is made way more severe by Java's closed development model.

    Java can be made secure, just not any time soon, not until Oracle gets a clue and opens up the development process.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  11. Re:less risk? by errandum · · Score: 4, Informative

    You can also not use windows and opt for linux. But is it worth it? For some, yes, I'd say that for most people it isn't.

    Java runs some cool software that most have no idea it actually is Java (it can copy the look and feel of your OS). The only way to mostly fix java is to have chrome like updates. Silent, forced on you but safe.

  12. Unpatched Java? Blame the patching process! by Wrath0fb0b · · Score: 4, Interesting

    Almost all are related to Java security bugs that have been patched for months (or longer),' Grimes writes. 'The bottom line is that we aren't addressing the real problems. It isn't a security bug here and there in a particular piece of software; that's a problem we'll never get rid of.

    And so the appropriate thing is to see why in the heck we don't have all software always patched up to date. And the reason for that in Java is that it's bloody stupid updater takes 5 minutes and 10 clicks. Change it to be like Chrome -- background auto-update itself silently* with zero user input (or one click) -- and you'll have 99% of the installs up to date without issue.

    To be clear, for the control-freak BOFHs, enterprisey people and hobbyists that actually enjoy computer maintenance, there should be a checkbox in options that says "Disable All Automatic Updating until I uncheck this box". If the user checks it, turn on the webcam and require them to raise their right hand and swear "I AM RESPONSIBLE FOR KEEPING THIS SOFTWARE UPDATED, ANY ILL THAT BEFALLS ME FROM NOT PATCHING IS MY OWN DAMNED FAULT AND I DESERVE IT". Make sure that preference persist between installs.

    IOW, I'm not saying everyone has to do automatic silent updating, I'm saying that it should be the default setting unless the user expresses a desire to maintain it updated himself and is appraised of the risk of doing so. Let the user decide, but provide a better default behavior that's appropriate for most users.

  13. Re:less risk? by DarwinSurvivor · · Score: 4, Interesting

    Or a package manager that keeps ALL your software up to date like Linux has had for years!

  14. That's not how it works by jcupitt65 · · Score: 5, Insightful

    MS wouldn't be patching 3rd party software (you're right, that'd be crazy). MS would provide a general framework for maintaining installed software which 3rd party vendors could hook into.

    Instead of every package implementing its own updater with its own background service and configuration system, they'd be one updater that everyone used which presented updates to the user in a central place. Instead of 10 badly implemented updaters, you'd have one good one.

    This is what all linux distributions do and it works pretty well. I expect the win8 app store will do something like this.