Windows-Event-Log-Monitoring

View this project on GitHub

This lab outlines the basics of using Sysmon, Windows Event Viewer, and PowerShell scripts to monitor and analyze Windows Event Logs for security incidents.

Tools


Monitoring with Sysmon

Sysmon (System Monitor) is a Windows system service and device driver that logs system activity of Windows operating systems to the Windows Event Log. The following goes over some basic Sysmon queries in PowerShell with the Get-WinEvent cmdlet that can be used to monitor and analyze activities on Windows systems configured with Sysmon.

1. List All Sysmon Events

List All Sysmon Events

2. List All Network Connection Events

List All Network Connection Events

3. List All Process Creation Events

List All Process Creation Events

4. List Events for New Files Created

List Events for New Files Created

5. List Events for File Modifications

List Events for File Modifications

6. Monitor for Remote Thread Creation

Monitor for Remote Thread Creation

7. Monitor for Changes to the Registry

Monitor for Changes to the Registry

8. List Failed Logon Attempts

List Failed Logon Attempts

10. List Successful Logon Events

List Successful Logon Events


Monitoring with Windows Event Viewer

1. Monitor Failed Login Attempts

Monitor Failed Login Attempts 1 Monitor Failed Login Attempts 2 Monitor Failed Login Attempts 3 Monitor Failed Login Attempts 4 Monitor Failed Login Attempts 5

2. Monitor Successful Logins

Monitor Successful Logins 1 Monitor Successful Logins 2 Monitor Successful Logins 3 Monitor Successful Logins 4 Monitor Successful Logins 5 Monitor Successful Logins 6

3. Look for Special Privileges Assigned to New Logon

Special Privileges Assigned 1 Special Privileges Assigned 2 Special Privileges Assigned 3


Monitoring with PowerShell Scripts

1. Monitor Failed Login Attempts

Monitor Failed Login Attempts Script Running Failed Login Script

2. Monitor Successful Logins

Monitor Successful Logins Script Running Successful Login Script

3. Monitor New Process Creation Events

Process Creation Events Script Running Process Creation Events Script
Back to Lab Projects