Commit graph

323 commits

Author SHA1 Message Date
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
Tal Aloni
36ca529f79 Fixed infinite loop condition 2017-02-20 21:13:25 +02:00
Tal Aloni
b3df4dd01c SMB1: SMB_COM_TRANSACTION / SMB_COM_TRANSACTION2: interim response will now be sent when required 2017-02-20 21:11:46 +02:00
Tal Aloni
4d51c7eed4 SMB1 command processing code refactoring 2017-02-20 21:11:42 +02:00
Tal Aloni
23f6127808 SMBServer v1.1.3 2017-02-19 14:54:23 +02:00
Tal Aloni
589b6786ff LoginAPI: Added ImpersonateLoggedOnUser method 2017-02-19 13:53:37 +02:00
Tal Aloni
6cd06fb41f IntegratedNTLMAuthenticationProvider: GetContextAttribute will now return a valid access token 2017-02-19 13:53:06 +02:00
Tal Aloni
b433950077 SSPIHelper: Added GetAccessToken method 2017-02-19 13:50:21 +02:00
Tal Aloni
aaf4764f94 SSPIHelper: Improved compatibility with Win32 API 2017-02-19 13:47:32 +02:00
Tal Aloni
68a7552d6a Corrected handling of SMB_COM_RENAME 2017-02-18 19:38:58 +02:00
Tal Aloni
dc925568a1 NTFileSystemAdapter: Improved logging 2017-02-18 17:56:57 +02:00
Tal Aloni
b54cee3070 Call DeleteSecurityContext during Logoff 2017-02-18 16:14:40 +02:00
Tal Aloni
0764237260 store AuthenticationContext and AccessToken in SecurityContext 2017-02-18 16:13:34 +02:00
Tal Aloni
a84226abb9 GSS-style authentication, additional IGSSMechanism implementations can be provided 2017-02-18 16:10:03 +02:00
Tal Aloni
d4acf5900e Added IGSSMechanism interface 2017-02-18 14:07:41 +02:00
Tal Aloni
45dc792558 NTLMAuthenticationProviderBase: Return NTStatus instead of Win32Error 2017-02-18 13:59:24 +02:00