How to Track who disabled a user in Active Directory

Configurare noua (How To)

Situatie

Active Directory configuration changes need to be carefully monitored so that users have access to all the resources they require. If a user’s account becomes disabled, they will not have access to essential system functions including email, files and SharePoint which will disrupt business operations.

Another reason to ensure that disabled users are tracked in Active Directory is to reduce the risk of a data breach. Disabled accounts represent a serious threat as they can be re-enabled and misused by attackers seeking access to Active Directory, Windows servers and other AD-integrated systems. Therefore, it is crucial to have visibility over who disabled a user account to establish the reason for doing this.

In this article, we will discuss the steps you need to take to detect who disabled a user account in Active Directory. We will first look at doing this using native auditing, followed by a more straightforward approach using the Lepide Auditor for Active Directory.

Solutie

Track Who Disabled a User using Event Logs (Event ID 4725)

Please follow the below steps:

  1. Run gpmc.msc to open the Group Policy Management Console.
  2. Create a new GPO and Edit it
  3. Go to Computer ConfigurationPoliciesWindows SettingsSecurity SettingsLocal Policies > Audit Policy:
  4. Double-click Audit Account Management PolicyDefineSuccess
  5. Click Apply and OK
  6. Go to Event Log, Define:
    • ­Maximum security log size to 4GB
    • ­Retention method for security log to Overwrite events as needed.
  7. Link the new GPO to the OU with User Accounts: Go to Group Policy Management, Right-click the defined OU, choose Link an Existing GPO, Choose the GPO that you’ve created.
  8. Force the group policy update, In Group Policy Management, Right-click the defined OU, Click on Group Policy Update.
    • ­Full Control
    • ­List Contents
    • ­Read all properties
    • ­Read permissions, Click OK.
  9. Open ADSI Edit, Connect to Default naming context, Right-click DomainDNS object with the name of your domain, Properties, Security (Tab), Advanced (Button), Auditing (Tab), Add Principal Everyone, Type Success, Applies to This object and Descendant objects, Permissions, Select all check boxes except the following:
  10. Open Event viewer and search Security log for event ID’s 4725 (User Account Management task category).
  11. Event ID 4725
  12. Note: This event only generates on domain controllers and member servers.

Tip solutie

Permanent

Voteaza

(2 din 4 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?