DETECTION OVERVIEW
Risk Factors
Impacket is an open-source collection of tools for manipulating packets and network protocols such as SMB. An attacker with local administrator privileges can run commands with the SMBExec tool to compromise remote devices, helping the attacker move laterally across the network.
Category

SMBExec is a python script included in the Impacket toolset. SMBExec creates a semi-interactive shell process that can start services on a remote device. Attacks with SMBExec, where commands are hidden in Windows service requests, can be difficult to detect because the attack does not require a malware download.
An attacker that has obtained local administrator privileges inside the network identifies a victim device they want to compromise. The attacker runs SMBExec, which sends an RPC request over SMB to the victim. This request opens Microsoft Service Control Manager (SCM), starts a new service with the default name BTOBTO, and instructs the service to run a command contained within the request. The service directs the output of the command to a temporary file and then the attacker retrieves the file. Finally, SMBExec deletes the file and the service to hide evidence of compromise.
Restrict file share access in Windows firewall settings to only authorized IP addresses
Do not allow remote access by users with local administrator credentials
Do not allow domain user accounts to be in the local Administrator group
Require separate administrator credentials for different types of remote activity
Learn how attackers use the Impacket tool to move laterally in encrypted east-west traffic. Discover how ExtraHop RevealX provides the crucial visibility to detect these hidden threats.
Network analysis and visibility solutions remain underrepresented in enterprises. Find out why in this preview of a new Wave report.
ExtraHop® Named a Leader in First-Ever Gartner® Magic Quadrant™ for Network Detection and Response
Visit this resource for more information.
This analysis exposes the critical link between an organization's lack of internal visibility and the escalating cost of compromise, demanding an urgent re-evaluation of how core business assets are protected.
Learn why you need to be wary of the claims certain network detection and response providers make about their coverage against the MITRE ATT&CK framework.
Learn how NDR from RevealX helps security teams detect and investigate more adversary TTPs in the MITRE ATT&CK framework than rule-based tools.
