OpenParable
Skip to content
← Back to skills

T1098.007_additional-local-or-domain-groups

DevOps & Security

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/mitre_attack/TA0003_persistence/T1098.007_additional-local-or-domain-groups/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/t1098-007-additional-local-or-domain-groups, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

T1098.007 Additional Local or Domain Groups

Sub-technique of: T1098

High-Level 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. 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.

Kill Chain Phase

  • Persistence (TA0003)
  • Privilege Escalation (TA0004)

Platforms: Windows, macOS, Linux

What to Check

  • Identify if Additional Local or Domain Groups technique is applicable to target environment
  • Check Windows systems for indicators of Additional Local or Domain Groups
  • Check macOS systems for indicators of Additional Local or Domain Groups
  • Check Linux systems for indicators of Additional Local or Domain Groups
  • Assess detection coverage (1 detection strategies)

How to Test

Manual Testing

  1. Identify Attack Surface: Determine if the target environment is susceptible to Additional Local or Domain Groups by examining the target platforms (Windows, macOS, Linux).

  2. Assess Existing Defenses: Review whether mitigations for T1098.007 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

  3. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.

Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.

Remediation Guide

No specific mitigations documented for this technique.

Detection

Suspicious Addition to Local or Domain Groups

Risk Assessment

FindingSeverityImpact
Additional Local or Domain Groups technique applicableHighPersistence

CWE Categories

CWE IDTitle
CWE-276Incorrect Default Permissions

References