Skip to main content
T1087Discoveryeasy difficulty

Account Discovery

Account Discovery is reconnaissance: after gaining a foothold the adversary lists local, domain, or cloud accounts to map targets, match stolen credentials, and plan accounts that blend in. On Windows that is net user, net localgroup, and dsquery; on Linux, reading /etc/passwd or running id and getent; in AD, LDAP and BloodHound-style queries. The detection signature is a burst of enumeration commands from a host or account with no administrative reason to run them.

Practice detecting Account Discovery on realistic SIEM, XDR alerts in SOCSimulator Operations.

SIEMXDR

What is Account Discovery?

Account Discovery is documented as technique T1087 in MITRE ATT&CK® v19.1 under the Discovery tactic. Detection requires visibility into SIEM, XDR telemetry.

Detection Strategies

The following detection strategies help SOC analysts identify Account Discovery activity. These methods apply across SIEM, XDR environments and can be implemented as detection rules, correlation queries, or behavioral analytics in your security platform.

  1. 1

    Monitor for execution of net user, net group, net localgroup, and whoami commands in quick succession, which is a common pattern during post-compromise reconnaissance regardless of the operator behind the attack.

  2. 2

    Alert on LDAP queries for user account enumeration from workstations that would not normally perform such queries, particularly queries retrieving all user objects or filtering for accounts with specific attributes like AdminCount=1.

  3. 3

    Detect BloodHound and similar AD enumeration tools through their characteristic LDAP query patterns, including queries for all objects with specific properties used to map attack paths through Active Directory.

  4. 4

    Monitor for use of PowerShell cmdlets Get-ADUser, Get-ADGroup, and Get-ADGroupMember outside of established administrative scripts, particularly when executed with credentials other than the logged-in user.

  5. 5

    Alert on /etc/passwd and /etc/shadow file access on Linux servers by non-root processes or from user accounts that have no administrative responsibilities on those specific systems.

Example Alerts

These realistic alert examples show what Account Discovery looks like in your security tools. Use them to tune detection rules and train analysts to recognize true positives versus false positives in live environments.

HighSIEM

Active Directory Enumeration via BloodHound

LDAP query pattern analysis detected BloodHound data collection activity from workstation WS-SALES-022. Queries retrieved all user objects, group memberships, computer accounts, and GPO configurations within 8 minutes. This comprehensive Active Directory enumeration provides attackers with a complete map of attack paths to domain admin. The source workstation user has no administrative role.

MediumXDR

Rapid Account Enumeration Commands Executed

Process execution sequence detected: net user, net localgroup administrators, net group "domain admins" /domain, and whoami /all all executed within 90 seconds on finance workstation FIN-WS-019. This rapid succession of account discovery commands is consistent with post-compromise reconnaissance by an attacker who has gained initial access and is mapping the environment.

MediumSIEM

LDAP Query for Privileged Accounts from Workstation

Unusual LDAP query detected from workstation WS-DEV-007 querying Active Directory for all user accounts where AdminCount=1, which returns all accounts that are members of privileged groups. This specific query is a known reconnaissance technique used to identify high-value accounts to target for credential theft or privilege escalation in a compromised Active Directory environment.

Frequently Asked Questions

How do SOC analysts detect Account Discovery?
Detection centers on SIEM, XDR telemetry for the discovery phase of the attack. Monitor for execution of net user, net group, net localgroup, and whoami commands in quick succession, which is a common pattern during post-compromise reconnaissance regardless of the operator behind the attack. Alert on LDAP queries for user account enumeration from workstations that would not normally perform such queries, particularly queries retrieving all user objects or filtering for accounts with specific attributes like AdminCount=1.
What does a Account Discovery alert look like?
A representative SIEM detection is "Active Directory Enumeration via BloodHound" (high severity): LDAP query pattern analysis detected BloodHound data collection activity from workstation WS-SALES-022. Queries retrieved all user objects, group memberships, computer accounts, and GPO configurations within 8 minutes. This comprehensive Active Directory enumeration provides attackers with a complete map of attack paths to domain admin. The source workstation user has no administrative role.
Which tools detect Account Discovery, and how can I practice?
Account Discovery (T1087) is best surfaced with SIEM, XDR telemetry, which exposes the discovery signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.

Practice Account Discovery in a Free Room

Investigate Account Discovery on realistic SIEM, XDR, and firewall consoles, free.

Glossary

What is Lateral Movement? SOC Glossary

Lateral movement is the attack phase where adversaries expand access from an initial foothold to additional systems, usi…

Read more
Glossary

What is NDR? SOC Glossary

Network Detection and Response (NDR) is a security platform that passively monitors network traffic, using machine learn…

Read more
Glossary

What is Threat Hunting? SOC Glossary

Threat hunting is the proactive, human-led process of searching through security telemetry to find hidden threats that e…

Read more
Glossary

What is SIEM? SOC Glossary

Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and correlates log data from…

Read more
Career Path

Threat Hunter Career Guide: Salary & Skills

Threat Hunters do not wait for alerts. You develop hypotheses based on threat intelligence and adversary behavior models…

Read more
Career Path

SOC Analyst (Tier 2) Career Guide: Salary & Skills

Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Tool

XDR Training Console: SOCSimulator

The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…

Read more
Comparison

SOCSimulator Vs. Letsdefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Glossary

SOC Glossary: Security Operations Terminology

Complete glossary of Security Operations Center terminology for aspiring SOC analysts.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more