windows-lateral-movement

Execute lateral movement techniques on Windows systems for penetration testing.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-skill --skill windows-lateral-movement-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: windows-lateral-movement
Source: https://github.com/Prohao42/aimy-skill/tree/main/ai-mian/hack-skills/skills/windows-lateral-movement
Command: npx skills add https://github.com/Prohao42/aimy-skill --skill windows-lateral-movement-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires psexec, impacket, mimikatz, winrm, wmi, dcom, rdp, ssh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert-level Windows lateral movement techniques, enabling penetration testers to navigate and pivot between Windows hosts securely and efficiently.

Core Features & Use Cases

  • Lateral Movement: Execute PsExec, WMI, WinRM, DCOM, SMB, RDP, SSH, pass-the-hash, overpass-the-hash, pass-the-ticket, and pivoting techniques.
  • Credential Extraction: Extract credentials from LSASS memory, SAM, SECURITY hives, DPAPI, and NTDS.dit.
  • Remote Execution: Execute commands remotely using various methods like PsExec, WMI, and WinRM.
  • Use Case: A penetration tester needs to move laterally within a Windows network to gather information and escalate privileges.

Quick Start

Load the windows-lateral-movement skill and use it to execute a command on a remote host using WMI: wmiexec.py DOMAIN/administrator:password@TARGET_IP

Frequently Asked Questions about windows-lateral-movement

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

FAQPage Schema
How do I execute lateral movement on Windows using WMI for remote command execution?

Windows lateral movement via WMI involves executing commands remotely on a target host. You can achieve this using tools like impacket's wmiexec.py, which authenticates to the target and runs processes through Windows Management Instrumentation.

What is pass-the-hash and how does it work with PsExec for Windows pivoting?

Pass-the-hash is a lateral movement technique where an attacker authenticates using an NTLM hash instead of a plaintext password. With PsExec, this hash is used to remotely execute processes on Windows systems via SMB, enabling network pivoting.

How do I extract credentials from LSASS memory and the NTDS.dit file during a penetration test?

Credential extraction from LSASS memory and NTDS.dit retrieves hashes and plaintext passwords for lateral movement. Tools like mimikatz dump LSASS, while techniques targeting the NTDS.dit file extract domain controller credentials.

Does WinRM support remote execution for lateral movement across Windows hosts?

Yes, WinRM supports remote execution for lateral movement across Windows hosts. It allows authenticated users to execute commands and scripts on remote machines, commonly utilized through tools like impacket's wmiexec or native PowerShell remoting.

What is the difference between pass-the-ticket and overpass-the-hash techniques?

Pass-the-ticket injects a stolen Kerberos ticket directly into memory for authentication, while overpass-the-hash uses an NTLM hash to request a new Kerberos ticket, effectively turning a hash into a full Kerberos session for lateral movement.

Do I need impacket and mimikatz to perform remote execution and credential extraction on Windows?

Yes, impacket and mimikatz are essential for expert Windows lateral movement. Impacket facilitates remote execution via protocols like WMI and SMB, while mimikatz performs credential extraction from memory and hives like SAM and SECURITY.