From 27e2969e79fc3c1ba4177234e0871c2ad3e2e72a Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 27 Sep 2021 17:26:28 +0300 Subject: [PATCH 1/2] Remove the unnecessary "mimikatz" info from telemetry data since the exact same data is stored under "credentials" key --- monkey/infection_monkey/system_info/windows_info_collector.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/infection_monkey/system_info/windows_info_collector.py b/monkey/infection_monkey/system_info/windows_info_collector.py index 8051098d0..ffc720dff 100644 --- a/monkey/infection_monkey/system_info/windows_info_collector.py +++ b/monkey/infection_monkey/system_info/windows_info_collector.py @@ -47,7 +47,6 @@ class WindowsInfoCollector(InfoCollector): if credentials: if "credentials" in self.info: self.info["credentials"].update(credentials) - self.info["mimikatz"] = credentials logger.info("Mimikatz info gathered successfully") else: logger.info("No mimikatz info was gathered") From d240427ce239666fe104f2eab464e2325fde773a Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 28 Sep 2021 13:09:06 +0300 Subject: [PATCH 2/2] Remove mimikatz field from sensitive fields in telemetries since telemetries no longer contain such key --- monkey/monkey_island/cc/models/telemetries/telemetry_dal.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/models/telemetries/telemetry_dal.py b/monkey/monkey_island/cc/models/telemetries/telemetry_dal.py index c036c5776..d6425238f 100644 --- a/monkey/monkey_island/cc/models/telemetries/telemetry_dal.py +++ b/monkey/monkey_island/cc/models/telemetries/telemetry_dal.py @@ -13,10 +13,7 @@ from monkey_island.cc.server_utils.encryption import ( encrypt_dict, ) -sensitive_fields = [ - SensitiveField("data.credentials", MimikatzResultsEncryptor), - SensitiveField("data.mimikatz", MimikatzResultsEncryptor), -] +sensitive_fields = [SensitiveField("data.credentials", MimikatzResultsEncryptor)] def save_telemetry(telemetry_dict: dict):