ExtraHop named a Leader in the 2025 Forrester Wave™: Network Analysis And Visibility Solutions

Search
  • Platformchevron right
  • Solutionschevron right
  • Modern NDRchevron right
  • Resourceschevron right
  • Companychevron right

DETECTION OVERVIEW

Impacket PsExec Activity

Risk Factors

Attackers that want to run remote commands on a Windows device are more likely to choose the built-in PsExec utility over the Impacket PsExec python script. But the Impacket script enables an attacker to easily compromise remote devices and move laterally across the network.

Category

Lateral Movement
Detection diagram
Next in Lateral Movement: Impacket SMBExec Activity

Attack Background

Impacket is an open-source collection of tools for manipulating packets and network protocols such as SMB/CIFS. PsExec is a python script included in the Impacket toolset. An attacker with local administrator privileges inside the network next identifies a victim device they want to compromise. The attacker runs the Impacket PsExec script, which uploads a randomly-named executable file to the ADMIN$ share on the victim device. The script then sends a Microsoft remote procedure call (MS-RPC) request to the victim device over SMB to register a service through the Windows Service Control Manager. The service runs the executable file, which creates a named pipe. The named pipe enables the attacker to send input to the victim device and receive output through an interactive shell. Finally, the PsExec script deletes the files and the service to hide evidence of compromise.

Mitigation Options

Restrict remote access by users with local administrator credentials
Restrict adding domain user accounts to the local Administrator group
Reduce the number of users that have administrator privileges
Restrict file share access in Windows firewall settings to only authorized IP addresses

MITRE ATT&CK ID

Associated content

Breaking Through Encrypted East-West Traffic: How to Detect Impacket’s Hidden Lateral Movement — ExtraHop

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.

Blog

How to Detect PsExec Misuse with ExtraHop — ExtraHop

PsExec is a Windows Sysinternals utility that enables IT administrators to run commands and executable binary files on remote servers, but it can also be used for stealthy lateral movement.

Blog

Announcing The Forrester Wave™: Network Analysis And Visibility Solutions, Q4 2025

Network analysis and visibility solutions remain underrepresented in enterprises. Find out why in this preview of a new Wave report.

Report

ExtraHop® Named a Leader in First-Ever Gartner® Magic Quadrant™ for Network Detection and Response — ExtraHop

ExtraHop® Named a Leader in First-Ever Gartner® Magic Quadrant™ for Network Detection and Response

News

Detections

Visit this resource for more information.

Docs

The 2025 ExtraHop Global Threat Landscape Report: The Alarming Reality of Threat Actor Dwell Time and Deeper Network Access — ExtraHop

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.

Blog

ExtraHop RevealX MITRE ATT&CK Coverage 2024 — ExtraHop

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.

Blog

MITRE ATT&CK - Network Detection & Response with RevealX — ExtraHop

Learn how NDR from RevealX helps security teams detect and investigate more adversary TTPs in the MITRE ATT&CK framework than rule-based tools.

External
Periodic Table of Use Cases

What else can RevealX do for you?