Skip to main content

Automatic Examination-Based Whitelist Generation for XSS Attack Detection

  • Conference paper
  • First Online:
Advances on Broadband and Wireless Computing, Communication and Applications (BWCCA 2018)

Abstract

When faced with cross-site scripting (XSS) attacks, it is difficult to counter all malicious inputs such that they are rendered completely harmless. In such situations, the introduction of a whitelist-based XSS countermeasure is considered to be an effective and robust approach. However, as the behavior of current web applications is complex, it is difficult to theoretically generate the necessary and sufficient whitelists. To this end, we propose an examination-based approach for whitelist generation instead of a theory-based one. We focus on software tests that are always performed during the final stage of the development process and establish a method to automatically generate whitelists that are consistent with the specifications of each web application. By adding the function for whitelist generation on a web application’s test tool, a whitelist can be generated without changing the development process of a conventional web application. We implement our proposed method and evaluate its effectiveness.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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. jQuery: http://jquery.com/. Accessed 05 Dec 2017

  2. Blog Tool, Publishing Platform, and CMS – WordPress. https://wordpress.org/. Accessed 05 Dec 2017

  3. Meier, J.D., Mackman, A., Dunner, M., Vasireddy, S., Escamilla, R., Murukan, A.: Web application security fundamentals (2013). https://msdn.microsoft.com/en-us/library/ff648636.aspx. Accessed 28 Dec 2017

  4. Lord, B.: All about the onMouseOver incident (2010). https://blog.twitter.com/official/en_us/a/2010/all-about-the-onmouseover-incident.html. Accessed 28 Dec 2017

  5. Selenium - Web Browser Automation. https://www.seleniumhq.org/. Accessed 05 Dec 2017

  6. Jim, T., Swamy, N., Hicks, M.: Defeating script injection attacks with browser-enforced embedded policies. In: Proceedings of the 16th International Conference on World Wide Web, pp. 601–610. ACM (2007)

    Google Scholar 

  7. Meyerovich, L.A., Livshits, B.: Conscript: specifying and enforcing fine-grained security policies for javascript in the browser. In: 2010 IEEE Symposium on Security and Privacy (SP), pp. 481–496. IEEE (2010)

    Google Scholar 

  8. Stamm, S., Sterne, B., Markham, G.: Reining in the web with content security policy. In: Proceedings of the 19th International Conference on World Wide Web, pp. 921–930. ACM (2010)

    Google Scholar 

  9. Kakuta, T., Ohtori, T., Fujii, Y., Taniguchi, N.: A detection method of malware infections based on graylists. IPSJ SIG Technical Reports, 2014-CSEC-66-16, pp. 1–7 (2014). (in Japanese)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Masakatsu Nishigaki .

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

Inoue, K., Honda, T., Mukaiyama, K., Ohki, T., Nishigaki, M. (2019). Automatic Examination-Based Whitelist Generation for XSS Attack Detection. In: Barolli, L., Leu, FY., Enokido, T., Chen, HC. (eds) Advances on Broadband and Wireless Computing, Communication and Applications. BWCCA 2018. Lecture Notes on Data Engineering and Communications Technologies, vol 25. Springer, Cham. https://doi.org/10.1007/978-3-030-02613-4_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-02613-4_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-02612-7

  • Online ISBN: 978-3-030-02613-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics