TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Russians Engineer a Slot Machine Cheat that Casinos Can't Fix

391 pointsby arielmover 8 years ago

44 comments

kartanover 8 years ago
I see a lot of complains why this is illegal. It is illegal, as anything that it is illegal, because the law says so.<p>As, for example, in Nevada:<p>&quot;NRS 465.075 Use of device for calculating probabilities.<p>It is unlawful for any person at a licensed gaming establishment to use, or possess with the intent to use, any device to assist:<p><pre><code> 1. In projecting the outcome of the game; 2. In keeping track of the cards played; 3. In analyzing the probability of the occurrence of an event relating to the game; or 4. In analyzing the strategy for playing or betting to be used in the game, </code></pre> except as permitted by the commission.&quot;<p><a href="http:&#x2F;&#x2F;www.gambling-law-us.com&#x2F;State-Laws&#x2F;Nevada&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gambling-law-us.com&#x2F;State-Laws&#x2F;Nevada&#x2F;</a>
评论 #13583457 未加载
评论 #13583387 未加载
评论 #13585135 未加载
评论 #13583195 未加载
评论 #13583525 未加载
ainiriandover 8 years ago
I would like to know what is morally wrong in defeating a system designed to beat you. Designed to (almost) always win. The Casino is the one that cheats because the odds are not completely random, as they should.
评论 #13581939 未加载
评论 #13580288 未加载
评论 #13582787 未加载
评论 #13579753 未加载
评论 #13583396 未加载
评论 #13581247 未加载
评论 #13581653 未加载
评论 #13584771 未加载
评论 #13580888 未加载
评论 #13582226 未加载
评论 #13583061 未加载
评论 #13580082 未加载
评论 #13585000 未加载
评论 #13581490 未加载
CapacitorSetover 8 years ago
Saved you a click: the internal state of some slot machines&#x27; PRNG can be predicted after observing a few of its outputs.
评论 #13581663 未加载
评论 #13581330 未加载
评论 #13579794 未加载
评论 #13580481 未加载
评论 #13584750 未加载
评论 #13583029 未加载
评论 #13583193 未加载
moftzover 8 years ago
At what point does a scheme like this go from just being a way to outsmart the slot machine to felony fraud? I know you are allowed to use those blackjack cheat cards at the tables in Las Vegas but what if I started using a calculator and my own crazy algorithm? Is that fraud? What if I had an ear piece and hidden camera glasses to stream video to some blackjack guru outside in a van? I&#x27;m guessing that would be fraud. Is it the fact that he&#x27;s using an outside source to determine his actions?
评论 #13579740 未加载
评论 #13579832 未加载
评论 #13579842 未加载
评论 #13579745 未加载
评论 #13581902 未加载
linohhover 8 years ago
For the german speaking; here&#x27;s a documentary about a guy who did this in the late 70ies in Germany - without an iPhone, just by developing a feeling for the (back then) mechanical machines.<p><a href="https:&#x2F;&#x2F;vimeo.com&#x2F;169617086" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;169617086</a><p>Fun fact: §263a StGB (German penal code) was in part created to combat this kind of externally assisted prediction for slot machines. It is now punishable with up to five years in prison, if you just create or distribute the software up to three years.
pteroover 8 years ago
Funny (and sad) how something that could be praised as an ingenious trick a hundred years ago is now considered a crime that state spends serious effort to pursue.<p>Cannot resist to reference an older perspective (from Smoke Bellew):<p><a href="http:&#x2F;&#x2F;www.online-literature.com&#x2F;london&#x2F;smoke-bellew&#x2F;4&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.online-literature.com&#x2F;london&#x2F;smoke-bellew&#x2F;4&#x2F;</a>
评论 #13581862 未加载
technofiendover 8 years ago
A quick search of the inestimable comp.risks archives revealed this:<p><a href="http:&#x2F;&#x2F;catless.ncl.ac.uk&#x2F;Risks&#x2F;15&#x2F;80#subj2" rel="nofollow">http:&#x2F;&#x2F;catless.ncl.ac.uk&#x2F;Risks&#x2F;15&#x2F;80#subj2</a><p><i>Montreal -- Daniel Corriveau said he hopes that his &#x27;victory over the system will give hope to others.&#x27; The computer analyst and his family received more than $620,000 [1C$ = U$0.75], including interest, from the Montreal casino yesterday, weeks after they overcame odds of one in six billion and beat an electronic keno game three times in a row.&quot;</i><p>The author explains the following key points:<p>o Corriveau used an &quot;antique 286&quot; computer to analyse 7,000 combinations from the keno game, [which uses an electronic pseudo-random number generator].<p>o Corriveau noticed that the electronic game was repeating numbers in a predictable pattern.<p>o Corriveau and several family members bet on what they predicted would be due to come up; they won three times in succession.<p>I had originally seen an article speculating someone power cycled a keno machine after recording the winning numbers, with the assumption or knowledge that the random number generator reseeded with a 0 on cold boot. I&#x27;m not sure if that&#x27;s just me mis-remembering the details of this case, or another one altogether. If anyone has a link to the second case please let me know.
andrewemover 8 years ago
Figuring out the pattern of a pseudorandom device used for gambling reminds me of Michael Larson, who learned the patterns used on a TV game show in order to win a lot of money. See <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Michael_Larson" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Michael_Larson</a>
splonkover 8 years ago
&gt; Allison notes that those operatives try to keep their winnings on each machine to less than $1,000, to avoid arousing suspicion.<p>This is likely to be because they&#x27;re trying to avoid the automatic W-2G that&#x27;s generated for slot winnings over $1200. Basically if you&#x27;re playing anonymously on a slot machine, any payout of $1200 or over on a single spin will generate a human interaction. Unless you&#x27;re playing at fairly high stakes (say, over $100&#x2F;spin), this is normally rare enough that hitting several $1200+ results in a short time span would be very suspicious. Keeping every win under $1200 allows a person to play as anonymously as you reasonably can in a casino.
mnarayan01over 8 years ago
The &quot;And Casinos Have No Fix&quot; part of the title seems exaggerated; if nothing else, it appears that only a small subset of 5+ year old machines are affected.
评论 #13579666 未加载
评论 #13579792 未加载
评论 #13582803 未加载
评论 #13579965 未加载
FabHKover 8 years ago
Don&#x27;t know what PRNG they use, but for the Mersenne Twister (MT19937, which was considered state of the art the beginning of this millennium) for example you can deduce the state after 600 or so observations (of 32 bit words), and then predict what it&#x27;ll deliver after that. See [1] for details and some good background on PRNG, if possibly a bit biased (she&#x27;s promoting her PCG family).<p>For gambling purposes, probably makes sense to use cryptographically secure PRNG :-)<p>[1] <a href="http:&#x2F;&#x2F;www.pcg-random.org&#x2F;predictability.html" rel="nofollow">http:&#x2F;&#x2F;www.pcg-random.org&#x2F;predictability.html</a>
droithommeover 8 years ago
That is a very interesting article.<p>I disagree with the characterization of the crews as &quot;cheaters&quot;. They didn&#x27;t cheat. They turned a game of chance into a game of skill, then excelled at that skill. Of course this has happened to other games as well, such as with card counting in blackjack, which is also inaccurately described as cheating when it&#x27;s actually mastery of the game.
peapickerover 8 years ago
Change to roulette, chaos theory, and physicists -- using 8bit hardware in shoes -- and you get the fascinating book &quot;The Eudaemonic Pie&quot; by Thomas Bass. Highly recommended.
评论 #13584539 未加载
justinpombrioover 8 years ago
By &quot;<i>Can&#x27;t</i> fix&quot;, they mean &quot;<i>could</i> fix by putting in new slot machines whose PRNGs aren&#x27;t crackable, but <i>choose not to</i> because it wouldn&#x27;t be cost effective&quot;.<p>Why don&#x27;t slot machines use true random numbers? They could still skew the results however they like.
评论 #13582438 未加载
jjuelover 8 years ago
The true fix is just to replace the machines. As they said the newer machines have encryption to hide the PRNG. Obviously some places can&#x27;t do that, and the company is not doing it for free. So technically the casinos cannot fix the compromised machines themselves, but they could just replace them.
评论 #13580180 未加载
brilliantcodeover 8 years ago
Somebody play a tune on the world&#x27;s smallest violin. People kill themselves because of casino normalizes self destructive behavior. So a bunch of impoverished engineers figure out a way to beat an outfit that profit&#x27;s off from ripping people off. More power to them. I hope they take out all the fucking casino&#x27;s ripping people off. Not that I condone hacking but casino really doesn&#x27;t even register on my empathy list. Fuck them.<p>It should be legal to burn money also because people love doing it at a swanky place like casinos. At least you won&#x27;t see people get addicted to dousing your cash with gasoline and throwing a cigarette at it.<p>I just thought of it and it seems quite exhilarating at the prospect....but it is safer and less addictive than gambling in casinos.
jcofflandover 8 years ago
&gt; As Hoke notes, Aristocrat, Novomatic, and any other manufacturers whose PRNGs have been cracked “would have to pull all the machines out of service and put something else in, and they’re not going to do that.”<p>This just goes to show that despite the money the casinos are losing to this Russian group, they are still making so much money off the people <i>they</i> are cheating that it&#x27;s not worth fixing the problem.<p>Why our governments protect the jerks who steal money from the less intelligent members of our society is beyond me. That there are laws that support casinos is no justification. Casinos are themselves a scam and should not be protected against scammers at the expense of tax payers.
评论 #13583336 未加载
评论 #13589007 未加载
usgroupover 8 years ago
&quot;Casino is entertainment for which you pay a probabilistic fee proportionate to your spend&quot;. Ok, a bit of a stretch, I personally think. I honestly think that people gamble on things like slots because they don&#x27;t have an educated sense of probability. I&#x27;m not sure the transaction is quite as clean as buying a cinema ticket and trading cash for entertainment.<p>&quot;These guys were right to do it&quot;. I think the edge exists because it&#x27;s ultimately illegal. I think it&#x27;s tantamount to an illegal distribution of cash from a casino to a mob. Would it be any different if they hacked their bank account?
评论 #13583428 未加载
gwbas1cover 8 years ago
I wonder if there&#x27;s enough variation in how people pull the handles and push the buttons that they could be used to partially re-seed the PRNG frequently enough that it the seed can&#x27;t be determined by a video?
评论 #13579725 未加载
Aardwolfover 8 years ago
Since the title says &quot;Can&#x27;t Fix&quot;: Isn&#x27;t it fixable by injecting some entropy into the PRNG for every roll like button press durations in nanoseconds, temperature, hardware quantum based, ...?
评论 #13580502 未加载
评论 #13580267 未加载
评论 #13580494 未加载
LeonMover 8 years ago
Reminds me of the first chapter of Kevin Mitnick&#x27;s &#x27;The Art of Intrusion&#x27; [0]. The first chapter tells the story of (I believe) American programmers who reverse engineer the PRNG on a poker machine, so they could predict when the machine would deal the next royal flush.<p>[0] <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Intrusion-Exploits-Intruders-Deceivers&#x2F;dp&#x2F;0471782661" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Intrusion-Exploits-Intruders-Dece...</a>
thomyorkieover 8 years ago
&gt; A finger that lingers too long above a spin button may be a guard’s only clue that hackers in St. Petersburg are about to make another score.<p>Seems like this is easy for the scammers to work around. They could calculate the average time it takes for the scammer to lift his hand from his lap and press the button, and then use that time instead of .25 seconds. Would be less successful, but would seem to be almost impossible to detect.
danbmil99over 8 years ago
Kevin Mitnick wrote about a similar hack over a decade ago: <a href="https:&#x2F;&#x2F;www.ethicalhacker.net&#x2F;features&#x2F;book-reviews&#x2F;mitnick-the-art-of-intrusion-ch-1-hacking-the-casinos-for-a-million-bucks" rel="nofollow">https:&#x2F;&#x2F;www.ethicalhacker.net&#x2F;features&#x2F;book-reviews&#x2F;mitnick-...</a><p>I knew some of the people involved and actually saw some of the code if anyone&#x27;s interested.
sageikosaover 8 years ago
Similar idea...<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Michael_Larson" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Michael_Larson</a>
评论 #13582119 未加载
bitexploderover 8 years ago
There is a fix and it is not crazy. The gist is they were able to brute force the PRNG of the machines and predict their future state. Hardware RNG is thr answer. In crypto it is obviously bad if someone can predict anything about your random values (keys &#x2F; IVs). A hardware RNG, &quot;cryptographically strong&quot; RNG algorithms, and resetting the RNG very often make this problem go away.
评论 #13579921 未加载
评论 #13579720 未加载
评论 #13579953 未加载
problemsover 8 years ago
Curious how they screwed this one up - did they just have no proper random source? Nothing like modern operating systems use, like disk latency? If you&#x27;re in the business of doing random numbers, you&#x27;d think you&#x27;d embed a cheap hardware based random number generator, even if it was extremely limited, just to seed a CSPRNG.
评论 #13580904 未加载
mark-rover 8 years ago
The title is a bit misleading (clickbait?) - the problem can certainly be fixed, and the article even goes into some of the ways. It just isn&#x27;t cost-effective. Retiring the problematic machines would do it.<p>I wonder if they can change the amount of money you play for in those machines, so that it&#x27;s no longer worth it to try to cheat them?
matt_wulfeckover 8 years ago
It looks to me like a PRNG is fed once and never reseeded. That&#x27;s the only way that simply observing the spin would tell about the outcome. In fact I&#x27;m surprised it doesn&#x27;t just &quot;produce&quot; the outcome every time the button is hit simply from a few bytes of the prng.
评论 #13582044 未加载
Illniyarover 8 years ago
&quot;Since code isn’t prone to sudden fits of madness...&quot;<p>Lol, I just can&#x27;t stop laughing at that one.
mirekrusinover 8 years ago
Why is it so difficult to create randomness? Input from microphone or even variations in electricity input should be more than enough, no? Why is it such a huge struggle, I don&#x27;t understand, especially in machines that depend on the randomness.
评论 #13581795 未加载
评论 #13581590 未加载
ommunistover 8 years ago
Really funny piece. It really feels like one of those Order vs Chaos battles, with Russians on the Order side. Guys found the order in randomness, I&#x27;d like to see the math behind their operational methodology. Also, why iPhone?
nealsover 8 years ago
After reading a bit about it, it seems very difficult (impossible?) to get a true random set of numbers. Anyboyd here on HN that has some insight? Are there interesting hardware or random-number-as-a-service things going on?
评论 #13583898 未加载
评论 #13583994 未加载
Cyph0nover 8 years ago
It&#x27;s still unclear how the organization broke the PRNG in the first place. Were they somehow able to get their hands on a machine for hardware analysis? Or did they just have their &quot;operatives&quot; play slots and capture video which they then manually analysed for patterns?<p>Offloading the computation to a remote server is a smart idea though. There is a lot of cool stuff happening in the game cheating space.
评论 #13579641 未加载
评论 #13579659 未加载
broahmedover 8 years ago
I like how the guys were described as &quot;scammers&quot; and &quot;cheaters&quot;; the same adjectives could be used to describe the casinos.
MR4Dover 8 years ago
I would think that having 2 PRNGs and then switching between them would ruin this strategy.<p>Obviously this would cost money for retrofitting, but all new slots could employ a new design, getting rid of this problem over a few years.<p>Not a perfect solution, but at least it&#x27;s a medium to long-term fix.
评论 #13583599 未加载
RichardHeartover 8 years ago
Abusing humans desire to pattern find and take risks for profit is bad. Casinos are bad. If you could weaponize gambling and spread it in an enemy nation, you&#x27;d do much to hurt it&#x27;s GDP. I made a video about why gambling sucks.
thedailymailover 8 years ago
Anyone interested in how the gambling industry makes their billions mainly from slot machines, and how they engineer them to hijack people&#x27;s dopamine systems should read Addiction by Design (MIT Press, 2012).
shermozleover 8 years ago
I get that creating a genuine random number generator isn&#x27;t easy, but surely this points out that it&#x27;s something the slot machines should have rather than a PRNG?
aaossaover 8 years ago
How does that encryption work? Is like those sha-256 circuits used in Bitcoin mining? Is it possible to modify the affected machines to allow encryption?
评论 #13580535 未加载
eykanalover 8 years ago
Not knowing much about video jamming, is it possible to block this hack by attacking the cameras?
评论 #13579810 未加载
grandalfover 8 years ago
This is the sort of use case that initially got me excited about Google glass.
JCzynskiover 8 years ago
I don&#x27;t see why this is illegal, any more than counting cards in blackjack.
评论 #13584561 未加载
评论 #13584562 未加载
Glyptodonover 8 years ago
I don&#x27;t understand why this is wrong&#x2F;illegal.
评论 #13581885 未加载
forgottenpassover 8 years ago
<i>Slot machine outcomes are controlled by programs called pseudorandom number generators that produce baffling results by design.</i><p>goddamnit wired. You&#x27;re as bad as IT World. I don&#x27;t know why I keep reading your trash.
评论 #13580752 未加载
评论 #13583791 未加载
评论 #13581261 未加载
评论 #13581933 未加载