Report attack matrix headers now link to attack technique type description on mitre

This commit is contained in:
VakarisZ 2019-11-25 11:28:47 +02:00
parent 1dc6949829
commit 111b762f23
3 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,7 @@ SCHEMA = {
"execution": {
"title": "Execution",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0002/",
"properties": {
"T1059": {
"title": "T1059 Command line interface",
@ -62,6 +63,7 @@ SCHEMA = {
"defence_evasion": {
"title": "Defence evasion",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0005/",
"properties": {
"T1197": {
"title": "T1197 BITS jobs",
@ -92,6 +94,7 @@ SCHEMA = {
"credential_access": {
"title": "Credential access",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0006/",
"properties": {
"T1110": {
"title": "T1110 Brute force",
@ -129,6 +132,7 @@ SCHEMA = {
"discovery": {
"title": "Discovery",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0007/",
"properties": {
"T1018": {
"title": "T1018 Remote System Discovery",
@ -163,6 +167,7 @@ SCHEMA = {
"lateral_movement": {
"title": "Lateral movement",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0008/",
"properties": {
"T1210": {
"title": "T1210 Exploitation of Remote services",
@ -203,6 +208,7 @@ SCHEMA = {
"collection": {
"title": "Collection",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0009/",
"properties": {
"T1005": {
"title": "T1005 Data from local system",
@ -218,6 +224,7 @@ SCHEMA = {
"command_and_control": {
"title": "Command and Control",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0011/",
"properties": {
"T1090": {
"title": "T1090 Connection proxy",
@ -248,6 +255,7 @@ SCHEMA = {
"exfiltration": {
"title": "Exfiltration",
"type": "object",
"link": "https://attack.mitre.org/tactics/TA0010/",
"properties": {
"T1041": {
"title": "T1041 Exfiltration Over Command and Control Channel",

View File

@ -7,7 +7,7 @@ import '../../styles/report/AttackReport.scss'
import AuthComponent from '../AuthComponent';
import {ScanStatus} from '../attack/techniques/Helpers';
import Collapse from '@kunukn/react-collapse';
import Matrix from './attack/Matrix';
import Matrix from './attack/ReportMatrix';
import T1210 from '../attack/techniques/T1210';
import T1197 from '../attack/techniques/T1197';

View File

@ -19,7 +19,7 @@ class MatrixComponent extends React.Component {
}
let tech_type = this.state.schema.properties[type_key];
columns.push({
Header: tech_type.title,
Header: () => (<a href={tech_type.link}>{tech_type.title}</a>),
id: type_key,
accessor: x => MatrixComponent.renderTechnique(x[tech_type.title]),
style: {'whiteSpace': 'unset'}