XRLFuzz: Fuzzing Binaries Guided by Format Information Based on Deep Reinforcement Learning

  • Conference paper
  • First Online:
Advances in Internet, Data & Web Technologies (EIDWT 2024)

Part of the book series: Lecture Notes on Data Engineering and Communications Technologies ((LNDECT,volume 193))

Included in the following conference series:

  • 382 Accesses

Abstract

Fuzzing is a popular and effective automatic vulnerability mining method. More and more fuzzing techniques are starting to integrate reinforcement learning. But traditional fuzzing based on reinforcement learning is blind in sample mutation due to the lack of format information and efficient mutation algorithms. As a result, it is challenging to achieve higher coverage and the number of effective fuzzing is limited, leading to low utilization. To mitigate these problems, this paper proposes a new fuzzer named XRLFuzz, a format information guided fuzzing based on deep reinforcement learning for binaries. We use dynamic instrumentation techniques to provide runtime information, And then we use these information to perform format division and extract keywords based on the invalid mutation reuse algorithm. Format information is incorporated into the action dimension of deep reinforcement learning to guide the selection of mutation strategy. The experimental results show that the format division technology and keyword extraction technology both improve the efficiency of fuzzing, and XRLFuzz achieves code coverage of 106% to 276% of AFL.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (Germany)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 213.99
Price includes VAT (Germany)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 267.49
Price includes VAT (Germany)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Miller, B.P., Fredriksen, L., So, B.: An empirical study of the reliability of UNIX utilities. Commun. ACM 33, 32–44 (1990)

    Article  Google Scholar 

  2. Zalewski, M.: American Fuzzy Lop (2019). https://github.com/Google/AFL. Accessed 10 Sep 2019

  3. Fioraldi, A., Maier, D., Eißfeldt, H., et al.: AFL++: combining incremental steps of fuzzing research. In: 14th USENIX Workshop on Offensive Technologies (WOOT 20) (2020)

    Google Scholar 

  4. Eddington, M.: Peach fuzzing platform. http://community.peachfuzzer.com/WhatIsPeach.html

  5. https://github.com/google/fuzzer-test-suite

  6. Hasselt, H.: Double Q-learning. Adv. Neural. Inf. Process. Syst. 23, 2613–2621 (2010)

    Google Scholar 

  7. A competitive framework for fuzzing and learning. ar**v preprint ar**v:1807.07490 (2018)

  8. Böhme, M., Pham, V.T., Roychoudhury, A.: Coverage-based Greybox fuzzing as Markov chain. IEEE Trans. Softw. Eng. 45, 489–506 (2017)

    Article  Google Scholar 

  9. Pham, V., Boehme, M., Santosa, A.E., Caciulescu, A.R., Roychoudhury, A.: Smart Greybox fuzzing. IEEE Trans. Softw. Eng. (2019). https://doi.org/10.1109/TSE.2019.2941681

  10. Lyu, C., Ji, S., Li, Y., et al.: SmartSeed: smart seed generation for efficient fuzzing (2018)

    Google Scholar 

  11. Son, S., Lee, S., Han, H., et al.: Montage: a neural network language model-guided Javascript fuzzer. In: 20th USENIX Security Symposium (USENIX Security 2020) (2020)

    Google Scholar 

  12. Zong, P., Lv, T., Wang, D., et al.: FuzzGuard: filtering out unreachable inputs in directed grey-box fuzzing through deep learning. In: 29th USENIX Security Symposium (USENIX Security 20), pp. 2255–2269 (2020)

    Google Scholar 

  13. Böhme, M., Pham, V.T., Nguyen, M.D., et al.: Directed Greybox fuzzing. In: Proceedings of the. ACM SIGSAC Conference on Computer and Communications Security, pp. 2329–2344 (2017)

    Google Scholar 

  14. Vykov, D.: Syzkaller. https://github.com/google/syzkaller (2016)

  15. Lillicrap, T.P., Hunt, J.J., et al.: Continuous control with deep reinforcement learning. ar**v preprint ar**v:1509.02971 (2015)

  16. Serebryany, K.: LibFuzzer-a library for coverage-guided fuzz testing. LLVM project (2015)

    Google Scholar 

  17. Zhang, Z., Cui, B., Chen, C.: Reinforcement learning-based fuzzing technology. In: Barolli, L., Poniszewska-Maranda, A., Park, H. (eds.) IMIS 2020. AISC, vol. 1195, pp. 244–253. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-50399-4_24

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Baojiang Cui .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Liu, R., Cui, B., Chen, C., Ma, J. (2024). XRLFuzz: Fuzzing Binaries Guided by Format Information Based on Deep Reinforcement Learning. In: Barolli, L. (eds) Advances in Internet, Data & Web Technologies. EIDWT 2024. Lecture Notes on Data Engineering and Communications Technologies, vol 193. Springer, Cham. https://doi.org/10.1007/978-3-031-53555-0_29

Download citation

Publish with us

Policies and ethics

Navigation