Skip to content

NetExec (nxc): The CrackMapExec Successor Explained

NetExec (nxc) is the maintained successor to CrackMapExec, archived in December 2023: what nxc means, what changed, and how defenders detect it.

Mark KissBy , Founder & CEOUpdated 10 min read

Active Directory Security AssessmentFrom $6,000Fixed scope, free retest, no hourly billing.

Get my fixed price

NetExec, invoked as nxc (so when someone asks what nxc means, it is simply NetExec’s command name), is the network execution tool that internal network testers reach for first. It is the maintained successor to CrackMapExec, and if you have inherited older documentation or training material referencing crackmapexec or cme, this is what replaced it.

We use it on most internal engagements. This is what it actually does, and what its findings mean if you are on the receiving end of a report that mentions it.

Why CrackMapExec became NetExec

CrackMapExec was the standard tool for Active Directory enumeration and lateral movement for years. Development stalled, the original repository went unmaintained, and the community forked it. That fork became NetExec, now actively developed with broader protocol support and a faster release cadence.

The dates, from the projects themselves: CrackMapExec was created in 2015 by byt3bl33d3r and maintained from 2019 by mpgn for the next four years. When that arrangement ended in September 2023, the remaining active contributors continued the code under a new name, as the NetExec README records. The original CrackMapExec repository was archived by its owner on December 6, 2023 and is read-only, with a notice that the project is no longer maintained.

Who maintains NetExec

NetExec is a free, open-source project maintained by NeffIsBack, Marshall-Hallenbeck and zblurx, with community contributors, in the Pennyw0rth organization on GitHub. The official documentation is the wiki at netexec.wiki, which describes the tool as “a network service exploitation tool that helps automate assessing the security of large networks”. If a guide points you anywhere else for downloads, treat it with suspicion.

Practically: cme commands mostly translate to nxc, the module ecosystem carried over and grew, and anything written for CrackMapExec after roughly 2023 assumes NetExec. Older blog posts and course material still say CrackMapExec. The concepts transfer directly.

CrackMapExec vs NetExec at a glance

CrackMapExec NetExec
Command cme nxc
Status Archived December 2023, no longer maintained Actively maintained community fork
Protocols SMB, LDAP, MSSQL, SSH, WinRM, WMI, RDP, FTP, VNC the same set, plus NFS

If you are choosing today, there is no decision to make: NetExec is the maintained tool, and CrackMapExec receives no fixes. The only reason to know the old name is that so much documentation still uses it.

As of November 2026, the latest NetExec release is v1.5.1 (February 23, 2026), a patch that fixed an arbitrary file write in one of its own modules, spider_plus, following v1.5.0 in December 2025. That is the practical case for the maintained fork in one line: its bugs, including security bugs in the tool itself, still get fixed.

CrackMapExec to NetExec: what to change in old commands and notes

If you are updating a runbook, a course note or a detection rule written for CrackMapExec, these are the substitutions:

In old material In NetExec Notes
crackmapexec or cme nxc The protocol comes next in both, so cme smb <targets> -u <user> -p <password> becomes nxc smb <targets> -u <user> -p <password>
cmedb nxcdb The companion database tool was renamed with the main command
CrackMapExec repository and wiki The Pennyw0rth/NetExec repository and netexec.wiki Install with pipx install git+https://github.com/Pennyw0rth/NetExec
Module names Mostly unchanged Modules carried over, but some were renamed, merged or added, so list them for your version before relying on an old name
Password or hash only Also Kerberos -k authenticates with Kerberos, and --use-kcache uses an existing ticket

Detection content needs the same edit. A rule that matches the string crackmapexec or cme in command lines will not fire on nxc, so match on behavior, as described below, and not on the name.

What it is, in one line

NetExec automates the repetitive parts of attacking a network at scale: take a set of credentials and a range of hosts, then answer: where do these work, what can they reach, and what can I extract?

Doing that by hand across a few hundred hosts is impractical. NetExec turns it into a single command, which is exactly why it is central to internal network testing and why defenders should know its signature.

Flow diagram of what NetExec does in an internal test, in six steps. Given a credential and a range of hosts it confirms every host where the credential is valid, enumerates shares, users, groups and policies, and with sufficient privileges dumps hashes that are fed onward. Defenders see many logons across many hosts from one source in a short window, plus service creation events and bursts of share access on the targets. The fixes are unique local administrator passwords, SMB signing and tighter directory permissions.

The protocols that matter

NetExec is organized by protocol, and each answers a different question:

  • SMB: the workhorse. Host and share enumeration, credential validation across a range, session and user enumeration, password-policy retrieval, and file operations. Most internal engagements start here.
  • LDAP: Active Directory enumeration: users, groups, computers, password policies, and the kind of misconfiguration data (Kerberoastable accounts, unconstrained delegation) that feeds the next stage of an attack. Its --bloodhound option runs a built-in collector, so the same pass can gather the data for BloodHound attack path mapping.
  • WinRM: validates Windows Remote Management access, which often becomes the route to command execution once a working credential is found, typically with Evil-WinRM.
  • MSSQL: database server discovery, authentication, and command execution through xp_cmdshell where it is enabled.
  • SSH, FTP, RDP, WMI: credential validation and, where the protocol allows, execution across the remaining common services.

The pattern is consistent: point it at a target range with a credential, pick a protocol, and it tells you where that credential works and what it unlocks.

What it is used for in a real test

Four jobs dominate:

Credential spraying and validation. Given one credential (recovered from a phishing exercise, a config file, or a prior finding), NetExec confirms every host on which it is valid. A single reused local administrator password across a subnet is one of the most common critical findings on internal engagements, and this is how it surfaces. The list of valid usernames to check often comes from an earlier step with a tool such as Kerbrute.

Enumeration at scale. Shares, users, groups, and policies across hundreds of hosts in one command, building the map an attacker uses to plan lateral movement.

Credential extraction. With sufficient privileges, dumping local SAM hashes or LSASS material, then feeding those onward, the mechanics of how one compromised machine becomes ten. Much of the protocol work underneath is done by Impacket, the Python library NetExec is built on.

Lateral movement. Executing commands across every host where a credential works, demonstrating exactly how far an initial foothold reaches.

What its findings mean if you are on the receiving end

If a report cites NetExec, the meaning is usually one of these:

  • A credential worked in more places than it should have. The fix is unique local administrator passwords (LAPS) and tighter privilege boundaries.
  • SMB signing was not enforced, which enables NTLM relay attacks; enable signing.
  • An account could read far more of Active Directory than its role needs: tighten directory permissions.
  • Hashes were extractable from a host, which points to credential-caching and privilege problems on that machine.

None of these are exotic. They are the everyday structural weaknesses of a Windows network, which is exactly why a tool that finds them quickly is central to internal testing. Our Active Directory hardening checklist covers LAPS, SMB signing and directory permissions, each with a way to verify the fix.

How defenders detect it

NetExec is noisy by design, and that is useful to blue teams. Its activity shows up as:

  • Authentication spikes: many logons across many hosts from one source in a short window (Windows Event ID 4624/4625). This is the clearest signature.
  • Service creation events on target hosts where execution modules run.
  • SMB session patterns inconsistent with normal user behavior.

The Windows events behind those signatures, and what each one tells you:

Event ID Log What it records Why it matters here
4624 and 4625 Security Successful and failed logons One source authenticating to many hosts in minutes is the spray or validation pattern
4697 Security A service was installed in the system Remote command execution over SMB commonly creates a short-lived service
7045 System A new service was installed The same action as seen by the Service Control Manager, logged even where 4697 auditing is off
5140 Security A network share was accessed Access to ADMIN$ or C$ from a workstation that is not an admin host
5145 Security A network share object was checked for access Share enumeration and file spidering produce bursts of these

4697 needs the Audit Security System Extension subcategory enabled and 5145 needs Audit Detailed File Share, which is noisy, so many teams enable it on servers and domain controllers first. The lateral movement guide linked earlier works from the same event set.

Detection engineering against exactly these signatures is part of what a good internal test validates: not only “can we move laterally,” but “did anything notice.” If NetExec ran across your estate and nothing alerted, that is itself a finding.

How we use it in an engagement

NetExec is an internal-network tool. It assumes a foothold, a credential and network access, and answers what an attacker does next. That places it squarely in internal network penetration testing and the lateral-movement phase of a red team assessment, after initial access and before objective completion. It is one of the core tools behind Active Directory penetration testing.

On our engagements it runs only against the ranges named in the rules of engagement, with credential checks paced under the lockout limits agreed at scoping. What you get back is not a tool log but an answer: which credential worked where, and what it could read or run on each host. Those facts become the reuse and privilege findings in the report, each with proof of concept, its fix and a free retest once the fix ships, and the signatures above tell your team what should have alerted. Starting prices for this kind of test are on the internal network penetration testing cost page.

It is not a vulnerability scanner and not a web tool. It does one thing, turn credentials plus network access into a map of everywhere those credentials reach, and it does it faster than anything else.

Frequently asked questions

What does nxc stand for? Nothing more than NetExec. nxc is the short command name for the tool, in the way cme was the short name for CrackMapExec. It is not an acronym with its own meaning.

Is CrackMapExec still maintained? No. The original repository was archived on December 6, 2023 and receives no fixes. NetExec is the maintained continuation, with its latest release in February 2026.

Do old CrackMapExec commands work in NetExec? Mostly, after you change cme or crackmapexec to nxc. The protocol-first syntax and most options carried over. Check module names and newer options against the current wiki, because some changed after the fork.

Is NetExec legal to use? Only on networks you own or have written authorization to test. Running it against someone else’s systems is unauthorized access under computer misuse laws. In a penetration test it runs inside a signed scope and rules of engagement.

How do defenders detect NetExec? By behavior, not by name: one source logging on to many hosts in a short window (events 4624 and 4625), new services appearing on targets (4697 and 7045), and bursts of administrative share access (5140 and 5145).

The short version

NetExec (nxc) is the maintained successor to CrackMapExec, and the first tool most testers reach for once inside a Windows network. It automates credential validation, enumeration, extraction, and lateral movement across many hosts at once. If it appears in a report against your environment, the underlying issues are almost always reused credentials, missing SMB signing, or excessive access: the structural problems every internal test is designed to find.

Want to know how far a single compromised credential would reach inside your network? That is exactly what an internal penetration test measures. Scope one here.

Mark Kiss

Written by

Mark Kiss, Founder & CEO

15+ years in the field. Focus: Offensive security & strategy. Part of the team that scopes, tests, and reports for our clients. Full profile →

All articlesRed Teaming

Find out what an attacker sees.

Tell us what to test and see your fixed price.

Prefer the full scoping questionnaire? 
Start the conversation

Get a quick proposal

We are online