T1021.002 · SMB/Windows Admin Shares

Impacket Lateral Movement smbexec CommandLine Parameters

  • Windows
  • Confirmed Technique

About this detection

The following analytic identifies suspicious command-line parameters associated with the use of Impacket’s smbexec.py for lateral movement. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on specific command-line patterns indicative of Impacket tool usage. This activity is significant as both Red Teams and adversaries use Impacket for remote code execution and lateral movement. If confirmed malicious, this activity could allow attackers to execute commands on remote endpoints, potentially leading to unauthorized access, data exfiltration, or further compromise of the network.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…