From 79b84759070b450f1b600ad3a4de5ce58f0f29e2 Mon Sep 17 00:00:00 2001 From: JonasBK Date: Wed, 16 Oct 2024 08:36:54 -0700 Subject: [PATCH 1/2] prep for CoerceToTGT --- src/Runtime/ObjectProcessors.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index 61a242b..ca134b1 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -127,6 +127,7 @@ private async Task ProcessUserObject(IDirectoryObject entry, ret.Properties.Add("samaccountname", entry.GetProperty(LDAPProperties.SAMAccountName)); if (entry.IsMSA()) ret.Properties.Add("msa", true); if (entry.IsGMSA()) ret.Properties.Add("gmsa", true); + ret.DomainSID = resolvedSearchResult.DomainSid; if ((_methods & CollectionMethod.ACL) != 0) { var aces = await _aclProcessor.ProcessACL(resolvedSearchResult, entry) @@ -153,6 +154,7 @@ private async Task ProcessUserObject(IDirectoryObject entry, ret.HasSIDHistory = userProps.SidHistory; ret.AllowedToDelegate = userProps.AllowedToDelegate; + ret.UnconstrainedDelegation = userProps.UnconstrainedDelegation; } if ((_methods & CollectionMethod.SPNTargets) != 0) { @@ -207,6 +209,7 @@ private async Task ProcessComputerObject(IDirectoryObject entry, ret.AllowedToAct = computerProps.AllowedToAct; ret.HasSIDHistory = computerProps.SidHistory; ret.DumpSMSAPassword = computerProps.DumpSMSAPassword; + ret.UnconstrainedDelegation = computerProps.UnconstrainedDelegation; } if ((_methods & CollectionMethod.Container) != 0) { From b85479bd38aefad442c2b8f542b10739ff860c17 Mon Sep 17 00:00:00 2001 From: Rohan Vazarkar Date: Fri, 18 Oct 2024 12:37:53 -0400 Subject: [PATCH 2/2] chore: bump commonlib + version --- Sharphound.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sharphound.csproj b/Sharphound.csproj index b9d7678..fe00a88 100644 --- a/Sharphound.csproj +++ b/Sharphound.csproj @@ -6,8 +6,8 @@ latest full favicon.ico - 2.5.7 - 2.5.7 + 2.5.8 + 2.5.8 SpecterOps SharpHound SharpHound @@ -24,8 +24,8 @@ - - + +