Skip to content

Commit

Permalink
Prep for CoerceToTGT (#119)
Browse files Browse the repository at this point in the history
* prep for CoerceToTGT

* chore: bump commonlib + version

---------

Co-authored-by: Rohan Vazarkar <rvazarkar@specterops.io>
  • Loading branch information
JonasBK and rvazarkar authored Oct 18, 2024
1 parent d197763 commit 6def97c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sharphound.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<LangVersion>latest</LangVersion>
<DebugType>full</DebugType>
<ApplicationIcon>favicon.ico</ApplicationIcon>
<Version>2.5.7</Version>
<FileVersion>2.5.7</FileVersion>
<Version>2.5.8</Version>
<FileVersion>2.5.8</FileVersion>
<Company>SpecterOps</Company>
<Product>SharpHound</Product>
<AssemblyName>SharpHound</AssemblyName>
Expand All @@ -24,8 +24,8 @@
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="SharpHoundCommon" Version="4.0.7" />
<PackageReference Include="SharpHoundRPC" Version="4.0.7" />
<PackageReference Include="SharpHoundCommon" Version="4.0.8" />
<PackageReference Include="SharpHoundRPC" Version="4.0.8" />
<PackageReference Include="SharpZipLib" Version="1.3.3" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
Expand Down
3 changes: 3 additions & 0 deletions src/Runtime/ObjectProcessors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ private async Task<User> 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)
Expand All @@ -153,6 +154,7 @@ private async Task<User> ProcessUserObject(IDirectoryObject entry,

ret.HasSIDHistory = userProps.SidHistory;
ret.AllowedToDelegate = userProps.AllowedToDelegate;
ret.UnconstrainedDelegation = userProps.UnconstrainedDelegation;
}

if ((_methods & CollectionMethod.SPNTargets) != 0) {
Expand Down Expand Up @@ -207,6 +209,7 @@ private async Task<Computer> ProcessComputerObject(IDirectoryObject entry,
ret.AllowedToAct = computerProps.AllowedToAct;
ret.HasSIDHistory = computerProps.SidHistory;
ret.DumpSMSAPassword = computerProps.DumpSMSAPassword;
ret.UnconstrainedDelegation = computerProps.UnconstrainedDelegation;
}

if ((_methods & CollectionMethod.Container) != 0) {
Expand Down

0 comments on commit 6def97c

Please sign in to comment.