[SOLVED] CPE457-Lab 10 PROCESSES AND VIRTUAL MEMORY

20.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

When performing reverse engineering activities related to malware analysis, it is important to understand the components that make up the program. Particularly, malware that utilizes obfuscation will leverage dynamically allocated memory for deobfuscation, allowing the analyst better insight into program behavior.

Answer the Following Questions

Execute the sample program given to you then answer the following questions. When finished, press “CTRL-C” to terminate the process.

  1. The program allocates memory at a virtual address of 0xca0000:
    1. What is the size of this allocation?
    2. What are the permissions?
    3. What is the status (or type)? What does that mean?
    4. What is the value written at the beginning of this allocation?
    5. What would a call to VirtualAlloc look like to make this memory allocation?
  2. The program allocates memory at a virtual address of 0xab0000:
    1. What are the permissions? How can a program use that differently than the previous allocation?
    2. Why can you not inspect the content of this memory allocation?
    3. What would a call to VirtualAlloc look like to make this memory allocation?

 

  1. There is another allocation that has RWX permissions:
    1. What does it appear that this allocation is used for?

 

 

  1. What handles does this program have open? Describe the importance of each one (or speculate if it’s not clear why the program has that handle).
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.