User Added to Privileged Group in Active Directory
editUser Added to Privileged Group in Active Directory
editIdentifies a user being added to a privileged group in Active Directory. Privileged accounts and groups in Active Directory are those to which powerful rights, privileges, and permissions are granted that allow them to perform nearly any action in Active Directory and on domain-joined systems.
Rule type: eql
Rule indices:
- winlogbeat-*
- logs-system.*
Severity: medium
Risk score: 47
Runs every: 5m
Searches indices from: now-9m (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
References:
Tags:
- Elastic
- Host
- Windows
- Threat Detection
- Persistence
- has_guide
Version: 101
Rule authors:
- Elastic
- Skoetting
Rule license: Elastic License v2
Investigation guide
edit## Triage and analysis ### Investigating User Added to Privileged Group in Active Directory Privileged accounts and groups in Active Directory are those to which powerful rights, privileges, and permissions are granted that allow them to perform nearly any action in Active Directory and on domain-joined systems. Attackers can add users to privileged groups to maintain a level of access if their other privileged accounts are uncovered by the security team. This allows them to keep operating after the security team discovers abused accounts. This rule monitors events related to a user being added to a privileged group. #### Possible investigation steps - Identify the user account that performed the action and whether it should manage members of this group. - Contact the account owner and confirm whether they are aware of this activity. - Investigate other alerts associated with the user/host during the past 48 hours. ### False positive analysis - This attack abuses a legitimate Active Directory mechanism, so it is important to determine whether the activity is legitimate, if the administrator is authorized to perform this operation, and if there is a need to grant the account this level of privilege. ### Response and remediation - Initiate the incident response process based on the outcome of the triage. - If the admin is not aware of the operation, activate your Active Directory incident response plan. - If the user does not need the administrator privileges, remove the account from the privileged group. - Review the privileges of the administrator account that performed the action. - Determine the initial vector abused by the attacker and take action to prevent reinfection through the same vector. - Using the incident response data, update logging and audit policies to improve the mean time to detect (MTTD) and the mean time to respond (MTTR).
Rule query
editiam where event.action == "added-member-to-group" and group.name : ("Admin*", "Local Administrators", "Domain Admins", "Enterprise Admins", "Backup Admins", "Schema Admins", "DnsAdmins", "Exchange Organization Administrators")
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Persistence
- ID: TA0003
- Reference URL: https://attack.mitre.org/tactics/TA0003/
-
Technique:
- Name: Account Manipulation
- ID: T1098
- Reference URL: https://attack.mitre.org/techniques/T1098/