@@ -10,8 +10,18 @@ A universal event automation system for Windows built in Rust. Monitor file syst
1010### Event Sources
1111- ** File System Watcher** - Monitor file creation, modification, deletion with pattern matching
1212- ** Window Event Monitor** - Track window focus, creation, destruction using Win32 API
13- - ** Process Monitor** - Detect process start/stop events with filtering
14- - ** Registry Monitor** - Watch registry key changes in real-time
13+ - ** Process Monitor** - Kernel-level ETW process monitoring with real-time events (process, thread, file I/O, network)
14+ - ** Requires Administrator privileges**
15+ - Process start/stop events with full details (PID, parent PID, command line, session ID)
16+ - Thread creation/destruction monitoring
17+ - File I/O operations per process
18+ - Network connections per process
19+ - ** Registry Monitor** - Kernel-level ETW registry monitoring with real-time events
20+ - ** Requires Administrator privileges**
21+ - Registry key creation, deletion, modification
22+ - Registry value set, delete, modify operations
23+ - Process context for each operation
24+ - Filter by registry hive and path
1525
1626### Rule Engine
1727- Pattern-based matching using glob syntax (` *.txt ` , ` **/*.log ` )
@@ -115,7 +125,10 @@ enabled = false
115125[[sources ]]
116126name = " process_monitor"
117127type = " process_monitor"
118- poll_interval_seconds = 2
128+ process_name = " chrome"
129+ monitor_threads = false
130+ monitor_files = false
131+ monitor_network = false
119132enabled = false
120133
121134# Registry monitor - watch for system changes
@@ -227,8 +240,8 @@ engine.exe --uninstall
227240│ Event Sources: │
228241│ ├── File Watcher (notify crate) │
229242│ ├── Window Watcher (Win32 API) │
230- │ ├── Process Monitor (EnumProcesses) │
231- │ └── Registry Monitor (RegNotifyChangeKeyValue) │
243+ │ ├── Process Monitor (ETW - kernel-level real-time) │
244+ │ └── Registry Monitor (ETW - kernel-level real-time) │
232245│ │
233246│ Event Bus (tokio mpsc channels) │
234247│ │
@@ -302,11 +315,29 @@ The engine supports the following event types:
302315- ` WindowUnfocused ` - Window lost focus
303316
304317### Process Events
305- - ` ProcessStarted ` - New process launched
306- - ` ProcessStopped ` - Process terminated
307-
308- ### Registry Events
309- - ` RegistryChanged ` - Registry value modified
318+ - ` ProcessStarted ` - New process launched (includes PID, parent PID, name, path, command line, session ID, user)
319+ - ` ProcessStopped ` - Process terminated (includes PID, name, exit code)
320+
321+ ### Thread Events
322+ - ` ThreadCreated ` - New thread created in a process (includes PID, TID, start address)
323+ - ` ThreadDestroyed ` - Thread terminated (includes PID, TID)
324+
325+ ### File I/O Events (Process Context)
326+ - ` FileAccessed ` - File accessed by a process (includes PID, path, access mask)
327+ - ` FileIoRead ` - File read operation (includes PID, path, bytes read)
328+ - ` FileIoWrite ` - File write operation (includes PID, path, bytes written)
329+ - ` FileIoDelete ` - File deleted by a process (includes PID, path)
330+
331+ ### Network Events
332+ - ` NetworkConnectionCreated ` - New network connection (includes PID, local/remote addresses, protocol)
333+ - ` NetworkConnectionClosed ` - Network connection closed (includes PID, addresses)
334+
335+ ### Registry Events (via ETW - includes process context)
336+ - ` RegistryChanged ` - Registry operation detected with change type:
337+ - ** Created** - New registry key created
338+ - ** Modified** - Registry value modified or set
339+ - ** Deleted** - Registry key or value deleted
340+ - ** Event metadata includes** : Process name, Process ID, Registry path, Value name (if applicable)
310341
311342## Development
312343
0 commit comments