• DocumentCode
    2130836
  • Title

    A Grammatical Inference Approach to Language-Based Anomaly Detection in XML

  • Author

    Lampesberger, Harald

  • Author_Institution
    Christian Doppler Lab. for Client-Centric Cloud Comput., Hagenberg, Austria
  • fYear
    2013
  • fDate
    2-6 Sept. 2013
  • Firstpage
    685
  • Lastpage
    693
  • Abstract
    False-positives are a problem in anomaly-based intrusion detection systems. To counter this issue, we discuss anomaly detection for the extensible Markup Language (XML) in a language-theoretic view. We argue that many XML-based attacks target the syntactic level, i.e. the tree structure or element content, and syntax validation of XML documents reduces the attack surface. XML offers so-called schemas for validation, but in real world, schemas are often unavailable, ignored or too general. In this work-in-progress paper we describe a grammatical inference approach to learn an automaton from example XML documents for detecting documents with anomalous syntax. We discuss properties and expressiveness of XML to understand limits of learn ability. Our contributions are an XML Schema compatible lexical data type system to abstract content in XML and an algorithm to learn visibly pushdown automata (VPA) directly from a set of examples. The proposed algorithm does not require the tree representation of XML, so it can process large documents or streams. The resulting deterministic VPA then allows stream validation of documents to recognize deviations in the underlying tree structure or data types.
  • Keywords
    XML; deterministic automata; document handling; inference mechanisms; pushdown automata; security of data; trees (mathematics); VPA; XML documents; XML-based attacks; anomaly-based intrusion detection systems; extensible markup language; grammatical inference approach; language-based anomaly detection; lexical data type system; tree representation; visibly pushdown automata; Learning automata; Motion pictures; Production; Protocols; Software; Syntactics; XML; XML; anomaly detection; grammatical inference; intrusion detection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Availability, Reliability and Security (ARES), 2013 Eighth International Conference on
  • Conference_Location
    Regensburg
  • Type

    conf

  • DOI
    10.1109/ARES.2013.90
  • Filename
    6657306