Procmonel is Procmon
like monitoring system implemented using Microsoft WDK.
Kernel Mode Filter Driver
that registers to kernel notificationsConsole Application
for sending user commands to kernel driver and to receive driver notifications
Kernel mode filter registers to following notifications:
- Process Notification Routine
a. Create
b. Terminate - Thread Notification Routine
a. Create
b. Terminate - Image Notification Routine
a. Image load inside a process (.dll
) - Registry Notification Routine
a. Create
b. Set Value
c. Delete Key
d. Delete Value - File operations
a. Create
b. Close
c. Cleanup
d. Read
e. Write
f. Set Attributes
- C
- WDK (Windows Driver Kit)
- Win32API
- Microsoft Visual Studio
- Compile project for
x64
platform - Test filter driver using
WinDbg
and connect to remote machine - Copy the output of compiled project including
.sys
,Setup Information
andSecurity Certificate
files - Install the driver by right-clicking on the
.sys
file and selectingInstall
- User is allowed to input
exit
command to stop monitoring - Console Application shows notifications from the driver in following form:
ProcMonel: [Time] | [Operation] | [PID] | [Path] | [Result] | [Details] |