Commit graph

312 commits

Author SHA1 Message Date
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
Tal Aloni
bac24a8b0a Added NTFileSystemHelper class
Helper class to access the FileSystemShare / NamedPipeShare in an
NT-like manner dictated by the SMB protocol
2017-01-17 21:26:33 +02:00
Tal Aloni
d5dee56079 Set DeletePending if FILE_DELETE_ON_CLOSE has been set 2017-01-17 21:22:27 +02:00
Tal Aloni
26ca17c4b9 Improved open-search management 2017-01-17 21:17:56 +02:00
Tal Aloni
049cb5b104 Improved session management logic 2017-01-17 18:21:14 +02:00
Tal Aloni
54efee89a4 Renamed OpenedFileObject to OpenFileObject 2017-01-17 18:09:53 +02:00
Tal Aloni
73af59314c SMBServer 1.0.9 2017-01-14 20:10:33 +02:00
Tal Aloni
d42240ffa1 Refactored ReadWriteResponseHelper 2017-01-14 19:52:55 +02:00
Tal Aloni
2049be2220 Moved UTime helper methods from SMB1Helper to UTimeHelper 2017-01-14 19:45:12 +02:00
Tal Aloni
8e67e1fab8 Moved FILETIME helper methods from SMB1Helper to FileTimeHelper 2017-01-14 19:45:12 +02:00
Tal Aloni
e1db838618 Bugfix: Transaction2Open2Response: Incorrect value was set as default CreationTime 2017-01-14 19:45:12 +02:00
Tal Aloni
9265858968 Removed leading slash from ServerService.PipeName and WorkstationService.PipeName 2017-01-14 19:45:07 +02:00
Tal Aloni
f22cfcbc1c Refactored NTCreateHelper 2017-01-14 14:50:14 +02:00
Tal Aloni
2508ba07e1 Removed DesiredAccess (duplicate of FileAccessMask) 2017-01-14 14:47:36 +02:00
Tal Aloni
bbd572e938 Added conversion operators to and from AccessMask 2017-01-14 14:47:30 +02:00
Tal Aloni
2a4cb0f789 AccessMask related bugfixes 2017-01-14 14:34:39 +02:00
Tal Aloni
584ca8da61 Remove connected user from connection state on Logoff 2017-01-14 14:31:50 +02:00
Tal Aloni
fb68513c16 Hid internal SMB1ConnectionState variables 2017-01-14 14:30:40 +02:00
Tal Aloni
211adcc78a Added RPCPipeStream to improve read / write abstraction 2017-01-14 00:56:35 +02:00
Tal Aloni
3f36591e14 RPC PDUs can now be read starting from a specified buffer offset 2017-01-14 00:22:38 +02:00
Tal Aloni
f809d337c8 Improved connected trees management logic 2017-01-13 23:42:39 +02:00
Tal Aloni
40a9b52cfc Added authentication related logging 2017-01-13 23:35:18 +02:00
Tal Aloni
345f4ae444 Improved NTLM authentication API and implementation 2017-01-13 23:34:37 +02:00
Tal Aloni
6e52e002a6 LoginAPI improvements 2017-01-13 22:36:52 +02:00
Tal Aloni
d4fb2ba562 SSPIHelper: Improved documentation 2017-01-13 22:36:20 +02:00
Tal Aloni
0be9ecb03b Added the Guest account with read permissions to the example user list 2017-01-13 15:07:46 +02:00
Tal Aloni
14300819ef More control over which users are permitted access via the guest user account if the normal authentication process fails 2017-01-13 15:02:18 +02:00