Comments (9)
Hi there,
Thanks for the issue submission. Here is the error message I'm seeing in your post:
The trust relationship between this workstation and the primary domain failed
This error would indicate to me that there is something wrong with the trust between the system you are running this on, and the domain the computer is part of. Are you able to authenticate to the domain? If currently logged on, I'd try browsing the SYSVOL or viewing basic domain info via net, (ie: net accounts /domain
).
from bloodhound.
i tried your tests and everything works fine.. it seems that the exception raise on Export-BloundCSV cause running Get-BloundHoundData alone works without exceptions.
from bloodhound.
I think I know what the error might be, will dig into it in the next few days.
from bloodhound.
looking forward to hear from you..
from bloodhound.
The export functions attempt to do global catalog deconfliction for accounts that show up in more than one domain. The specific function where you're encountering the error is Get-NetForest
-> are you able to run Get-NetForest manually?
Are you also able to run the following two lines (used to determine the SID of the forest root):
$ForestObject = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest(); $ForestSid = (New-Object System.Security.Principal.NTAccount($ForestObject.RootDomain,"krbtgt")).Translate([System.Security.Principal.SecurityIdentifier]).Value
from bloodhound.
Hey Guys,
I am having the same error and when I run the lines in your last thread I get:
PS C:\> $ForestObject = [System.DirectoryServices.ActiveDirectory.Forest]::GetCu
rrentForest(); $ForestSid = (New-Object System.Security.Principal.NTAccount($For
estObject.RootDomain,"krbtgt")).Translate([System.Security.Principal.SecurityIde
ntifier]).Value
Exception calling "Translate" with "1" argument(s): "Some or all identity refer
ences could not be translated."
At line:1 char:194
+ $ForestObject = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrent
Forest(); $ForestSid = (New-Object System.Security.Principal.NTAccount($ForestO
bject.RootDomain,"krbtgt")).Translate <<<< ([System.Security.Principal.Security
Identifier]).Value
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
from bloodhound.
Alrighty, not sure what's going on here, but I modified some of the logic with 2819e5f (pull the master branch). The global catalog user mapping is now abstracted out to Get-GlobalCatalogUserMapping which uses a different method to enumerate the reachable global catalog for the domain.
Pull the master branch, try Get-GlobalCatalogUserMapping and/or the normal Get-BloodHoundData | Export-BloodHoundCSV
method again to see if the exception is solved.
from bloodhound.
That fixed it! Now I will hop over and submit an issue to the powerview module that is similar.
SG
from bloodhound.
Awesome, thanks!
from bloodhound.
Related Issues (20)
- Computer's HasSIDHistory property isn't processed
- Large users file, only SID visible in bloodhound. HOT 1
- (CRITICAL) No import with SharpHound v2.0.0 HOT 6
- BloodHound BLACKSCREEN!!
- Display current version information
- Can't import large AzureHound output files. HOT 1
- False positive edges with disabled GPO HOT 4
- Zip File not loading HOT 1
- Error importing computer JSON data into BloodHound HOT 3
- Sharphound --CollectionMethods all is not working properly.
- can't upload files HOT 2
- When I click on WriteDacl help bloodhound a white screen will appear HOT 1
- Cypher query timeout in 4.3.1
- Support for M2 : BloodHound Precompiled binary for Mac M2 HOT 2
- Cannot read property 'Results' of undefined? BloodHound 4.3.1 HOT 1
- Pathfinder query is missing the 'AZMGAddSecret' edge
- Hierarchical view locks nodes to center line when dragging
- Unzipping problem HOT 2
- Can't login on kali (running via docker-compose.yml)
- sharphound-v2.0.2 exe collector return empty domains.json file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloodhound.