crackmapexec

Automate Active Directory credential spraying, enumeration, and remote command execution over SMB and WinRM.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines post-exploitation tasks in Active Directory environments, automating credential spraying, enumeration, and remote command execution.

Core Features & Use Cases

  • Credential Spraying: Test common credentials against multiple targets.
  • Enumeration: Discover users, groups, computers, and shares.
  • Remote Execution: Run commands and scripts on target systems via SMB or WinRM.
  • Data Dumping: Extract sensitive information like SAM, LSA secrets, and NTDS.dit.
  • Use Case: Quickly identify valid credentials by spraying a list of usernames and a common password across your Active Directory domain to gain initial access.

Quick Start

Use the crackmapexec skill to spray the password 'Summer2024!' against all SMB targets in the 192.168.1.0/24 subnet using the user list 'users.txt'.

Frequently Asked Questions about crackmapexec

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

FAQPage Schema
How do I automate credential spraying across an Active Directory subnet?

Credential spraying across an Active Directory subnet is automated by testing a common password against a list of usernames over SMB or WinRM. This Skill targets entire subnets, like 192.168.1.0/24, to quickly identify valid login credentials.

What is the best way to enumerate users and shares in an Active Directory environment?

Enumerating Active Directory environments involves discovering available users, groups, computers, and network shares. This Skill automates host enumeration across SMB and WinRM protocols to map domain resources and identify potential attack surfaces.

Can I execute remote commands on target systems using NTLM hashes?

Remote command execution supports plaintext passwords, NTLM hashes, and Kerberos authentication. You can run commands and scripts on target systems via SMB or WinRM protocols using pass-the-hash techniques without needing the original plaintext password.

How does Active Directory post-exploitation dump sensitive security data like NTDS.dit?

Active Directory post-exploitation dumps sensitive security data by extracting SAM databases, LSA secrets, and NTDS.dit files. This Skill automates the extraction of these credentials from remote targets via SMB or WinRM protocols.

Does this approach support running Mimikatz and BloodHound collectors remotely?

Running Mimikatz and BloodHound collectors remotely is fully supported as executable modules. The Skill integrates these post-exploitation modules to dump credentials and collect Active Directory attack path data directly from targeted hosts.

When should I use WinRM versus SMB for lateral movement in a domain?

Use WinRM versus SMB for lateral movement based on open ports and allowed authentication protocols. This Skill executes remote commands and performs lateral movement across both protocols, supporting plaintext, NTLM hash, and Kerberos authentication methods.