mirror of https://github.com/MISP/misp-modules
threatanalyzer_import - fix regkey issue
parent
d29e300312
commit
370011c081
|
@ -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…
Reference in New Issue