Fix ranged retrieval and allow for changing the LDAP authtype via the ldapconfig
Readme updates and a null check in gpolocalgroup
Some updates to try and fix running under netonly context
Code cleanup and logging
Adds some new properties to users based on BloodHoundAD/BloodHound#380. Also filters the unactionable local error exceptions
Removes the ToListAsync call which was failing when compiled through Fody. Adds more logging in various locations
Add version property to MetaTag
Add a new helper function for GPOLocalGroups
Adds GPO local group info to Domain and OU output objects
Adds a ping cache to the PortScanner
- Ping cache for port scanner
- ClearCache function for port scanner
- Add gpoptions to LDAP Properties
Refactors SPNTargets to include the edge name in the Service instead of a generic indicator. Renamed to SPNPrivilege
Adds some helper functions for using built in types instead of parsing by hand
Major overhaul for logging in the project. Removes async annotations for several functions that were running synchronously. Code cleanup.
- Better logging across almost all components of the library.
- Logging will now prefix classes that the logs are generated from for tracing
- Many LDAP Properties have been extracted into constants to prevent spelling errors
- More function comments
- Remove an internal DCOnly flag, replace in context
- Fixes ranged retrieval not working correctly
- Remove async from ResolveAccountName
- Remove async from GetBaseEnterpriseDC
- Remove async from GetSidFromDomainName
Adds the IsMSA and IsGMSA functions to search result entries
Adds the TestLDAPConfig function to LDAPUtils
Split privileged and unprivileged session enumeration. Add registry session enumeration. Expose some new functions and more prep for the new FOSS SharpHound
- Added the GetDomain function
- Added the ReadUserSessionsRegistry function
- Added an overload for ComputerAvailability allowing an override for portscan timeout
- Add missing computer datatype in consts
- Fixes resolution of GMSA accounts to user accounts earlier in resolution
Completely remove the Newtonsoft.JSON dependency. Prepare some components for FOSS SharpHound rewrite
- Add StatusNoSuchAlias to NTSTATUS
- Add a null check to property processors
- Fix some visibility issues for functions/classes
Bugfixes and code cleanup
- Properly dispose OBJECT_ATTRIBUTES in SamRPCServer
- Add a finalizer to SamRPCServer
- Add the PDB file for the common library to the nuget package
- Fix a nullpointerexception in ldap query exception handling
Allow AddFilter to be optional instead of mandatory AND
Bugfixes and two new edges
- Adds the WriteSPN edge
- Adds the AddKeyCredentialLink edge
- Fix LDAP filter incorrectly using OR instead of AND
- Fix an incorrect edge GUID in ACE processing
Bugfixes and debugging fixes
- Filter blank/null domains from NetWkstaUserEnum
- Fix unresolved domains in Well Known Principals
Populate the Enterprise Domain Controllers group properly
Adds new properties to well known principals, avoid returning null in most places.
- Add 'domainsid' property to well known principals
- Add 'domain' property to well known principals
- Add a function to return all seen well known principals for the current run
- Some more logging updates
- Fixes some incorrectly named well known principals
- Add some guards against null object identifiers
Fixes a consistency issue between OUs and Domain objects
More tests and a ton of code cleanup
- Force distinguished names coming back from group membership to upcase
More tests.
- Add the 'whenCreated' attribute to property collections
- Fix an error condition in ConvertTimestampToUnixEpoch
Add docfx action to github. Lots of refactoring of classes for testability, and lots more tests.
New project structure, addition of documentation and testing tool integration. Add several unit tests, and start making stuff non-static.
Fixes a bug in ACL processing that was resulting in duplicate items
- README.md
- CHANGELOG.md
- QUICKSTART.md
- tools/
- tools/scripts
- tools/scripts/app-build.ps1
- tools/scripts/app-test.ps1
- tools/scripts/app-publish.ps1
- tools/scripts/doc-build.ps1
- tools/scripts/doc-serve.ps1
- tools/scripts/doc-publish.ps1
- src/
- test/
- test/unit
- docfx/
- docs/
- Moved
CommonLib
into/src
folder
Add a bunch more logging, fix a missed memory free in the implementation of local group enumeration
Change the Unknown label to Base, remove dependencies on SearchResultEntries from all functions so they're consumable by anything
- Cache will now create missing items
- Fixed an accidental double add to the properties array
- Fix visibility of functions
- Fix a crash in session enumeration caused by marshalling incorrectly
- Fix well known sid resolution causing a Null Pointer Exception
Fixes some bugs in LDAP query logging, as well as cache serialization.
First official publish to Nuget and project setup