From 8bc6086e1a8395b681519b0d4a1b225ff9e8e126 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 8 Mar 2022 11:10:52 -0500 Subject: [PATCH] Agent: Correctly set propagation/exploitation status in Zerologon --- monkey/infection_monkey/exploit/zerologon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/zerologon.py b/monkey/infection_monkey/exploit/zerologon.py index 54ea21cd7..6f13f16c4 100644 --- a/monkey/infection_monkey/exploit/zerologon.py +++ b/monkey/infection_monkey/exploit/zerologon.py @@ -70,7 +70,8 @@ class ZerologonExploiter(HostExploiter): # Restore DC's original password. if _exploited: - self.exploit_result.propagation_success = True + self.exploit_result.propagation_success = False + self.exploit_result.exploitation_success = _exploited if self.restore_password(): self.exploit_info["password_restored"] = True self.store_extracted_creds_for_exploitation()