Merge pull request #184 from cvandeplas/master

threatanalyzer_import - fix regkey issue
pull/188/head
Christophe Vandeplas 5 years ago committed by GitHub
commit 35a19b118a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      misp_modules/modules/import_mod/threatanalyzer_import.py

@ -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