MITRE ATT&CK / Techniques / T1098.007

Account Manipulation: Additional Local or Domain Groups

ID
T1098.007
Tactics
TA0003 Persistence, TA0004 Privilege Escalation
Sub-technique of
T1098 Account Manipulation
Platforms
Windows, macOS, Linux
Data sources
User Account Modification
Source
attack.mitre.org
MITRE last modified
27 Sep 2025

An adversary may add additional local or domain groups to an adversary-controlled account to maintain persistent access to a system or domain.

On Windows, accounts may use the net localgroup and net group commands to add existing users to local and domain groups.[1][2] On Linux, adversaries may use the usermod command for the same purpose.[3]

For example, accounts may be added to the local administrators group on Windows devices to maintain elevated privileges. They may also be added to the Remote Desktop Users group, which allows them to leverage Remote Desktop Protocol to log into the endpoints in the future.[4] Adversaries may also add accounts to VPN user groups to gain future persistence on the network.[5] On Linux, accounts may be added to the sudoers group, allowing them to persistently leverage Sudo and Sudo Caching for elevated privileges.

In Windows environments, machine accounts may also be added to domain groups. This allows the local SYSTEM account to gain privileges on the domain.[6]

Detection

Groups (7)

Software (4)

References

  1. Microsoft Net Localgroup
  2. Microsoft Net Group
  3. Linux Usermod
  4. Microsoft RDP Logons
  5. Cyber Security News
  6. RootDSE AD Detection 2022