Python network protocol toolkit
Low-level programmatic access to network protocols. Build powerful security tools with comprehensive SMB, Kerberos, LDAP, and MS-RPC implementations.
15K+ GitHub Stars
Python 3.9 - 3.13
68+ Example Tools
Quick start
Get up and running with Impacket in minutes
Explore by protocol
Comprehensive implementations of Windows network protocols
SMB/CIFS
Full SMB1, SMB2, and SMB3 client and server implementation for file sharing and remote operations
MS-RPC
DCE/RPC over multiple transports with 40+ interface implementations
Kerberos
Complete Kerberos v5 support for authentication, ticket management, and attacks
LDAP
LDAP protocol for Active Directory queries and ACL manipulation
NetBIOS
NetBIOS name service for network discovery and enumeration
MSSQL/TDS
SQL Server protocol for database operations and command execution
Popular example tools
Battle-tested scripts for security research and penetration testing
secretsdump.py
Credential Dumping
Extract password hashes, Kerberos keys, and LSA secrets from remote Windows systems
Learn more
psexec.py
Remote Execution
Execute commands remotely via SMB, WMI, DCOM, or scheduled tasks
Learn more
GetUserSPNs.py
Kerberos Attacks
Kerberoasting, AS-REP roasting, ticket manipulation, and golden ticket attacks
Learn more
GetADUsers.py
LDAP Operations
Query Active Directory, modify ACLs, and enumerate domain resources
Learn more
Resources
Everything you need to build with Impacket
API Reference
Complete API documentation for all modules and classes
Examples & Tools
68+ example scripts with detailed usage instructions
GitHub Repository
View source code, report issues, and contribute
Security Policy
Report security vulnerabilities responsibly
Ready to get started?
Install Impacket and start building powerful network protocol tools today
Get Started Now