Skip to main content

Knowledge Graph Based Semi-automatic Code Auditing System

  • Conference paper
  • First Online:
Science of Cyber Security (SciSec 2019)

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 11933))

Included in the following conference series:

  • 877 Accesses

Abstract

Aiming at detecting various vulnerabilities in Web application system based on PHP language, a semi-automatic code auditing system based on knowledge graph is proposed. Firstly, the abstract syntax tree of each file in the Web application system is constructed to extract the taint variables and function information from the abstract syntax tree and construct the global variable information. Secondly, the data flow information of each taint variable is analyzed accurately. Finally, the knowledge graph and code auditing technology are combined to construct and display the vulnerability information of the Web application system in the form of graph. Experiments and analysis results show that this detection method can well construct and display the data flow information of each taint variable and help auditors find common vulnerabilities in Web application systems more quickly.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. W3Techs: Usage of server-side programming languages for websites. https://w3techs.com/technologies/overview/programming_language/all

  2. OWASP: OWASP Top 10 Most Critical Web Application Security Risks. https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project

  3. Huo, Z.P.: PHP Code Vulnerabilities Detection Based on Static Analysis. Beijing University of Posts and Telecommunications (2015)

    Google Scholar 

  4. Backes, M., Rieck, K., Skoruppa, M., Stock, B., Yamaguchi, F.: Efficient and flexible discovery of PHP application vulnerabilities. In: IEEE European Symposium on Security & Privacy (2017)

    Google Scholar 

  5. Yan, X.X., Ma, H.T., Wang, Q.A.: A static backward taint data analysis method for detecting web application vulnerabilities. In: ICCSN 2017 (2017)

    Google Scholar 

  6. Alhuzali, A., Eshete, B., Gjomemo, R., Venkatakrishnan, V.N.: Chainsaw: chained automated workflow-based exploit generation. In: 2016 ACM SIGSAC Conference (2016)

    Google Scholar 

  7. Gong, R.L.: Research and implementation of PHP Web Application Code Defect Detection. Beijing University of Posts and Telecommunications (2016)

    Google Scholar 

  8. PHP-Parser: A PHP parser written in PHP. https://github.com/nikic/PHP-Parser

  9. Lin, Z.Q., Xie, B., Zou, Y.Z., Zhao, J.F., Li, X.D., Wei, J.: Intelligent development environment and software knowledge graph. J. Comput. Sci. Technol. 32(2), 242–249 (2017)

    Article  Google Scholar 

  10. Liu, Q., Li, Y., Duan, H.: Knowledge graph construction techniques. J. Comput. Res. Dev. 32(2), 242–249 (2017)

    Google Scholar 

  11. Zhang, X., Liu, X.: MMKG: an approach to generate metallic materials knowledge graph based on DBpedia and Wikipedia. Comput. Phys. Commun. 211(February), 98–112 (2016)

    Google Scholar 

  12. Sun, X.B., Wang, L., Wang, J.W., et al.: Construct knowledge graph for exploratory bug issue searching. Acta Electron. Sin. 46(7), 1578–1583 (2018)

    Google Scholar 

  13. Lin, X., Liang, Y., Giunchiglia, F., et al.: Relation path embedding in knowledge graphs. Neural Comput. Appl. 31(9), 5629–5639 (2018)

    Article  Google Scholar 

  14. DVWA: A PHP/MySQL web application that is damn vulnerable. http://www.dvwa.co.uk

  15. Neo4j: A graph database platform. https://neo4j.com

  16. Flask: A Python Micro-framework. http://flask.pocoo.org

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yin Hongji or Chen Wei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hongji, Y., Wei, C. (2019). Knowledge Graph Based Semi-automatic Code Auditing System. In: Liu, F., Xu, J., Xu, S., Yung, M. (eds) Science of Cyber Security. SciSec 2019. Lecture Notes in Computer Science(), vol 11933. Springer, Cham. https://doi.org/10.1007/978-3-030-34637-9_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-34637-9_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-34636-2

  • Online ISBN: 978-3-030-34637-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics