threatanalyzer_import - order of category tuned

pull/202/head
Christophe Vandeplas 5 years ago committed by GitHub
parent 70383447a0
commit ff793bc221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      misp_modules/modules/import_mod/threatanalyzer_import.py

@ -69,7 +69,7 @@ def handler(q=False):
results.append({
'values': current_sample_filename,
'data': base64.b64encode(file_data).decode(),
'type': 'malware-sample', 'categories': ['Artifacts dropped', 'Payload delivery'], 'to_ids': True, 'comment': ''})
'type': 'malware-sample', 'categories': ['Payload delivery', 'Artifacts dropped'], 'to_ids': True, 'comment': ''})
if 'Analysis/analysis.json' in zip_file_name:
with zf.open(zip_file_name, mode='r', pwd=None) as fp:

Loading…
Cancel
Save