Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

DirectSyscall-Example

Example of how to use direct syscalls in a Windows environment. The example demonstrates opening and closing a file using the NtOpenFile and NtClose syscalls defined in assembly and called from C.

Overview

The project consists of the following components:

  • Assembly Code (direct_syscalls.asm): Defines the syscall procedures for NtOpenFile and NtClose.
  • Header File (syscalls.h): Declares the external syscall numbers and function prototypes.
  • C Code (DirectSyscall.cpp): Implements the main logic to get syscall numbers, initialize structures, and call the syscalls to open and close a file.

References:

Configure your Setup Assembly

Others Example Code Direct Syscall by VirtualAlllocEx

TO-DO

  • Indirect Syscall Example

About

Example of direct syscalls in Windows using NtOpenFile and NtClose Syscalls

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages