Commit graph

338 commits

Author SHA1 Message Date
Tal Aloni
644e7d87d5 Independent / Integrated NTLMAuthenticationProvider: bugfix: MachineName was not read from AuthenticationMessage 2017-03-04 12:00:27 +02:00
Tal Aloni
3325d1842f ConnectionState: Renamed ServerDialect to Dialect 2017-03-04 11:26:49 +02:00
Tal Aloni
054d537c26 Added MachineName and CreationDT properties to SMB1Session and SMB2Session 2017-03-04 11:25:46 +02:00
Tal Aloni
e3dafa524f SMB1: Retrieve SessionKey from GSS mechanism and store it in SMB1Session 2017-03-04 11:23:44 +02:00
Tal Aloni
174e43f792 SMBServer: Hid internal methods and classes 2017-03-04 11:20:45 +02:00
Tal Aloni
cef7a6dc29 Moved SMBDialect to a separate class 2017-03-04 11:13:11 +02:00
Tal Aloni
f4fa70a280 SMBServer: Moved socket parameters to the Start method 2017-03-04 11:09:33 +02:00
Tal Aloni
c93bb66152 SMBServer: Added server Start / Stop log events and exception documentation 2017-03-04 11:06:26 +02:00
Tal Aloni
152f2cdaa0 Minor code refactoring 2017-03-04 11:05:03 +02:00
Tal Aloni
07c4ecfd0c SMBServer v1.1.5 2017-03-02 18:38:49 +02:00
Tal Aloni
8067925ea2 SMB2: Enable message signing if client request it 2017-03-02 16:56:43 +02:00
Tal Aloni
3e4d40b7ad SMB2: Retrieve SessionKey from GSS mechanism and store it in SMB2Session 2017-03-02 16:34:50 +02:00
Tal Aloni
641613ae8e SMB2: Correctly report server start time in SMB2_NEGOTIATE response 2017-03-02 16:26:27 +02:00
Tal Aloni
f693f7ff77 SMB2Command: Implemented signing in GetCommandChainBytes 2017-03-02 16:19:58 +02:00
Tal Aloni
5d9fa0fb6e IndependentNTLMAuthenticationProvider: Set KeyExchange NTLM flag if client request it 2017-03-02 15:27:37 +02:00
Tal Aloni
6bb9aa323b SMB2Header: Initalize Signature field on creation, added SignatureOffset constant 2017-03-02 14:29:05 +02:00
Tal Aloni
832b791fcc IntegratedNTLMAuthenticationProvider: The correct SessionKey will now be returned instead of EncryptedRandomSessionKey 2017-03-02 13:10:34 +02:00
Tal Aloni
f1d65fedd2 IndependentNTLMAuthenticationProvider: Compute and store SessionKey 2017-03-02 13:03:42 +02:00
Tal Aloni
1d756498f1 IndependentNTLMAuthenticationProvider: ChallengeMessage.NegotiateFlags are now properly set 2017-03-02 11:35:56 +02:00
Tal Aloni
6325053243 Renamed 2 NTLM NegotiateFlags 2017-03-02 11:25:24 +02:00
Tal Aloni
481f6d9278 Renamed SigningTests class to NTLMSigningTests 2017-03-02 11:18:47 +02:00
Tal Aloni
104d18b81b SSPIHelper: Added GetUserName and GetSessionKey methods 2017-03-01 22:14:15 +02:00
Tal Aloni
d3c46361d2 Added SMB2 message signing tests 2017-03-01 20:48:56 +02:00
Tal Aloni
fdf403d424 NTLM: Added session key computation helper method and tests 2017-03-01 20:47:44 +02:00
Tal Aloni
72a6ac2297 Renamed AuthenticationTests to NTLMAuthenticationTests 2017-03-01 20:45:08 +02:00
Tal Aloni
de6458ca5f Added RC4 encryption implementation 2017-02-27 18:59:37 +02:00
Tal Aloni
18979ae15f IOCtlHelper: Pass FSCTL_VALIDATE_NEGOTIATE_INFO / FSCTL_QUERY_NETWORK_INTERFACE_INFO to the INTFileStore layer, set response FileId 2017-02-26 22:18:36 +02:00
Tal Aloni
64702908d9 Workaround to prevent Windows 7 / 8 / 10 from sending ChangeNotify requests infinitely 2017-02-26 22:18:21 +02:00
Tal Aloni
c8b66a16c9 IntegratedNTLMAuthenticationProvider: Bugfix: IsGuest was not always set when the username did not exist 2017-02-26 19:43:17 +02:00
Tal Aloni
eaa8300e11 Pass FSCTL_PIPE_WAIT to the INTFileStore layer 2017-02-26 18:54:18 +02:00
Tal Aloni
1d532ed758 SMB1: set SMB_CSC_NO_CACHING on IPC share 2017-02-26 17:11:51 +02:00
Tal Aloni
4390f2e1a0 TreeConnectHelper: Improved code readability 2017-02-26 17:11:21 +02:00
Tal Aloni
0ed07c27d4 Updated OptionalSupportFlags to include all flags 2017-02-26 17:09:03 +02:00
Tal Aloni
0bcb921f84 Added additional NTStatus codes 2017-02-25 14:29:08 +02:00
Tal Aloni
f9b923772c SMB2Header: Added IsAsync and IsSigned properties 2017-02-25 14:17:26 +02:00
Tal Aloni
0ff1e40515 NTTransactHelper: Added comment 2017-02-22 20:48:25 +02:00
Tal Aloni
72c2d05402 SMB2: Improved CHANGE_NOTIFY request and response implementation 2017-02-22 20:45:29 +02:00
Tal Aloni
4cb219f61f Added NT_TRANSACT_NOTIFY_CHANGE response implementation 2017-02-22 20:44:15 +02:00
Tal Aloni
ae50cac87b Added FileNotifyInformation implementation 2017-02-22 20:41:19 +02:00
Tal Aloni
0ecf8089e1 Moved NotifyChangeFilter to NTFileStore\Enums 2017-02-22 20:35:38 +02:00
Tal Aloni
c4ca5009fd SMBServer v1.1.4 2017-02-21 13:20:53 +02:00
Tal Aloni
dd4fee6721 Skeleton SMB1Client implementation for tests 2017-02-21 13:13:29 +02:00
Tal Aloni
6b56e2a8ca Improved code readability and exception messages 2017-02-21 12:43:44 +02:00
Tal Aloni
2141e649fa Improved Netapi32.dll API compatibility 2017-02-21 12:29:16 +02:00
Tal Aloni
e554fffff6 Win32: Improved secur32.dll API compatibility 2017-02-21 12:21:52 +02:00
Tal Aloni
fc2e958e74 Moved Exceptions to SMBLibrary\Exceptions 2017-02-20 21:46:46 +02:00
Tal Aloni
d2defaa129 Improved SMB_COM_NT_CREATE_ANDX request implementation 2017-02-20 21:46:45 +02:00
Tal Aloni
8997f4e0dc Improved SMB_COM_SESSION_SETUP_ANDX request and response implementations 2017-02-20 21:46:45 +02:00
Tal Aloni
efc7c1fce9 Improved SMB_COM_NEGOTIATE response implementation 2017-02-20 21:46:40 +02:00
Tal Aloni
3f78fb81ff Improved NetBIOS related exception messages and documentation 2017-02-20 21:44:46 +02:00