Skip to content

Instantly share code, notes, and snippets.

View KiFilterFiberContext's full-sized avatar

KiFilterFiberContext

  • unemployed
  • United States
View GitHub Profile
@Wack0
Wack0 / getduid.cs
Last active December 22, 2023 10:26
clipc!GetOfflineDeviceUniqueID PoC.
using System;
using System.Runtime.InteropServices;
enum RETRIEVAL_METHOD {
ODUID_DEFAULT = 0,
ODUID_TPM_EK,
ODUID_UEFI_VARIABLE_TPM,
ODUID_UEFI_VARIABLE_RANDOMSEED,
ODUID_UEFI_DEV_LOCK_UNLOCK, // there is no code for this in clipsvc.dll, given the enum name, this could be Windows Phone only?
ODUID_XBOX_CONSOLE_ID, // this should never be seen, with xbox one a different function is called to get the console ID