Suspicious Group and Account Reconnaissance via Net.exe
Adversaries frequently use the Windows native 'net.exe' utility to perform discovery of privileged user groups and account configurations to facilitate lateral movement and privilege escalation.
Threat actors, including those deploying ransomware such as Ryuk and LockBit, consistently rely on built-in administrative tools for reconnaissance during the post-exploitation phase of an attack. The 'net.exe' and 'net1.exe' binaries are frequently leveraged to enumerate local and domain-level user groups, particularly targeting administrative groups like 'Domain Admins', 'Enterprise Admins', or 'Remote Desktop Users'. This activity is a critical indicator of intent to escalate privileges or identify high-value targets within an Active Directory environment. Defenders should monitor for these command-line patterns, as they often deviate from standard administrative maintenance workflows and serve as a precursor to unauthorized lateral movement or domain dominance.
Attack Chain
- Attacker establishes initial access via phishing or exploit.
- Attacker executes shell or command prompt on the compromised endpoint.
- Attacker invokes 'net.exe group' or 'net.exe localgroup' to enumerate current group memberships.
- Attacker specifically queries for high-privilege groups using the '/domain' or '/do' flag.
- Attacker observes command output to identify service accounts or cached domain admin credentials.
- Attacker leverages identified account information to perform credential dumping (e.g., LSASS memory access).
- Attacker uses stolen credentials for lateral movement to domain controllers or sensitive servers.
Impact
Successful reconnaissance of user accounts and groups allows attackers to map the environment, identify key targets for privilege escalation, and prepare for widespread ransomware deployment. This activity is a hallmark of human-operated ransomware campaigns, which have caused extensive operational disruption and data exfiltration across the healthcare and enterprise sectors.
Recommendation
- Deploy the Sigma rule below to detect abnormal reconnaissance patterns using 'net.exe'.
- Baseline common administrative tools and scripts in your environment to distinguish legitimate inventory tasks from malicious reconnaissance.
- Investigate any occurrences of this command pattern executed by non-administrative service accounts or automated processes.
- Monitor for parent processes associated with common initial access vectors (e.g., 'wsmprovhost.exe', 'powershell.exe', 'cmd.exe') when 'net.exe' is invoked.
Immediate actions
Deploy the provided Sigma rule to SIEM environment.
Threat Hunt
Search for command lines containing 'net.exe' or 'net1.exe' followed by 'group' or 'localgroup' flags.
Data: Process creation events (Event ID 1)
Detection coverage 1
Detect Suspicious Group and Account Reconnaissance
mediumDetects reconnaissance command line activity on Windows systems using Net.EXE to query group memberships
Detection queries are available on the platform. Get full rules →