News for hackers. Stuff that matters.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by rbobby on Thursday September 20, 2018 @05:24PM (#18035598)
Yikes.

Using this is almost certainly illegal (cheating) in every jurisdiction, and could have significant penalties.

This video and the github repository itself could be a crime... teaching someone how to cheat using a cheating device. Heck even publicizing the video could get one sucked into the potential mess.

Intention may play a part (i.e. was there any criminal intent in making the video/code/etc). Would depend entirely on jurisdiction and the specifics of the legislation.

Sure... it's a fun/cool project with lots of tricky parts to get right/play with. But I think the author should exercise a bit more caution. If you need a lawyer to be sure that your project won't land you in jail... perhaps choosing a different project would be a good idea.

Re:Show HN: Hacking slot machines with a buttonhole camera a... by Someone1234 on Thursday September 20, 2018 @05:35PM (#18035667)
Which specific law(s) do you believe this breaks? While it is illegal for the house to cheat most places, and while a punter may break other laws trying to cheat (e.g. trespassing, tampering, etc), I'm not aware of a specific law against cheating. I'm also not aware of a law banning the distribution of materials that may help one cheat (except DMCA? Copyright?).
Re:Show HN: Hacking slot machines with a buttonhole camera a... by wallflower on Thursday September 20, 2018 @06:18PM (#18035879)
Even if it does not break any laws, if they suspect you are cheating they can just ban you from the casino and blacklist you from all casinos.

Alternatively...

There is a scene in the movie Casino where there are two guys collaborating and cheating at a table game. One of the internal security people dressed discretely in a suit walks up with a cattle prod.

https://www.youtube.com/watch?v=KYa1IsxGVuc

Re:Show HN: Hacking slot machines with a buttonhole camera a... by craftyguy on Thursday September 20, 2018 @09:52PM (#18036680)
> There is a scene in the movie Casino where there are two guys collaborating and cheating at a table game. One of the internal security people dressed discretely in a suit walks up with a cattle prod.

It's a movie, that would never happen in any big casino (for one, way too many witnesses).

Re:Show HN: Hacking slot machines with a buttonhole camera a... by notzuck on Friday September 21, 2018 @04:20AM (#18038054)
Computer Misuse Act 1990.

I will drop a message to my wider network and see if there is a section that could be interpreted to fit this situation.

Two issue would be:

1. Using a computer device to commit fraud. 2. Accessing the ROM which was digitally protected as well as not intended for general public consumption.

Re:Show HN: Hacking slot machines with a buttonhole camera a... by wongarsu on Friday September 21, 2018 @06:13AM (#18038548)
Fraud requires deception, which didn't happen in my eyes. Decrypting the XORd questions and answers could be interpreted as breaking digital protection though.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by pbhjpbhj on Friday September 21, 2018 @07:01AM (#18038751)
As far as we know he legitimately acquired the ROM, he didn't hack the machine, he learnt about that type of machine.

If you used this against a machine in the wild you're using the machine in the intended way. The access is authorised; there's no interdition to using reference sources.

It doesn't seem like a breech of UK CMA to me.

If the OP published the ROM then it's possibly copyright infringement.

Re:Show HN: Hacking slot machines with a buttonhole camera a... by jamesough on Friday September 21, 2018 @09:06AM (#18039374)
Yep.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by lgas on Thursday September 20, 2018 @05:51PM (#18035746)
Depends on the jurisdiction but for example in Las Vegas (http://www.gambling-law-us.com/State-Laws/Nevada/) I believe this would fall under NRS 465.070 numbers 2, 5, and/or 7.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by Someone1234 on Thursday September 20, 2018 @06:06PM (#18035819)
2, and 5 only apply to "game[s] or other event[s]" which has a specific definition (namely it is about e.g. sports betting and other live events). 7 doesn't apply at all since he didn't alter or manipulate the machine in question, it is working as intended.

Plus the claim was:

> in every jurisdiction

Nevada has some of the most strict gambling laws in the world (and showing it is illegal in Nevada hasn't even been satisfied yet).

Re:Show HN: Hacking slot machines with a buttonhole camera a... by jamesough on Thursday September 20, 2018 @06:18PM (#18035881)
It's legally not a gambling machine -- it's a 'game of skill', which means you can put it in a pub without a license. Gambling laws don't apply.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by Asooka on Thursday September 20, 2018 @06:07PM (#18035829)
Well, this cheat is equivalent in operation to having a book with all the answers to the quiz and a good index. The two should be equivalently legal, and I strongly suspect someone has tried to sit at a quiz machine with a curated indexed encyclopedia, so we just have to find that precedent.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by pbhjpbhj on Friday September 21, 2018 @07:03AM (#18038764)
There won't be a precedent because you just can't look up into fast enough, that's why these systems can still exist even with internet search engines.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by Timmah on Thursday September 20, 2018 @05:54PM (#18035762)
There are laws in the US that ban using any machine that enhances your ability to win, even if you never tamper with the machine. This covers attacking the RNG by analyzing past outcomes and predicting future outcomes of the machine. Not what the OPs post does, but just clarifying that you can be charged with cheating even if you don't tamper in the US.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by TylerE on Thursday September 20, 2018 @06:00PM (#18035792)
Wonder if you print a directory indexed by say the first two word of the question. Not sure that would be fast enough but would be fully legal since it isn’t a device. Would be the same thing as a reference on perfect blackjack strategy which any casino allows (and most sell in the gift shop).
Re:Show HN: Hacking slot machines with a buttonhole camera a... by Someone1234 on Thursday September 20, 2018 @06:06PM (#18035824)
Which laws?
Re:Show HN: Hacking slot machines with a buttonhole camera a... by yason on Thursday September 20, 2018 @05:58PM (#18035781)
This poses an interesting question. How simple an algorithm can be so that "cheating" it is still considered illegal? At which point it becomes the machine owner's loss instead of the player being guilty of cheating?

Suppose that there is a game that produces random numbers and asks the player whether the next number will be odd or even. If the player guesses correctly he will gain a point and if he guesses wrong he will lose a point. Eventually the machine will pay some amount of cash for points collected. Now, it turns out that the machine happens to produce an odd number after each even number, and an even number after each odd number. If (and when) the player figures that out he can rack up points and get a good payout from the machine. Nobody would dare to accuse the player being a cheater because it's so plain obvious that the machine is just programmed in a stupid way.

Now, let's consider a game that is more complex but still simple enough that you could figure out the algorithm either in your head or by feeding a long enough sequence of the game state to a computer to be processed offline. Then after you've reverse-engineered the algorithm you can play it yourself and you'll know at least something that will happen in the game, ahead of the time. Time to cash the machine again. Is this still not cheating?

How about reading the machine's binary dump found on the internet and rebuilding the game algorithm that way, then abusing the knowledge for gains when playing the machine. Cheating or not cheating? Why? How complex the algorithm needs to be for beating it to be considered cheating? How would it matter where the understanding came from?

As in the article, if the game can be reduced to a database of a number of multiple-choice questions and the answer bit for each correct option, how much protection from "hacking" does the game enjoy and why? Especially if the questions could be answered by knowledge acquired from regular studies instead of reading them from the binary dump? How much complexity is required for this sort of protection? And how about different people considering the game's inner workings very complex vs rather simple? If for one an impenetrable oracle of quizzes is a simple exercise for some other, where does illegality come into play?

When does it become the loss of the game machine's owner or maker if we keep considering ever poorer and poorer implementations?

Re:Show HN: Hacking slot machines with a buttonhole camera a... by airstrike on Thursday September 20, 2018 @06:06PM (#18035818)
> Then after you've reverse-engineered the algorithm you can play it yourself and you'll know at least something that will happen in the game, ahead of the time. Time to cash the machine again. Is this still not cheating?

Sounds like counting cards. From Wikipedia, "Card counting is not illegal under British law, nor is it under federal, state, or local laws in the United States provided that no external card counting device or person assists the player in counting cards. Still, casinos object to the practice, and try to prevent it, banning players believed to be counters."

So you may not go to jail, but maybe you'll get shot in the back of the head

Re:Show HN: Hacking slot machines with a buttonhole camera a... by paulie_a on Thursday September 20, 2018 @06:44PM (#18035999)
You do realize that sort of stuff doesn't happen anymore. Vegas became incredibly corporate after the mob got kicked out. Maybe that sort of thing still happens elsewhere but I would be surprised if it happens anywhere in the US anymore. With the exception of completely illegal shady underground casinos.
Re:Show HN: Hacking slot machines with a buttonhole camera a... by LogicX on Thursday September 20, 2018 @05:49PM (#18035737)
Can’t tell if trolling, or you genuinely believe this. Are you talking about outside the USA?
Re:Show HN: Hacking slot machines with a buttonhole camera a... by gammateam on Thursday September 20, 2018 @07:46PM (#18036248)
cmon you know the drill

git clone and move on

especially if something looks hot and obviously won't be up for long. forks won't preserve it

Re:Show HN: Hacking slot machines with a buttonhole camera a... by umvi on Thursday September 20, 2018 @05:37PM (#18035673)
If it's a public machine, (i.e. in an airport) I don't see how it could be illegal. If you have to sign forms saying you won't cheat before you play... well, that's different.