Updated with support for the latest techniques and ATT&CK software entities.

master
Marcus Bakker 2020-07-10 07:56:24 +02:00
parent 3fbe598467
commit 42fbcc7f80
32 changed files with 971 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

462
editor/dist/dettect-editor/custom.css vendored Normal file
View File

@ -0,0 +1,462 @@
/* Bigger navigation sidebar font */
.sidebar .nav li a > p,
.off-canvas-sidebar .nav li a > p {
font-size: 14px;
}
input[type='file'] {
display: none;
}
.custom-file-upload {
border-radius: 0.4285rem;
display: inline-block;
padding: 11px 40px;
cursor: pointer;
background-color: #344675;
background-image: linear-gradient(to bottom left, #344675, #263148, #344675);
font-family: 'Poppins', sans-serif;
font-size: 0.875rem !important;
font-weight: 600;
line-height: 1.35em;
color: rgb(255, 255, 255, 0.8) !important;
text-transform: none;
background-size: 210% 210%;
background-position: top right;
}
.custom-file-upload:hover,
.custom-file-upload:focus {
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
transform: translateY(-1px);
-webkit-transform: translateY(-1px);
}
.custom-file-upload:active {
box-shadow: none !important;
transform: translateY(1px) !important;
transition: all 0.15s ease;
}
.icon-color {
color: rgb(255, 255, 255, 0.8);
}
.icon-padding {
padding-top: 1px;
}
.table-file-details {
color: rgb(255, 255, 255, 0.8);
line-height: 25px;
}
.table-file-details td {
vertical-align: middle;
}
.table-file-details .form-group {
margin-bottom: 0px;
}
.table-file-details .file-detail-edit {
width: 400px;
}
.table-custom {
color: rgb(255, 255, 255, 0.8);
line-height: 35px;
}
.table-selected-custom {
background-color: #263148;
}
.textarea-border {
border: 1px solid !important;
border-color: #2b3553 !important;
border-top-color: rgb(43, 53, 83) !important;
border-right-color: rgb(43, 53, 83) !important;
border-bottom-color: rgb(43, 53, 83) !important;
border-left-color: rgb(43, 53, 83) !important;
border-radius: 0.4285rem !important;
border-top-left-radius: 0.4285rem !important;
border-top-right-radius: 0.4285rem !important;
border-bottom-right-radius: 0.4285rem !important;
border-bottom-left-radius: 0.4285rem !important;
}
.attack-id {
border: 1px solid !important;
border-color: #2b3553 !important;
border-top-color: rgb(43, 53, 83) !important;
border-right-color: rgb(43, 53, 83) !important;
border-bottom-color: rgb(43, 53, 83) !important;
border-left-color: rgb(43, 53, 83) !important;
border-radius: 0.4285rem !important;
border-top-left-radius: 0.4285rem !important;
border-top-right-radius: 0.4285rem !important;
border-bottom-right-radius: 0.4285rem !important;
border-bottom-left-radius: 0.4285rem !important;
padding-top: 0.5rem !important;
padding-bottom: 0.5rem !important;
padding-left: 15px !important;
padding-right: 15px !important;
margin-left: 15px !important;
width: 80px !important;
}
p.attack-id {
display: inline-block !important;
}
.attack-span {
margin: 0px;
padding: 0px;
width: 125px;
}
.notifications a,
.notifications a:hover {
color: #fff;
text-decoration: underline;
}
.custom-checkbox {
font-family: 'Poppins', sans-serif;
font-size: 0.875rem !important;
font-weight: 400;
line-height: 1.35em;
color: rgb(255, 255, 255, 0.8) !important;
margin-right: 7px;
}
.modal-dialog {
max-width: 60% !important;
height: 400px !important;
}
.modal-dialog table,
.modal-dialog th,
.modal-dialog td {
border: 1px solid grey;
color: #222a42;
}
.modal-dialog ul li,
.modal-dialog ol li,
.modal-dialog code {
color: #222a42;
font-weight: 300;
}
.modal-dialog h1,
.modal-dialog h2,
.model-dialog .model-body code {
color: #000 !important;
}
.modal-dialog h2 {
margin-top: 20px !important;
}
.modal-dialog .modal-content .modal-body .textarea-modal {
line-height: 1.5 !important;
height: 400px !important;
max-height: 400px !important;
margin-bottom: 9px;
}
.confirmMessage .modal-dialog {
width: 600px !important;
}
.cursor-pointer {
cursor: pointer;
}
.back-to-top {
position: fixed;
bottom: 10px;
left: 310px;
z-index: 99;
background-color: #263148;
background: white !important;
border-radius: 0.4285rem !important;
border-top-left-radius: 0.4285rem !important;
border-top-right-radius: 0.4285rem !important;
border-bottom-right-radius: 0.4285rem !important;
border-bottom-left-radius: 0.4285rem !important;
opacity: 0.6;
}
.back-to-top .b-icon {
margin: 0 3px !important;
}
.back-to-top label {
margin-bottom: 0;
}
div#pageTop.row .col h2 {
font-weight: 300;
}
.autocomplete-input {
background-color: #27293d !important;
border-color: #2b3553 !important;
border-radius: 0.4285rem !important;
font-size: 0.75rem !important;
color: rgb(255, 255, 255, 0.8) !important;
padding: 9px 18px 9px 18px !important;
}
.autocomplete-result {
background-color: #27293d !important;
border-color: #344675 !important;
border-radius: 0.4285rem !important;
font-size: 0.75rem !important;
color: rgb(255, 255, 255, 0.8) !important;
background-color: #344675 !important;
padding: 5px 5px 5px 5px !important;
margin-left: 15px !important;
}
.autocomplete-suggest {
background-color: #419ef9 !important;
border-radius: 0.2rem !important;
margin-bottom: 2px !important;
}
.container-fluid {
height: 48px;
}
.margin-top-8 {
margin-top: 8px;
}
.table-custom td {
padding-left: 10px;
padding-right: 10px;
vertical-align: top;
}
.sidebar .logo a.simple-text {
text-transform: none;
}
.collapseHeader {
background-color: #344675;
width: 100%;
height: 35px;
line-height: 35px;
padding-left: 10px;
border: 1px solid !important;
border-color: #2b3553 !important;
border-top-color: rgb(43, 53, 83) !important;
border-right-color: rgb(43, 53, 83) !important;
border-bottom-color: rgb(43, 53, 83) !important;
border-left-color: rgb(43, 53, 83) !important;
color: rgb(255, 255, 255, 0.8);
margin-bottom: 0px !important;
}
.collapseContent {
width: 100%;
padding-left: 10px;
border: 1px solid !important;
border-color: #2b3553 !important;
border-top-color: rgb(43, 53, 83) !important;
border-right-color: rgb(43, 53, 83) !important;
border-bottom-color: rgb(43, 53, 83) !important;
border-left-color: rgb(43, 53, 83) !important;
color: rgb(255, 255, 255, 0.8);
border-radius: 0 !important;
}
.collapsed > .when-opened,
:not(.collapsed) > .when-closed {
display: none;
}
.card .collapseContent {
margin-bottom: 0px;
}
.card label,
.btn,
.card-title,
.modal-content label.card {
color: rgb(255, 255, 255, 0.8) !important;
}
.card-body .label-warning {
color: #ff6ca5 !important;
}
.icon-color-warning {
color: #ff6ca5;
}
.button-add {
margin: 0 !important;
padding: 10px 40px !important;
}
.button-30 {
margin: 0 !important;
padding: 10px 30px !important;
}
textarea.form-control {
line-height: 1.5 !important;
height: 125px !important;
max-height: 115px !important;
}
.textareaFileDetails textarea.textarea-customstyle {
height: 75px !important;
}
.textareaFileDetails {
margin-top: 6px;
margin-bottom: 6px;
position: relative;
padding-right: 15px;
}
.modal-content .modal-body textarea {
height: 52px !important;
}
.markdown-popup {
width: 100%;
height: 400px;
overflow-y: scroll;
}
.modal-dialog.modal-edit-small {
max-width: 40% !important;
height: 400px !important;
}
.modal-dialog.modal-edit-wide {
max-width: 70% !important;
}
.modal-dialog .modal-content .modal-body {
line-height: normal !important;
}
.modal-content.modal-dark-mode {
background-color: #27293d !important;
}
.modal-content label.card {
margin-bottom: 5px !important;
font-size: 0.75rem !important;
}
.modal-content .toggle-button {
margin-top: 4px;
}
.no-bottom-margin .form-group {
margin-bottom: 5px;
}
.vue-tooltip {
z-index: 1200 !important;
}
.collapse-trash-icon {
text-align: right;
}
.collapse-trash-icon i {
margin-bottom: 5px;
}
.modal-help .close {
color: black !important;
}
.modal-body .close {
color: white !important;
}
.sidebar .logo a.logo-mini .logo-img {
width: 50px !important;
height: 50px !important;
}
.sidebar .logo .logo-normal {
font-size: 1.2rem !important;
padding: 1.1rem 0 !important;
}
.sidebar .logo a.logo-mini,
.off-canvas-sidebar .logo a.logo-mini {
width: 57px !important;
}
.sidebar .logo a.logo-mini .logo-img img,
.off-canvas-sidebar .logo a.logo-mini .logo-img img {
max-width: 60px !important;
height: 40px !important;
width: 48px !important;
margin-top: 5px !important;
}
.logo-home {
width: 200px;
}
h4 {
font-weight: 500 !important;
}
#detailCard {
font-size: 1.0625rem !important;
font-weight: 500 !important;
}
.icon-pencil {
padding-left: 10px;
margin-top: -3px;
}
#checkmark {
margin-top: 8px !important;
padding-left: 10px;
}
.score-logbook {
padding-bottom: 8px;
}
.icon-example {
position: absolute;
z-index: 1;
right: 19px;
bottom: 3px;
}
.icon-example:after {
content: url(img/maximize-2.svg);
position: absolute;
z-index: 1;
right: 6px;
bottom: 3px;
cursor: pointer;
}
.sidebar span.logo-normal.custom-title {
text-transform: none !important;
padding: 0 !important;
font-size: 1.1rem !important;
}
.sidebar span.logo-normal.custom-title1 {
margin-top: 4px !important;
}

BIN
editor/dist/dettect-editor/favicon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 966 B

BIN
editor/dist/dettect-editor/img/logo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#d3d4d8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line></svg>

After

Width:  |  Height:  |  Size: 395 B

1
editor/dist/dettect-editor/index.html vendored Normal file
View File

@ -0,0 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><link rel=apple-touch-icon sizes=76x76 href=/dettect-editor/apple-icon.png><!--[if IE]><link rel="icon" type="image/png" sizes="96x96" href="/dettect-editor/favicon.png" /><![endif]--><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>DeTT&CT Editor</title><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1.5"><link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,600,700,800" rel=stylesheet><link href=https://use.fontawesome.com/releases/v5.0.6/css/all.css rel=stylesheet><link href=https://cdnjs.cloudflare.com/ajax/libs/bootstrap-rtl/3.4.0/css/bootstrap-rtl.css rel=stylesheet><link href=/dettect-editor/custom.css rel=stylesheet><link href=/dettect-editor/css/app.1edb8aa1.css rel=preload as=style><link href=/dettect-editor/css/chunk-vendors.132c3c8c.css rel=preload as=style><link href=/dettect-editor/js/app.b59a624d.js rel=preload as=script><link href=/dettect-editor/js/chunk-vendors.aa42b3b0.js rel=preload as=script><link href=/dettect-editor/css/chunk-vendors.132c3c8c.css rel=stylesheet><link href=/dettect-editor/css/app.1edb8aa1.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/dettect-editor/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/dettect-editor/img/icons/favicon-16x16.png><link rel=manifest href=/dettect-editor/manifest.json><meta name=theme-color content=#344675><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=#344675><meta name=apple-mobile-web-app-title content="DeTT&CT Editor"><link rel=apple-touch-icon href=/dettect-editor/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=/dettect-editor/img/icons/safari-pinned-tab.svg color=#344675><meta name=msapplication-TileImage content=/dettect-editor/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#344675></head><body><div class=wrapper id=app></div><script src=/dettect-editor/js/chunk-vendors.aa42b3b0.js></script><script src=/dettect-editor/js/app.b59a624d.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"name":"vue-black-dashboard","short_name":"vue-black-dashboard","theme_color":"#4DBA87","icons":[{"src":"./img/icons/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"./img/icons/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"start_url":"./index.html","display":"standalone","background_color":"#000000"}

View File

@ -0,0 +1,66 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "1ba167e3c77a713075e7",
"url": "/dettect-editor/css/app.1edb8aa1.css"
},
{
"revision": "719965ee0c633ef202b2",
"url": "/dettect-editor/css/chunk-vendors.132c3c8c.css"
},
{
"revision": "dcc1c1e6240a9be1c1d954e40912e920",
"url": "/dettect-editor/custom.css"
},
{
"revision": "5e37d2751ea1a9b3d2eacb66409446e7",
"url": "/dettect-editor/favicon.png"
},
{
"revision": "03ef1918e505c3e3471f9369ef7a638f",
"url": "/dettect-editor/fonts/nucleo.03ef1918.eot"
},
{
"revision": "5987dd12fea78ce5f97ae601b08ec03c",
"url": "/dettect-editor/fonts/nucleo.5987dd12.woff2"
},
{
"revision": "b17a118e13e53558658b681a0ebdad82",
"url": "/dettect-editor/fonts/nucleo.b17a118e.ttf"
},
{
"revision": "f0b489a5dbbff08833d21024f9fcbd4e",
"url": "/dettect-editor/fonts/nucleo.f0b489a5.woff"
},
{
"revision": "5e37d2751ea1a9b3d2eacb66409446e7",
"url": "/dettect-editor/img/favicon.png"
},
{
"revision": "e4ea5410d13209e2ff8ebc631dab1d58",
"url": "/dettect-editor/img/logo.png"
},
{
"revision": "33b25d7befb7cb1cfa382d49d6236c49",
"url": "/dettect-editor/img/logo_frame_only.png"
},
{
"revision": "8fa7c5b347ee3f73c298e1f552deab2b",
"url": "/dettect-editor/img/maximize-2.svg"
},
{
"revision": "c18b3662d96611b146c43a95358caa10",
"url": "/dettect-editor/index.html"
},
{
"revision": "1ba167e3c77a713075e7",
"url": "/dettect-editor/js/app.b59a624d.js"
},
{
"revision": "719965ee0c633ef202b2",
"url": "/dettect-editor/js/chunk-vendors.aa42b3b0.js"
},
{
"revision": "1a167cfd82a1a7480ea601fccc8d7e18",
"url": "/dettect-editor/manifest.json"
}
]);

View File

@ -0,0 +1,34 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/dettect-editor/precache-manifest.5a8ab632d0716eb84f5121d3996889d1.js"
);
workbox.core.setCacheNameDetails({prefix: "vue-black-dashboard"});
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});