RPNG (Pseudo Random Number Generator) Guessing
We may be able to predict numbers from the previous generated numbers because PRNG does not generate truly random numbers.
Investigation
Suppose that the following RPNG program in Python. The seed, which is used for the random number generator, is generated from the time when the program runs.
If we can get the seed, we can generate the same number as this program.
Exploitation
There are several ways to guess the number. Here are some of the examples.
Run Program at the Same Time
If we can retrieve the program source code, we can run the custom exploit inherited from it, then run it at the same time.
Get the Seed from Target System Time
As a result, we can get the same number whenever we run the program.
Last updated