From 64aca73d8a181007c6bfc6b5a0a6b5ecd24819d6 Mon Sep 17 00:00:00 2001 From: Tal Aloni Date: Sat, 6 Jan 2024 15:56:13 +0200 Subject: [PATCH] NTLMAuthenticationHelper: Calculate Authentication message MIC --- SMBLibrary/Client/Helpers/NTLMAuthenticationHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SMBLibrary/Client/Helpers/NTLMAuthenticationHelper.cs b/SMBLibrary/Client/Helpers/NTLMAuthenticationHelper.cs index 51ef25b..56a5cb8 100644 --- a/SMBLibrary/Client/Helpers/NTLMAuthenticationHelper.cs +++ b/SMBLibrary/Client/Helpers/NTLMAuthenticationHelper.cs @@ -162,6 +162,7 @@ namespace SMBLibrary.Client sessionKey = keyExchangeKey; } + authenticateMessage.CalculateMIC(sessionKey, negotiateMessageBytes, challengeMessageBytes); return authenticateMessage.GetBytes(); }