skip to main content
10.1145/2851613.2851803acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

An automated approach for testing the security of web applications against chained attacks

Published:04 April 2016Publication History

ABSTRACT

We present the Chained Attacks approach, an automated model-based approach to test the security of web applications that does not require a background in formal methods. Starting from a set of HTTP conversations and a configuration file providing the testing surface and purpose, a model of the System Under Test (SUT) is generated and input, along with the web attacker model we defined, to a model checker acting as test oracle. The HTTP conversations, payload libraries, and a mapping created while generating the model aid the concretization of the test cases, allowing for their execution on the SUT's implementation. We applied our approach to a real-life case study and we were able to find a combination of different attacks representing the concrete chained attack performed by a bug bounty hunter.

References

  1. D. Akhawe, A. Barth, P. Lam. Towards a formal foundation of web security. CSF, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. E. Alata, M. Kaaniche, V. Nicomette, R. Akrout. An Automated Approach to Generate Web Applications Attack Scenarios. LADC, pp. 78--85. IEEE, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Armando, R. Carbone, L. Compagna. SATMC: A SAT-Based Model Checker for Security-Critical Systems. TACAS, LNCS 8413. Springer, 2014.Google ScholarGoogle ScholarCross RefCross Ref
  4. AVANTSSAR. Deliverable 2.3 (update): ASLan++ specification and tutorial, 2011. www.avantssar.eu.Google ScholarGoogle Scholar
  5. M. Büchler, J. Oudinet, A. Pretschner. Semiautomatic security testing of web applications from a secure model. SERE, pp. 253--262. IEEE, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Dessiatnikoff, R. Akrout, E. Alata, M. Kaaniche, V. Nicomette. A Clustering Approach for Web Vulnerabilities Detection. LADC. IEEE, 2011.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. A. Dias-Neto and G. Travassos. A picture from the model-based testing area: concepts, techniques, and challenges. Advances in Computers 80. Elsevier, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  8. W. L. Fithen, S. V. Hernan, P. F. O'Rourke, D. A. Shinberg. Formal Modeling of Vulnerability. Bell Labs Technical Journal, 8(4):173--186, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  9. W. G. Halfond, J. Viegas, A. Orso. A Classification of SQL-Injection Attacks and Countermeasures. ISSSE, 2006.Google ScholarGoogle Scholar
  10. E. Homakov. How I hacked Github again. homakov. blogspot.it/2014/02/how-i-hacked-github-again.html.Google ScholarGoogle Scholar
  11. IETF. Hypertext Transfer Protocol -- HTTP/1.1. tools.ietf.org/html/rfc2616.Google ScholarGoogle Scholar
  12. IETF. Oauth 2.0. tools.ietf.org/html/rfc6749.Google ScholarGoogle Scholar
  13. F. Lebeau, B. Legeard, F. Peureux, A. Vernotte. Model-Based Vulnerability Testing for Web Applications. ICSTW, pp. 445--452. IEEE, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. OWASP. Webscarab Project. www.owasp.org/index.php/Category:OWASP WebScarab Project.Google ScholarGoogle Scholar
  15. OWASP. WebGoat Project. www.owasp.org/index.php/Category:OWASP WebGoat ProjectGoogle ScholarGoogle Scholar
  16. OWASP. Top Ten Project. www.owasp.org/index.php/Category:OWASP Top Ten ProjectGoogle ScholarGoogle Scholar
  17. CWE/SANS Top 25 Most Dangerous Software Errors. cwe.mitre.org/top25/index.htmlGoogle ScholarGoogle Scholar
  18. A. Salva and B. Durand. Domain-Driven Model Inference Applied To Web Applications. SERP, 2014.Google ScholarGoogle Scholar

Index Terms

  1. An automated approach for testing the security of web applications against chained attacks

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SAC '16: Proceedings of the 31st Annual ACM Symposium on Applied Computing
        April 2016
        2360 pages
        ISBN:9781450337397
        DOI:10.1145/2851613

        Copyright © 2016 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 4 April 2016

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        SAC '16 Paper Acceptance Rate252of1,047submissions,24%Overall Acceptance Rate1,650of6,669submissions,25%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader