IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Claim by a student that he 'broke' Java sandbox security

[link|http://news.com.com/2100-1009_3-1001406.html|http://news.com.com/...09_3-1001406.html]

My reaction to reading this article is that he is either smoking dope or trying to create a hurricane in a teacup.

Essence of his claim is that if Java resides on a smart card & he exposes the card's chip & heats/lights it, it will flip memory bits & thus corrupt the Java VM onboard.

Seriously, does this 'claim' merit any respect ? if yes then where ???

Doug M
New Looks valid to me.
It's a statistical game. "Ruin" enough cards, and you can open one up. Once you've done that you have the power to do whatever you want with the smart card app. This throws a monkey wrench into e-money and security apps that use smart cards.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New As with all things secure...
Physical Access is the KEY to circumvention.

Any secure scheme is going to be broken at some time in the future, usually through calling the helpdesk and getting something for nothing.

[link|mailto:greg@gregfolkert.net|greg] - IT Grand-Master for Anti-President
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]

THEY ARE WATCHING YOU.
The time has come for you to take the last step.
You must love THEM.
It is not enough to obey THEM.
You must love THEM.

PEACE BEGETS WAR, SLAVERY IS FREEDOM, STRENGTH IN IGNORANCE.
New Something a little more worrisome
Apparently strings aren't as immutable as we thought:

[link|http://www.artima.com/weblogs/viewpost.jsp?thread=4864|http://www.artima.co...t.jsp?thread=4864]

Excerpt:

Have a look at the following code:
\npublic class MindWarp {\n  public static void main(String[] args) {\n    System.out.println(\n      "Romeo, Romeo, wherefore art thou oh Romero?");\n  }\n  private static final String OH_ROMEO =\n    "Romeo, Romeo, wherefore art thou oh Romero?";\n  private static final Warper warper = new Warper();\n}\n

If we are told that the class Warper does not produce any visible output when you construct it, what is the output of this program? The most correct answer is, "you don't know, depends on what Warper does". Now THERE's a nice question for the Sun Certified Java Programmer Examination.

In my case, running "java MindWarp" produces the following output

C:> java MindWarp
Stop this romance nonsense, or I'll be sick

And here is the code for Warper:
\nimport java.lang.reflect.*;\n\npublic class Warper {\n  private static Field stringValue;\n  static {\n    // String has a private char [] called "value"\n    // if it does not, find the char [] and assign it to value\n    try {\n      stringValue = String.class.getDeclaredField("value");\n    } catch(NoSuchFieldException ex) {\n      // safety net in case we are running on a VM with a\n      // different name for the char array.\n      Field[] all = String.class.getDeclaredFields();\n      for (int i=0; stringValue == null && i<all.length; i++) {\n        if (all[i].getType().equals(char[].class)) {\n          stringValue = all[i];\n        }\n      }\n    }\n    if (stringValue != null) {\n      stringValue.setAccessible(true); // make field public\n    }\n  }\n  public Warper() {\n    try {\n      stringValue.set(\n        "Romeo, Romeo, wherefore art thou oh Romero?",\n        "Stop this romance nonsense, or I'll be sick".\n          toCharArray());\n      stringValue.set("hi there", "cheers !".toCharArray());\n    } catch(IllegalAccessException ex) {} // shhh\n  }\n}\n

----

Sick but entertaining hack. And possible security exploit I think.



"Packed like lemmings into shiny metal boxes.
Contestants in a suicidal race."
    - Synchronicity II - The Police
New Re: Something a little more worrisome
Though it's certainly a nice hack, it isn't necessarily a security problem. The reason is that the setAccessible() method call (on the Field instance) is "secured." That is, the SecurityManager is checked to see if it's okay to make that call. If not, it through a SecurityException.

Obviously, if you're running this on your box as an application, you have all the security you need....have at it, then. If you just downloaded it as part of an applet, it probably wouldn't work (security check would catch it). Again, it's the "physical" access that matters ("physical" in this case meaning full security access, where the "sandbox" doesn't care what you do).

Dan
     Claim by a student that he 'broke' Java sandbox security - (dmarker) - (4)
         Looks valid to me. - (admin) - (1)
             As with all things secure... - (folkert)
         Something a little more worrisome - (tuberculosis) - (1)
             Re: Something a little more worrisome - (dshellman)

Do you, in fact, have any cheese here at all?
61 ms