psexec

Execute remote SYSTEM-level commands on Windows hosts via SMB using Impacket.

15|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/AeonDave/malskill --skill psexec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: psexec
Source: https://github.com/AeonDave/malskill/tree/main/offensive-tools/windows/psexec
Command: npx skills add https://github.com/AeonDave/malskill --skill psexec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a way to gain remote SYSTEM-level shell access on Windows hosts, particularly useful for administrative tasks and security assessments when direct access is not available or when needing to execute commands with elevated privileges.

Core Features & Use Cases

  • Remote Execution: Execute commands and scripts on remote Windows machines.
  • SYSTEM Shell: Obtain a SYSTEM-level shell for maximum privileges.
  • Pass-the-Hash: Supports authentication using NTLM hashes for remote execution without plaintext passwords.
  • Use Case: You need to run a specific diagnostic command on a remote Windows server that requires SYSTEM privileges, and you only have the NTLM hash of an administrator account.

Quick Start

Use the psexec skill to get a SYSTEM shell on the target IP 192.168.1.10 using the administrator's password.

Frequently Asked Questions about psexec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a remote SYSTEM shell on a Windows host via SMB?

To get a remote SYSTEM shell via SMB, you use the Impacket suite to create a service on the target Windows machine and execute a binary over the network. This grants elevated shell access for remote administration.

Can I authenticate to a remote Windows machine using an NTLM hash instead of a password?

Yes, you can authenticate using an NTLM hash instead of a plaintext password. This pass-the-hash technique allows remote command execution on Windows hosts without requiring the actual administrator password.

What is pass-the-hash remote execution and when is it needed?

Pass-the-hash remote execution is a technique that uses NTLM hashes for authentication instead of plaintext passwords. It is needed for security assessments or administrative tasks when you only have the hash of an administrator account.

Does Impacket psexec support running diagnostic commands with elevated privileges?

Yes, Impacket psexec supports running diagnostic commands with elevated privileges. It leverages remote service creation over SMB to execute scripts and commands at the SYSTEM level on Windows servers.

What is the best way to execute remote commands on Windows when direct access is unavailable?

The best way to execute remote commands when direct access is unavailable is using Impacket psexec over SMB. It bypasses standard access restrictions by creating a remote service to launch a SYSTEM-level shell.

What are the limitations of obtaining a SYSTEM shell through remote service creation?

Obtaining a SYSTEM shell through remote service creation requires SMB access and valid administrative credentials or NTLM hashes. It is limited by network firewall rules blocking SMB ports and requires elevated account privileges on the target Windows host.