Simple Python script that takes the output from PowerView's Get-DomainTrustMapping
and transforms it to GraphML. This output can be visualized in any number of ways, including with the yEd project:
PS > Get-DomainTrustMapping | Export-CSV -NoTypeInformation trusts.csv
The graph output will represent the access direction (opposite of trust direction).
Heaily adapted from @sixdub's DomainTrustExplorer project. Python script for analyis of the "trust.csv" file generated by Veil PowerView. Provides graph based analysis and output.
yEd intstructions from DomainTrustExplorer (properly parsing colors and labels within yEd's GraphML):
- Edit → Properties Mapper
- Add a configuration for node with a mapping for label, map to "Label Text"
- Apply
- Add a configuration for edge with a mapping for color, map to "Line Color"
- Apply, Ok
- Tools → Fit Node to Label, Ok
- Layout → Hierarchical
$ pip3 install -r requirements.txt