Skip to content

MobSlicer152/ntprogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Native API demos

This repository contains some nice demos of using the native API on Windows, including these:

  • process: uses NtCreateUserProcess to run calc.exe. Works on Windows 11.
  • template: a template mainCRTStartup function

There is also a support library that implements the security cookie functions and eventually other ones if needed.

Build instructions

There is a Visual Studio 2022 solution with some hand edited project files. The mknew.py script can make new projects, which can then be added to the solution. You need the WDK because there are additional exports and some support code in ntdllp.lib which is part of the WDK.

Libraries included

The phnt headers from Process Hacker are (obviously) used for their massive wealth of definitions and declarations.

There are also import libraries generated from Windows libraries such as win32u.dll.

Releases

No releases published

Packages

No packages published