SharpView Reconnaissance Tool Execution
Adversaries utilize the SharpView C# port of PowerView to perform extensive Active Directory reconnaissance, domain enumeration, and discovery of sensitive network objects.
SharpView is a C# implementation of the popular PowerShell-based reconnaissance tool PowerView. It is designed to facilitate discovery within Active Directory environments, allowing threat actors to enumerate domain resources, group memberships, trust relationships, and user privileges without relying on the PowerShell execution environment, which may be heavily monitored by endpoint security solutions. The tool provides a wide array of functions to identify interesting targets such as Kerberoastable accounts, local administrative access, and sensitive share permissions. Defenders should note that SharpView is frequently employed during the post-exploitation phase to map the network topology and identify high-value targets for lateral movement and privilege escalation. Its execution typically results in extensive process-based activity as the tool queries domain controllers and performs automated network enumeration.
Attack Chain
- Initial access is established through credential theft or exploitation.
- The attacker stages the SharpView.exe binary on the compromised host.
- The adversary executes SharpView via command line with specific arguments (e.g., Get-DomainUser, Find-LocalAdminAccess).
- The tool leverages LDAP and RPC protocols to query Active Directory domain controllers.
- It enumerates GPOs, trust relationships, and domain group memberships (e.g., Get-DomainGPO, Get-NetGroupMember).
- The tool executes local or remote reconnaissance commands such as Invoke-Sharefinder or Invoke-Kerberoast.
- Enumeration results are captured and either written to the local disk or exfiltrated via the command line interface.
- The final objective is typically the identification of domain administrator accounts or vulnerable service tickets to facilitate credential harvesting or lateral movement.
Impact
Successful execution of SharpView provides attackers with a comprehensive blueprint of the organization's Active Directory structure. This significantly increases the risk of successful privilege escalation, domain-wide compromise, and data exfiltration. The tool's ability to automate complex queries against domain controllers facilitates rapid discovery, shortening the attacker's dwell time and enabling targeted attacks against specific users or high-value infrastructure.
Recommendation
- Deploy the provided Sigma rule to detect the execution of SharpView.exe or its common functional arguments.
- Monitor for abnormal command line arguments indicative of Active Directory discovery, specifically those referencing "Find-" or "Get-Domain" tasks.
- Enable Sysmon Event ID 1 (Process Creation) to capture detailed command line arguments used by potential reconnaissance tools.
- Restrict the ability of standard user accounts to perform LDAP queries against domain controllers.
- Monitor for high volumes of LDAP traffic originating from non-administrative endpoints.
Immediate actions
Deploy Sigma detection rule to SIEM
Threat Hunt
Search logs for unusual command line arguments matching SharpView functions
Data: Process creation logs with full command line
Mitigations
Restrict unprivileged access to Active Directory via LDAP
General AD Reconnaissance
Detection coverage 1
Detect SharpView Execution
highDetects execution of the SharpView reconnaissance tool via process name or recognized functional command line arguments.
Detection queries are available on the platform. Get full rules →