forked from p15670423/monkey
Merge pull request #1493 from guardicore/credential_duplication_fix
Duplicate credentials in system info telem
This commit is contained in:
commit
beafc0bf9e
|
@ -47,7 +47,6 @@ class WindowsInfoCollector(InfoCollector):
|
||||||
if credentials:
|
if credentials:
|
||||||
if "credentials" in self.info:
|
if "credentials" in self.info:
|
||||||
self.info["credentials"].update(credentials)
|
self.info["credentials"].update(credentials)
|
||||||
self.info["mimikatz"] = credentials
|
|
||||||
logger.info("Mimikatz info gathered successfully")
|
logger.info("Mimikatz info gathered successfully")
|
||||||
else:
|
else:
|
||||||
logger.info("No mimikatz info was gathered")
|
logger.info("No mimikatz info was gathered")
|
||||||
|
|
|
@ -13,10 +13,7 @@ from monkey_island.cc.server_utils.encryption import (
|
||||||
encrypt_dict,
|
encrypt_dict,
|
||||||
)
|
)
|
||||||
|
|
||||||
sensitive_fields = [
|
sensitive_fields = [SensitiveField("data.credentials", MimikatzResultsEncryptor)]
|
||||||
SensitiveField("data.credentials", MimikatzResultsEncryptor),
|
|
||||||
SensitiveField("data.mimikatz", MimikatzResultsEncryptor),
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def save_telemetry(telemetry_dict: dict):
|
def save_telemetry(telemetry_dict: dict):
|
||||||
|
|
Loading…
Reference in New Issue