System Monitor (Sysmon) is a Windows system service and device driver that remains resident across system reboots to monitor and log system activity to the Windows event log. Sysmon provides detailed information about process creation, network connections, changes to file creation time, and more.
Sysmon's primary components include:
- A Windows service for monitoring system activity.
- A device driver that assists in capturing the system activity data.
- An event log to display captured activity data.
Sysmon's unique capability lies in its ability to log information that typically doesn't appear in the Security Event logs, and this makes it a powerful tool for deep system monitoring and cybersecurity forensic analysis.
Sysmon categorizes different types of system activity using event IDs, where each ID corresponds to a specific type of event. For example, Event ID 1 corresponds to "Process Creation" events, and Event ID 3 refers to "Network Connection" events.
Here are some examples of Sysmon Event IDs and their descriptions:
- Event ID 1: Process Creation - Tracks the creation of a new process.
- Event ID 2: File creation time changed - Monitors modifications to the creation time of a file.
- Event ID 3: Network connection - Records outgoing network connections made by a process.
- Event ID 4: Sysmon service state changed - Logs changes to the Sysmon service's state.
- Event ID 5: Process terminated - Tracks when a process ends.
- Event ID 6: Driver loaded - Logs when a driver is loaded into the system.
- Event ID 7: Image loaded - Reports when an image (usually a DLL file) is loaded into a process's memory space.
- Event ID 8: CreateRemoteThread - Monitors the creation of a thread in another process.
- Event ID 9: RawAccessRead - Logs direct disk access for read operations.
- Event ID 10: ProcessAccess - Monitors attempts by a process to access another process.
- Event ID 11: FileCreate - Tracks the creation of a new file.