talira

Impacket

Python classes for building, parsing and speaking Windows network protocols

open sourceApache-1.1free

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.

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 toolplan not known
Has official SDKsplan not known