Live data from Hacker News

How I got robbed of 34 btc on Mt.Gox today

bitcointalk.org

81–90 of 251 posts

Re: How I got robbed of 34 btc on Mt.Gox today

#81

Earlier quoted context omitted.

Runtime.getRuntime().exec(str9); Why this works is beyond me, but that looks like the actual call to execute it.

A signed applet can do pretty much anything an executable app can do if the user gives it permission. I built a little zip utility applet years ago that accesses the file system, ezyzip.com. Still works even though the signature is expired.

Wow, I hadn't noticed that about Java before, Just checked ezyzip.com. The sig is expired, but it only says that right at the bottom of the dialogue, and it still allows you to run it without a problem. I can imagine many people just clicking through that, as it seems almost identical to the standard Java applet warning.

Oracle really need to change that, there should be flashing red lights (alright, maybe not flashing) on that dialogue, otherwise any previously valid signature on a Java applet will be happily trusted by the majority of the internet.

Also, I noticed that in the comments on the bitcointalk site, that many people are blaming this on windows. I know the payload is an EXE, but has anyone analysed it and checked if this applies to other OS's as well? If this is (as the author claims) a Java 0-day attack it may well work on other operating systems, and for other purposes. I personally suspect this is a matter of the author accidentally granting permissions to an app that he shouldn't have, but it sounds like this "AdobeUpdate-Setup1.84.exe" could do with some analysis.

Re: How I got robbed of 34 btc on Mt.Gox today

#82

From the source of mtgox-chat.info: Yep, probably an exploit, there aren't many good reasons for a 10x10 applet. Let's download the jar. It contains a single 3.5KB payload. Let's use a Java decompiler (JD-GUI). import java.applet.Applet; import java.applet.AppletContext; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; impo…

>> if (str1 != "yes") Thats some dodgy java code right there. (You should use .equals() )

A) They're literals B) It's been decompiled c) CHICKEEEEEEN

Re: How I got robbed of 34 btc on Mt.Gox today

#83

Earlier quoted context omitted.

I think that is a bit extreme. I'd suggest rather than not installing Java at all just to not install/disable the browser addons that allow java applets to execute. This way the only way you are going to be executing anything Java is by downloading the .jar (or a executable wrapper) and running it. To me if you have to download the .jar and run it then that is no different to downloading an executable and running it…

How is it extreme? The only time I've needed java is for minecraft. Luckily I'm not rocking windows so the chance of being hit by a 0-day is a bit lower (correct me if I'm wrong.) But stopping the chance of having everything in your digital (and in the case of money, personal) life stolen because you clicked on a link FAR outweighs the benefit of playing minecraft imo.

I think you need to go back and read what you replied to.

Having Java installed but with Java disabled in your browser, like I suggested, means Java applets won't run in your browser at all. You'd need to download and execute the .jar or wrapper (which would be a executable anyway) which is no different from downloading any normal executable and running it.

Re: How I got robbed of 34 btc on Mt.Gox today

#84

Mtgox has clearly not had time to respond, and I fear they will claim this is my fault as I have seen in other posts online that they say "report it to the police". They should compensate me 100%. This shows one of the fundamental problems with Bitcoin-related services: when people get taken advantage of, they expect to be compensated. While in the real world, banks will often compensate you if you're the victim of f…

An example of the normal attitude regarding such "incidents": http://mpex.co/faq_r.html#23 and also 24. I tend to agree. The less mainstream adoption there is, the less support tickets you'll have to answer.

Re: How I got robbed of 34 btc on Mt.Gox today

#85

Some basic analysis of the binary: Creates the following directories: %UserProfile%\537214 %UserProfile%\684544 %AppData%\dclogs Creates a new registry value (so that it runs every time on startup) [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] 537214 = "%UserProfile%\537214\svhost.exe" Tries to connect to: tamere123.no-ip.org on ports 80 and 1604 The subdomain above leads to the following IP: 198.…

https://news.ycombinator.com/item?id=5531500

It's a service by script kiddies for script kiddies.

Re: How I got robbed of 34 btc on Mt.Gox today

#86
post #65

Earlier quoted context omitted.

This wasn't someone hacking MtGox. This was someone on a vulnerable OS, running without malware protection, with Java active in the browser, visiting an unknown link, and possibly giving an application permission to run. (Although maybe it didn't need permission to run?) To get to that point the person needed to ignore several well established security principles.

Oh come on, how hard is it for MtGox to implement TOTP and tell users to download Google Authenticator? It's not really that much hassle to enter a code each time you want to make a transaction, and these things wouldn't happen. Sure, the user was being stupid here, but MtGox didn't do them any favors either.

"Oh come on, how hard is it for MtGox to implement TOTP and tell users to download Google Authenticator?"

Not hard, and they did it a long time ago. The user didn't opt in.

Re: How I got robbed of 34 btc on Mt.Gox today

#87

Earlier quoted context omitted.

Without making that database universal it just means some poor merchant that accepts bit coins is going to get stiffed.

but it'd be viral so be universal. Merchents and absolutely everyone would all quickly start checking just to ensure they don't get coins they can't trade, making it effectively universal. Which means it comes down to convincing the gatekeeper that you were burgled. But that's a human level problem.

and whoever that controlled that list would basically control bitcoins, because they could charge a levy or else they'd put your bitcoin into that list.

Re: How I got robbed of 34 btc on Mt.Gox today

#88
post #6

This is exactly why everyone on the internet keeps saying that you shouldn't automatically run Java applets or shouldn't have Java installed at all on your computer. Java is just such a big target for hackers nowadays, that there will always be zero-days.

The funny thing is, this particular attack doesn't even involve a Java vulnerability. You have to either specifically grant the applet elevated permissions (giving it full access to your computer) or download and run something that claims to be a "Java updater" from the "g2f.nl" domain.

the lesson is that the weakest link in a computer system is the human.

Re: How I got robbed of 34 btc on Mt.Gox today

#89
post #59

Earlier quoted context omitted.

Ops :/ today I just clicked through that screen to run the bitcoin miner i downloaded from bitminter.com. Because I did not realize that, this is a warning from java, really confusing.

Well, you had downloaded an application and you were fairly sure of its purpose, I can't blame you there.

I'm pretty skeptical, so this isn't good enough for me.
Post reply on HN