capec
Theme
Text size
GitHub Menu

LinkML schema

Common Attack Pattern Enumeration and Classification (CAPEC)

A LinkML model of the CAPEC catalogue. It keeps the keys and listed values of the catalogue's XML Schema, so the catalogue validates as MITRE spells it once scripts/capec_to_json.py has turned it into data.

Schema file: capec.yaml, from src/capec/schema/capec.yaml

URI: https://w3id.org/lmodel/capec

Name: capec

Diagram#

erDiagram
CapecAlternateTerm {
    capec_structured_text Description  
    string Term  
}
CapecAttackPattern {
    CapecAbstraction Abstraction  
    capec_structured_text Description  
    capec_structured_textList Example_Instances  
    capec_structured_text Extended_Description  
    capec_structured_textList Indicators  
    CapecLikelihood Likelihood_Of_Attack  
    capec_structured_textList Mitigations  
    capec_structured_textList Prerequisites  
    capec_structured_textList Resources_Required  
    CapecSeverity Typical_Severity  
    capec_numeric_id ID  
    string Name  
    CapecStatus Status  
}
CapecAttackPatternCatalog {
    date Date  
    string Name  
    string Version  
}
CapecAttackStep {
    capec_structured_text Description  
    CapecAttackStepPhase Phase  
    integer Step  
}
CapecCategory {
    capec_structured_text Summary  
    capec_numeric_id ID  
    string Name  
    CapecStatus Status  
}
CapecConsequence {
    string Consequence_ID  
    CapecTechnicalImpactList Impact  
    CapecLikelihood Likelihood  
    capec_structured_text Note  
    CapecScopeList Scope  
}
CapecContentHistory {

}
CapecContribution {
    string Contribution_Comment  
    date Contribution_Date  
    string Contribution_Name  
    string Contribution_Organization  
    CapecContributionType Type  
}
CapecEntry {
    capec_numeric_id ID  
    string Name  
    CapecStatus Status  
}
CapecExcludeRelated {

}
CapecExternalReference {
    stringList Author  
    string Edition  
    string Publication  
    capec_day Publication_Day  
    capec_month Publication_Month  
    capec_year Publication_Year  
    string Publisher  
    capec_reference_id Reference_ID  
    string Title  
    capec_uri URL  
    date URL_Date  
}
CapecHasMember {

}
CapecMemberOf {

}
CapecModification {
    string Modification_Comment  
    date Modification_Date  
    CapecImportance Modification_Importance  
    string Modification_Name  
    string Modification_Organization  
}
CapecNote {
    CapecNoteType Type  
    capec_structured_text Value  
}
CapecPreviousEntryName {
    date Date  
    string Value  
}
CapecReference {
    string Section  
}
CapecRelatedAttackPattern {
    CapecRelatedNature Nature  
}
CapecRelatedWeakness {
    capec_numeric_id CWE_ID  
}
CapecRelationships {

}
CapecSkill {
    CapecSkillLevel Level  
    string Value  
}
CapecStakeholder {
    capec_structured_text Description  
    CapecStakeholderType Type  
}
CapecSubmission {
    string Submission_Comment  
    date Submission_Date  
    string Submission_Name  
    string Submission_Organization  
}
CapecTaxonomyMapping {
    string Entry_ID  
    string Entry_Name  
    CapecTaxonomyMappingFit Mapping_Fit  
    CapecTaxonomyName Taxonomy_Name  
}
CapecTechnique {
    capec_structured_text Value  
}
CapecView {
    string Filter  
    capec_structured_text Objective  
    CapecViewType Type  
    capec_numeric_id ID  
    string Name  
    CapecStatus Status  
}

CapecAttackPattern ||--|o CapecContentHistory : "Content_History"
CapecAttackPattern ||--}o CapecAlternateTerm : "Alternate_Terms"
CapecAttackPattern ||--}o CapecAttackStep : "Execution_Flow"
CapecAttackPattern ||--}o CapecConsequence : "Consequences"
CapecAttackPattern ||--}o CapecNote : "Notes"
CapecAttackPattern ||--}o CapecReference : "References"
CapecAttackPattern ||--}o CapecRelatedAttackPattern : "Related_Attack_Patterns"
CapecAttackPattern ||--}o CapecRelatedWeakness : "Related_Weaknesses"
CapecAttackPattern ||--}o CapecSkill : "Skills_Required"
CapecAttackPattern ||--}o CapecTaxonomyMapping : "Taxonomy_Mappings"
CapecAttackPatternCatalog ||--}o CapecAttackPattern : "Attack_Patterns"
CapecAttackPatternCatalog ||--}o CapecCategory : "Categories"
CapecAttackPatternCatalog ||--}o CapecExternalReference : "External_References"
CapecAttackPatternCatalog ||--}o CapecView : "Views"
CapecAttackStep ||--}o CapecTechnique : "Technique"
CapecCategory ||--|o CapecContentHistory : "Content_History"
CapecCategory ||--|o CapecRelationships : "Relationships"
CapecCategory ||--}o CapecNote : "Notes"
CapecCategory ||--}o CapecReference : "References"
CapecCategory ||--}o CapecTaxonomyMapping : "Taxonomy_Mappings"
CapecContentHistory ||--|o CapecSubmission : "Submission"
CapecContentHistory ||--}o CapecContribution : "Contribution"
CapecContentHistory ||--}o CapecModification : "Modification"
CapecContentHistory ||--}o CapecPreviousEntryName : "Previous_Entry_Name"
CapecEntry ||--|o CapecContentHistory : "Content_History"
CapecEntry ||--}o CapecNote : "Notes"
CapecEntry ||--}o CapecReference : "References"
CapecExcludeRelated ||--|| CapecEntry : "Exclude_ID"
CapecHasMember ||--|| CapecEntry : "CAPEC_ID"
CapecHasMember ||--}o CapecExcludeRelated : "Exclude_Related"
CapecMemberOf ||--|| CapecEntry : "CAPEC_ID"
CapecMemberOf ||--}o CapecExcludeRelated : "Exclude_Related"
CapecReference ||--|| CapecExternalReference : "External_Reference_ID"
CapecRelatedAttackPattern ||--|| CapecAttackPattern : "CAPEC_ID"
CapecRelatedAttackPattern ||--}o CapecExcludeRelated : "Exclude_Related"
CapecRelationships ||--}o CapecHasMember : "Has_Member"
CapecRelationships ||--}o CapecMemberOf : "Member_Of"
CapecTechnique ||--|o CapecEntry : "CAPEC_ID"
CapecView ||--|o CapecContentHistory : "Content_History"
CapecView ||--|o CapecRelationships : "Members"
CapecView ||--}o CapecNote : "Notes"
CapecView ||--}o CapecReference : "References"
CapecView ||--}o CapecStakeholder : "Audience"

Classes#

ClassDescription
CapecAlternateTermAnother name by which an attack pattern is known
CapecAttackPatternCatalogOne release of the whole catalogue, with its entries and the references they …
CapecAttackStepOne step of the way an adversary typically carries out an attack
CapecConsequenceOne thing that can happen if an attack succeeds
CapecContentHistoryThe record of who wrote and changed an entry
CapecContributionHelp given to an entry by someone other than its submitter
CapecEntryAnything in the catalogue with a CAPEC number, whether an attack pattern, a c…
        CapecAttackPatternA catalogued way that adversaries go about an attack, with what it takes and …
        CapecCategoryA group of attack patterns that share an effect or intent, and not itself a p…
        CapecViewOne way of looking over the catalogue, by a hierarchy or by a slice of its en…
CapecExcludeRelatedAn ancestor under which a relation does not hold
CapecExclusionsMixinThe field of any relation that can leave out some ancestors
CapecExternalReferenceA publication or page outside CAPEC that entries point to for more detail
CapecHasMemberA statement that a view or a category holds an entry
CapecMemberOfA statement that an entry belongs to a view or a category
CapecModificationOne later edit to an entry
CapecNoteA remark on an entry that no other field can hold
CapecPreviousEntryNameA name an entry used to carry
CapecReferenceOne citation by an entry of an external reference
CapecRelatedAttackPatternA relation from one attack pattern to another
CapecRelatedWeaknessA weakness in the Common Weakness Enumeration that can make an attack possibl…
CapecRelationshipsWhich entries a category or a view holds, and which it belongs to
CapecSkillA skill or piece of knowledge an adversary needs
CapecStakeholderOne kind of person a view is meant for, and what they would get from it
CapecSubmissionWho first put an entry forward, and when
CapecTaxonomyMappedMixinThe field of an entry that can map to other taxonomies
CapecTaxonomyMappingA link from an entry to the matching entry of another taxonomy
CapecTechniqueOne way of carrying out a step of an attack

Slots#

SlotDescription
AbstractionHow concrete the pattern is
Alternate_TermsOther names for the pattern
Attack_PatternsThe attack patterns
AudienceWho the view is meant for
AuthorA person or body who wrote the work
CAPEC_IDThe other attack pattern
CategoriesThe categories
Consequence_IDThe CAPEC team’s identifier for a consequence repeated across patterns, in th…
ConsequencesWhat can happen if the attack succeeds
Content_HistoryWho wrote and changed the entry
ContributionEach contribution from someone else
Contribution_CommentA remark on the contribution
Contribution_DateThe day of the contribution
Contribution_NameThe contributor’s name
Contribution_OrganizationThe contributor’s organisation
CWE_IDThe weakness’s number in the Common Weakness Enumeration
DateThe day this catalogue was made or last updated
DescriptionWhere or how the other name is used
EditionWhich edition of the work is meant
Entry_IDThe other entry’s identifier in that taxonomy
Entry_NameThe other entry’s name in that taxonomy
Example_InstancesConcrete examples of the attack
Exclude_IDThe number of the ancestor
Exclude_RelatedAncestors under which the relation does not hold
Execution_FlowThe steps an adversary typically takes
Extended_DescriptionA longer account of the pattern
External_Reference_IDThe reference cited
External_ReferencesThe external references that entries cite
FilterA query over the catalogue that selects the view’s entries
Has_MemberWhat this entry holds
IDThe entry’s CAPEC number
ImpactWhat the attack does to the system
IndicatorsSigns that an attack is near, under way or over
LevelHow much of it is needed
LikelihoodHow likely this consequence is, beside the pattern’s others
Likelihood_Of_AttackHow likely an attack of this kind is to succeed
Mapping_FitHow well the two entries fit
Member_OfWhat this entry belongs to
MembersThe entries the view holds
MitigationsWays to prevent the attack or lessen its harm
ModificationEach later edit
Modification_CommentWhat the edit did
Modification_DateThe day of the edit
Modification_ImportanceHow much the edit matters to anyone relying on the entry
Modification_NameThe editor’s name
Modification_OrganizationThe editor’s organisation
NameThe catalogue’s name
NatureWhat kind of relation it is
NoteA remark on the consequence
NotesRemarks that no other field can hold
ObjectiveWhat the view is for
PhaseThe stage of the attack it belongs to
PrerequisitesConditions that must hold for the attack to work
Previous_Entry_NameEach name the entry used to carry
PublicationThe journal, conference or larger work that holds it
Publication_DayThe day of the month it appeared
Publication_MonthThe month it appeared
Publication_YearThe year it appeared
PublisherWho published it
Reference_IDThe identifier entries use to cite this reference
ReferencesThe external references the entry cites
Related_Attack_PatternsThe pattern’s relations to others
Related_WeaknessesThe weaknesses that can make the attack possible
RelationshipsWhat the category holds and belongs to
Resources_RequiredWhat an adversary must have to hand, such as tools or addresses
ScopeThe security properties violated
SectionThe section title or page that this citation means
Skills_RequiredThe skills an adversary needs
StatusHow far the entry has got through review
StepThe step’s number
SubmissionThe entry’s first submission
Submission_CommentA remark on the submission
Submission_DateThe day it was submitted
Submission_NameThe submitter’s name
Submission_OrganizationThe submitter’s organisation
SummaryWhat the patterns in this category have in common
Taxonomy_MappingsMatching entries in other taxonomies
Taxonomy_NameThe other taxonomy
TechniqueWays of doing it
TermThe other name
TitleThe work’s title
TypeWhat kind of remark it is
Typical_SeverityHow bad the outcome usually is
URLWhere it can be read
URL_DateThe day someone last confirmed the address worked
ValueThe remark itself
VersionThe catalogue’s version, which together with its name identifies it
ViewsThe views

Enumerations#

EnumerationDescription
CapecAbstractionHow concrete an attack pattern is
CapecAttackStepPhaseWhich stage of an attack a step belongs to
CapecContributionTypeWhether a contribution changed an entry’s content or only commented on it
CapecImportanceHow much a change to an entry matters to anyone relying on it
CapecLikelihoodHow likely something is to happen
CapecNoteTypeWhat kind of remark a note makes
CapecRelatedNatureHow one attack pattern relates to another
CapecScopeThe security property that a consequence violates
CapecSeverityHow bad the typical outcome of an attack is
CapecSkillLevelHow much skill or knowledge an adversary needs
CapecStakeholderTypeThe kinds of people a view is meant for
CapecStatusHow far an entry has got through CAPEC’s review
CapecTaxonomyMappingFitHow well an entry fits the entry of another taxonomy that it maps to
CapecTaxonomyNameThe other taxonomies that CAPEC maps to
CapecTechnicalImpactWhat a successful attack does to the system, in technical terms
CapecViewTypeHow a view selects its entries

Types#

TypeDescription
BooleanA binary (true or false) value
CapecDayA day of the month in the XSD’s xs:gDay form, such as —08
CapecMonthA month in the XSD’s xs:gMonth form, such as –02 for February
CapecNumericIdThe number of a CAPEC entry or a CWE weakness, written as a string of digits
CapecReferenceIdThe identifier of an external reference, such as REF-1
CapecStructuredTextText that may hold XHTML markup such as paragraphs and lists, with no namespa…
CapecUriAn address, as XML Schema’s anyURI admits it
CapecYearA year in the XSD’s xs:gYear form, such as 2004
Curiea compact URI
Datea date (year, month and day) in an idealized calendar
DateOrDatetimeEither a date or a datetime
DatetimeThe combination of a date and time
DecimalA real number with arbitrary precision that conforms to the xsd:decimal speci…
DoubleA real number that conforms to the xsd:double specification
FloatA real number that conforms to the xsd:float specification
IntegerAn integer
JsonpathA string encoding a JSON Path
JsonpointerA string encoding a JSON Pointer
NcnamePrefix part of CURIE
NodeidentifierA URI, CURIE or BNODE that represents a node in a model
ObjectidentifierA URI or CURIE that represents an object in the model
SparqlpathA string encoding a SPARQL Property Path
StringA character string
TimeA time object represents a (local) time of day, independent of any particular…
Uria complete URI
Uriorcuriea URI or a CURIE