> For the complete documentation index, see [llms.txt](https://leo4j.gitbook.io/amnesiac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leo4j.gitbook.io/amnesiac/sessions/local-actions/getsystem.md).

# GetSystem

Get a System Shell | https\://github.com/Leo4j/Invoke-RunAsSystem

The `GetSystem` command in Amnesiac attempts to elevate privileges to NT AUTHORITY\SYSTEM.

The module works by creating a new service, starting that service, and then leveraging the service's context to run commands with SYSTEM privileges. It will establish a named pipe server in a new service process and a named pipe client in the current session to communicate with the server. This allows the user to interact with the target system as if they have SYSTEM privileges, executing commands with elevated rights.

It's important to note that:

* This command doesn't technically elevate the current session but rather creates a new session as SYSTEM
* It should be executed with administrator privileges
