SMBExec is a dual-use remote command-execution tool in the Impacket framework, used for legitimate security testing and by threat actors for post-exploitation and lateral movement. It executes commands on remote Windows hosts by creating Windows services over SMB, allowing operators with sufficient access rights to control additional systems within a compromised environment. It is not inherently a standalone malware family.
Documented users include Masque, ExCobalt, and FIN8. Masque has used SMBExec for lateral movement during ransomware attacks against Russian businesses. ExCobalt has included it in an intrusion toolkit used in cyberespionage against Russian organizations. FIN8 has used it alongside WMIExec and BADHATCH during an intrusion at a US financial institution. These associations reflect adoption of a shared offensive tool rather than exclusive attribution to any one threat actor.
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In addition to the tools obtained from the threat actors' server directories, ExCobalt used the following tools: Mimikatz ProcDump SMBExec Metasploit rsocx.
Masque uses SMBExec from the Impacket framework to execute commands on remote hosts by creating Windows services.
“The threat actors used many tools for lateral movement, including ... smbexec.py.”
“The usage of a ‘C:\Windows\TEMP\execute.bat’ path is a smbexec IOC.”
6 distinct techniques documented for this family, organized by ATT&CK tactic.
Microsoft Excel can load these files that update a cell and force Excel to execute PowerShell code.
They used the tools 'net.exe', 'wmic.exe', 'psexec.exe', 'smbexec', and 'wmiexec'.
In July 2020, we discovered an attack that exposed an SMB port using ngrok. After exposing the service, the attacker used tools like SmbExec to run a local Windows shell on the infected machine, and then downloaded and executed a keylogger.
SMBExec : A PowerShell tool to perform pass-the-hash SMB connections.
In July 2020, we discovered an attack that exposed an SMB port using ngrok. After exposing the service, the attacker used tools like SmbExec to run a local Windows shell on the infected machine, and then downloaded and executed a keylogger.
This backdoor seeks commands from http://[C&C domain]/cmdpool and downloads additional files from http://[C&C domain]/upload. These additional files are mainly the lateral-movement tools mentioned below.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.