From 6c4a5154425b02c638d4fe4a795704a19ab65d82 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Fri, 7 Jun 2019 10:12:02 +0300 Subject: [PATCH] ntlm credential display bugfix --- .../monkey_island/cc/services/attack/technique_reports/T1110.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py index b01a3c23b..040b05be2 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py @@ -53,7 +53,7 @@ class T1110(AttackTechnique): username = attempt['user'] if attempt['lm_hash']: return '%s ; LM hash %s ...' % (username, encryptor.dec(attempt['lm_hash'])[0:5]) - if attempt['lm_hash']: + if attempt['ntlm_hash']: return '%s ; NTLM hash %s ...' % (username, encryptor.dec(attempt['ntlm_hash'])[0:20]) if attempt['ssh_key']: return '%s ; SSH key %s ...' % (username, encryptor.dec(attempt['ssh_key'])[0:15])