NetExec, commonly abbreviated as nxc, is a dual-use network security assessment and post-exploitation tool and the successor to CrackMapExec. It is used for legitimate security testing as well as malicious operations, particularly against Windows and Active Directory environments. Its capabilities include SMB scanning, host and network-share discovery, domain enumeration, credential validation, password spraying, credential dumping, and remote command execution. These functions support reconnaissance, credential access, and lateral movement using compromised accounts.
NetExec integrates with BloodHound and supports Kerberos-related attacks, Active Directory Certificate Services abuse, LAPS-related attacks, and Microsoft SQL Server enumeration. Its Veeam credential-retrieval module can query stored backup credentials and decrypt them using Windows DPAPI, potentially exposing credentials associated with backup infrastructure and connected systems.
NetExec has been used in ransomware intrusions involving GOLD OGRE and Aur0ra, The Gentlemen, SafePay, Storm-2570, and Longlegs. Observed roles include internal subnet scanning, Active Directory enumeration, credential checks, and remote execution. It has also been incorporated into AI-assisted intrusion workflows. Its presence alone does not establish malicious activity or attribution to a particular threat actor.
9 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The server contained NetExec alongside a “.nxc/” directory described as holding SMB credential databases.
“Active Directory Harvest via NetExec (nxc): Once inside the VPN tunnel, the toolchain immediately targeted the exact internal Domain Controller IP addresses listed in the firewall’s LDAP configuration table.”
“nxc / NetExec (CrackMapExec successor) ... SMB/AD enumeration, credential validation, lateral movement” | NetExec SMB scanning: nxc smb 192.168.10.0/24 (32 occurrences).
nxc.exe NetExec tool for system discovery, credential checks, and remote operations
The affiliate uploaded a Russian-language NetExec cheat-sheet repository on May 7, 2025.
+3 more in the app. View in Mallory
53 distinct techniques documented for this family, organized by ATT&CK tactic.
Your first step is to dump the domain user list using tools like netexec or ldapsearch.
Cursor Agent a reçu pour tâche le scan des sous-réseaux internes avec Nmap ou NetExec.
“Structured FortiGate device scanning: IP, port, model, firmware, hostname, country.”
Mythic/Athena, Sliver, Ligolo-ng, Chisel, NetExec, BloodHound
«На этот раз... нам выдали учетные данные с правами пользователя домена... Первым делом проверяем выданные учетные данные с помощью NetExec». | «Проверить, нет ли учетных записей, уязвимых для атаки Pre2k... пароль часто совпадает с именем самой учетной записи без $.»
k0t made extensive use of NetExec’s built-in atexec (which uses the Windows Task Scheduler service) execution method for remote execution.
“NetExec can… Open a remote PowerShell instance… When instructed to execute with --cmd or –ps… runs either ‘cmd.exe’ or ‘powershell.exe.’”
“Runsvc.exe leverages randomly named pipes to communicate with netsvc.exe.”
k0t made extensive use of NetExec’s built-in smbexec (which uses the Windows Service Control Manager over SMB) execution method for remote execution.
k0t made extensive use of NetExec’s built-in atexec (which uses the Windows Task Scheduler service) execution method for remote execution.
«На этот раз... нам выдали учетные данные с правами пользователя домена... Первым делом проверяем выданные учетные данные с помощью NetExec». | «Проверить, нет ли учетных записей, уязвимых для атаки Pre2k... пароль часто совпадает с именем самой учетной записи без $.»
smbexec, Remote service creation, Service Creation events (7045)... A distinctive forensic indicator of Impacket-based execution is the creation of services with names containing Unix epoch timestamps.
k0t made extensive use of NetExec’s built-in atexec (which uses the Windows Task Scheduler service) execution method for remote execution.
«На этот раз... нам выдали учетные данные с правами пользователя домена... Первым делом проверяем выданные учетные данные с помощью NetExec». | «Проверить, нет ли учетных записей, уязвимых для атаки Pre2k... пароль часто совпадает с именем самой учетной записи без $.»
Luke Jennings did in 2014 when he developed the Access Token impersonation attack... if attackers get hold of that token and create a new process linking that token, the system will treat the process as being spawned by the usurped account.
smbexec, Remote service creation, Service Creation events (7045)... A distinctive forensic indicator of Impacket-based execution is the creation of services with names containing Unix epoch timestamps.
Infection chains involve the use of red team utilities like NetExec, RelayKing, TaskHound, PrivHound, and CertiHound to perform Active Directory discovery, certificate abuse, privilege escalation, and file share discovery.
«На этот раз... нам выдали учетные данные с правами пользователя домена... Первым делом проверяем выданные учетные данные с помощью NetExec». | «Проверить, нет ли учетных записей, уязвимых для атаки Pre2k... пароль часто совпадает с именем самой учетной записи без $.»
Luke Jennings did in 2014 when he developed the Access Token impersonation attack... if attackers get hold of that token and create a new process linking that token, the system will treat the process as being spawned by the usurped account.
`nxc smb 192.168.13.110 ... --lsa` and `secretsdump.py ...` are used to retrieve hashes for Administrator, krbtgt, service accounts, and machine accounts from the domain controller.
Mimikatz – Seen used to dump cleartext passwords and NTLM hashes from LSASS.
Operators used NetExec to dump the Security Account Manager database from compromised Windows hosts.
Over the following days, they expanded access through ... LSASS/NTDS dumping activity
Operators used NetExec to extract LSA secrets, including stored service, machine and automatic-logon credentials.
...Different stages of the workflow got their own prompt: network scanning, web enumeration, Active Directory enumeration, credential enumeration, exploitation, privilege escalation.
[The attackers] used NetExec for Active Directory discovery, credential spraying, and remote execution.
The command history shows the installation and execution of tools targeting Windows authentication and Active Directory, including Responder, NTLM relay-related tools, Impacket, and NetExec.
"the escalation path was human nature and password re-use" followed by `nxc smb ... -u Administrator -H ... --lsa` and `secretsdump.py ... -hashes ...`, which outputs account NTLM hashes.
“Our SYSVOL has Groups.xml with cpassword” and “Microsoft encrypted the passwords using AES, but then made the private encryption key public.”
XenAllPasswordPro mass deployment via SMB.
“dump credentials… from… web browsers… [T1555.003]”
“...dump credentials stored in the Windows Credential Manager… [T1555.004].”
This was followed by Kerberos relay attacks and exploitation of CVE-2025-33073, highlighting the risk of credential theft from internal web applications... Apply identity hardening to reduce the feasibility and blast radius of relay-style authentication attacks.
ntlmrelayx, Responder. NTLM coercion: nxc smb hostx.txt -M coerce_plus.
This includes Impacket, KrbRelayX, Coercer, BloodHound.py, NetExec, Kerbrute, and Metasploit... Observed malicious activity included downloading credentials, enumerating Kerberos usernames via Kerbrute...
« Énumération : NetExec (LDAP/SMB), ASREPRoasting, Kerberoasting ».
« Énumération : NetExec (LDAP/SMB), ASREPRoasting, Kerberoasting ».
the latest pull request I did on that module allows requesting a PFX via a scheduled task on behalf of another user... Doing so, you will be able to obtain a certificate that you can use to authenticate on the Active Directory network as the usurped user.
The SoftPerfect Network Scanner (netscan.exe) was deployed to identify accessible systems on the network. Additionally, NetExec (nxc.exe) was used for network enumeration and credential validation.
« Découverte réseau et Active Directory (BloodHound, Nmap, NetExec) » ; « des prompts en russe [...] demandant notamment l’énumération de serveurs backup, NAS et virtualisation »
The next step was to find where this user was actively logged in on the internal network. By utilising our Domain Admin rights, we queried active logon sessions on the workstation via netexec --loggedon-users module over SMB.
esxi_finder.py identifie les hyperviseurs ESXi et serveurs vCenter en scannant les ports 443 et 902, en lisant les certificats TLS et en interrogeant /sdk, /ui/ et /.
Énumération du domaine AD (droits utilisateur) via le collecteur BloodHound de NetExec.
NetExec was used to enumerate LDAP domain admin groups.
Operators swept file servers and every reachable workstation for documents.
Attempt anonymous LDAP queries to dump the domain user list.
Reconnaissance interne via nxc / NetExec contre les systèmes internes, ciblant notamment les serveurs LDAP/Active Directory
Operators enumerated SMB shares and permissions across every reachable host in each victim network.
“[The operator] retrieved password policy details.”
The attackers later ran... nltest /domain_trusts.
Using NetExec via the SMB protocol, operators enumerated security software for discovery.
They then used NetExec and Impacket to attempt authentication to services such as SMB, LDAP, RDP, and WinRM, seeking access to multiple hosts and attempting lateral movement.
They removed RDP hijacking but left the RDP shadow feature that still lets a local admin view and interact with another user’s session... it still grants access to the target’s remote desktop session which is enough to do some damage.
NetExec with forced share creation via PowerShell.
A set of events related the usage of NetExec attacker toolkit.
Pass the Hash NetExec (nxc smb -H)... then moves laterally with stolen NTLM hashes.
Mimikatz PassTheTicket CommandLine Parameters ... Pass the Ticket ... Rubeus Command Line Parameters ... Pass the Ticket, Kerberoasting, AS-REP Roasting ... Rubeus Kerberos Ticket Exports Through Winlogon Access ... Pass the Ticket ... Windows Process With NetExec Command Line Parameters ... Pass the Ticket, Kerberoasting, AS-REP Roasting
T1570 — Lateral Tool Transfer (Lateral Movement)
The Public share on the other hand sounds much more interesting... Total files found: 1... 'SQL Server Procedures.pdf'... On the second page we get something even better — credentials to authenticate to the database.
This was followed by Kerberos relay attacks and exploitation of CVE-2025-33073, highlighting the risk of credential theft from internal web applications... Apply identity hardening to reduce the feasibility and blast radius of relay-style authentication attacks.
ntlmrelayx, Responder. NTLM coercion: nxc smb hostx.txt -M coerce_plus.
upload / download — allows you to upload files to the destination host; ... nxc smb office.local -u admin -p admin --put-file /root/RpcMotion.exe c:\rpcmotion.exe
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.