Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Attack Patterns T1098.007 — Additional Local or Domain Groups
T1098.007

Additional Local or Domain Groups

Persistence
TLP:CLEAR

Description

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.(Citation: Microsoft Net Localgroup)(Citation: Microsoft Net Group) On Linux, adversaries may use the `usermod` command for the same purpose.(Citation: Linux Usermod) 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.(Citation: Microsoft RDP Logons) Adversaries may also add accounts to VPN user groups to gain future persistence on the network.(Citation: Cyber Security News) 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.(Citation: RootDSE AD Detection 2022)

MITRE ATT&CK Detection Strategies
1

DET0310 Suspicious Addition to Local or Domain Groups
AN0867 macOS

Detects use of `dseditgroup` or `dscl` to add users to privileged macOS groups (e.g., admin).

macos:unifiedlog
AN0865 Windows

Detects unauthorized additions of users or machine accounts to privileged local or domain groups (e.g., Administrators, Remote Desktop Users).

WinEventLog:Security
AN0866 Linux

Detects unexpected use of usermod, gpasswd, or direct modification of /etc/group to elevate user group membership.

auditd:SYSCALL

Details

Platforms
Windows
Macos
Linux
Added
May 2, 2026
Leaving Threaticon

This link opens an external site that isn't part of the platform.