qmetrics.net

Impacket

Python classes and tools for network protocols

Impacket screenshot

Impacket provides low-level Python APIs and example tools to craft, parse, and implement network protocols including SMB, MSRPC, and common Microsoft stacks.

Overview

Impacket is a collection of Python classes focused on network protocols. It emphasizes programmatic access to packet structures and, for some protocols such as SMB and MSRPC, includes protocol implementations usable directly from Python code.

Packets can be built from scratch or parsed from raw bytes through an object-oriented hierarchy. The project ships example tools that illustrate typical automation and research tasks built on the library.

Protocol coverage listed in the documentation spans Ethernet and Linux cooked capture, IPv4 and IPv6, TCP, UDP, ICMP, IGMP, ARP, NetBIOS, SMB1 through SMB3, MSRPC over several transports, multiple authentication mechanisms, partial implementations of many RPC interfaces, and portions of TDS and LDAP. Maintainers position the code for security research and education rather than production deployments.

Installation is available via pipx, local package install, or a Docker image build. A disclaimer notes the code is intended for research and educational use, not commercial production environments without proper security practices.

Key features

  • Packet construction and parsing APIs
  • SMB and MSRPC protocol implementations
  • IPv4 and IPv6 protocol support
  • NTLM and Kerberos authentication helpers
  • Example command-line utilities
  • MSRPC interface coverage subset
  • Docker image build support
  • pipx installation path

Use cases

  • Security research on Windows protocols
  • Teaching network protocol internals
  • Building custom SMB or RPC clients
  • Parsing captured network traffic
  • Automating protocol-level experiments

Tags

Similar software

Certbot

ACME client for Let's Encrypt HTTPS certificates

Fetches and deploys DV certificates from Let's Encrypt on your server, with optional HTTPS redirect and renewal automation via simple commands.

★ 33.3k⟳ 2 days agoApache-2.0
Application SecurityDesktop/CLI app

Anubis

Lightweight web firewall against AI scraper traffic

Anubis sits in front of upstream web resources and presents connection challenges weighted to block scraper bots, especially high-volume AI crawlers. Bot allowlists can be configured when you need known good crawlers.

★ 24.5k⟳ 4 days agoMIT

SafeLine

Self-hosted web application firewall for HTTP traffic

SafeLine is a self-hosted WAF that sits in front of web applications to filter and monitor HTTP traffic. It aims to block common web attacks and abusive automated traffic.

★ 23.5k⟳ 1 month agoGPL-3.0

MHDDoS

Python network-layer DDoS testing toolkit

MHDDoS is a Python 3 command-line toolkit with dozens of layer-3, layer-4, and layer-7 methods for authorized stress and security testing only.

★ 17.1k⟳ yesterdayMIT
Application SecurityDesktop/CLI app

OWASP Amass

Attack surface mapping and external asset discovery framework

OWASP Amass maps networks and discovers external assets using open-source intelligence and active reconnaissance. It is an OWASP flagship security tool.

★ 15.6k⟳ 1 month agoApache-2.0
Application SecurityDesktop/CLI app

Wifiphisher

Rogue access point framework for Wi-Fi testing

Wifiphisher helps penetration testers run targeted Wi-Fi association attacks, reach a man-in-the-middle position, and serve customized captive phishing pages to capture credentials or deliver payloads.

★ 15k⟳ 6 months agoGPL-3.0