Skip to content

Commit

Permalink
Mitigations release
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeppler committed Sep 24, 2024
1 parent c0ce0ed commit 0aadf83
Show file tree
Hide file tree
Showing 199 changed files with 7,205 additions and 1,464 deletions.
Empty file added .nojekyll
Empty file.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

1,440 changes: 1,440 additions & 0 deletions _data/mitigations_threat_mappings.json

Large diffs are not rendered by default.

969 changes: 969 additions & 0 deletions _data/properties_threat_mappings.json

Large diffs are not rendered by default.

1,555 changes: 1,555 additions & 0 deletions _data/threats.json

Large diffs are not rendered by default.

2,028 changes: 2,028 additions & 0 deletions _data/threats_properties_mitigations_mappings.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion about/index.html

Large diffs are not rendered by default.

Binary file added assets/EMB3D_Paper_09-23-24.pdf
Binary file not shown.
Binary file removed assets/EMB3D_Paper_v2_2024-05-13.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/css/jekyll-theme-chirpy.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/jekyll-theme-chirpy.css.map

Large diffs are not rendered by default.

1,078 changes: 0 additions & 1,078 deletions assets/deviceprops.json

This file was deleted.

2 changes: 1 addition & 1 deletion assets/js/data/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/data/swconf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion background/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://emb3d.mitre.org/</id><title>MITRE EMB3D&amp;trade;</title><subtitle>MITRE EMB3D&amp;trade;, a cultivated knowledge base of cyber threats to embedded devices</subtitle> <updated>2024-05-29T13:37:39-04:00</updated> <author> <name>The MITRE Corporation</name> <uri>https://emb3d.mitre.org/</uri> </author><link rel="self" type="application/atom+xml" href="https://emb3d.mitre.org/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://emb3d.mitre.org/"/> <generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator> <rights> © 2024 The MITRE Corporation </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> </feed>
<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://emb3d.mitre.org/</id><title>MITRE EMB3D&amp;trade;</title><subtitle>MITRE EMB3D&amp;trade;, a cultivated knowledge base of cyber threats and mitigations for embedded devices</subtitle> <updated>2024-09-24T15:31:21-04:00</updated> <author> <name>The MITRE Corporation</name> <uri>https://emb3d.mitre.org/</uri> </author><link rel="self" type="application/atom+xml" href="https://emb3d.mitre.org/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://emb3d.mitre.org/"/> <generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator> <rights> © 2024 The MITRE Corporation </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> </feed>
2 changes: 1 addition & 1 deletion getting-started/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

68 changes: 0 additions & 68 deletions loadRelated.js

This file was deleted.

146 changes: 146 additions & 0 deletions loadThreatsPropertiesforThreats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
var threatData;
var mitigationsData;
//Load the json file that contains the threat and device properties mapping
window.onload = () => {
fetch("../_data/properties_threat_mappings.json")
.then((res) => {
if (!res.ok) {
throw new Error(`HTTP error! Status: ${res.status}`);
}
return res.json();
})
.then((json) => {
threatData = json;
var threatTitle = document
.getElementById("threattitle")
.innerHTML.replaceAll("\n", "")
.replaceAll(" ", "");
getRelatedThreats(threatTitle);
});

//Load the json file that contains the threat, device properties and mitigation mappings
fetch("../_data/threats_properties_mitigations_mappings.json")
.then((res) => {
if (!res.ok) {
throw new Error(`HTTP error! Status: ${res.status}`);
}
return res.json();
})
.then((json) => {
mitigationsData = json;
var threatTitle = document
.getElementById("threattitle")
.innerHTML.replaceAll("\n", "")
.replaceAll(" ", "");
getRelatedMitigations(threatTitle);
});
};

// Get device properties and threats related to the current one and display as a list on the threat description page
function getRelatedThreats(threatTitle) {
var foundRelated = false;
var devpropsID = [];
var devpropsDesc = [];
var selectedIDs = [];
for (let i = 0; i < threatData.properties.length; i++) {
for (let j = 0; j < threatData.properties[i].threats.length; j++) {
if (threatTitle == threatData.properties[i].threats[j].id) {
for (let k = 0; k < threatData.properties[i].threats.length; k++) {
if (threatTitle == threatData.properties[i].threats[k].id) {
devpropsID.push(threatData.properties[i].id);
devpropsDesc.push(threatData.properties[i].text);
continue;
}
selectedIDs.push(threatData.properties[i].threats[k].id);
foundRelated = true;
}
}
}
}
var threatsDiv = document.getElementById("relatedthreats");
var propertiesDiv = document.getElementById("devprops");
if (selectedIDs.length != 0) {
var threatsDiv_inner = "<h2>Related Threats:</h2>";
for (var i = 0; i < selectedIDs.length - 1; i++) {
threatsDiv_inner +=
"<a href='/threats/" +
selectedIDs[i] +
".html'>" +
selectedIDs[i] +
"</a>, ";
}
threatsDiv_inner +=
"<a href='/threats/" +
selectedIDs[selectedIDs.length - 1] +
".html'>" +
selectedIDs[selectedIDs.length - 1] +
"</a>";
threatsDiv.innerHTML = threatsDiv_inner;
}
var propertiesDiv_inner = "";
for (var i = 0; i < devpropsID.length; i++) {
propertiesDiv_inner +=
"<a href='/properties-mapper/?id=" +
devpropsID[i] +
"'>" +
devpropsID[i] +
"</a>" +
" - " +
devpropsDesc[i] +
"<br>";
}
propertiesDiv.innerHTML = propertiesDiv_inner;
}

// Get mitigations for the current threat
function getRelatedMitigations(threatTitle) {
var mitigations = [];
for (let i = 0; i < mitigationsData.threats.length; i++) {
if (threatTitle == mitigationsData.threats[i].id) {
for (let j = 0; j < mitigationsData.threats[i].mitigations.length; j++) {
mitigations.push({
id: mitigationsData.threats[i].mitigations[j].id,
desc: mitigationsData.threats[i].mitigations[j].text,
level: mitigationsData.threats[i].mitigations[j].level
});
}
}
}

var mitigationsDiv = document.getElementById("mitigations");
if (mitigations.length != 0) {
var foundational = [];
var intermediate = [];
var leading = [];
for (var i = 0; i < mitigations.length; i++) {
var mitigationText =
"<a href='/mitigations/" +
mitigations[i].id +
".html'>" +
mitigations[i].id +
"</a>" +
" - " +
mitigations[i].desc;
if (mitigations[i].level === "foundational") {
foundational.push(mitigationText);
} else if (mitigations[i].level === "intermediate") {
intermediate.push(mitigationText);
} else if (mitigations[i].level === "leading") {
leading.push(mitigationText);
}
}
var mitigationsDiv_inner = "<h2>Mitigations:</h2>";
mitigationsDiv_inner +=
'<table class="mitigationsTableOnThreat"><tr class="mitigationTableoOnThreatRow"><th>Foundational</th><th>Intermediate</th><th>Leading</th></tr>';
mitigationsDiv_inner += "<tr>";
mitigationsDiv_inner +=
'<td>' + foundational.join("<br>") + "</td>";
mitigationsDiv_inner +=
'<td>' + intermediate.join("<br>") + "</td>";
mitigationsDiv_inner +=
'<td>' + leading.join("<br>") + "</td>";
mitigationsDiv_inner += "</tr></table>";

mitigationsDiv.innerHTML = mitigationsDiv_inner;
}
}
40 changes: 40 additions & 0 deletions loadThreatsforMitigations.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
var mitigationsData;
//Load the json file that contains the threat and mitigation mappings
window.onload = (event) => {
fetch('../_data/mitigations_threat_mappings.json')
.then((res) => {
if (!res.ok) {
throw new Error(`HTTP error! Status: ${res.status}`);
}
return res.json();
})
.then((json) => {
mitigationsData = json;
var mitigationTitle = document
.getElementById('mitigationTitle')
.innerHTML.replaceAll('\n', '')
.replaceAll(' ', '');
getRelatedThreats(mitigationTitle);
});
};

// Get threats mitigated by the current mitigation
function getRelatedThreats(mitigationTitle) {
var threats = [];
for (let i = 0; i < mitigationsData.mitigations.length; i++) {
if (mitigationTitle == mitigationsData.mitigations[i].id) {
for (let j = 0; j < mitigationsData.mitigations[i].threats.length; j++) {
threats.push({id: mitigationsData.mitigations[i].threats[j].id, desc: mitigationsData.mitigations[i].threats[j].text})
}
}
}
var threatsDiv = document.getElementById('relatedthreats');
if(threats.length != 0){
var threatsDiv_inner = '<h2>Mitigated Threats:</h2>';
for (var i = 0; i < threats.length; i++) {
threatsDiv_inner += "<a href='/threats/" + threats[i].id + ".html'>" + threats[i].id + "</a>" + " - "
+ threats[i].desc + "<br>"
}
threatsDiv.innerHTML = threatsDiv_inner;
}
}
1 change: 1 addition & 0 deletions mitigations/MID-001.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-002.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-003.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-004.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-005.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-006.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-007.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-008.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-009.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-010.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-011.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-012.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-013.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-014.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-015.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-016.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-017.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-018.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-019.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-020.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-021.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-022.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-023.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-024.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-025.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-026.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-027.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-028.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-029.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-030.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-031.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-032.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-033.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-034.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-035.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-036.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-037.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-038.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-039.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-040.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-041.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-042.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-043.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-044.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-045.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-046.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-047.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-048.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-049.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-050.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-051.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-052.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-053.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-054.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-055.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-056.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-057.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-058.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-059.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-060.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-061.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-062.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-063.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-064.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-065.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-066.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-067.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-068.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-069.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-070.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-071.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-072.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-073.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-074.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-075.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-076.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-077.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-078.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-079.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-080.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-081.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-082.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/MID-083.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/foundational.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/intermediate.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mitigations/leading.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion properties-list/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion properties-mapper/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 0aadf83

Please sign in to comment.