Re:Masterminding the largest lottery scam in American history
by dlhavema on Friday May 04, 2018 @01:30PM
(#16996399)
it sounds like they would have to run their tests with mock dates for every date out of the year to discover anything, unless they happened to run their tests on one of the 3 days mentioned in the code, they wouldn't find it. how many tests would they need to run to really tell if there is any bias?
Re:Masterminding the largest lottery scam in American history
by Slartie on Friday May 04, 2018 @03:11PM
(#16997348)
Why would it even be okay at all for a piece of code that determines the seed for a pseudo RNG via observation of hardware events (a Geiger counter measurement, according to the article) to even access the date and time on a given system? It should have no use for that information, and with a piece of code of that criticality, one would expect auditors to scrutinize any and all syscalls that it performs. This way it should have been fairly obvious that it's requesting the time from the OS, which it shouldn't do in the first place. Mocking date/time info is unnecessary if your code under test is entirely unable to get time information from the system in the first place.
Re:Masterminding the largest lottery scam in American history
by moltar on Saturday May 05, 2018 @07:53AM
(#17001433)
All of the brightest minds were building Facebook ;)
Re:Masterminding the largest lottery scam in American history
by thedirt0115 on Friday May 04, 2018 @06:59PM
(#16999128)
I feel like generating a lot (100k? You can tweak to get whatever confidence you want) of numbers for every day for the next several (30?) years and running tests like chi-squared (or others, see http://www.cse.wustl.edu/~jain/iucee/ftp/k_27trg.pdf) doesn't seem too crazy when you're talking about millions of dollars in prize money.
Re:Masterminding the largest lottery scam in American history
by lostlogin on Friday May 04, 2018 @02:05PM
(#16996749)
What if the rigging was only in a certain year? Auditing each day for the next decade would be safer. A good code review sounds even better.
Re:Masterminding the largest lottery scam in American history
by emodendroket on Friday May 04, 2018 @02:16PM
(#16996853)
While code review isn't foolproof, this seems like it should have been fairly obvious.
Re:Masterminding the largest lottery scam in American history
by emodendroket on Friday May 04, 2018 @02:17PM
(#16996871)
Well, more than is practical to run, probably.
Re:Masterminding the largest lottery scam in American history
by 8_hours_ago on Friday May 04, 2018 @08:26PM
(#16999515)
Here's the video of the DEFCON presentation: https://www.youtube.com/watch?v=49KU9NDcCgI
The article skips right over this. HTH was this code, which the article reports wasn't even hidden, approved by a third party?
Trying to find out, I found this:
https://www.desmoinesregister.com/story/news/investigations/...
Which mentions:
"Tipton designed his rigged coding so that it wasn't detected in the company's random tests, according to a report Fritschie helped present last year."
...as well as: "Toyne said the association does not have any ongoing contractual relations with Gaming Labs."
The "report" mentioned earlier is a DEFCON presentation about gambling fraud in general, pretty interesting read: https://media.defcon.org/DEF%20CON%2025/DEF%20CON%2025%20pre...
In it mentions "The method of rigging the RNG could have been more discrete" and gave the breakdown of reverse engineering the binary to find(?) the source code. It also said the labs tested the RNG for statistical bias (which would pass) and audited the source code (it only gives the Picard Facepalm pic, so I assume the auditors likely relied solely/mostly on the automated test.