Additional Local or Domain Groups

T1098.007

Sub-technique of T1098 Account Manipulation.View on attack.mitre.org

About this technique

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. On Linux, adversaries may use the `usermod` command for the same purpose.

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. Adversaries may also add accounts to VPN user groups to gain future persistence on the network. 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.

Detection rules0

Rules on DetectionCode tagged with T1098.007.

Sigma0

No Sigma rules are mapped to this technique yet.

Splunk0

No Splunk rules are mapped to this technique yet.

Groups7

Software4

Campaigns0

None recorded.

Procedure examples11

Groups7

Used byProcedure example
GroupAPT3

APT3 has been known to add created accounts to local admin groups to maintain elevated access.

GroupAPT41

APT41 has added user accounts to the User and Admin groups.

GroupAPT5

APT5 has created their own accounts with Local Administrator privileges to maintain access to systems with short-cycle credential rotation.

GroupDragonfly

Dragonfly has added newly created accounts to the administrators group to maintain elevated access.

GroupFIN13

FIN13 has assigned newly created accounts the sysadmin role to maintain persistence.

GroupKimsuky

Kimsuky has added accounts to specific groups with net localgroup.

GroupMagic Hound

Magic Hound has added a user named DefaultAccount to the Administrators and Remote Desktop Users groups.

Software4

Used byProcedure example
MalwareDarkGate

DarkGate elevates accounts created through the malware to the local administration group during execution.

ToolNet

The `net localgroup` and `net group` commands in Net can be used to add existing users to local and domain groups.

MalwareServHelper

ServHelper has added a user named "supportaccount" to the Remote Desktop Users and Administrators groups.

MalwareSMOKEDHAM

SMOKEDHAM has added user accounts to local Admin groups.

References6

  1. Cyber Security News Open source
    Kaaviya. (n.d.). SuperBlack Actors Exploiting Two Fortinet Vulnerabilities to Deploy Ransomware. Retrieved September 22, 2025.
  2. Linux Usermod Open source
    Man7. (n.d.). Usermod. Retrieved August 5, 2024.
  3. Microsoft Net Group Open source
    Microsoft. (2016, August 31). Net group. Retrieved August 5, 2024.
  4. Microsoft Net Localgroup Open source
    Microsoft. (2016, August 31). Net Localgroup. Retrieved August 5, 2024.
  5. Microsoft RDP Logons Open source
    Microsoft. (2017, April 9). Allow log on through Remote Desktop Services. Retrieved August 5, 2024.
  6. RootDSE AD Detection 2022 Open source
    Scarred Monk. (2022, May 6). Real-time detection scenarios in Active Directory environments. Retrieved August 5, 2024.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.