Author

Topic: bustabit.com -- The Social Gambling Game - page 125. (Read 293938 times)

hero member
Activity: 561
Merit: 500
November 30, 2014, 01:53:12 PM

He probably still has most of the 1000 BTC he took from primedice...  Wink

Sounds if this is sort of a suggestion on who it is.  Did you recently learn linear regression?

Lol, no. I used to play with it on my old Casino programmable calculator in school, but not since.

I figure that there have been two clever attacks on Bitcoin gambling sites very recently, and figure it's not all that unlikely that the same person is behind them both.

Wasn't the attacker on PD only able to withdraw 40 btc before his misbehavior was noticed and all his other withdrawals were blocked?
full member
Activity: 146
Merit: 100
November 30, 2014, 01:43:37 PM
Moneypot is by far my favorite game to play when I have some extra bitcoins lying around. It's never a boring time at MoneyPot!
full member
Activity: 238
Merit: 100
www.secondstrade.com - 190% return Binary option
November 30, 2014, 10:55:21 AM
How is the code exploitive? I am new to this like a lot of others too.

It requires quite an in-depth understanding of moneypot source to understand. But the high level of it is that money pot's game_end event was leaking information (or more precisely the lack of money pot's game_end event) which could be abused by taking advantage of dynamically moving the autocashout amounts (something that is now disabled).

Because it was so timing sensitive, the code had to be rather complex taking into consideration network latency to decide how and when to act.

Let me see if I can explain it differently.

As a round progresses, the server sends regular 'tick' messages to the client, saying:

"1.10x and the game didn't crash yet",
"1.20x and the game didn't crash yet",
etc.
and the client fills in the gaps in between, making the number count up smoothly, animating the chart, etc.

The exploit code would set the auto-cashout at 1.11x, and wait for a short time. Just before the "1.20x and ..." message was due, it would update its auto-cashout to 1.21x, and so on. It was changing the auto-cashout just before each 'tick' was due, changing the auto-cashout to just after the next tick's multiplier.

When the game eventually crashed (at 1.27x, say), the server would check the auto-cashout, see that foo had his set to 1.21x, and pay him accordingly.

The problem is that the server only checks for auto-cashout points at each tick. If you have one set at 1.11x, it doesn't get paid out until the next tick (because there is really nothing between the ticks - the steady payout multiplier increase is an illusion presented by the client), at 1.20x. So you could move it up to 1.21x just before that tick.

The fix is to prevent players from changing their auto-cashout point. That's not a problem because the feature was never published anyway. You would never have even known there was the possibility of changing your auto-cashout point mid game unless you had read the source code.

Thanks for the explanation. That sounds like a really clever method, and only an extremely smart coder, would be able to pull it off.
Sometime, when such smart people take your money , it doesn't feel bad Tongue
legendary
Activity: 2940
Merit: 1333
November 29, 2014, 11:32:37 PM

He probably still has most of the 1000 BTC he took from primedice...  Wink

Sounds if this is sort of a suggestion on who it is.  Did you recently learn linear regression?

Lol, no. I used to play with it on my old Casino programmable calculator in school, but not since.

I figure that there have been two clever attacks on Bitcoin gambling sites very recently, and figure it's not all that unlikely that the same person is behind them both.
legendary
Activity: 2940
Merit: 1333
November 29, 2014, 11:22:23 PM
I'm really impressed by the person who abused this bug. Not only due to the complexity of the exploit, but the fact he only took 5 of the 25 BTC in the hot wallet. He likely could have slowly abused the bug leading the eventual shutdown of MP, but instead was a class act. I'm really thankful for that and working on better security measures so I won't need to rely on the kindness of strangers as much.

He probably still has most of the 1000 BTC he took from primedice...  Wink
legendary
Activity: 2940
Merit: 1333
November 29, 2014, 09:46:08 PM
How is the code exploitive? I am new to this like a lot of others too.

It requires quite an in-depth understanding of moneypot source to understand. But the high level of it is that money pot's game_end event was leaking information (or more precisely the lack of money pot's game_end event) which could be abused by taking advantage of dynamically moving the autocashout amounts (something that is now disabled).

Because it was so timing sensitive, the code had to be rather complex taking into consideration network latency to decide how and when to act.

Let me see if I can explain it differently.

As a round progresses, the server sends regular 'tick' messages to the client, saying:

"1.10x and the game didn't crash yet",
"1.20x and the game didn't crash yet",
etc.
and the client fills in the gaps in between, making the number count up smoothly, animating the chart, etc.

The exploit code would set the auto-cashout at 1.11x, and wait for a short time. Just before the "1.20x and ..." message was due, it would update its auto-cashout to 1.21x, and so on. It was changing the auto-cashout just before each 'tick' was due, changing the auto-cashout to just after the next tick's multiplier.

When the game eventually crashed (at 1.27x, say), the server would check the auto-cashout, see that foo had his set to 1.21x, and pay him accordingly.

The problem is that the server only checks for auto-cashout points at each tick. If you have one set at 1.11x, it doesn't get paid out until the next tick (because there is really nothing between the ticks - the steady payout multiplier increase is an illusion presented by the client), at 1.20x. So you could move it up to 1.21x just before that tick.

The fix is to prevent players from changing their auto-cashout point. That's not a problem because the feature was never published anyway. You would never have even known there was the possibility of changing your auto-cashout point mid game unless you had read the source code.
full member
Activity: 238
Merit: 100
www.secondstrade.com - 190% return Binary option
November 29, 2014, 09:06:31 PM
Foo has provided me with his exploit code:

http://privatepaste.com/164b29a720
http://privatepaste.com/9c14190b93
http://privatepaste.com/f4ebeb9b19


Highly impressive stuff! Hats off to you foo!

How is the code exploitive? I am new to this like a lot of others too.
hero member
Activity: 602
Merit: 501
November 29, 2014, 01:14:03 AM
Foo has provided me with his exploit code:

http://privatepaste.com/164b29a720
http://privatepaste.com/9c14190b93
http://privatepaste.com/f4ebeb9b19


Highly impressive stuff! Hats off to you foo!

Mindblown!

Alien language to me  Grin
full member
Activity: 154
Merit: 100
SatoshiBet.com ✯ Bitcoin Casino Games
November 29, 2014, 12:25:44 AM
Tried it with 2mBTC, got a profit of 1.34x
nice game.
full member
Activity: 149
Merit: 100
November 28, 2014, 11:35:58 PM
Foo has provided me with his exploit code:

http://privatepaste.com/164b29a720
http://privatepaste.com/9c14190b93
http://privatepaste.com/f4ebeb9b19


Highly impressive stuff! Hats off to you foo!

Mindblown!
hero member
Activity: 602
Merit: 501
November 28, 2014, 11:04:44 PM
Glad there's still good guys out there, kudos Foo.
full member
Activity: 224
Merit: 100
November 28, 2014, 10:22:14 PM
perhaps I should just have more patience, but I deposited 900,000 satoshi from prime dice directly into money pot and it is yet to show up.
hero member
Activity: 882
Merit: 595
November 28, 2014, 06:24:49 AM
Uh, take a look at this guy's chart. It seems to me that he's cheating. Ryan might want to investigate this.

https://www.moneypot.com/user/foo

I made screenshots of some of his more astonishing wins:



now he is on 25 BTC Profit
newbie
Activity: 16
Merit: 0
November 28, 2014, 06:15:56 AM
Relax, people. Ryan's most likely asleep as even on the East coast it's not even 7:00 yet and yesterday was Thanksgiving, a holiday most people in the US spend eating and drinking with their families. Shouting on the forums isn't going to make him wake up any faster.

I don't see why this would mark the end of MoneyPot, either. The damage that can be caused to the bankroll is limited to what's in the hot wallet.
legendary
Activity: 874
Merit: 1000
monero
November 28, 2014, 06:04:28 AM
how can Op run a site like this without knowing what is happening on his site? just dont understand this, but who am I

THIS!!!! What a bloody joke Roll Eyes

you guys do realize that people need to sleep sometimes and that there was a holiday in the US?
hero member
Activity: 1008
Merit: 515
November 28, 2014, 05:56:22 AM
I think moneypot won't be able to pay out such a large amount.
And even if he could, I'd be surprised if he would.
hero member
Activity: 677
Merit: 500
November 28, 2014, 05:56:07 AM
Probably in a turkey coma
elm
legendary
Activity: 1050
Merit: 1000
November 28, 2014, 05:54:14 AM
how can Op run a site like this without knowing what is happening on his site? just dont understand this, but who am I
legendary
Activity: 874
Merit: 1000
monero
November 28, 2014, 05:49:26 AM
according to his profile he's been absent from this forum for 3 days now. I sent a mail to him & espringe on mp and on here, but so far no answer.
full member
Activity: 149
Merit: 100
November 28, 2014, 04:48:31 AM
Uh, take a look at this guy's chart. It seems to me that he's cheating. Ryan might want to investigate this.

https://www.moneypot.com/user/foo

I made screenshots of some of his more astonishing wins:



Nice work, Dooglus.

I remember somebody who was online in the chat box last week claimed that he discovered an exploit in the mobile version of the game.
Jump to: