Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement/Idea]A token viewer with export option and capability to compare two processes security parameters would be nice to have #39

Open
GiantPluto opened this issue Oct 28, 2021 · 1 comment

Comments

@GiantPluto
Copy link

Token viewer is a very nice tool which is useful in wide variety of use cases w.r.t analysis of a process's security. It would be great if the below use cases are supported

  1. An export capability which would help in sharing the data with others.
  2. Comparing two instance of processes to see what is different among them w.r.t security parameters/token.

The need of second one arose when I was analyzing a store app where I was not able to access a file from one of the process running in a container. But a command prompt launched in the same security context with the tool called Hover (as per the documentation) was able to access it. I wanted to see how the privilege of command prompt launched from Hover is different from the actual process which failed to access a file. A comparison view which would result in showing the difference between these two processes would help in easier analysis.

@GiantPluto GiantPluto changed the title [Enhancement/Idea]A token viewer with export and compare capability would be nice to have [Enhancement/Idea]A token viewer with export option and capability to compare two processes security parameters would be nice to have Oct 28, 2021
@tyranid
Copy link
Collaborator

tyranid commented Oct 29, 2021

Thanks for the request, a few questions to try and determine what you want.

  1. What format are you expecting the export to be in? Plain text? machine readable (JSON/XML)? If it's just plain text then the powershell module provides the Format-NtToken command to convert a token into a readable format, not sure if that's enough for you. However it'd be nice to integrate with TokenViewer itself I'd guess.

  2. I guess again what sort of format are you expecting and to what level of detail? Typically it's probably enough to know that one token is sandboxed versus another which isn't which manual inspection would show. I think having a general comparison between tokens would be useful, but you could easily go down a rabbit hold of complexity so want to dial in what's of use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants