Performance Evaluation of a Pseudo-Random Number Generator Against Various Attacks

  • Trishla ShahEmail author
  • Srinivas Sampalli
  • Darshana Upadhyay
  • Priyanka Sharma
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 881)


Every user agrees upon a key-exchange protocol before initiating a communication over the Internet. These keys at the root level are a combination of highly unpredictable sequences of random numbers. It is crucial that the numbers generated are strong and secured. Ciphers are developed to generate these strong sets of keys. We conducted a thorough research on the existing hardware and software ciphers. Flaws were identified in the design complexity, platform dependency, application dimensions, and resource consumption. This led to the development of a generic n-bit LFSR based Cryptographically Secured Pseudo Random Number Generator (hardware-software co-simulation). As the generator forms the foundation for the security of the entire network, it has to be resistant to most attacks. The current ciphers which are used in real time applications like communication devices, online shopping and payments, group chats on social media, etc. are prone to attacks. This paper focuses on identifying those attacks and conducting the same on our cipher to evaluate its performance. To the best of our knowledge, we are the first to summarize these attacks from a wide domain of applications and prove it all experimentally in a single paper. Since a CSPRNG works at different layers of the communication cycle, attacks have been bifurcated into Cryptanalysis, LFSR, and Real-time attacks. Various test cases and results are discussed in order to ensure the effectiveness of the CSPRNG.


LFSR CSPRNG Key Local Network Attacks Cipher 


  1. 1.
    Upadhyay, D., Shah, T., Sharma, P.: Cryptanalysis of hardware based stream ciphers and implementation of GSM stream cipher to propose a novel approach for designing n-bit LFSR stream cipher. In: 2015 19th International Symposium on VLSI Design and Test (VDAT), 26 June 2015, pp. 1–6. IEEE (2015)Google Scholar
  2. 2.
    Robshaw, M., Billet, O. (eds.): New Stream Cipher Designs: The eSTREAM Finalists. Springer, 19 June 2008Google Scholar
  3. 3.
    Shah, T., Upadhyay, D., Sharma, P.: A comparative analysis of different LFSR-based ciphers and parallel computing platforms for development of generic cipher compatible on both hardware and software platforms. In: Proceedings of the International Conference on Recent Cognizance in Wireless Communication & Image Processing 2016, pp. 305–316. Springer, New Delhi (2016)Google Scholar
  4. 4.
    Sepehrdad, P., Vaudenay, S., Vuagnoux, M.: Discovery and exploitation of new biases in RC4. In: International Workshop on Selected Areas in Cryptography, 12 August 2010, pp. 74–91. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  5. 5.
    Ekdahl, P., Johansson, T.: Another attack on A5/1. IEEE Trans. Inf. Theory 49(1), 284–9 (2003)MathSciNetCrossRefGoogle Scholar
  6. 6.
    Driessen, B., Hund, R., Willems, C., Paar, C., Holz, T.: Don’t trust satellite phones: a security analysis of two satphone standards. In: 2012 IEEE Symposium on Security and Privacy (SP), 20 May 2012 , pp. 128–142. IEEE (2012)Google Scholar
  7. 7.
    Shah, T., Upadhyay, D.: Design analysis of an n-Bit LFSR-based generic stream cipher and its implementation discussion on hardware and software platforms. In: Proceedings of the International Congress on Information and Communication Technology 2016, pp. 607–621. Springer, Singapore (2016)Google Scholar
  8. 8.
    Klein, A.: Attacks on the RC4 stream cipher. Des. Codes Cryptogr. 48(3), 269–286 (2008)MathSciNetCrossRefGoogle Scholar
  9. 9.
    Cramer, R., Shoup, V.: A practical public key cryptosystem provably secure against adaptive chosen ciphertext attack. In: Annual International Cryptology Conference, 23 August 1998, pp. 13–25. Springer, Heidelberg (1998)Google Scholar
  10. 10.
    Knudsen, L.R., Robshaw, M.J.: Brute force attacks. In: The Block Cipher Companion 2011, pp. 95–108. Springer, Heidelberg (2011)Google Scholar
  11. 11., ‘Making a strong Password’. Accessed 30 June 2014
  12. 12., Brute Force Attacks. Accessed 2017
  13. 13.
    Zhu, B.: An online calculator for Berlekamp Massey Algorithm.
  14. 14.
    Canteaut, A.: Correlation attack for stream ciphers. Encyclopedia of Cryptography and Security, p. 103 (2005)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Trishla Shah
    • 1
    Email author
  • Srinivas Sampalli
    • 1
  • Darshana Upadhyay
    • 1
  • Priyanka Sharma
    • 1
  1. 1.Faculty of Computer ScienceDalhousie UnivesityHalifaxCanada

Personalised recommendations