The notes variable is not reset for each VAD, allowing bleed through of a previously set note value to VADs enumerated afterwards

This commit is contained in:
atcuno
2024-06-14 16:45:54 -05:00
parent 07794c7b29
commit 59f6a05068
@@ -155,12 +155,12 @@ class Malfind(interfaces.plugins.PluginInterface):
for proc in procs:
# by default, "Notes" column will be set to N/A
notes = renderers.NotApplicableValue()
process_name = utility.array_to_string(proc.ImageFileName)
for vad, data in self.list_injections(
self.context, kernel.layer_name, kernel.symbol_table_name, proc
):
notes = renderers.NotApplicableValue()
# Check for unique headers and update "Notes" column if criteria is met
if data[0:2] in refined_criteria:
notes = refined_criteria[data[0:2]]