LFSR Next Bit Prediction through Deep Learning

Authors

  • Sanchit Gupta Scientific Analysis Group, Defence Research and Development Organization, Delhi
  • Priyansh Singh ABES Engineering College, Ghaziabad, UP, India
  • Noopur Shrotriya Scientific Analysis Group, Defence Research and Development Organization, Delhi
  • Tanvi Baweja Guru Gobind Singh Indraprastha University, Delhi, India

DOI:

https://doi.org/10.54060/JIEEE/002.02.022

Keywords:

Linear Feedback Shift Register, Multilayer Perceptron, Deep Neural Networks, Next bit prediction

Abstract

Pseudorandom bit sequences are generated using deterministic algorithms to simulate truly random sequences. Many cryptographic algorithms use pseudorandom sequences, and the randomness of these sequences greatly impacts the robustness of these algo-rithms. Important crypto primitive Linear Feedback Shift Register (LFSR) and its combina-tions have long been used in stream ciphers for the generation of pseudorandom bit sequences. The sequences generated by LFSR can be predicted using the traditional Ber-lekamp Massey Algorithm, which solves LFSR in 2×n number of bits, where n is the de-gree of LFSR. Many different techniques based on ML classifiers have been successful at predicting the next bit of the sequences generated by LFSR. However, the main limitation in the existing approaches is that they require a large number (as compared to the de-gree of LFSR) of bits to solve the LFSR. In this paper, we have proposed a novel Pattern Duplication technique that exponentially reduces the input bits requirement for training the ML Model. This Pattern Duplication technique generates new samples from the available data using two properties of the XOR function used in LFSRs. We have used the Deep Neural Networks (DNN) as the next bit predictor of the sequences generated by LFSR along with the Pattern Duplication technique. Due to the Pattern Duplication tech-nique, we need a very small number of input patterns for DNN. Moreover, in some cases, the DNN model managed to predict LFSRs in less than 2n bits as compared to the Ber-lekamp Massey Algorithm. However, this technique was not successful in cases where LFSRs have primitive polynomials with a higher number of tap points.

Downloads

Download data is not yet available.

References

A. J. Menezes, P. C. V. Oorschot, & S. A. Vanstone, “Handbook of applied cryptographic Press, 2018.

J.C. Hernandez, J. M. Sierra, C. M. Perera, et al.,” Using the General Next Bit Predictor Like an Evaluation Criteria,” proceedings of NESSIE workshop Leuven, Belgium,2000.

S.S. Khan, "Classificatory Prediction and Primitive Polynomial Construction of Linear Feedback Shift Registers using Decision Tree Approach." KBCS-fifth International Conference cn Knowledge Based Computer Systems. 2004.

S. Kant and S. S. Khan, "Analyzing a Class of Pseudo-random Bit Generator through Inductive Machine Learning Paradigm", Int. J. Intelligent Data Analysis, vol. 10, no.6, pp. 539-554,2006.

S. Kant, N. Kumar, S. Gupta, et al., "Impact of machine learning algorithms on analysis of stream ciphers," Proceeding of International Conference on Methods and Models in Computer Science (ICM2CS), pp. 251-258,2009,

T.Mitchell, ”Machine Learning,” McGraw Hill,vol18,no.3,1997.

E. Casey,” Bredekamp-Massey Algorithm.,” REU Summer Report, University of Minnesota, Minneapolis, MN,pp.1-10,2000.

W. Stahnke, “Primitive binary polynomials,” Math. Comput., vol. 27, no. 124, pp. 977–980, 1973.

Y. Lin, “‘Shift and add’ property of m-sequences and its application to channel characterisation of digital magnetic recording,” IEE Proc. - Commun., vol. 142, no. 3, p. 135, 1995.

Downloads

Published

2021-06-04

How to Cite

[1]
S. Gupta, P. Singh, N. Shrotriya, and T. Baweja, “LFSR Next Bit Prediction through Deep Learning”, J. Infor. Electr. Electron. Eng., vol. 2, no. 2, pp. 1–9, Jun. 2021.

CITATION COUNT