Skip to main content

Using Convolutional Neural Network to Redress Outliers in Clustering Based Side-Channel Analysis on Cryptosystem

  • Conference paper
  • First Online:
Smart Computing and Communication (SmartCom 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13828))

Included in the following conference series:

  • 785 Accesses

Abstract

Blockchain, designed with cryptographic technology, is widely used in the financial area, such as digital billing and cross-border payments. Digital signature is the core technology in it. However, digital signatures in public key cryptosystems face the threat of simple power analysis in Side-Channel Analysis (SCA). The state-of-the-art simple power analysis based on clustering mostly will appear outliers in the process of analysis, which will reduce success rate of key recover. In this paper, we propose a new SCA method with clustering algorithm Density-Based Spatial Clustering of Applications with Noise (DBSCAN) and deep learning technology Convolutional Neural Network (CNN), called DBSCAN-CNN, to analyze public key cryptosystems. We cluster data with DBSCAN firstly. Then we train a CNN model based on the trusted clustering results. Finally, we classify the outliers of clustering results by the trained model. We mount the proposed method to analyze an FPGA-based elliptic curve scalar multiplication power trace which is desynchronized by simulating random delay. The experimental results show that the error rate of the proposed method is at least \(69.23\%\) lower than that of the classical clustering method in SCA.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Basora, L., Olive, X., Dubot, T.: Recent advances in anomaly detection methods applied to aviation. Aerospace 6(11), 117 (2019)

    Article  Google Scholar 

  2. Carbone, M., et al.: Deep learning to evaluate secure RSA implementations. IACR Trans. Cryptograph. Hardw. Embed. Syst. 2019(2), 132–161 (2019)

    Google Scholar 

  3. Gai, K., Guo, J., Zhu, L., Yu, S.: Blockchain meets cloud computing: a survey. IEEE Commun. Surv. Tutor. 22(3), 2009–2030 (2020)

    Article  Google Scholar 

  4. Gai, K., Wu, Y., Zhu, L., Zhang, Z., Qiu, M.: Differential privacy-based blockchain for industrial internet-of-things. IEEE Trans. Industr. Inf. 16(6), 4156–4165 (2019)

    Article  Google Scholar 

  5. Roche, T., Imbert, L., Lomné, V.: Side-channel attacks on blinded scalar multiplications revisited. In: Belaïd, S., Güneysu, T. (eds.) CARDIS 2019. LNCS, vol. 11833, pp. 95–108. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-42068-0_6

    Chapter  Google Scholar 

  6. Kocher, P., Jaffe, J., Jun, B.: Differential power analysis. In: Wiener, M. (ed.) CRYPTO 1999. LNCS, vol. 1666, pp. 388–397. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48405-1_25

    Chapter  Google Scholar 

  7. Kwon, D., Kim, H., Hong, S.: Non-profiled deep learning-based side-channel preprocessing with autoencoders. IEEE Access 9, 57692–57703 (2021)

    Article  Google Scholar 

  8. Lerman, L., Poussier, R., Markowitch, O., Standaert, F.X.: Template attacks versus machine learning revisited and the curse of dimensionality in side-channel analysis: extended version. J. Cryptogr. Eng. 8(4), 301–313 (2018)

    Article  Google Scholar 

  9. Nascimento, E., Chmielewski, Ł: Applying horizontal clustering side-channel attacks on embedded ECC implementations. In: Eisenbarth, T., Teglia, Y. (eds.) CARDIS 2017. LNCS, vol. 10728, pp. 213–231. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-75208-2_13

    Chapter  Google Scholar 

  10. Perin, G., Chmielewski, Ł., Batina, L., Picek, S.: Keep it unsupervised: horizontal attacks meet deep learning. IACR Trans. Cryptogr. Hardw. Embed. Syst, 2021(1), 343–372 (2021)

    Google Scholar 

  11. Picek, S., Perin, G., Mariot, L., Wu, L., Batina, L.: Sok: Deep learning-based physical side-channel analysis. Cryptology ePrint Archive (2021)

    Google Scholar 

  12. Ram, A., Jalal, S., Jalal, A.S., Kumar, M.: A density based algorithm for discovering density varied clusters in large spatial databases. Int. J. Compu. Appl. 3(6), 1–4 (2010)

    Google Scholar 

  13. Ravi, P., Jungk, B., Bhasin, S.: Single trace electromagnetic side-channel attacks on fpga implementation of elliptic curve cryptography. In: 2019 Joint International Symposium on Electromagnetic Compatibility, Sapporo and Asia-Pacific International Symposium on Electromagnetic Compatibility (EMC Sapporo/APEMC), pp. 1–4. IEEE (2019)

    Google Scholar 

  14. Tang, M., et al.: Side-channel attacks in a real scenario. Tsinghua Sci. Technol. 23(5), 586–598 (2018)

    Article  Google Scholar 

Download references

Acknowledgement

This work is supported by National Key R &D Program of China (Nos. 2022YFB310 3800, 2021YFB3101500), National Natural Science Foundation of China (Nos. 62272047, 62002021), Beijing Institute of Technology Research Fund Program for Young Scholars, and Cryptographic Application Industry Chain Supply and Demand Docking Platform of New Energy and Intelligent Connected Vehicle Industry (2021-0181-1-1).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Congming Wei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, A., He, S., Wei, C., Sun, S., Ding, Y., Wang, J. (2023). Using Convolutional Neural Network to Redress Outliers in Clustering Based Side-Channel Analysis on Cryptosystem. In: Qiu, M., Lu, Z., Zhang, C. (eds) Smart Computing and Communication. SmartCom 2022. Lecture Notes in Computer Science, vol 13828. Springer, Cham. https://doi.org/10.1007/978-3-031-28124-2_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-28124-2_34

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-28123-5

  • Online ISBN: 978-3-031-28124-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics