mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 14:57:18 +00:00
fix scripts for nobile and pre attack attack pattern
This commit is contained in:
parent
f6d7291e7a
commit
d82a76c08f
6 changed files with 4001 additions and 4001 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "Mobile Attack - Attack Pattern",
|
||||
"type": "mitre-mobile-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1c6d1332-1708-11e8-847c-e3c5643c41a5",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
||||
"name": "Mobile Attack - Attack Pattern",
|
||||
"type": "mitre-mobile-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1c6d1332-1708-11e8-847c-e3c5643c41a5",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "Pre Attack - Attack Pattern",
|
||||
"type": "mitre-pre-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1f665850-1708-11e8-9cfe-4792b2a91402",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
||||
"name": "Pre Attack - Attack Pattern",
|
||||
"type": "mitre-pre-attack-attack-pattern",
|
||||
"description": "ATT&CK Tactic",
|
||||
"uuid": "1f665850-1708-11e8-9cfe-4792b2a91402",
|
||||
"version": 3,
|
||||
"icon": "map"
|
||||
}
|
|
@ -32,7 +32,7 @@ for element in os.listdir('.'):
|
|||
value['meta']['external_id'] = reference['external_id']
|
||||
value['meta']['kill_chain'] = []
|
||||
for killchain in temp['kill_chain_phases']:
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':enterprise-attack:' + killchain['phase_name'])
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':mobile-attack:' + killchain['phase_name'])
|
||||
if 'x_mitre_data_sources' in temp:
|
||||
value['meta']['mitre_data_sources'] = temp['x_mitre_data_sources']
|
||||
if 'x_mitre_platforms' in temp:
|
||||
|
|
|
@ -32,7 +32,7 @@ for element in os.listdir('.'):
|
|||
value['meta']['external_id'] = reference['external_id']
|
||||
value['meta']['kill_chain'] = []
|
||||
for killchain in temp['kill_chain_phases']:
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':enterprise-attack:' + killchain['phase_name'])
|
||||
value['meta']['kill_chain'].append(killchain['kill_chain_name'] + ':pre-attack:' + killchain['phase_name'])
|
||||
if 'x_mitre_data_sources' in temp:
|
||||
value['meta']['mitre_data_sources'] = temp['x_mitre_data_sources']
|
||||
if 'x_mitre_platforms' in temp:
|
||||
|
|
Loading…
Reference in a new issue