Giter Site home page Giter Site logo

syscalltables's Introduction

Syscall tables

Combined Windows x64 syscall tables

Ntoskrnl service tables

  • Windows 2003 SP2 build 3790 also Windows XP 64;
  • Windows Vista RTM build 6000;
  • Windows Vista SP2 build 6002;
  • Windows 7 SP1 build 7601;
  • Windows 8 RTM build 9200;
  • Windows 8.1 build 9600;
  • Windows 10 TP build 10061;
  • Windows 10 TH1 build 10240;
  • Windows 10 TH2 build 10586;
  • Windows 10 RS1 build 14393;
  • Windows 10 RS2 build 15063;
  • Windows 10 RS3 build 16299;
  • Windows 10 RS4 build 17134;
  • Windows 10 RS5 build 17763;
  • Windows 10 19H1 build 18362;
  • Windows 10 19H2 build 18363;
  • Windows 10 20H1 build 19041; * Note that 19042, 19043, 19044, 19045 are the same as 19041
  • Windows Server 2022 build 20348;
  • Windows 11 21H2 build 22000;
  • Windows 11 22H2 build 22621;
  • Windows 11 23H2 build 22631;
  • Windows 11 ADB build 23481;
  • Windows 11 24H2 build 25905;
  • Windows 11 24H2 build 25982;
  • Windows 11 24H2 build 26016;
  • Windows 11 24H2 build 26085.

** located in Tables\ntos

NT6 (Windows Vista/7/8/8.1) + bonus NT5.2 (Windows XP x64)

View online https://hfiref0x.github.io/NT6_syscalls.html

NT10 (Windows 10/11)

View online https://hfiref0x.github.io/NT10_syscalls.html

Win32k service tables

  • Windows Vista RTM build 6000;
  • Windows 7 SP1 build 7601;
  • Windows 8 RTM build 9200;
  • Windows 8.1 build 9600;
  • Windows 10 TH1 build 10240;
  • Windows 10 TH2 build 10586;
  • Windows 10 RS1 build 14393;
  • Windows 10 RS2 build 15063;
  • Windows 10 RS3 build 16299;
  • Windows 10 RS4 build 17134;
  • Windows 10 RS5 build 17763;
  • Windows 10 19H1 build 18362;
  • Windows 10 19H2 build 18363;
  • Windows 10 20H1 build 19041; * Note that 19042, 19043, 19044, 19045 are the same as 19041
  • Windows Server 2022 build 20348;
  • Windows 11 21H2 build 22000;
  • Windows 11 22H2 build 22621;
  • Windows 11 23H2 build 22631;
  • Windows 11 ADB build 23481;
  • Windows 11 24H2 build 25982;
  • Windows 11 24H2 build 26016;
  • Windows 11 24H2 build 26085.

** located in Tables\win32k

NT6 (Windows Vista/7/8/8.1)

View online https://hfiref0x.github.io/NT6_w32ksyscalls.html

NT10 (Windows 10/11)

View online https://hfiref0x.github.io/NT10_w32ksyscalls.html

Usage

  1. Dump syscall table list (using scg for ntoskrnl or wscg64 for win32k), see run examples for more info.

  2. [Tables] <- put syscall list text file named as build number inside directory (ntos subdirectory for ntoskrnl.exe tables, win32k subdirectory for win32k.sys tables);

  3. sstc.exe <- run composer with key -h to generate html output file, else output file will be saved in markdown table format. Specify -w as second param if you want to generate win32k combined syscall table. By default sstc will read files from "Tables" (without quotes) directory and compose output table. Specify -d "DirectoryName" (without quotes) if you want to generate table from different directory, in any case sstc will expect ntos and/or win32k subfolders are present inside target directory.

Run Examples:

  • scg64.exe c:\wfiles\ntdll\ntdll_7600.dll > table7600.txt
  • scg64.exe c:\wfiles\win32u\win32u_11.dll > win32u_11.txt
  • wscg64.exe c:\wfiles\win32k\10240\win32k.sys > wtable10240.txt
  • sstc -w
  • sstc -h
  • sstc -h -d OnlyW10
  • sstc -h -w

Build

Composer source code written in C#. In order to build from source you need Microsoft Visual Studio version 2017 and higher and .NET Framework version 4.5 and higher. Both scg and wscg source code written in C. In order to build from source you need Microsoft Visual Studio version 2017 with SDK 17763 installed and higher.

Authors

  • scg (c) 2018 - 2024 SyscallTables Project
  • sstComposer (c) 2016 - 2024 SyscallTables Project
  • wscg64 (c) 2016 - 2021 SyscallTables Project, portions (c) 2010 deroko of ARTeam

Original scg (c) 2011 gr8

syscalltables's People

Contributors

hfiref0x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

syscalltables's Issues

NtQuerySystemTime is missing in enum

NtQuerySystemTime is not listed as syscall because it implemented in user mode as query (RtlQuerySystemTime) of USER_SHARED_DATA -> SystemTime.

NtQuerySystemTime however implemented as service in ntoskrnl, where it is doing the same - reading SystemTime data field from kernel adddress of KUSER_SHARED_DATA. And finally nt!ZwQuerySystemTime implemented as call to nt!NtQuerySystemTime.

Back to ntdll, the missing ID is present because ntdll stubs syscall id indexed by stub number in array. So you have for example (10586) NtAccessCheckByTypeAndAuditAlarm syscall id = 89, NtQuerySystemTime and next to it NtWaitForMultipleObjects with syscall id = 91.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.