logo

Windows Internals: Secure Calls - The Bridge Between The NT Kernel and Secure Kernel

ID: 22a68cd6-78f0-5c5e-bb1e-408580bcb79d

STIX ID: report--22a68cd6-78f0-5c5e-bb1e-408580bcb79d

Feed Name: Connor McGarr’s Blog

Date Published: 2025-09-06

Date Updated: 2026-04-19

Author: Connor McGarr

...
...

This technical report reverse-engineers Windows Virtual Secure Mode’s secure call interface, showing how VTL0 requests services from the Secure Kernel (VTL1) via the Hyper-V hypercall path (`HvCallVtlCall`, 0x11) and how VM exits/entries, VMCS state, and GS-based per-CPU structures (partition, VMCS, virtual processor) are used to broker execution. It maps the flow from NT’s `VslpEnterIumSecureMode` through Hyper-V’s VM-exit handler to VTL transitions and Secure Kernel routines (`IumInvokeSecureService`, `SkpPrepareForNormalCall`), and explains parameter-passing patterns (MDLs, secure handles) and secure thread cookies. The author releases SkBridge to craft secure calls and references ETW-based monitoring (Vtl1Mon), providing researchers a practical interface to explore SK services.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.