untwister
untwister copied to clipboard
Seed recovery tool for PRNGs
When given an input file with an empty line, the application crashes with an uncaught exception. ``` $ echo "1\n2\n3\n" > crash.txt $ untwister -i crash.txt terminate called after throwing...
If you generate input files that are too large, then the application fails to find the seed. ``` untwister -g 123456 -D 50 > seed_123456_50.txt untwister -i seed_123456_50.txt -b -S...
@moloch-- @altf4 I might be new to using this tool but I've tried to run it on Kali/Mint and every time after initially running it and going through the first...
I was able to compile this on UBUNTU, except for the JAVA RNG. The (
I am wondering how can I set this up to run on a set of floats? In java code is .nextDouble(), which is a float between 0 and 1.
Microsoft has its own implementation of the unix srand/rand functions. This python code is an example of their rand implementation: https://gist.github.com/DaniloNC/89ff515689d5f6d7f2a585b098e2c03e#file-microsoft_rand_prng-py
Just to make things work smother.
Using the timestamp option `-u` resulted in brute force over the entire seed space because the min and max bounds were being overwritten based on the presence of manual bound...
Recently, the Xorshift128+ algorithm widely used in V8 Javascript Engine has been reverse-engineered with Z3 Theorem Prover. There are a few examples like this blog article: https://blog.securityevaluators.com/hacking-the-javascript-lottery-80cc437e3b7f and https://github.com/steven200796/xorshift128plus_exploit Could...