the path to the target executable and a time interval
A table of handles that shows handles by type that the process interacted with. The goal is to provide the analyst with a snapshot of the system resources used by the process.
- Run our program with a path to the target executable
- We will start a suspended process running your target
- We will perform DLL injection on that process to hook CloseHandle
- We will then start your process.
- At the designated time interval, we will run handles.exe (from Sysinternals)
- Whenever CloseHandle is called, we will log the resource being closed.
- When the target process finishes or the user interupts, we will output results
- The logs of resource names (handles.txt) will be filtered and we will present the set of all resources touched by the target.