Automate Database Maintenance - EventLog
This document outlines the Automate Database Maintenance Cleanup Script, which is responsible for cleaning up the Eventlogs table based on specific conditions. It details the script functionality, variables used, and expected output, providing a comprehensive overview for users.
cPVAL Enable Excessive Logon Detection
Turns monitoring of failed logon attempts (Security event ID 4625) on domain controllers on or off at the organization, location or device level. Monitoring raises an alert when failed logons reach the configured threshold, which can indicate a brute-force or password-spraying attack.
cPVAL Excessive Logon ExcludeByComputer
Lists the computer and account pairs that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625). An entry matches when the computer is the domain of the failed account or the workstation the attempt came from.
cPVAL Excessive Logon ExcludeByDomain
Lists the domain and account pairs that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625). An entry matches only accounts in that domain, so the same account name in any other domain still raises an alert.
cPVAL Excessive Logon ExcludeByWorkstation
Lists the workstation and account pairs that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625). An entry matches only attempts that come from that workstation, so the same account failing from anywhere else still raises an alert.
cPVAL Excessive Logon ExcludeLogonProcess
Lists the logon processes that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625). It ignores a whole kind of logon, such as VPN or RADIUS logons, rather than a particular account.
cPVAL Excessive Logon ExcludeUsers
Lists the usernames that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625), so accounts that are known to fail harmlessly do not raise alerts.
cPVAL Excessive Logon LastRunTime
Stores the time the Excessive Logon Attempts script last ran on the device. The next run counts the failed logon attempts (Security event ID 4625) recorded from that time onward, so runs never overlap or leave gaps.
cPVAL Excessive Logon Threshold
Sets how many failed logon attempts (Security event ID 4625) since the last run raise the Excessive Logon Attempts alert. The count is a total for the device across all users, after exclusions. Defaults to 10 when the field is empty.
cPVAL Windows Audit Policy Deployment
Used within the compound condition to determine where the deployment should be performed.
Dell Hardware Monitoring
Monitors Dell server hardware events from Windows Event Logs generated by Dell OMSA.
Dell Hardware Monitoring
The solution describes how to configure NinjaOne to automatically generate a CW Manage ticket for Dell OMSA alerts.
Dell OMSA Alerts
The condition runs the automation once per hour and generates a ticket with the script’s results if any monitored event log is detected.
DFS Replication Health Check
Checks for recent DFS Replication errors or warnings within the last hour and reports the current replication state to identify potential sync or replication issues.
DFS Replication Health Check
Triggers an alert when any errors are detected in DFS Replication on the server, indicating possible replication failures or issues requiring investigation.
DFS Replication Health Check
Triggers an alert when any errors are detected in DFS Replication on the server, indicating possible replication failures or issues requiring investigation.
Excessive Logon Attempts
Counts the failed logon attempts (Security event ID 4625) recorded since the last run and raises an alert when the count reaches the threshold, after applying the configured user, computer, domain, workstation and logon process exclusions.
Excessive Logon Attempts
Monitors the domain controller holding the Infrastructure Master role for failed logon attempts (Security event ID 4625) and creates a ConnectWise Manage ticket when the failures recorded since the last run reach the threshold, which can indicate a brute-force or password-spraying attack.
Excessive Logon Failures
This ticket template is used to manage the CW Manage ticket generation settings for the Monitor - Excessive Logon Attempts Condition
Excessive MsiInstaller Error Events
Reports recent error events from the "MsiInstaller" event source and lists any active Msiexec processes.
Hyper-V Replication Audit
Monitors Hyper-V Replica health status, logs replication activity, and generates Windows Event Log alerts for Kaseya VSA monitoring.
Monitor - Excessive Logon Attempts
Runs Excessive Logon Attempts every 4 hours on domain controllers holding the Infrastructure Master role and creates a ConnectWise Manage ticket when the failed logon attempts recorded since the last run reach the threshold.
SMB1 Access Audit
This solution monitors servers for SMB1 protocol usage. It enables SMB1 access auditing (if disabled), scans event logs for recent SMB1 access attempts (Event IDs 1001, 3000) within the past hour, and triggers an alert through a compound condition if SMB1 is enabled and any access attempts are detected.
SMB1 Access Audit And Detection
Enables SMB1 access auditing if disabled and scans event logs for recent SMB1 access attempts (Event IDs 1001, 3000) within the last hour. Returns exit codes for detection or script failure.
SMB1 Traffic Audit
This Compound Condition creates an alert on Servers with SMB1 Protocol enabled and if SMB1 access attempts (Event IDs 1001, 3000) is detected within the last hour
Windows Advanced Audit Policy
Configures Windows Advanced Audit Policy settings, event log sizes, and firewall logging based on machine role.
Windows Audit Policy - NinjaOne
This solution is used to deploy and configure the Windows Audit Policy on supported Windows devices.
Windows Audit Policy - Servers
This compound condition is used to run the Windows Audit Policy on the machines.
Windows Audit Policy - Workstations
This compound condition is used to run the Windows Audit Policy on the machines.