![]() |
Changing page permissions |
Post Reply
|
Page 12> |
| Author | ||
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Post Options
Quote Reply
Topic: Changing page permissionsPosted: 06 June 2006 at 10:24pm |
|
|
@greenMind: You are too late man
NtQueryVirtualMemory
|
||
|
Ring0 - the source of inspiration
|
||
![]() |
||
greenMind
Newbie
Joined: 06 June 2006 Location: Ukraine Online Status: Offline Posts: 15 |
Post Options
Quote Reply
Posted: 06 June 2006 at 1:36pm |
|
You can get allocation base for a given address using VirtualQuery. |
||
![]() |
||
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Post Options
Quote Reply
Posted: 30 May 2006 at 3:35am |
|
|
you got the list
you probably knows how to decode it, so why not use VirtualProtectEx, i'm sorry, but i don't understand maybe you post sample from your program for better understanding? regards. |
||
|
Ring0 - the source of inspiration
|
||
![]() |
||
ks2d
Newbie
Joined: 23 May 2006 Location: India Online Status: Offline Posts: 8 |
Post Options
Quote Reply
Posted: 30 May 2006 at 2:42am |
|
|
i cant use VirtualProtect()...it could have done the trick at 1 go itself...but it needs da chunk alloted with a single call to VirtualAlloc() that is why i am looking for a workaround...
|
||
|
"not all who wander r lost"
|
||
![]() |
||
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Post Options
Quote Reply
Posted: 30 May 2006 at 2:36am |
|
|
Ring0 - the source of inspiration
|
||
![]() |
||
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Post Options
Quote Reply
Posted: 30 May 2006 at 2:03am |
|
|
VirtualProtect?
VirtualProtectEx? Edited by EP_X0FF - 30 May 2006 at 2:04am |
||
|
Ring0 - the source of inspiration
|
||
![]() |
||
ks2d
Newbie
Joined: 23 May 2006 Location: India Online Status: Offline Posts: 8 |
Post Options
Quote Reply
Posted: 30 May 2006 at 1:58am |
|
|
Thanks a lot...now could anyone help me in changing the permissions of a given set of pages to READ-WRITE
|
||
|
"not all who wander r lost"
|
||
![]() |
||
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Post Options
Quote Reply
Posted: 29 May 2006 at 9:26pm |
|
|
for you driver this should work to retrieve info that you want ;)
|
||
|
Ring0 - the source of inspiration
|
||
![]() |
||
ks2d
Newbie
Joined: 23 May 2006 Location: India Online Status: Offline Posts: 8 |
Post Options
Quote Reply
Posted: 29 May 2006 at 3:12pm |
|
|
just reaffirming that the i will be using a driver so i will always have kernel priviledges...
|
||
|
"not all who wander r lost"
|
||
![]() |
||
ks2d
Newbie
Joined: 23 May 2006 Location: India Online Status: Offline Posts: 8 |
Post Options
Quote Reply
Posted: 29 May 2006 at 3:08pm |
|
|
..also, i want to change the permissions of only a subset of the working set which contains a given virtual memory range, Is there no way to do this??? even complicated techniques will be appriciated Edited by ks2d - 29 May 2006 at 3:09pm |
||
|
"not all who wander r lost"
|
||
![]() |
||
Post Reply
|
Page 12> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |