Comments (3)
wow64 and x64
from windows-syscalls.
@thegfw system service index is 0xF, that right. It's works well if you change it to "mov eax,0Fh".
from windows-syscalls.
@thegfw In the wow64 version of ntdll.dll, the upper 16 bits of the syscall ID encode information about the syscall's arguments, so that they can be correctly converted to how the 64-bit kernel expects them.
More specifically, the value is used by wow64cpu!TurboDispatchJumpAddressStart
to choose the dispatch function from the wow64cpu!TurboThunkDispatch
list:
00000000`77bb4620 0000000077bb1908 wow64cpu!ServiceNoTurbo
00000000`77bb4628 0000000077bb1e06 wow64cpu!Thunk0Arg
00000000`77bb4630 0000000077bb1ca8 wow64cpu!Thunk0ArgReloadState
00000000`77bb4638 0000000077bb1db6 wow64cpu!Thunk1ArgSp
00000000`77bb4640 0000000077bb1dc7 wow64cpu!Thunk1ArgNSp
[...]
In this case, wow64cpu!Thunk1ArgSp
(at index 3) is used to convert the single parameter of NtClose
, and then call into kernel-mode. So, the actual system call ID is still 0xF.
from windows-syscalls.
Related Issues (5)
- Add NtCreateThreadEx HOT 1
- Add support for 21H1 HOT 1
- Add support for Windows 11 Development builds HOT 1
- Host on github pages? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-syscalls.