Impacket-RS: Does a Rust Impacket Break Your Detections?

By 12 min read
Impacket-RS, the Rust rewrite of the Impacket toolkit, and what it means for detection

Impacket is the Python toolkit behind a large share of Windows lateral movement, in pentests and in real intrusions. On 11 November 2026 a single developer published Impacket-RS, a ground-up Rust rewrite that runs as one binary with no Python at all, and shipped ten releases in the next 16 days.

The short answer to the title: Impacket-RS removes the operator-side signals that depend on Python, and its latest release tries to remove some on-disk artifacts too, but the target-side traces that good detections rely on (network logons, admin share access, new services, and suspicious process trees) are still there. If your Impacket detections were built on those, they should hold. If they were built on file names and default strings, test them again.

What is Impacket-RS?

Impacket-RS is an open-source reimplementation of the Impacket toolkit in the Rust programming language, published at github.com/nestho/impacket-rs under the Apache-2.0 licence. It describes itself as a memory-safe redesign with “100% Impacket Parity”, sub-millisecond start times and pure-Rust cryptography.

Impacket, the original, is a Python library and set of example scripts for speaking Windows network protocols directly: SMB (Server Message Block, the Windows file sharing protocol), MSRPC (Microsoft’s remote procedure call system), Kerberos, LDAP and NTLM. Its scripts, such as psexec, wmiexec, secretsdump and ntlmrelayx, are standard kit for red teams and appear in many incident reports. The upstream repository, fortra/impacket, has 16,335 stars and 4,000 forks according to the GitHub API, and its latest release is 0.13.1 from 19 May 2026.

Impacket-RS covers the same ground in five groups, according to its README: remote execution, credential and offline extraction, a Kerberos suite, Active Directory and LDAP administration, and network, SMB and database services. It also folds in functions that live in separate projects today, such as ADCS (Active Directory Certificate Services) auditing in the style of Certipy and Shadow Credentials in the style of Whisker.

Four headline figures for the Impacket-RS GitHub project: stars, releases, contributors and downloads.
Impacket-RS is moving fast but is still small: one contributor and a few hundred downloads. Data: GitHub API, 30 November 2026.

Who is behind Impacket-RS?

The project is the work of one GitHub account, nestho, created in April 2020 with a profile bio that reads “Infosec guy”. The GitHub API lists a single contributor with 133 commits, and about 2.9 MB of Rust source.

The same account submitted the tool to the gwen001 offensive tools directory twice on 11 November, the day the repository was created. KitPloit, which lists new security tools, published it on 18 November, as recorded by the Sploitus aggregator. A fork under the name 0xaptc/impacket-rs, created on 19 November with no stars, also appears in search results; the GitHub API confirms it is a fork of nestho’s repository rather than a separate project.

We found no independent coverage or audit of the code, so every capability claim below comes from the project’s own README, release notes and submissions.

How fast has it moved?

Very fast. The first release, v0.1.0, appeared on 13 November, and v0.7.0 followed on 28 November. In between came v0.1.1, v0.2.0, v0.2.1, v0.3.0, v0.4.0, v0.4.1, v0.5.0 and v0.6.0, with three of those on 16 November alone.

Timeline of Impacket-RS from repository creation on 11 November to the v0.7.0 release on 28 November 2026.
Seven minor versions in just over two weeks, ending with a release focused on evading detection. Data: GitHub API, Sploitus.
Date (2026) Event Source
11 November Repository created; two submissions to an offensive tools directory GitHub API, GitHub issues
13 November v0.1.0, v0.1.1 released GitHub releases
16 November v0.4.0, v0.4.1 and v0.5.0 released GitHub releases
18 November Listed by KitPloit Sploitus
19 November v0.6.0 released; first fork created GitHub API
28 November v0.7.0 released with OPSEC and zero-disk features GitHub releases

Usage is still low. Across all ten releases, the downloadable binaries had been fetched 220 times on 30 November, though that number does not count anyone who built from source.

What does Impacket-RS change for attackers?

Three things matter for defenders: packaging, platform and the explicit focus on stealth in the latest release.

One binary, no Python

Python Impacket needs an interpreter and its dependencies on the machine it runs from. Impacket-RS ships as a single binary: v0.7.0 has Linux .deb and .rpm packages for amd64 and arm64, macOS disk images, and Windows executables for amd64 (about 3.7 MB) and arm64. An attacker who lands on a Windows server can drop one file instead of a Python toolchain or a frozen PyInstaller build.

Windows as a launch point

A native Windows build makes it easier to run these tools from a compromised workstation inside the network, so the source of a malicious SMB or RPC session may be an ordinary Windows endpoint running an unfamiliar executable.

A release built around evasion

The v0.7.0 release notes describe two features aimed straight at common detections. The first is what the project calls zero-disk named pipe streaming: command output is sent back over a named pipe instead of being written as a temporary file to ADMIN$ or C$. The second is an OPSEC “risk profiler”, a –opsec flag on the psexec, smbexec, wmiexec, atexec and dcomexec equivalents that, according to the notes, predicts which Windows event IDs (7045, 4688, 4698, 5145 and 5861) and EDR tripwires a technique will trigger.

The same release adds a native WinRM client, options to read and change the RDP Restricted Admin registry setting, an MSSQL-based authentication coercion option, and a Kerberos ticket feature the author says bypasses the PAC signature validation introduced with Microsoft’s KB5008380 update. That last claim is the author’s own and we found no independent test of it.

A named pipe is a Windows inter-process communication channel that can also be reached over SMB. EDR, short for endpoint detection and response, is the agent software that records process, file and network activity on a host.

Do existing Impacket detections still work?

Mostly, if they are built on what happens on the target. Every detection source we reviewed looks at telemetry from the Windows host being attacked, not at the attacker’s Python process.

Five layers of target-side evidence left by Impacket-style remote execution on Windows hosts.
A rewrite in a new language changes the client, not what the Windows target records. Data: CrowdStrike, Synacktiv, Splunk, Wazuh.

What the published detections look for

  • CrowdStrike (2022) describes wmiexec as WmiPrvSE.exe spawning cmd.exe with the /Q /c switches and output redirected to a file named with two underscores and an epoch timestamp under ADMIN$. It recommends enabling process creation event 4688 with command lines, which is not on by default.
  • Synacktiv (2022) lists the traces for each method: event 4624 logon type 3 and 4672 for the network logon, 7045 for a new service with a random four-character name for psexec, 5145 for share access, Impacket’s RemCom named pipes, WMI-Activity event 5857, and task XML files for atexec.
  • Splunk publishes the analytic “Impacket Lateral Movement WMIExec Commandline Parameters”, last updated 9 October 2026, using event 4688, Sysmon event 1 or CrowdStrike process data, mapped to T1021.002, T1021.003, T1047 and T1543.003.
  • Wazuh (2025) uses Sysmon process events to flag cmd.exe /Q /c launched by WmiPrvSE, mmc, explorer or services, plus a rule for svchost creating eight-character .tmp files linked to secretsdump.

Which signals are at risk

Two kinds of rules are weaker. Rules matching the output file pattern on ADMIN$ or C$ may miss the named pipe mode if it works as described. Rules matching exact default service names, pipe names or command templates may miss a reimplementation that changes them; we have not tested which defaults Impacket-RS keeps.

Rules on process lineage, new services, scheduled tasks, network logons and share access should be unaffected, because the Windows side of the protocol is the same whichever client speaks it.

How to detect Impacket-RS and similar tools

Detect the behaviour, not the tool. These are the log sources and patterns to have in place, drawn from the sources above.

Log sources to enable

  1. Security event 4688 with command-line logging, or Sysmon event 1, on servers and workstations.
  2. Security events 4624 and 4672, and 5145 (detailed file share auditing) at least on servers and domain controllers.
  3. System event 7045 and Security event 4697 for new services; 4698 for new scheduled tasks.
  4. Sysmon named pipe events, if your Sysmon configuration records them.
  5. WMI-Activity operational log events 5857 and 5861, and WinRM operational logs.

Behaviours worth alerting on

  • cmd.exe or powershell.exe started by WmiPrvSE.exe, services.exe or mmc.exe after a network logon from another host.
  • A new service whose image path is a short random name or a command line rather than a signed binary.
  • An unfamiliar executable on a Windows endpoint opening SMB, RPC, LDAP or Kerberos sessions to many hosts or to domain controllers.
  • Registry changes to the DisableRestrictedAdmin value under the LSA key, which v0.7.0 can now set remotely.
  • Replication requests (DCSync) from any account or host that is not a domain controller.

MITRE ATT&CK mapping

Technique ID Impacket-RS feature (per README)
Remote Services: SMB/Windows Admin Shares T1021.002 psexec, smbexec equivalents
Remote Services: DCOM T1021.003 dcomexec equivalent
Windows Management Instrumentation T1047 wmiexec equivalent
Create or Modify System Process: Windows Service T1543.003 service-based execution
OS Credential Dumping: DCSync T1003.006 secretsdump
Steal or Forge Kerberos Tickets T1558 ticketer, GetUserSPNs, GetNPUsers

The first four IDs are the ones Splunk’s analytic uses. The last two are our mapping of the README’s tool list to ATT&CK.

How to reduce the risk

Impacket-RS adds no new attack class. It re-implements attacks that Impacket and other tools already perform, so the mitigations are the familiar ones, in rough priority order.

  1. Limit local administrator rights. Remote service and WMI execution need admin rights on the target. Use unique local admin passwords (Windows LAPS) and remove standing admin rights from user accounts.
  2. Block lateral SMB, RPC and WinRM between workstations. Workstations rarely need to reach each other on ports 135, 445 and 5985/5986. Host firewalls can close that path.
  3. Enforce SMB signing and LDAP signing with channel binding. This removes many NTLM relay paths that ntlmrelayx-style tools use. Our write-up of the LDAP signing bypass CVE-2026-70229 shows why the October 2026 patch also matters here.
  4. Audit ADCS templates and CA permissions. Impacket-RS bundles ESC checks; run the same checks yourself first. The BloodHound 9.10 ADCS update maps these paths visually.
  5. Protect domain controller replication rights. Only domain controllers should hold the rights that allow DCSync.
  6. Turn on the logs listed above and test them. Run the original Impacket and, in a lab, Impacket-RS against a test host and confirm each alert fires.

Impacket-RS vs Python Impacket

The two projects differ in maturity far more than in purpose.

  Python Impacket Impacket-RS
Maintainer Fortra, many contributors One developer (nestho)
Repository fortra/impacket nestho/impacket-rs
Stars / forks 16,335 / 4,000 114 / 15
Latest release 0.13.1, 19 May 2026 v0.7.0, 28 November 2026
Runtime Python interpreter and libraries Single self-contained binary
Platforms Anywhere Python runs Linux, macOS, Windows (amd64, arm64)
Licence (GitHub) No standard identifier reported Apache-2.0
Detection history Years of public rules and research None published yet

How it compares to other tools on this site

Open-source red team tools tend to end up in real intrusions; AdaptixC2, the red team C2 now used by ransomware operators, is the clearest recent example. That is why it is worth testing detections against Impacket-RS before it appears in an incident report.

The catch: what the project does not prove

The project’s claims are bold, and several do not line up with each other.

Self-reported speed

The README says Impacket-RS starts 103 times faster than Python Impacket, packs and unpacks RPC data 139 times faster, and uses a tenth of the memory. These benchmarks were run by the author, against Impacket 0.12.0 rather than the current 0.13.1, and on the project’s v0.1.0. No one else has published a measurement.

Bar chart of the speedups Impacket-RS claims over Python Impacket 0.12.0, all self-reported.
Large claimed speedups, none independently measured. For most lateral movement the network, not Python, is the bottleneck. Data: Impacket-RS README.

Shifting tool counts and roadmap

The same README describes the tool set as 74 subcommands, 75 subcommands and 95 subcommands in different places, alongside a “74/74 tools” parity badge. Its roadmap places ADCS auditing and Shadow Credentials in phases scheduled for 2027, while the overview and release notes say they already ship.

Limited validation

In one of the 11 November directory submissions, the author wrote that the project was still early and that not every subcommand had been validated against every Active Directory and Windows version. The README lists no test matrix against real Windows builds.

No audit, no disclaimer

We found no independent code review and no authorised-use notice, and the roadmap lists bindings intended for C2 implants. Red teams should test the binary in a lab before a client engagement; defenders should treat it appearing on a network as worth investigating.

Open questions

  • Which defaults does it keep? We could not confirm whether Impacket-RS reuses Impacket’s service names, pipe names and command templates, which decides how many string-based rules still fire.
  • Does the zero-disk mode work as described? The named pipe output feature comes from release notes, not from a published test.
  • Is the PAC validation bypass real? The claim about KB5008380 is unverified. If it holds on fully patched domain controllers, it deserves its own analysis.
  • Who uses it? No threat report has named Impacket-RS in an intrusion so far.

The bottom line

Impacket-RS is a fast-moving, single-developer Rust rewrite of Impacket that ships as one binary for Windows, Linux and macOS, and its latest release openly targets the artifacts defenders hunt for. Its speed and parity claims are unverified, but it does not need to be faster to matter. Detections built on target-side behaviour (logons, shares, services, tasks and process trees) still apply, so test them against it now and tighten admin rights, signing and lateral network paths regardless of which client an attacker brings.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Impacket-RS?

Impacket-RS is an open-source rewrite of the Impacket network protocol toolkit in Rust, published on GitHub by the user nestho under the Apache-2.0 licence. It bundles remote execution, credential dumping, Kerberos, LDAP, ADCS and NTLM relay tools into one binary.

Is Impacket-RS an official Impacket project?

No. Impacket is maintained at fortra/impacket. Impacket-RS is an independent project by a single contributor, and it compares itself to Python Impacket 0.12.0 rather than the current 0.13.1 release.

Can EDR detect Impacket-RS?

The Rust binary removes Python-based signals on the operator side, but the actions it performs on a Windows target still produce logons, share access, services, scheduled tasks and child processes. Detections built on that target telemetry, such as the Splunk and Wazuh rules for wmiexec-style execution, are the ones to rely on.

Is Impacket-RS faster than Python Impacket?

The project claims speedups of 67x to 139x on some operations and a 103x faster start. These numbers come from the project's own README and have not been independently tested.

Is Impacket-RS safe to use on an engagement?

It is very new: 133 commits by one contributor, ten releases in 16 days, and a submission note saying not every tool has been validated against every Windows version. Review the code and test it in a lab before using it against a client network.

What Windows event IDs show Impacket-style lateral movement?

Common ones are 4624 logon type 3 and 4672 for the network logon, 5145 for ADMIN$ or C$ access, 7045 or 4697 for a new service, 4698 for a scheduled task, and 4688 or Sysmon event 1 for the resulting process. Several are not enabled by default.

Does Impacket-RS work on Windows?

Yes. Release v0.7.0 includes Windows executables for amd64 and arm64 alongside Linux packages and macOS images, so the same tools can now run from a Windows foothold without installing Python.

Keep reading

Impacket-RSImpacketred team toolsActive Directory securitylateral movementthreat detectionRust