Skip to content

C5Hackr/c_syscalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C_SYSCALLS

Single stub direct and indirect syscalling with runtime SSN resolving for windows.


Features:

  • Single stub
  • One single line for all your syscalls
  • Direct or Indirect sycalls
  • x86_64, WOW64 and x86 native support

How to use:

  • Call Syscall(<function>, <args>)

    NTSTATUS status = Syscall(NT_CLOSE, handle);


Notes:

  • Reimplementation of the ssn fetching method used here is recommended, the one showed in this repo is really simple and can present problems with certains AV/EDRs, more complex methods has been showed before, and implementing them is out of scope in this project.
  • For doing this, modifications to the GetSsn() function is needed, maintining its definition.

Thanks to SysWhispers3 for being a strong pilar on the development of this library, and Foliage for the implementation of the dbj2 hash, module/function addr resolving implementation and types definitions

About

https://github.com/janoglezcampos/c_syscalls with the ASM rewritten by myself for Visual Studio's Compiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published