![]() |
|
|
|
#1
|
|||
|
|||
|
omfg do you have win 3.11 or what, DEP is since SP2 in xp and since amd64 there is NX bit to prevent stack execution. dont you know virtuallocex to alloc mem in remote process and run all there?
|
|
#2
|
|||
|
|||
|
Human, I'm not looking for alternative ways to achieve the same result (such as using VirtualAllocEx and WriteProcessMemory), I was only curious to know why stack execution was failing.
By the way, DEP on my machine (I'm running Windows 2003) is enabled only for "essential programs and services" and I'm sure that notepad.exe (that is the process on which I tried stack execution) *is not* considered an essential program or service ![]() So I would say that DEP is not the cause of the failure. yaa |
|
#3
|
|||
|
|||
|
I just now made a test and it seems that the code I posted works fine on machines where DEP is SW (the CPU does not support it) and fails on machines where DEP is HW provided.
yaa |
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exectution on the stack | arnix | General Discussion | 2 | 05-09-2005 19:03 |
| DOS stack under Win2k | Nukacola | General Discussion | 2 | 12-07-2004 23:20 |
| Execution protection in WinXP SP2 | nine | General Discussion | 1 | 12-16-2003 04:11 |