# Impacket

> Python classes for building, parsing and speaking Windows network protocols

Source: https://talira.ai/catalog/impacket-qb41g0sy
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [security / application security / penetration testing](https://talira.ai/categories/security/application-security/penetration-testing)
- Licence: Apache-1.1[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Fortra](https://talira.ai/orgs/fortra.md)

Impacket is a collection of Python classes for low-level programmatic access to network packets and, for protocols such as SMB1 to SMB3 and MSRPC, the protocol implementation itself. Packets can be built from scratch or parsed from raw data through an object-oriented API, and it covers Ethernet, IPv4 and IPv6, TCP, UDP and ICMP, NetBIOS and SMB, MSRPC over TCP, SMB and HTTP with many Windows interfaces (SAMR, LSAD, DCOM, WMI and others), plain, NTLM and Kerberos authentication with passwords, hashes, tickets or keys, and parts of MSSQL's TDS and LDAP. It ships a set of example tools built on the library, widely used in penetration testing of Windows networks. SecureAuth created it, and Fortra's Core Security maintains it now, under a modified Apache 1.1 licence.

## Links

- GitHub: https://github.com/fortra/impacket

## Problems it solves

- talk SMB and Windows RPC to a domain from a Python script on Linux
- test Active Directory authentication with NTLM hashes or Kerberos tickets during a pentest
- craft and parse raw network packets in Python

## Features

- SMB1, SMB2 and SMB3 client implementations
- MSRPC over TCP, SMB and HTTP
- NTLM and Kerberos authentication with passwords, hashes, tickets or keys
- Windows RPC interfaces including SAMR, LSAD, DCOM and WMI
- packet building and parsing for Ethernet, IP, TCP, UDP and ICMP
- partial MSSQL (TDS) and LDAP
- example command-line tools

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 0.97, adoption 0.84, momentum 0.63, community 1.00, backing 0.30, extensibility 0.20.

- last commit today
- 55 commits in the last 90 days
- latest release impacket_0_13_1 6 months ago
- 16.3k GitHub stars
- 341 contributors
- backed by Fortra

## Sources

[^1]: https://github.com/fortra/impacket/blob/master/LICENSE (checked 23 Nov 2026)
