Active Directory & Domain Environment Audit
Purpose
This solution document delineates the contents applicable for monitoring the Active Directory Domain environment. Please review the implementation steps meticulously as a significant portion of the content relies on the Active Directory
plugin.
This article encompasses multiple components and contents. Please import and implement only the required components.
Associated Content
Internal Monitor
Content | Type | Function |
---|---|---|
CWM - Automate - Internal Monitor - Active Directory - Sync Out of Date | Internal Monitor | This monitor looks for the AD server that has been onboarded for more than 30 days and is experiencing a credential issue in the Active Directory Plugin. |
RSM - Active Directory - Monitor - Active Directory - New User Account Created | Internal Monitor | This monitor looks for new domain user accounts that have a creation date within the past day. A ticket is created for each new account discovered. |
RSM - Active Directory - Monitor - Password Expires This Week [G] | Internal Monitor | Detects the domain users whose password is going to expire within a week. |
RSM - Active Directory - Monitor - Active Directory - Enabled Test Accounts | Internal Monitor | This monitor will look for any account with the name Test in the account name and will flag that account if it is enabled on the domain. |
RSM - Active Directory - Monitor - Account Disabled | Internal Monitor | This monitor looks for the disabled accounts on Active Directory servers through the Active Directory plugin and creates a ticket for each one found. |
RSM - Active Directory - Monitor - Active Directory - User Last Logon > X Days | Internal Monitor | This monitor will check for users who have not logged in for more than X days and are not administrator accounts. |
CWM - Automate - Internal Monitor - Active Computers in AD with No Agent | Internal Monitor | The monitor set generates a client-level ticket containing details of domain-joined computers active within the domain, which have been joined to the domain for at least 7 days but do not have the Automate agent installed. |
CWM - Automate - Internal Monitor - Active Directory - ADPluginUser - Create/Update | Internal Monitor | The purpose of this monitor set is to create an 'ADPluginUser' account for the domain controllers detected in AD Plugin. |
RSM - Active Directory - Monitor - GPO Modified | Internal Monitor | This Custom RAWSQL monitor shows GPO modified time on the computer if the GPO was modified in the last day. |
Remote Monitor
Content | Type | Function |
---|---|---|
EPM - User Management - Remote Monitor - Reset AD Users Password Age | Remote Monitor | This remote monitor checks AD user's login password age to see if the age is set to unlimited, and if so it will change the user password from never expire to expire and will also change the Default domain policy password age to 90 days. |
RSM - Active Directory - Remote Monitor - New Domain Admin | Remote Monitor | The purpose of the remote monitor is to detect the newly created/promoted domain admins and create a ticket. |
CWM - Automate - Remote Monitor - AD Recycle Bin State Check | Remote Monitor | This is a remote PowerShell monitor which detects whether the AD Recycle Bin is enabled or disabled on Windows Active Directory servers. |
RSM - Active Directory - Remote Monitor - AD Account Lockout Detection | Remote Monitor | The monitoring system is set up to gather data on event ID 4740 that occurred within the last 15 minutes and to generate an alert with the relevant information. |
RSM - Active Directory - Remote Monitor - Active Directory Replication Anomaly Monitoring | Remote Monitor | The monitor set operates on a cluster of Primary Domain Controllers (Infrastructure Masters) for each domain, triggering a failure alert upon detecting any Active Directory Replication Failure. |
Script
Dataview
Content | Type | Function |
---|---|---|
RSM - Active Directory - Dataview - Active Directory - AD Users | Dataview | This dataview displays all users associated with a domain and general information about all the users. |
RSM - Active Directory - Dataview - Active Directory - Domain Groups and Members | Dataview | This dataview shows you all domains and their respective groups and a corresponding list of members. |
RSM - Active Directory - Dataview - Windows - Group Policy Objects | Dataview | This dataview shows information about GPOs, their applied policies, where they are linked to, and to what trustees they are applied to. |
RSM - Active Directory - Dataview - Windows - Group Policy Settings | Dataview | This dataview shows information about GPOs, their applied policies, and settings. |
RSM - Active Directory - Dataview - Windows - Group Policy Object Links | Dataview | This dataview shows information about GPOs, their applied policies, and where they are linked to. |
RSM - Active Directory - Dataview - Windows - Group Policy Object Security Filtering | Dataview | This dataview displays information related to Group Policy Objects in Active Directory, specifically related to security policies. |
Report
Content | Type | Function |
---|---|---|
Report - Active Directory User Assessment | Report | Displays an overall health view of the Client's Active Directory along with a full user report. |
Report - Active Directory User Groups - Detail | Report | Displays a complete user list with all groups that each user is in, along with an overall view of what groups are used the most. |
Report - Computers in Active Directory - No Agent | Report | Displays a list of all computers that are in Active Directory but not in Automate. Can be used to clean up Client Active Directories. |
SubPageHeaderLandscape | Subreport | Used as the template for the page header on these reports. |
Implementation (Active Directory Plugin Dependent Solutions)
-
The solutions presented in this section rely on the functionality provided by the
Active Directory
plugin. Therefore, it is imperative to verify that both theActive Directory
andActive Directory Remote
plugins are correctly installed and operational within the environment. -
Active Directory Reporting Solution
Follow the steps outlined in the EPM - Accounts - Report - Active Directory Reporting Solution document to import and configure the following reports:
-
Active Directory - Sync Out of Date
- Import the CWM - Automate - Internal Monitor - Active Directory - Sync Out of Date internal monitor set from the
ProSync
plugin. - Import the CWM - Automate - Script - ScreenConnect - RMM+ Autofix - AD Plugin - Sync Out of Date [Ticket]* script from the
ProSync
plugin. - Import the
△ Custom - Autofix - AD Plugin Sync Out of Date
alert template from theProSync
plugin. - Reload the system cache.
- Ensure that the RMM+ Plugin is correctly configured and operational within the environment, as this solution relies on the proper configuration of the CWM - Automate - RMM+ Plugin Configuration.
- Assign the
△ Custom - Autofix - AD Plugin Sync Out of Date
alert template to the CWM - Automate - Internal Monitor - Active Directory - Sync Out of Date monitor set.
- Import the CWM - Automate - Internal Monitor - Active Directory - Sync Out of Date internal monitor set from the
-
Active Directory - New User Account
- Import the RSM - Active Directory - Monitor - Active Directory - New User Account Created internal monitor from the
ProSync
plugin. - Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Computer
alert template to the RSM - Active Directory - Monitor - Active Directory - New User Account Created monitor set.
- Import the RSM - Active Directory - Monitor - Active Directory - New User Account Created internal monitor from the
-
Active Directory - Password Expires This Week
- Import the RSM - Active Directory - Monitor - Password Expires This Week [G] internal monitor from the
ProSync
plugin. - Import the CWM - Automate - Script - Active Directory - Alerting - Password Expires This Week [Global,Autofix]* script from the
ProSync
plugin. - Import the
△ Custom - Password Expiration Notification
alert template from theProSync
plugin. - Reload the System Cache.
- Go through the script's document and perform the customization if necessary.
- Assign the
△ Custom - Password Expiration Notification
alert template to the RSM - Active Directory - Monitor - Password Expires This Week [G] monitor set.
- Import the RSM - Active Directory - Monitor - Password Expires This Week [G] internal monitor from the
-
Active Directory - Enabled Test Accounts
- Import the RSM - Active Directory - Monitor - Active Directory - Enabled Test Accounts internal monitor from the
ProSync
plugin. - Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Computer
alert template to the RSM - Active Directory - Monitor - Active Directory - Enabled Test Accounts monitor set.
- Import the RSM - Active Directory - Monitor - Active Directory - Enabled Test Accounts internal monitor from the
-
Active Directory - Account Disabled
- Import the RSM - Active Directory - Monitor - Account Disabled internal monitor from the
ProSync
plugin. - Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Computer
alert template to the RSM - Active Directory - Monitor - Account Disabled monitor set.
- Import the RSM - Active Directory - Monitor - Account Disabled internal monitor from the
-
Active Directory - User Last Logon > X Days
- Import the RSM - Active Directory - Monitor - Active Directory - User Last Logon > X Days internal monitor from the
ProSync
plugin. - Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Computer
alert template to the RSM - Active Directory - Monitor - Active Directory - User Last Logon > X Days monitor set.
- Import the RSM - Active Directory - Monitor - Active Directory - User Last Logon > X Days internal monitor from the
-
Active Directory - Domain Computers Missing Automate Agent
- Import the CWM - Automate - Internal Monitor - Domain Computers Missing Automate Agent internal monitor from the
ProSync
plugin. - Import the
△ Custom - Ticket Creation - Client
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Ticket Creation - Client script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Client
alert template to the CWM - Automate - Internal Monitor - Domain Computers Missing Automate Agent monitor set.
- Import the CWM - Automate - Internal Monitor - Domain Computers Missing Automate Agent internal monitor from the
-
Active Directory - ADPluginUser - Create/Update
- Import the CWM - Automate - Internal Monitor - Active Directory - ADPluginUser - Create/Update monitor set from the
ProSync
plugin. - Import and implement the CWM - Automate - Script - Active Directory - Plugin User Account - Create/Update script as instructed in the
Implementation
section of the script's document. - Import the
△ Custom - Autofix - AD Plugin User - Create/Update
alert template from theProSync
plugin, if it's not already present in the environment. - Assign the
△ Custom - Autofix - AD Plugin User - Create/Update
alert template to the CWM - Automate - Internal Monitor - Active Directory - ADPluginUser - Create/Update monitor set.
- Import the CWM - Automate - Internal Monitor - Active Directory - ADPluginUser - Create/Update monitor set from the
-
Active Directory - AD Users
- Import the RSM - Active Directory - Dataview - Active Directory - AD Users dataview from the
ProSync
plugin.
- Import the RSM - Active Directory - Dataview - Active Directory - AD Users dataview from the
-
Active Directory - Domain Group and Members
- Import the RSM - Active Directory - Dataview - Active Directory - Domain Groups and Members dataview from the
ProSync
plugin.
- Import the RSM - Active Directory - Dataview - Active Directory - Domain Groups and Members dataview from the
Implementation (Independent Solutions)
-
The solutions presented in this section do not rely on any plugin.
-
Group Policy Audit
- Import the RSM - Active Directory - Script - Group Policy - Audit script from the
ProSync
plugin. - Import the following dataviews from the
ProSync
plugin: - Schedule the RSM - Active Directory - Script - Group Policy - Audit script to run once per day against the domain controllers group.
- Import the RSM - Active Directory - Monitor - GPO Modified internal monitor from the
ProSync
plugin. - Implement the monitor set as explained in the
Implementation
section of the monitor's document. - Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Reload the System Cache.
- Assign the
△ Custom - Ticket Creation - Computer
alert template to the RSM - Active Directory - Script - Group Policy - Audit monitor set.
- Import the RSM - Active Directory - Script - Group Policy - Audit script from the
-
Reset AD Users Password Age
- Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Import the EPM - User Management - Remote Monitor - Reset AD Users Password Age remote monitor by following the instructions outlined in the Import - Remote Monitor - Reset AD Users Password Age document.
- Reload the System Cache.
- Locate the EPM - User Management - Remote Monitor - Reset AD Users Password Age remote monitor by opening the relevant group(s) and apply the
△ Custom - Ticket Creation - Computer
alert template to the group monitor.
- Import the
-
New Domain Admin
- Import the
△ Custom - Ticket Creation Computer - Failures Only
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer [Failures Only]* script from the
ProSync
plugin, if it's not already present in the environment. - Import the RSM - Active Directory - Remote Monitor - New Domain Admin remote monitor by following the instructions outlined in the Implement - Remote Monitor - New Domain Admin document.
- Reload the System Cache.
- Locate the RSM - Active Directory - Remote Monitor - New Domain Admin remote monitor by opening the
Domain Controllers
group.
- Import the
-
Enable AD Recycle Bin
- Import the CWM - Automate - Script - AD - Enable AD Recycle Bin script from the
ProSync
plugin. - Import the
△ Custom - Execute Script - AD - Enable AD Recycle Bin
alert template from theProSync
plugin. - Import the RSM - Active Directory - Role - AD Domain Recycle Bin Feature role and the CWM - Automate - Remote Monitor - AD Recycle Bin State Check remote monitor by following the instructions outlined in the Import - Remote Monitor - AD Recycle Bin State Check document.
- Reload the System Cache.
- Locate the EPM - User Management - Remote Monitor - Reset AD Users Password Age remote monitor by opening the
Domain Controllers
group and apply the△ Custom - Execute Script - AD - Enable AD Recycle Bin
alert template to the group monitor.
- Import the CWM - Automate - Script - AD - Enable AD Recycle Bin script from the
-
AD Account Lockout Detection
- Import the
△ Custom - Ticket Creation Computer - Failures Only
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer [Failures Only]* script from the
ProSync
plugin, if it's not already present in the environment. - Import the RSM - Active Directory - Remote Monitor - AD Account Lockout Detection remote monitor by following the instructions outlined in the Implement - Remote Monitor - AD Account LockOut Detection document.
- Reload the System Cache.
- Locate the RSM - Active Directory - Remote Monitor - AD Account Lockout Detection remote monitor by opening the
Domain Controllers
group and apply the△ Custom - Ticket Creation Computer - Failures Only
alert template to the group monitor.
- Import the
-
Active Directory Replication Anomaly Monitoring
- Import the
△ Custom - Ticket Creation - Computer
alert template from theProSync
plugin, if it's not already present in the environment. - Import the CWM - Automate - Script - Ticket Creation - Computer script from the
ProSync
plugin, if it's not already present in the environment. - Import the RSM - Active Directory - Remote Monitor - Active Directory Replication Anomaly Monitoring remote monitor by following the instructions outlined in the Implement - Remote Monitor - Active Directory Replication Anomaly Monitoring document.
- Reload the System Cache.
- Locate the RSM - Active Directory - Remote Monitor - Active Directory Replication Anomaly Monitoring remote monitor by opening the
Domain Controllers
group and apply the△ Custom - Ticket Creation - Computer
alert template to the group monitor.
- Import the