Commit graph

338 commits

Author SHA1 Message Date
Tal Aloni
fddc896cf6 SMB1: Return STATUS_NOT_IMPLEMENTED when receiving Remote Administration Protocol requests 2017-02-02 23:16:53 +02:00
Tal Aloni
28eeb61f27 SMB1: TransactionHelper: Added ability to use the Name parameter of SMB_COM_TRANSACTION 2017-02-02 23:11:39 +02:00
Tal Aloni
6f22af8bf8 NTTransactionRequest: Improved readability 2017-02-02 23:00:52 +02:00
Tal Aloni
dfbf01d538 TransactionRequest: Improved GetBytes implementation 2017-02-02 22:58:23 +02:00
Tal Aloni
d3a0a290c5 Corrected TransactionCallNamedPipeRequest / TransactionWaitNamedPipeRequest parameter name 2017-02-02 22:56:06 +02:00
Tal Aloni
b24345b5ca NTFileSystemHelper: Added OpenFile helper method 2017-02-02 22:53:40 +02:00
Tal Aloni
2460401955 NTFileSystemHelper: CreateFile: Updated logging messages 2017-02-02 22:50:24 +02:00
Tal Aloni
c4b6d9a08b Use FileId of previous request in request chain if operations are related 2017-02-01 23:19:41 +02:00
Tal Aloni
e597bd082a FindEntries will now properly handle directory path without backslash termination 2017-02-01 23:17:21 +02:00
Tal Aloni
88204faf9b SMB2: Honor SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB flag 2017-02-01 23:05:42 +02:00
Tal Aloni
092869efa1 SMB2: implemented server-initiated SPNEGO authentication 2017-01-23 22:51:21 +02:00
Tal Aloni
ee55b59a2f Return STATUS_ACCESS_DENIED when writing to file that was opened for reading and vice versa 2017-01-22 22:26:14 +02:00
Tal Aloni
1679629b47 Fixed InvalidCastException during SMB 2.002 connection 2017-01-22 22:24:42 +02:00
Tal Aloni
3539d3bd31 Updated Readme.md 2017-01-21 11:15:30 +02:00
Tal Aloni
723df4698b Updated UI to enable selection of SMB1.0/CIFS and/or SMB 2.0 / 2.1 2017-01-20 22:06:09 +02:00
Tal Aloni
55b83add4e Added SMB 2.0 / 2.1 server implementation 2017-01-20 22:04:07 +02:00
Tal Aloni
966096df5f Added SMB2 command structures and enums 2017-01-20 17:25:57 +02:00
Tal Aloni
d5b73a8f9d Added MS-FSCC enums and structures required for SMB2 2017-01-20 17:24:37 +02:00
Tal Aloni
cbe4160675 SMBServer v1.1.0 2017-01-20 15:03:33 +02:00
Tal Aloni
876e1dd43f ObjectIDBufferType1: Updated summary 2017-01-20 14:52:29 +02:00
Tal Aloni
b509b6d0be Updated Utilities 2017-01-20 13:56:57 +02:00
Tal Aloni
0641ccd6cf PrefetchStream: changed debug message 2017-01-20 13:56:57 +02:00
Tal Aloni
a8ea9554d0 Added logging of GetFileInformation and GetFileSystemInformation failures 2017-01-20 13:56:56 +02:00
Tal Aloni
7791f27276 Added SMB1FileSystemHelper.SetFileInformation helper method 2017-01-20 13:56:53 +02:00
Tal Aloni
7eb4c1ab2b GetFileInformation and GetFileSystemInformation now return NTStatus. STATUS_OS2_INVALID_LEVEL will now be returned when applicable. 2017-01-19 23:02:38 +02:00
Tal Aloni
859e939cff Minor refactoring 2017-01-19 22:57:46 +02:00
Tal Aloni
0a6a4fcf44 Added InformationLevel property to the SetInformation abstract class 2017-01-19 22:29:16 +02:00
Tal Aloni
841a267cdf Splitted InfoHelper to SMB1FileSystemHelper.Find / SMB1FileSystemHelper.Query / SMB1FileSystemHelper.QueryFileSystem 2017-01-19 22:21:12 +02:00
Tal Aloni
6170622714 Moved DeviceCharacteristics, DeviceType and FileSystemAttributes to Enums\FileSystemInformation and updated names 2017-01-19 22:10:04 +02:00
Tal Aloni
6772c0c33e IsNTLMv1ExtendedSecurity and IsNTLMv2NTResponse methods added to AuthenticationMessageUtils 2017-01-19 22:05:08 +02:00
Tal Aloni
f6feaced77 NTLMv2ClientChallenge: Renamed variables, exposed reserved fields 2017-01-19 22:00:17 +02:00
Tal Aloni
efc8c683ea AuthenticateMessage: Added comments 2017-01-19 21:53:04 +02:00
Tal Aloni
017a96240f Renamed NTLMv2ClientChallengeStructure class to NTLMv2ClientChallenge 2017-01-19 21:51:18 +02:00
Tal Aloni
1b8629ecb1 IndependentUserCollection: Renamed parameters and variables 2017-01-19 02:13:22 +02:00
Tal Aloni
29828befb4 Set NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY if applicable and improve code readability 2017-01-19 02:10:58 +02:00
Tal Aloni
0ee31e432b Use 48 as minimum length for NTLMv2's NtChallengeResponse 2017-01-19 02:09:04 +02:00
Tal Aloni
d9b661f829 NTLMv2ClientChallengeStructure: Added comments 2017-01-19 02:01:31 +02:00
Tal Aloni
4bd6bbd882 NTAuthentication: Will use ComputeNTLMv2Proof (instead of ComputeNTLMv2Response) to improve compatibility with clients
Xubuntu 16.04 will not add the necessary padding to
ClientChallengeStructure
2017-01-19 01:38:11 +02:00
Tal Aloni
d66208cfb8 IndependentUserCollection: Improved ChallengeMessage generation 2017-01-19 01:38:11 +02:00
Tal Aloni
ec4be00f90 NegotiateFlags values have been renamed 2017-01-19 01:38:11 +02:00
Tal Aloni
25b9ef4162 Remove NTLMSSP_REQUEST_TARGET and NTLMSSP_NEGOTIATE_SEAL when generating NegotiateMessage / AuthenticateMessage 2017-01-19 01:38:10 +02:00
Tal Aloni
d34565f080 LoginAPI: Properly handle ERROR_ACCOUNT_DISABLED 2017-01-19 01:38:10 +02:00
Tal Aloni
14cae2a68c Minor SPNEGO structures refactoring 2017-01-19 01:38:10 +02:00
Tal Aloni
4ac83f6d97 Return accept-completed at the final stage of a GSS authentication 2017-01-19 01:38:10 +02:00
Tal Aloni
8060b1df4d DerEncodingHelper: Fixed incorrect length calculation when length >= 255 bytes 2017-01-19 01:38:10 +02:00
Tal Aloni
dd4839e2f1 Improved NTFileSystemHelper's FindEntries implementation 2017-01-19 01:38:05 +02:00
Tal Aloni
bf9d519e9f NTFileSystemHelper: Added IsFileNameInExpression helper method 2017-01-18 00:42:31 +02:00
Tal Aloni
67976270ca Added NTFileSystemHelper.Find partial class 2017-01-18 00:22:57 +02:00
Tal Aloni
30ce7ff79c Properly handle NegotiateRequest 2017-01-17 21:54:49 +02:00
Tal Aloni
4722555728 Added CloseAfterRequest and CloseAtEndOfSearch properties to Transaction2FindFirst2Request 2017-01-17 21:32:42 +02:00