ADFind
- Capabilities
- Reconnaissance
- Platforms
- Windows
AdFind is a freely available Windows command-line utility from Joeware for querying and extracting information from Active Directory. It is a legitimate administrative tool rather than an inherently malicious program, but is widely abused for reconnaissance during ransomware intrusions and cyberespionage operations. Its directory queries can enumerate domain users, groups, computers, subnets, organizational units, and domain trust relationships, helping operators map enterprise environments and identify potential targets for subsequent lateral movement.
AdFind has been used by APT29 during the SolarWinds compromise, UNC2447, REF2924, Earth Krahang, Andariel, and Akira affiliates, as well as in intrusions involving Nefilim, NetWalker, ProLock, and Sodinokibi ransomware. Attackers have also renamed the utility to resemble legitimate software. Its role in these operations is principally directory discovery; credential theft, remote execution, encryption, and exfiltration are performed with other tools.
Associated threat actors
11 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Along with TFirewall, we observed that the attacker used the free tool AdFind.
The attacker also made use of a file called sqlceip.exe, which upon first glance might appear as the legitimate version of SQL Server Telemetry Client provided by Microsoft. However, Volexity determined this tool was actually a version of AdFind from joeware.net. AdFind is a command-line tool used for querying and extracting data from Active Directory.
The attacker also made use of a file called sqlceip.exe, which upon first glance might appear as the legitimate version of SQL Server Telemetry Client provided by Microsoft. However, Volexity determined this tool was actually a version of AdFind from joeware.net. AdFind is a command-line tool used for querying and extracting data from Active Directory.
AdFind has the ability to query Active Directory for computers.
...open-source and dual-use tools as used and/or customized by the actors: ... AdFind ...
+5 more in the app. View in Mallory
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
Adversaries may buy, steal, or download software tools that can be used during targeting. Tools can be open or closed source, free or commercial.
Listed in the Earth Krahang resource-development TTP table.
Execution
1 technique
Execution
ADFind and Net Scan were downloaded from the web hosting platform tmpfiles[.]org by using PowerShell’s Invoke-WebRequest.
Stealth
2 techniques
Stealth
During the attack, threat actors renamed the tool from adfind.exe to a.logs in an attempt to evade detection.
Files pertaining to the threat actor’s post exploitation activities such as reconnaissance of the internal network, were deleted to hinder forensic analysis efforts.
Discovery
13 techniques
Discovery
BlackByte used AdFind during operations. Mustang Panda has utilized AdFind for enumerating domain groups, users, and computers. Lotus Blossom has used AdFind to query Active Directory in victim environments.
Search for other domain computers using the “net group” command. If the activity is prevented, downloading and leveraging the Adfind utility is attempted.
Below is a basic example of how to use adfind.exe to pull user data... After obtaining a full list of users on the domain check for common weak passwords.
LockBit affiliates use SoftPerfect Network Scanner, Advanced IP Scanner, or Advanced Port Scanner to scan target networks.
“Tools like AdFind handle network and account discovery.”
AdFind is a command-line LDAP query tool abused by virtually every major IAB and ransomware operator for Active Directory enumeration.
Common initial discovery tools include Windows built-in utilities (net.exe, nltest.exe, systeminfo, ipconfig, whoami, etc)
These commands reveal the users, computers, file shares and other information from a targeted AD environment.
Mustang Panda has utilized AdFind for enumerating domain groups, users, and computers.
AdFind ... was downloaded ... and used by the threat actor to enumerate domain users.
used built-in Windows utilities to list users, groups, domain trusts, and available network shares.
AdFind, a command-line tool for querying Active Directory, is used to locate domain controllers and gather information about the victim's environment.
edr-win-disc-adfind-enum
Lateral Movement
1 technique
Lateral Movement
The operators then started to copy the freeware tool ADFind.exe, which they used for discovery as well as for gathering domain configuration and organization information.
Collection
1 technique
Collection
The actor leverages a myriad of open source scripts and tools to gather information... Each machine gets profiled out.
Command and Control
1 technique
Command and Control
Once the operators gain foothold on a network, they used tools like Mimikatz and LaZagne to steal additional credentials and tools like BloodHound and ADFind to perform reconnaissance actions.
Exfiltration
1 technique
Exfiltration
“Reconnaissance data… is exfiltrated via FTP.”
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.