Skip to content
forked from Kudayasu/Artifice

Xbox One Developer Mode Privilege Escalation

License

Notifications You must be signed in to change notification settings

tomumk/Artifice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Artifice

A custom tool designed to achieve privilege escalation autonomously for Xbox One Developer Mode.

tool

Learn more about the project here

Anything else Xbox related, check out the wiki

Project Composition

Artifice (Project)

  • Main WPF application.

Universal (Project)

  • UWP application utilized for accessing the Microsoft.Xbox.Development namespace.

WDP (Folder)

  • Samples\XboxWdpDriver: Primary helper application allowing for an easy way to interface with Windows Device Portal.
  • WindowsDevicePortalWrapper: Core portion of the wrapper.
  • The code for both you can find here.

XCopy (Folder)

  • ComClassActivation: C++ Universal project to supplement the main UWP app. Utilizes COM/WinRT to allow access to the Microsoft.Xbox.Development namespace.

Building

The main project that needs to be built is Universal. After running the Create App Packages command, copy the .msix from XCopy\AppPackages\Universal_1.0.0.0_x64_Test\Universal_1.0.0.0_x64.msix to the root Scratch folder Artifice\Scratch as art.msix and you're set.

It should be placed next to acl.bat art.bat icacls.exe net1.exe

After you've built the project and copied over the msix, ensure you have also copied the Dependencies folder to your Scratch root.

If you get stuck on Setting up SSH ensure you set Copy to Output Directory to Copy Always for every item within your Dependencies folder and your Scratch folder.

Post-Build Action

XboxWDPDriver: The default behavior after building is to copy the application's files WindowsDevicePortalWrapper.dll XboxWdpDriver.exe XboxWdpDriver.exe.config to the Scratch\WDP folder. You may change this in the project properties under Build Events.

Q&A

  • Q: What SKU does this work for?

  • A: Fundamentally, this should work for any generation. However, personal testing was done on an original Durango on the latest GA 10.0.25398.1762. Notably, there are anecdotal reports from Twitter of it working on a Slim, Xbox One X, and also in Skip Ahead. YMMV.

  • Q: What's the purpose of the toggle?

  • A: If you don't want to use the default set credentials of admin:admin for the admin profile, you'll be prompted to enter your own.

  • Q: I reached "Process Complete", but was unable to login. Why?

  • A: There are safeguards in place to prevent this from happening. However, if it does, restart your console and try again.

  • Q: The log displays error (0x********) when launching the UWP app, what's happening?

  • A: Typically a result of corruption (i.e. exiting Artifice as the install step takes place), or having had the app already installed. In most cases, you should be able to uninstall it via DevHome, WDP, or My Games & Apps. If the app fails to launch in StepFive, you'll be prompted to uninstall and restart your console. If the same error occurs on the next attempt (i.e. 0x80270300) - you'll need to exit Developer Mode and ensure you keep the Delete sideloaded games and apps checkbox ticked. Optionally, you may also perform a factory reset (keep games and apps is fine).

About

Xbox One Developer Mode Privilege Escalation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.0%
  • Other 1.0%