Jump to content
Tuts 4 You
Sign in to follow this  
big_coder

VirtualQuery dumping manually mapped pages

Recommended Posts

big_coder

Hello. I'm trying to use VirtualQuery to scan for manually mapped / loaded without LoadLibrary DLL pages inside of a process. I'm scanning between the maximum and minimum application addresses from GetSystemInfo, and increment the current address passed into VirtualQuery each loop itteration by RegionSize from MEMORY_BASIC_INFORMATION; My question is, what checks should I put on MBI allocationbase, state, protect, type etc. in order to find manually mapped pages of the DLL in the process. In the end I want to be able to dump the pages of the .text, .rdata, .data, etc. segments from the process for further analysis.

Edited by big_coder (see edit history)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...