Skip to content

Mister-Joe/StealToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StealToken

If a process is running as a domain admin on a host that you have local admin on, this tool can impersonate their process token and either create a new domain admin or create a new domain computer with DS-Replication-Get-Changes and DS-Replication-Get-Changes-All extended rights.

Usage

StealToken.exe --help

  -d, --domain      Required. The domain your target user belongs to.

  -u, --username    Required. The username of your target.

  --da              Required. Create a new user and add them to the Domain Admins group.

  --computer        Required. Create a new computer with DS-Replication-Get-Changes and
                    DS-Replication-Get-Changes-All extended rights.

  --help            Display this help screen.

  --version         Display version information.

Default Credentials

Change these in the source before building. A simple find & replace should suffice.

  • KeepCalm:SN3J3tQfC$otu!sO (Domain Admin)
  • KeepCalm$:SN3J3tQfC$otu!sO (Computer)

Add Domain Admin Example

image

image

Add Domain Computer Example

image

image

About

Escalate your privileges from local admin to domain admin through process token impersonation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages