NBTscan
- Capabilities
- ReconnaissanceScanning
- Platforms
- Windows
NBTScan is a NetBIOS network-scanning utility used to enumerate systems across IP ranges and retrieve NetBIOS name information. It can identify remote accessible hosts, list NetBIOS computer names and active users, and print captured packet content. Threat actors have used NBTScan for internal network reconnaissance, host discovery, network-service discovery, and environment mapping following compromise. Documented users include BISMUTH, Earth Kurma, Earth Krahang, Agrius, TA428, FamousSparrow, APT39, Mustang Panda, Operation Wocao, and Sofacy. It has been used in Windows enterprise environments, including alongside credential theft and lateral-movement activity.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
An IOC is detected as “Win32/NetTool.Nbtscan.A” and described as “Nbtscan.”
"the co-opted Word 2007 process dropped and loaded a scanning tool popular among attackers, NbtScan.exe. BISMUTH then immediately used the scanning tool to scan an IP address range within the organization."
Agrius used the tool NBTscan to scan for remote, accessible hosts in victim environments.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
one of the scripts is called “test.bat” and was used to execute PortQry
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
利用PS脚本将编码后的Nbtscan注入到Notepad.exe中。
Privilege Escalation
1 technique
Privilege Escalation
利用PS脚本将编码后的Nbtscan注入到Notepad.exe中。
Stealth
2 techniques
Stealth
The group's Cobalt Strike installation typically uses a payload named svchost.exe in an attempt to disguise Cobalt Strike activity as the legitimate Windows svchost.exe executable. In an example observed by CTU researchers, the Nbtscan executable was named Adobe.exe.
利用PS脚本将编码后的Nbtscan注入到Notepad.exe中。
Credential Access
1 technique
Credential Access
Sandworm Team used BlackEnergy’s network sniffer module to discover user credentials being sent over the network...; APT33 has used SniffPass to collect credentials by sniffing network traffic; ArcaneDoor included network packet capture and sniffing...; multiple tools (CASTLETAP, Impacket, Empire, PoshC2, etc.) described as sniffing/packet capture.
Discovery
8 techniques
Discovery
The ATT&CK mapping notes use of a modified nbtscan; the group scanned internal address ranges and identified devices with open ports.
machine identification by scanning the private IP range X.X.0.0/24
The content repeatedly describes malware and threat actors collecting the username, identifying the current user, enumerating logged-on users, or running commands such as whoami, query user, and quser to determine user context on compromised systems.
Sandworm Team used BlackEnergy’s network sniffer module to discover user credentials being sent over the network...; APT33 has used SniffPass to collect credentials by sniffing network traffic; ArcaneDoor included network packet capture and sniffing...; multiple tools (CASTLETAP, Impacket, Empire, PoshC2, etc.) described as sniffing/packet capture.
Chinese state-sponsored cyber actors have been observed using Nbtscan and nmap to scan and enumerate target network information.
The infected system had a scanning tool, proxy and port forwarding tool, WebShell, backdoor malware, etc. The attacker used various tools for different purposes: collecting information for infiltration...
Examples include 'Caterpillar WebShell can obtain a list of user accounts from a victim's machine,' 'DRATzarus can obtain a list of users from an infected machine,' 'Woody RAT can retrieve a list of user accounts and usernames from an infected machine,' and 'TrickBot can identify the user and groups the user belongs to on a compromised host.'
Network shares enumeration nbtscan 1.0.35 Inbtscan (Python version of nbtscan)
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.