Commit 5364edb1 authored by tuxuser's avatar tuxuser
Browse files

Add elevation of privileges via unattended utilities

parent a860ac01
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
# SystemOS - Elevation of privileges via UnattendedUtilities

## Metadata
|                             |                                                     |
|-----------------------------|-----------------------------------------------------|
|Release date                 |                                          10.09.2019 |
|Author                       |                                   Xbox One Research |
|Classification               |                             Elevation of privileges |
|Patched                      |                                                  no |
|Patch date                   |                                                 N/A |
|First patched system version |                                                 N/A |
|Source                       |     https://github.com/xboxoneresearch/XboxUnattend |
|Download                     |                  [Download](files/XboxUnattend.zip) |

## Info
Normally you have limited user rights when connecting via SSH in development mode.
Via WinRT/COM Interop you can access *UnattendedUtilities* assembly and use it's script execution framework.

All commands executed by unattended scripts are done with **local administrator rights**.

## Prerequisites
- Dev Mode

## Instructions
Copy the extracted files to the console and the desired script to execute to the console.

For a script supplied via usb flash drive, execute:
```
xboxunattend.exe -usb
```

For a script in an arbitrary location
```
xboxunattend.exe -script D:\DevelopmentFiles\myscript.cmd
```
 No newline at end of file