Browse Source

threatanalyzer_import - fix regkey issue

pull/184/head
Christophe Vandeplas 4 years ago
parent
commit
370011c081
  1. 2
      misp_modules/modules/import_mod/threatanalyzer_import.py

2
misp_modules/modules/import_mod/threatanalyzer_import.py

@ -457,8 +457,6 @@ def cleanup_regkey(item): @@ -457,8 +457,6 @@ def cleanup_regkey(item):
r'\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bag',
r'\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU\\'
}
item = item.replace('\\REGISTRY\\MACHINE\\', 'HKLM\\')
item = item.replace('\\REGISTRY\\USER\\', 'HKCU\\')
if list_in_string(noise_substrings, item, regex=True):
return None
return item

Loading…
Cancel
Save