Skip to content

Commit

Permalink
Add CAPEC v3.9 common attack pattern individuals to knowledge graph
Browse files Browse the repository at this point in the history
  • Loading branch information
aamedina committed May 20, 2024
1 parent 9693eab commit 3168b79
Show file tree
Hide file tree
Showing 6 changed files with 8,190 additions and 466 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ D3FEND_RELEASE_DATE :="2024-04-26T00:00:00.000Z"

ATTACK_VERSION := 15.0

CAPEC_VERSION := 3.9

JENA_VERSION := 4.5.0

JENA_PATH := "bin/jena/apache-jena-${JENA_VERSION}/bin"
Expand Down Expand Up @@ -134,6 +136,17 @@ update-attack:
bash src/util/update_attack.sh $(ATTACK_VERSION)
$(END)

download-capec:
mkdir -p data
echo "Version: $(CAPEC_VERSION)"
cd data; wget https://capec.mitre.org/data/archive/capec_v$(CAPEC_VERSION).zip
unzip data/capec_v$(CAPEC_VERSION).zip -d data
$(END)

update-capec:
bash src/util/update_capec.sh $(CAPEC_VERSION)
$(END)

update-puns:
bash src/util/update_puns.sh
$(END)
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pandas = "*"
owlready2 = "*"
openpyxl = "*"
stix2 = "*"
defusedxml = "*"

[requires]
python_version = "3.9"
Loading

0 comments on commit 3168b79

Please sign in to comment.