A forum for reverse engineering, OS internals and malware analysis 

 #27677  by BuFF
 Mon Jan 18, 2016 7:25 am
PAGE_EXECUTE > Enables execute access to the committed region of pages. An attempt to write to the committed region results in an access violation.

PAGE_EXECUTE_READ > Enables execute or read-only access to the committed region of pages. An attempt to write to the committed region results in an access violation.

Also check this out for more about it https://msdn.microsoft.com/en-au/librar ... 85%29.aspx

Aslo what are you doing to need this?
 #27678  by myid
 Mon Jan 18, 2016 8:33 am
BuFF wrote:PAGE_EXECUTE > Enables execute access to the committed region of pages. An attempt to write to the committed region results in an access violation.

PAGE_EXECUTE_READ > Enables execute or read-only access to the committed region of pages. An attempt to write to the committed region results in an access violation.

Also check this out for more about it https://msdn.microsoft.com/en-au/librar ... 85%29.aspx

Aslo what are you doing to need this?
Hi, I have read the MSDN.
But a page with PAGE_EXECUTE attribute (NO "READ" attribute) CAN BE READ.
If I use memcpy to copy a page with PAGE_EXECUTE attribute, it is OK, NO access violation.
 #27679  by BuFF
 Mon Jan 18, 2016 9:09 am
There is a (NO "READ") attribute there is the PAGE_NOACCESS attribute which Disables all access to the committed region of pages. An attempt to read from, write to, or execute the committed region results in an access violation. Also if your using the CreateFileMapping Function this will not work