<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Modelling of CWEs on the CWE-287 example</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zhanar Sartabanova</string-name>
          <email>zhanara.85@mail.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladimir Dimitrov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>K. Zhubanov ARSU, 34 A. Moldagulova Prospect</institution>
          ,
          <addr-line>030000 Aktobe</addr-line>
          ,
          <country country="KZ">Kazakhstan</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Sofia</institution>
          ,
          <addr-line>5 James Bourchier Blvd., 1164 Sofia</addr-line>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
      </contrib-group>
      <fpage>90</fpage>
      <lpage>94</lpage>
      <abstract>
        <p>Representing of software weaknesses in a knowledge base is an approach to support software developers in their effort to write secure code. The leading idea of this research is to represent the knowledge in CWEs as knowledge in OWL. The software systems are part of our everyday life. The vulnerability risk of these systems increases with the number of the users. The weaknesses can be exposed as vulnerabilities during the system exploitation, but they are introduced during the implementation phase. That is why it is so important to prevent software weaknesses during the implementation. The developer's community established Mitre Corporation to create an international list of software weaknesses - CWE. CWE (Common Weakness Enumeration - a common list of weaknesses) [1] is an international list of software weaknesses, which is freely available for public use. The use of this list ensures the creation of enhanced software, taking into account existing weaknesses. Software weakness is any mistake made during the implementation, configuration, or design of the software. Software weakness is a defect, malfunction that if left uncorrected may be exposed as a system vulnerability for direct, or network attacks.</p>
      </abstract>
      <kwd-group>
        <kwd>software weaknesses</kwd>
        <kwd>CWE</kwd>
        <kwd>knowledge base</kwd>
        <kwd>OWL</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>Protégé has an open, easily expandable architecture with support for modules
that extend functionality.</p>
      <p>Protégé is supported by a large community of developers and scientists,
government and corporate users, who use it for knowledge - related tasks in such
diverse fields as Biomedicine, knowledge gathering and corporate modeling. [2]
The class hierarchy of CWEs is shown in Fig 1.</p>
      <p>CWE entries are Bases, Classes, Compound, and Variations.</p>
      <p>The most abstract type of weakness is the Class. It is independent of any
particular language or technology.</p>
      <p>Base is a more specific type of weakness. It is still largely independent of the
resource or technology, but contains enough details to have specific detection and
prevention methods.</p>
      <p>Variant is a weakness that is described at a very low level of details. It is
usually limited to a particular language or technology.</p>
      <p>Compound is a significant collection of several weaknesses, organized in a
chain or in a composite.</p>
      <p>All other CWEEntries represented in Fig. 1 describe the CWE environment.</p>
      <p>CWE entry “Views” represents a conceptual point of view to the CWEs. It
is a set of other CWEEntries. A view can contains Categories at its higher level,
but it is not obligatory.</p>
      <p>Category is a CWE entry that contains a set of other entries that share a
common characteristic.</p>
      <p>In our case CWE-1008 VIEW: Architectural Concepts is used. It contains the
following categories:
 Audit - (1009)
 Authenticate Actors - (1010)
 Authorize Actors - (1011)
 Cross Cutting - (1012)
 Encrypt Data - (1013)
 Identify Actors - (1014)
 Limit Access - (1015)
 Limit Exposure - (1016)
 Lock Computer - (1017)
 Manage User Sessions - (1018)
 Validate Inputs - (1019)
 Verify Message Integrity - (1020)
Fig. 2 represents this architectural hierarchy.</p>
      <p>Categories contains Bases, Classes, Compound, and Variations.</p>
      <p>The ontology represented as a graph is given in Fig. 3.</p>
      <p>The weakness properties are:
1. Description (Description)
2. The design phase during which this weakness can occur (architecture
and design, implementation) (Modes Of Introduction)
3. Applicable platforms (based on programming languages): discusses
weaknesses that may occur in applications developed in the Java
programming language). (Applicable Platforms)
4. General effects (individual effects associated with weakness). Scope
identifies the security scope of an application that is compromised, while
Impact describes the negative technical impact that occurs if an attacker
manages to exploit the vulnerability. Probability provides information
about how likely it is that a particular consequence is expected with
respect to other consequences in the list. For example, there may be
a high probability that a weakness will be used to achieve a certain
impact, but a low probability that it will be used to achieve another
impact. (Common Consequences)</p>
    </sec>
    <sec id="sec-2">
      <title>5 Conclusion</title>
      <p>Proposed knowledge representation aims software developers to write secure code
offering to them different views to the possible weaknesses in all development
phases.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>1. CWE, Common Weaknesses Enumeration, http://cwe.mitre.org 2. Protégé, https://protegewiki.stanford.edu/wiki/Main_Page</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>