Tagged: Process impersonation

Java Impersonation using JNA and Waffle

Have you ever had the need to create a Java application that executes on behalf of a logged in Windows user? You can! In this post we will use JNA and Waffle to: Create a simple Java application to impersonate a Windows domain user. In a future post, we will see how this can also be done in a servlet! 1. Create a Java application to impersonate a Windows domain...

Windows process impersonation using RunAs, Windows APIs, and psexec

Impersonation is the ability of a thread or process to execute in a security context that is different from the context of the process that owns the thread or process. On Windows, there are many ways to impersonate a user. Some methods are very easy to use. Some are very insecure. In this post we will review the following methods: Using RunAs Using Windows APIs Using psexec Impersonation is also available...


Get every new post on this blog delivered to your Inbox.

Join other followers: