Steal-Token-RS is a Rust project showcasing how to obtain and impersonate a user's access token, enabling manipulation of system privileges.
- Retrieves the current user's access token.
- Impersonates another process and acquires its access token.
- Demonstrates the manipulation of system privileges.
- Rust programming language and Cargo build system installed.
- Windows operating system.
- Clone the repository:
git clone https://github.com/your-username/steal-token-rs.git
- Navigate to the project directory:
cd steal-token-rs
- Build the project:
cargo build --release
- Run the executable:
.\target\release\steal-token-rs.exe <PID>
- Replace
<PID>
with the Process ID (PID) of the target process whose token you want to steal.
- Replace
cargo build --release
.\target\release\steal-token-rs.exe 1234