AI NuGet: Xign SDK
AI-first map for optional Xign driver infrastructure and XignProcess.
Xign SDK Discovery Map
Reference map for optional EyeAuras.XignSdk APIs. The SDK provides driver
loading and low-level device connection infrastructure for a packaged
Xign kernel driver plus the currently mapped protocol operations for direct
driver access, process memory, synchronous code execution, and driver-backed
process-control flows.
Process creation and ownership were checked against source at c8b2304: XignProcess, builder.
The PID-only path resolves _EPROCESS lazily using a temporary handle and closes
that handle after resolution. WithEprocess supplies a trusted existing address;
name selection requires that address. Builder-created wrappers own their
connections; a wrapper over a supplied IXignDriverConnection borrows it.
IsValid checks wrapper/connection state, not the success of future structure
or memory reads. Source review does not verify driver/Windows compatibility on
your machine.
Separate attachment from reading
The backend factory receives the selected PID, Xign SDK and a prepared compatible driver environment. Pass its IProcess to ordinary Memory API consumers. Attachment ownership and process identity checks remain with the host; swapping backends does not make offsets portable.
Start with LocalProcess when it can access the target. A package reference neither loads the driver nor establishes service registration. Integration is successful when the selected backend returns the intended modules/data, not merely when a wrapper object exists. Current managed contracts above come from c8b2304; historical driver observations do not guarantee a particular Windows layout or environment.
Important Caveat
EyeAuras.XignSdk uses the Xign driver, also known as XignCode3. Treat
XignProcess as a pragmatic temporary backend for controlled environments, not
as a universal compatibility guarantee. Xign/XignCode3 may conflict with other
kernel drivers, anti-cheat products, security software, Windows Code
Integrity/VBS, or local driver-loading policy.
For commercial or public products where user-machine compatibility must be
controlled, prefer a custom IProcess backend. Memory API keeps that migration
local: most downstream code should depend on IProcess, IProcess.Memory,
control interfaces, and helpers, so swapping XignProcess for another process
backend should usually be a small construction-site change.
User Intents
- Add optional Xign driver infrastructure to a script or tool project.
- Load/start the packaged Xign driver through normal Windows SCM APIs.
- Open the Xign device with
CreateFile. - Load the driver once through
XignDriverManager.Load(), then open direct driver connections without creatingXignProcess. - Query or stop the driver service through
XignDriverManager.IsLoadedandUnload()for explicit tooling/lifecycle flows. - Represent a target process as
XignProcess. - Read and write target memory through
XignProcess.Memory. - Use
XignDriverManagerandXignDriverConnectiondirectly when a tool needs driver commands without wrapping them inXignProcess. - Run the Xign-local process test pack to validate an
IProcessbackend or benchmark read/write throughput against bundled x86/x64 NetHost processes. - Execute an already-staged target function through
IProcessControlApi.ExecuteCode. - Use
XignProcessfor allocation/protection/free and x64 manual mapping when the host driver is compatible. Remote-thread creation, suspend/resume, and User APC are not implemented by this wrapper. - Keep the fixed xhunter1 command envelope documented without exposing vulnerability/demo primitives as public SDK APIs.
Concept Model
EyeAuras.XignSdkis an optional SDK package, not part of the core memory SDK.XignProcessimplementsIProcess,IProcessControlApi,IProcessSupportsManualMapping, andIProcessSupportsUserApcso it can be passed to APIs that expect a process abstraction with optional control capabilities.XignDriverManageris a public SCM loader/factory for direct driver connections. It can load the packaged driver independently throughLoad(), report running state throughIsLoaded, unload it throughUnload(), or open the device throughCreate(...).XignDriverConnectionis a public device connection that owns the xhunter1 command envelope, temporary init/auth session, response buffer, and typed command helpers.XignProcesscan be created by the builder/static helpers, which own the connection they open, or directly from a caller-ownedIXignDriverConnectionwhen a tool wants to mix raw driver commands with process abstraction APIs.XignProcess.Memoryselects the handleless core without an active lease and the open-handle core underEnterOpenProcess(); reads and writes delegate to that core.XignProcessprocess-information reads are structure-backed: it resolves the target_EPROCESSfrom the Xign-opened process handle throughSystemExtendedHandleInformation, then reads process name, modules, threads, architecture, and VAD-backed regions through_EPROCESS, PEB, loader lists, thread lists, and VAD structures.- Structure-backed kernel reads use Xign command 788; user-mode reads delegate to the selected memory core. Layout and required structure availability are checked separately.
XignProcessdelegates allocation/free/protection and ExecuteCode to its handleless core. Implementing a process-control interface does not guarantee support for every operation.XignDriverServiceConfigdefines the default service/device/payload identity:xhunter1,\\.\xhunter1, andxhunter1.sys.- The driver payload is expected at
Payloads/xhunter1.sysin the SDK project and is embedded when present. - Driver loading is SCM-only. It does not attempt DSE/signature bypasses.
- The driver connection frames the current xhunter1 packet shape: a 624-byte
request, a 16-byte-aligned user response buffer, and response status fields at
offsets
+12and+16. - Before normal commands, the connection initializes the driver and authenticates the current process. If a command fails, the temporary session state is invalidated and rebuilt on the next requested operation.
XignProcessTestPackis a temporary diagnostics surface in the Xign SDK. It validates arbitraryIProcesswrappers directly or starts bundled x86/x64 NetHost processes and asks the caller's factory to open each PID.
API Details
IXignProcess-IProcess,IProcessControlApi,IProcessSupportsManualMapping, andIProcessSupportsUserApcmarker for the Xign-backed target process.XignProcess.ByProcessId(processId)- attaches to a PID using the default builder without starting the driver.XignProcess.WithEprocess(address).ByProcessName(processName)selects a name and validates its PID against the supplied_EPROCESS; name-only attachment is not supported.XignProcess.WithLoadDriver(loadDriver)- returns anIXignProcessBuilderconfigured to create/start the packaged driver service before opening the device whenloadDriveris true.IXignProcess.EnterOpenProcess()returns a separate open-process-handle lease; dispose it before the process. The current builder has noWithOpenProcess.IXignProcessBuilder- builder forByProcessId,ByProcessName, andWithLoadDriver/WithEprocess.XignDriverServiceConfig.Default- default service/device/payload names.XignDriverManager.IsLoaded- reports whether the configured driver service is currently running.XignDriverManager.Load()- extracts, registers, and starts the packaged driver through SCM without creating a process wrapper; it is idempotent and returns without reloading when the service is already running.XignDriverManager.Unload()- stops the configured driver service when it is running; it does not delete the service registration or extracted payload.XignDriverManager.EnsureLoaded()- compatibility alias forLoad().XignDriverManager.Create(loadDriver = false)- optionally loads the packaged driver and returns an openedIXignDriverConnection; whenloadDriveris false and the device cannot be opened, the diagnostic should point callers towardXignProcess.WithLoadDriver(),Load(), orloadDriver: true.XignDriverConnection/IXignDriverConnection- direct device API for rawCall(command, args)and typed helpers such asPingEcho,QueryVersionStatus,OpenProcess,ReadUserMemory,ReadMemory, andExecuteCodeByProcessId.XignProcess.ByProcessId(connection, processId)- creates anIXignProcess/IProcesswrapper over an already-open caller-ownedIXignDriverConnection; disposing the process wrapper does not dispose the supplied connection.IXignProcess.Memory- supports byte/scalar read/write through the Xign connection and driver-opened process handles.IXignProcess.GetProcessModules()- reads modules via_EPROCESS -> PEB -> PEB.Ldr.InMemoryOrderModuleList.IXignProcess.GetThreads()- reads_EPROCESS.ThreadListHeadand projects ETHREAD entries toProcessThreadInformation.IXignProcess.VirtualQuery(address)andGetMemoryRegions()- read_EPROCESS.VadRootand return allocated VAD-backed ranges only.IXignProcess.ProcessName- resolves from PEB process parameters when available, otherwise from_EPROCESS.ImageFileName.IXignProcess.ExecuteCode(startAddress, parameter)- synchronously executes an already-staged x64 or x86 function in the target process through Xign command 820 and returns the pointer-sized value reported by the driver.IXignProcess.AllocateMemory,FreeMemory, andProtectMemorydelegate to the command-820 handleless core; acquiring a lease does not switch these methods to WinAPI.IXignProcess.CreateRemoteThread,SuspendProcess,ResumeProcess,SuspendThread, andResumeThreadthrowNotSupportedExceptionin this source snapshot. A lease does not enable them.IXignProcess.InjectDllViaManualMapping(...)- manual mapping through the sharedLibraryMapperusingXignProcess.MemoryandExecuteCode. This path requires an x64 target.- Both
IXignProcess.QueueUserApc(...)overloads throwNotSupportedExceptionin the current XignProcess wrapper. IXignProcess.EnterOpenProcess()- explicit lease that keeps the driver-opened process handle alive for a batch of operations.XignProcessTestPack.Validate(process)- runs safe capability checks against an arbitraryIProcess.XignProcessTestPack.ValidateBundledHosts(factory)- starts packaged x86/x64 NetHost processes and passes PID, architecture, and host path to the caller's process factory. Probe memory is allocated through the openedIProcesswhenIProcessControlApiis available.XignProcessTestPack.MeasurePerformance(process)andMeasurePerformanceBundledHosts(factory)- measure read/write throughput over configurable block sizes and worker counts.- The binary command packet structs are internal implementation details and are not exposed as a public command-authoring surface.
Current Limitations
XignDriverConnectionrequires a 64-bit host process.- User APC, remote-thread creation, and suspend/resume remain unsupported regardless of an open handle.
- Manual mapping checks architecture and supports only x64 targets in this snapshot, separately from x86 memory read/write support.
- Process-information methods depend on curated Windows kernel layout support. Unsupported builds, corrupt structure lists, missing handle-table object pointers, or invalid PEB/VAD data throw instead of silently using old WinAPI information paths.
- VAD-backed region enumeration reports allocated ranges from the VAD tree. It
does not synthesize free address-space holes and may not split every
per-page state the way
VirtualQueryExcan. - Raw
Call(command, args)exists for direct diagnostics, but packet DTOs and command-specific argument structs remain internal. Prefer typed helpers for mapped commands. - Real driver-load smoke tests require admin rights, a compatible host, and the
actual
Payloads/xhunter1.sysbinary.
Common Flows
-
Open an already-running Xign device:
- Reference
EyeAuras.XignSdk. - Call
XignProcess.ByProcessId(pid); name selection first requiresWithEprocess(address). - Validate
IsValid. - Use
Memory.Read<T>,Memory.Write<T>, span reads/writes, virtual-memory control, manual mapping, orExecuteCodewhen the host driver is compatible. - If the device-open error says the driver service is not loaded, switch the
construction path to
XignProcess.WithLoadDriver()or directXignDriverManager.Create(loadDriver: true).
- Reference
-
Start the packaged driver and open the device:
- Add the real driver as
Payloads/xhunter1.sysbefore packaging or manual tests. - Call
XignProcess.WithLoadDriver().ByProcessId(pid). - Handle SCM, permission, signature, VBS, and policy failures as environment setup issues.
- Add the real driver as
-
Execute staged code:
- Stage a target x64 or x86 function in the target process address space.
- Call
((IProcessControlApi)xignProcess).ExecuteCode(startAddress, parameter)orxignProcess.ExecuteCode(startAddress, parameter). - Treat the returned
ulongas the raw pointer-sized return value from the backend.
-
Manual-map a DLL:
- Create a
XignProcess, usually withWithLoadDriver().ByProcessId(pid)and a separateEnterOpenProcess()lease for integration-style flows. - Call
InjectDllViaManualMapping(pathOrBytes). - Architecture and process-directory discovery come from the same
_EPROCESS/PEB-backed information path used by module enumeration. - Use the returned
ManualMappedLibraryDescriptorto inspect base address and entry point if needed.
- Create a
-
Use direct driver commands:
- Create
new XignDriverManager(XignDriverServiceConfig.Default). - Check
IsLoadedif the tool wants to report current service state. - Call
Load()when the tool should start the packaged driver, or skip it when the driver is already running. - Call
Create()to open anIXignDriverConnection. - Use typed command helpers.
ReadUserMemoryis command 787 with a process handle;ReadMemoryis command 788 and copies bytes through the driver'sMmIsAddressValid-gated path. - If the same tool also needs
IProcess, constructXignProcess.ByProcessId(connection, pid)and keep the connection alive for the wrapper lifetime. - Call
Unload()only when the tool owns the driver lifetime and wants to stop the service.
- Create
-
Validate an Xign-compatible process implementation:
- Use
XignProcessTestPack.Validate(process)for an already-openIProcess. - Use
ValidateBundledHosts(context => OpenProcess(context.ProcessId))when the test pack should launch x86/x64 NetHost processes. - Pass
Options.LogorOptions.ProgressReporterfor live diagnostics. - Enable opt-in checks such as
XignScopedOpenProcess,ExecuteCode, or dispose-during-read only when the target backend and host are prepared for those scenarios.
- Use
Prefer
- Prefer
XignProcessonly when the Xign driver is expected to be available. - Prefer normal SCM loading and clear diagnostics for driver setup failures.
- Prefer high-level
IProcess.MemoryandIProcessControlApi.ExecuteCodeinstead of exposing command IDs publicly. - Prefer
EnterOpenProcess()around batches of memory/control operations. - Prefer treating
GetProcessModules,GetThreads,VirtualQuery, andGetMemoryRegionsas fail-fast structure-backed operations. - Prefer
IProcessfor downstream APIs that can tolerate backend-specific capability differences.
Avoid
- Avoid treating Xign as a KD/DBK backend; it has its own service/device identity.
- Avoid positioning Xign/XignCode3 as conflict-free infrastructure for public end-user machines.
- Avoid DSE bypass behavior in XignSdk.
- Avoid placing temporary driver files in repo project directories.
- Check implementations rather than inferring capability from the interface list; some methods explicitly remain unsupported.
- Avoid expecting migrated information methods to fall back to PSAPI, Toolhelp,
or
VirtualQueryEx.
Research Anchors
EyeAuras.XignSdkIXignProcessXignProcessIXignProcessBuilderXignDriverServiceConfigXignDriverManagerXignDriverConnectionIXignDriverConnectionIProcessIMemoryBackendIProcessControlApiIProcessSupportsManualMappingIProcessSupportsUserApcExecuteCodeInjectDllViaManualMappingEnterOpenProcessXignProcessTestPackValidateBundledHostsMeasurePerformanceBundledHostsReadMemoryReadUserMemoryCreateFileWriteFilexhunter1\\.\xhunter1xhunter1.sys
Search Synonyms
- Xign
- XignSdk
- XignProcess
- Xign driver
- driver service
- kernel driver
- SCM driver loading
- CreateFile driver
- WriteFile driver
- packaged driver
- process reader