From 90fbbff01573078289c416a80aa176a6c2760080 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 23 Feb 2019 10:42:39 +0100 Subject: [PATCH] chg: [svg] export (first tentative) to fix #2 - Export need to be reviewed. --- svg/attack_pattern.svg | 291 +++++++++++++++++ svg/backdoor.svg | 238 ++++++++++++++ svg/botnet.svg | 307 ++++++++++++++++++ svg/campaign.svg | 307 ++++++++++++++++++ svg/galaxy.svg | 194 ++++++++++++ svg/identity.svg | 233 ++++++++++++++ svg/intrusionset.svg | 688 +++++++++++++++++++++++++++++++++++++++++ svg/malware.svg | 386 +++++++++++++++++++++++ svg/observed data.svg | 399 ++++++++++++++++++++++++ svg/ransomware.svg | 234 ++++++++++++++ svg/source.svg | 233 ++++++++++++++ svg/taxonomy.svg | 288 +++++++++++++++++ svg/threat_actor.svg | 243 +++++++++++++++ svg/tool.svg | 233 ++++++++++++++ svg/victim.svg | 233 ++++++++++++++ tools/convert-svg.sh | 20 ++ 16 files changed, 4527 insertions(+) create mode 100644 svg/attack_pattern.svg create mode 100644 svg/backdoor.svg create mode 100644 svg/botnet.svg create mode 100644 svg/campaign.svg create mode 100644 svg/galaxy.svg create mode 100644 svg/identity.svg create mode 100644 svg/intrusionset.svg create mode 100644 svg/malware.svg create mode 100644 svg/observed data.svg create mode 100644 svg/ransomware.svg create mode 100644 svg/source.svg create mode 100644 svg/taxonomy.svg create mode 100644 svg/threat_actor.svg create mode 100644 svg/tool.svg create mode 100644 svg/victim.svg create mode 100644 tools/convert-svg.sh diff --git a/svg/attack_pattern.svg b/svg/attack_pattern.svg new file mode 100644 index 0000000..0cae036 --- /dev/null +++ b/svg/attack_pattern.svg @@ -0,0 +1,291 @@ + +image/svg+xmlAttack Pattern + \ No newline at end of file diff --git a/svg/backdoor.svg b/svg/backdoor.svg new file mode 100644 index 0000000..a029706 --- /dev/null +++ b/svg/backdoor.svg @@ -0,0 +1,238 @@ + +image/svg+xmlBackdoor + \ No newline at end of file diff --git a/svg/botnet.svg b/svg/botnet.svg new file mode 100644 index 0000000..0ac22ae --- /dev/null +++ b/svg/botnet.svg @@ -0,0 +1,307 @@ + +image/svg+xmlBotnet + \ No newline at end of file diff --git a/svg/campaign.svg b/svg/campaign.svg new file mode 100644 index 0000000..563e3f7 --- /dev/null +++ b/svg/campaign.svg @@ -0,0 +1,307 @@ + +image/svg+xmlCampaign + \ No newline at end of file diff --git a/svg/galaxy.svg b/svg/galaxy.svg new file mode 100644 index 0000000..15ad74c --- /dev/null +++ b/svg/galaxy.svg @@ -0,0 +1,194 @@ + +image/svg+xmlGalaxy + \ No newline at end of file diff --git a/svg/identity.svg b/svg/identity.svg new file mode 100644 index 0000000..3761432 --- /dev/null +++ b/svg/identity.svg @@ -0,0 +1,233 @@ + +image/svg+xmlIdentity + \ No newline at end of file diff --git a/svg/intrusionset.svg b/svg/intrusionset.svg new file mode 100644 index 0000000..da3989c --- /dev/null +++ b/svg/intrusionset.svg @@ -0,0 +1,688 @@ + +image/svg+xmlIntrusion Set + \ No newline at end of file diff --git a/svg/malware.svg b/svg/malware.svg new file mode 100644 index 0000000..e3330a0 --- /dev/null +++ b/svg/malware.svg @@ -0,0 +1,386 @@ + +image/svg+xmlMalware + \ No newline at end of file diff --git a/svg/observed data.svg b/svg/observed data.svg new file mode 100644 index 0000000..db2918d --- /dev/null +++ b/svg/observed data.svg @@ -0,0 +1,399 @@ + +image/svg+xmlObserved Data + \ No newline at end of file diff --git a/svg/ransomware.svg b/svg/ransomware.svg new file mode 100644 index 0000000..6da21e2 --- /dev/null +++ b/svg/ransomware.svg @@ -0,0 +1,234 @@ + +image/svg+xmlRansomware + \ No newline at end of file diff --git a/svg/source.svg b/svg/source.svg new file mode 100644 index 0000000..3ae6e7d --- /dev/null +++ b/svg/source.svg @@ -0,0 +1,233 @@ + +image/svg+xmlSource + \ No newline at end of file diff --git a/svg/taxonomy.svg b/svg/taxonomy.svg new file mode 100644 index 0000000..eba29fb --- /dev/null +++ b/svg/taxonomy.svg @@ -0,0 +1,288 @@ + +image/svg+xmlTaxonomy + \ No newline at end of file diff --git a/svg/threat_actor.svg b/svg/threat_actor.svg new file mode 100644 index 0000000..348b36d --- /dev/null +++ b/svg/threat_actor.svg @@ -0,0 +1,243 @@ + +image/svg+xmlThreat Actor + \ No newline at end of file diff --git a/svg/tool.svg b/svg/tool.svg new file mode 100644 index 0000000..987e11c --- /dev/null +++ b/svg/tool.svg @@ -0,0 +1,233 @@ + +image/svg+xmlTool + \ No newline at end of file diff --git a/svg/victim.svg b/svg/victim.svg new file mode 100644 index 0000000..c9d7969 --- /dev/null +++ b/svg/victim.svg @@ -0,0 +1,233 @@ + +image/svg+xmlVictim + \ No newline at end of file diff --git a/tools/convert-svg.sh b/tools/convert-svg.sh new file mode 100644 index 0000000..d8db501 --- /dev/null +++ b/tools/convert-svg.sh @@ -0,0 +1,20 @@ +#!/usr/bin/bash + +createsvg() { + local d + local svg + for d in ../ai/*.ai; do + svg=$(echo "$d" | sed 's/.ai/.svg/') + echo "creating $svg ..." + output=$(echo "$svg" | sed 's/...//' | sed 's/\.ai/.svg/') + echo "$output" + inkscape -f "$d" -l "../$output" + done +} + +if [ "$1" != "" ];then + cd $1 +fi + +createsvg +