NGStar.sys
NGStar.sys is the kernel-mode USB fingerprint sensor driver for NITGEN Fingkey Hamster II/III devices. The driver creates \Device\gstar-0 exposed as \\.\gstar-0 via IoCreateDevice with FILE_DEVICE_UNKNOWN and no IoCreateDeviceSecure call, making all 28 IOCTL codes (0x00222004-0x00222070) reachable by any unprivileged user-mode process (FILE_ANY_ACCESS on all codes). IOCTLs 0x0022206C and 0x00222070 allocate a fixed 10-byte NonPagedPool block via the deprecated ExAllocatePool API then pass it directly as the receive buffer for an uncapped USB bulk transfer with no post-transfer bounds check — kernel pool overflow leading to local privilege escalation to SYSTEM. ExAllocatePool (non-tagged, removed from Windows 11 and Server 2022 kernel exports) causes a kernel bugcheck (BSOD) on any IOCTL reaching the allocation path — confirmed local DoS. IOCTL 0x00222050 decrements a session reference counter at [rbp+0x40] via lock add without an underflow guard; counter wraps to 0xFFFFFFFF from zero, corrupting the device extension refcount and triggering premature cleanup leading to use-after-free. Driver carries no embedded PE signature; trusted via catalog fdu11.cat (VeriSign-signed, expired 2014, valid via timestamp countersignature). VT detection: 0/77.
Known samples 1
0 recorded TRUE · 0 recorded FALSE · 1 unknown for loading despite HVCI. Results apply to individual samples.
NGStar.sysSample 1 · HVCI unknown
- MD5
297a9b187c6897749bc7bb92d02e95c0- SHA1
3f102ab63f53869309443b5de9c9416a5e001284- SHA256
4542b20be7adceb61fa5f538fed8c395951e775dbd7c4a2f7c6aee477c4d924e- Imphash
f439f8c9fec466e01688b1d0833513a8- Authentihash MD5
b0f2bf18148addfad4ca53d4e00088b7- Authentihash SHA1
6ec95a0e99215e43742aec5fc55f2fe0345b3dc1- Authentihash SHA256
e2bc6987462f4cfe4de4b53add75822cb2a197a6958b10cb9d85e16788703d18- Machine
- AMD64
- Version
- 1, 0, 2, 11
- Publisher
- NITGEN&COMPANY Co., Ltd.
Recorded command
pnputil /add-driver fdu11.cat && sc.exe create ngstar binPath=C:\windows\temp\NGStar.sys type=kernel && sc.exe start ngstarLocal privilege escalation to SYSTEM via kernel pool overflow (IOCTLs 0x0022206C and 0x00222070 — fixed 10-byte NonPagedPool alloc passed as uncapped USB bulk receive buffer); confirmed kernel DoS / BSOD via deprecated ExAllocatePool on Windows 11 and Server 2022; device context use-after-free via session counter underflow (IOCTL 0x00222050). All primitives accessible from unprivileged user-mode after driver load. BYOVD: catalog-signed (0/77 VT), FILE_ANY_ACCESS surface reachable from any local process. · Privileges: kernel · OS: Windows 7, Windows 8, Windows 10, Windows 11
Acknowledgement: JayeshDuttBohra @BohraDJayesh

