In this section we will learn how to Enumerate Process on the victim device.

To do that we will use.

OpenProcess WinAPI

This WinAPI open a local process running on the device.

image.png

Now let’s dive to it’s parameters.

  1. dwDesiredAccess: this is the access you want to get on the process.

image.png

  1. bInheriitHandel: if this parameter is set to True that mean if this process craeted any new process the handel will inheret to those processes too.

image.png

  1. dwProcessId: This is the process Id of the remote process

image.png

EnumProcessModules