Comments (2)
Is this for usermode/kernelmode communication? You won't find a function in ntoskrnl not protected by PG. You have to look for a function that calls a function pointer located in .data (or any non-protected memory region) and then simply change that pointer to gain control flow.
The easiest way to find these is to just look at ntoskrnl in IDA with symbols. However, it wouldn't be hard to make a program that automatically scans the kernel for these:
- Search for
call rax
(orcall _guard_dispatch_icall
) instructions in code sections. - Backtrack and check if
rax
was set to a pointer in.data
. - Filter them with whatever criteria you think is best (which ones can be most easily invoked from usermode but have arguments to easily filter out legitimate calls).
from access.
yes its for usermode/kernelmode communication and many thanks for explanation.
from access.
Related Issues (20)
- Question HOT 1
- issue with smap HOT 2
- APEX driver HOT 1
- Injecting to Reclass HOT 1
- What is NtConvertBetweenAuxiliaryCounterAndPerformanceCounter?
- '[SC] StartService FAIL 123
- Can release the DLL file? HOT 2
- Can you make a dll ready
- need NtCreateThread and NtCreateThreadEx HOT 1
- you project ce debug bypass possible? HOT 1
- CE Debugger cant Attach to any process HOT 1
- Problem with driver
- There is a problem with cheat engine 7.4 and above, how do I change it? HOT 2
- Failed to hook "NtProtectVirtualMemory" HOT 1
- Patchguard HOT 1
- Driver not loading
- Detected on eac now. HOT 1
- Crashes ProcessHacker HOT 2
- [Question] using with C# application
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 access.