Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-21-2023, 01:40
New Tiger New Tiger is offline
Friend
 
Join Date: Mar 2018
Posts: 42
Rept. Given: 0
Rept. Rcvd 6 Times in 4 Posts
Thanks Given: 52
Thanks Rcvd at 110 Times in 18 Posts
New Tiger Reputation: 6
Quote:
Originally Posted by Stingered View Post
Are you talking about the section headers? If so, then CFF explorer has this option to enable/disable the sections flags. Apologies if I misunderstand your question.

This might help you:

https://github.com/OsandaMalith/PESecInfo
Thanks for your reply. I tried already CCF and Stud_PE. Both show that the section flag for read and write are already ticked, meaning you can write to the specified section but no way. I tried also to patch the VirtualProtect function using the same way in x32 OS's but it always returns zero !!!!
I used the same way as below:

PUSH ESP
PUSH 40 // code writable
PUSH 1000 // size of code to make writable
PUSH 401000 // start address of code to make writable
CALL VirtualProtect // xxxxxxxx is address of VirtualProtect

I did this in several x32 app's and worked just fine but in x64 no way

Last edited by New Tiger; 02-21-2023 at 05:12.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to efficiently break on entering code section??? yaa General Discussion 4 05-08-2005 05:29
enable buttons code General Discussion 13 03-04-2003 15:42


All times are GMT +8. The time now is 10:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )