News for hackers. Stuff that matters.
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.