OpenParable
Skip to content
← Back to skills

T1087_account-discovery

DevOps & Security

Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.

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/TA0007_discovery/T1087_account-discovery/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/t1087-account-discovery, 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.

T1087 Account Discovery

High-Level Description

Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment. This information can help adversaries determine which accounts exist, which can aid in follow-on behavior such as brute-forcing, spear-phishing attacks, or account takeovers (e.g., Valid Accounts).

Adversaries may use several methods to enumerate accounts, including abuse of existing tools, built-in commands, and potential misconfigurations that leak account names and roles or permissions in the targeted environment.

For examples, cloud environments typically provide easily accessible interfaces to obtain user lists. On hosts, adversaries can use default PowerShell and other command line functionality to identify accounts. Information about email addresses and accounts may also be extracted by searching an infected system’s files.

Kill Chain Phase

  • Discovery (TA0007)

Platforms: ESXi, IaaS, Identity Provider, Linux, macOS, Office Suite, SaaS, Windows

What to Check

  • Identify if Account Discovery technique is applicable to target environment
  • Check ESXi systems for indicators of Account Discovery
  • Check IaaS systems for indicators of Account Discovery
  • Check Identity Provider systems for indicators of Account Discovery
  • Verify mitigations are bypassed or absent (2 known mitigations)
  • Assess detection coverage (1 detection strategies)

How to Test

Manual Testing

  1. Identify Attack Surface: Determine if the target environment is susceptible to Account Discovery by examining the target platforms (ESXi, IaaS, Identity Provider).

  2. Assess Existing Defenses: Review whether mitigations for T1087 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

M1028 Operating System Configuration

Prevent administrator accounts from being enumerated when an application is elevating through UAC since it can lead to the disclosure of account names. The Registry key is located HKLM\ SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI\EnumerateAdministrators. It can be disabled through GPO: Computer Configuration > [Policies] > Administrative Templates > Windows Components > Credential User Interface: E numerate administrator accounts on elevation.

M1018 User Account Management

Manage the creation, modification, use, and permissions associated to user accounts.

Detection

Enumeration of User or Account Information Across Platforms

Risk Assessment

FindingSeverityImpact
Account Discovery technique applicableHighDiscovery

CWE Categories

CWE IDTitle
CWE-200Exposure of Sensitive Information

References