Commit Graph

143 Commits (b531dfc6fa0a50f106f16e0c34e7020416373f9c)

Author SHA1 Message Date
David Hall 3454e9d34f Added unsafe CreateThread overload and changed PTHREAD_START_ROUTINE to ThreadProc 2019-07-16 11:53:20 -06:00
David Hall f9f7068a9d BREAKING CHANGE: Moved SecurityBaseApi.h functions to PInvoke.Security even though they live in Kernel32. Simplifies structure access and Security depends on Kernel32 anyway. 2019-07-12 16:57:28 -06:00
David Hall a2088da9aa Added SafePACL and CLAIM_SECURITY_ATTRIBUTES* structures 2019-07-12 13:45:36 -06:00
David Hall 8c0069a1a4 Fixed params on GetAclInformation 2019-07-12 13:44:42 -06:00
David Hall 0ca6f73c23 Added Everyone static field to SafePSID 2019-07-12 13:44:14 -06:00
David Hall 2f5ca286f5 Added BuildSecurityDescriptor overload for NULL values 2019-07-12 13:43:44 -06:00
David Hall 64b2911d5e BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling. 2019-07-12 09:49:54 -06:00
David Hall 3df4a4af97 BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -06:00
David Hall 96998e7c82 Added SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION to support new AuthzEnumerateSecurityEventSources overload. Removed AUTHZ_SOURCE_SCHEMA_REGISTRATION_IN in lieu of better use of AUTHZ_SOURCE_SCHEMA_REGISTRATION. 2019-07-03 14:47:25 -06:00
David Hall b78deacf02 Added CreateProcessAsUser with STARTUPINFOEX param 2019-06-26 17:49:08 -06:00
David Hall 0920c029ec Added MandatoryIntegrityLevelSIDRelativeID 2019-06-25 17:19:55 -06:00
David Hall fe11d25a59 Fixed FreeSid declaration 2019-06-25 17:19:33 -06:00
David Hall 0b3d8ba147 Added AdjustTokenPrivileges variations 2019-06-25 17:19:10 -06:00
David Hall 34ce5635ff Added constructor from SecurityIdentifier and Current property to SafePSID. 2019-06-25 17:11:42 -06:00
David Hall cd71160495 Corrected bug in AdjustTokenPrivileges and dependent code 2019-06-19 14:44:05 -06:00
David Hall 64d6a2f4f7 BREAKING CHANGE: Fixed #57 and all other CreateProcessXX references. Changed managed PROCESS_INFORMATION to SafePROCESS_INFORMATION and exposed native PROCESS_INFORMATION. If you were using PROCESS_INFORMATION before, please check it's use. It has changed now to SafePROCESS_INFORMATION. 2019-06-15 13:48:50 -06:00
David Hall c254e5e62d Added constructor to SID_AND_ATTRIBUTES 2019-06-09 10:00:03 -06:00
David Hall 422ab0a7dd Updated project files for 2.8.11 release 2019-06-07 20:42:41 -06:00
David Hall da8b40b1b9 Corrected more blittability problems 2019-06-07 11:51:47 -06:00
David Hall 68775cdb5b Fixed overlap issue with WAITCHAIN_NODE_INFO 2019-06-07 11:04:53 -06:00
David Hall 10b3aee029 Fixed comments, moved ToString content to DebuggerDisplay attribute where more apprpriate., corrected overlap and blittability problems with structures, add SafeLSA_UNICODE_STRING claass to deal with mem allocations. 2019-06-07 11:04:18 -06:00
David Hall 4b2ad79ab1 Added implicit conversion from PSID to SafePSID which copies the underlying content 2019-06-07 11:01:44 -06:00
David Hall b8564c6984 Fixed overlap problems with INSTALLSPEC 2019-06-07 11:01:03 -06:00
David Hall 138412c3a4 Fixed problem with CREDENTIAL layout, added managed equivalent and fixed CredEnum #54 2019-06-04 16:01:09 -06:00
David Hall f59831bc2c Updated project files for 2.3.10 2019-06-04 12:18:56 -06:00
David Hall 5ee2b906b7 Completed work on AdvApi32 2019-06-04 12:16:41 -06:00
David Hall c8cb9a29d7 Completed work on Wait Chains (wct.h) 2019-05-30 19:07:04 -06:00
David Hall ca8fcb7bf5 Added remainder of AdvApi32 Windows service management functions and provided .NET native security access functions and classes. 2019-05-30 13:37:31 -06:00
David Hall 9ca4cf1720 Added winefs.h functions 2019-05-27 19:40:40 -06:00
David Hall 58716021f7 Added Audit functions 2019-05-27 19:40:21 -06:00
David Hall f046f68ad2 Added SafePSID.CreateWellKnown factory method 2019-05-27 19:39:40 -06:00
David Hall dfda94ba24 Separated Audit functions into separate file 2019-05-27 19:39:00 -06:00
David Hall c801a5137a Added SafePACL 2019-05-27 19:38:27 -06:00
David Hall ddf0c5f0a6 Changed UInt32 to ACCESS_MASK where appropriate 2019-05-27 19:37:44 -06:00
David Hall 0b83c0a914 Updated projects for version 2.3.9 2019-05-25 19:47:54 -06:00
David Hall da3d9d27b9 Updated project information for 2.3.8 2019-05-13 14:55:44 -06:00
David Hall de5426a305 Added and corrected a number of methods and supporting types for Secur32.dll 2019-05-13 14:46:57 -06:00
David Hall e263b567f1 Added SecPkg structures 2019-05-13 14:44:36 -06:00
David Hall 49b489d4be Cleaned up code on marshalers 2019-05-13 14:43:03 -06:00
David Hall d48adda2ed Added support for Schannel.dll 2019-05-09 18:41:38 -06:00
David Hall d69470a78a Added partially documented LogonUserExExW 2019-05-09 17:42:36 -06:00
David Hall 136340947c Fixed sizing of LSA_UNICODE_STRING 2019-05-08 09:30:53 -06:00
David Hall 56f517d6e9 Updated project information for 2.3.8 2019-04-30 08:00:06 -06:00
David Hall 769d045df2 More security additions (advapi32, secur32) 2019-04-30 07:59:38 -06:00
David Hall 01ae59e0c8 Final tested work on Authz functions 2019-04-29 11:31:13 -06:00
David Hall 539f56d373 Untested: Complete translation of all Authz and Secur32 functions and structs 2019-04-25 14:40:23 -06:00
David Hall 0cc1d914d0 Updated project files for 2.3.7 release 2019-04-24 08:48:29 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall 6691b45642 Updated project file with additions 2019-04-10 13:24:47 -06:00
David Hall 7164c624b1 Added missing using statement 2019-04-10 13:10:35 -06:00