All Projects → SecureAuthCorp → Impacket

SecureAuthCorp / Impacket

Licence: other
Impacket is a collection of Python classes for working with network protocols.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Impacket

SMBRat
A Windows Remote Administration Tool in Visual Basic with UNC paths
Stars: ✭ 23 (-99.71%)
Mutual labels:  smb, wmi
Evil Winrm
The ultimate WinRM shell for hacking/pentesting
Stars: ✭ 2,251 (-71.99%)
Mutual labels:  kerberos, pass-the-hash
Level-Headed
Random Level Generator for Super Mario Bros. 1 on the NES
Stars: ✭ 100 (-98.76%)
Mutual labels:  smb
code
~/code – tools distributed across all of my systems
Stars: ✭ 73 (-99.09%)
Mutual labels:  kerberos
WindowsMonitor
WMI namespaces and classes
Stars: ✭ 15 (-99.81%)
Mutual labels:  wmi
ksmbd
ksmbd kernel server(SMB/CIFS server)
Stars: ✭ 98 (-98.78%)
Mutual labels:  smb
blog
Source code for the posts of my blog https://theroadtodelphi.com/
Stars: ✭ 96 (-98.81%)
Mutual labels:  wmi
py-hdfs-mount
Mount HDFS with fuse, works with kerberos!
Stars: ✭ 13 (-99.84%)
Mutual labels:  kerberos
smb-summit-hackathon
Build Blocks for the SAP SMB Summit Hackathons.
Stars: ✭ 23 (-99.71%)
Mutual labels:  smb
active-directory-integration2
WordPress plug-in "Next Active Directory Integration"
Stars: ✭ 51 (-99.37%)
Mutual labels:  kerberos
windows-lab
Windows Automated Lab with Vagrant
Stars: ✭ 78 (-99.03%)
Mutual labels:  kerberos
OpenAM
OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
Stars: ✭ 476 (-94.08%)
Mutual labels:  kerberos
Vutils
Vutils or Vic Utilities is an utility library written in Modern C++ and for Modern C++. It helps your programming go easier, faster, and simpler.
Stars: ✭ 16 (-99.8%)
Mutual labels:  wmi
KerberosConfigMgrIIS
Kerberos Configuration Manager for IIS
Stars: ✭ 40 (-99.5%)
Mutual labels:  kerberos
modules
Mesos modules examples and open source modules outside of the Apache Mesos source tree.
Stars: ✭ 26 (-99.68%)
Mutual labels:  kerberos
KerberosRun
A little tool to play with Kerberos.
Stars: ✭ 59 (-99.27%)
Mutual labels:  kerberos
VindicateTool
LLMNR/NBNS/mDNS Spoofing Detection Toolkit
Stars: ✭ 40 (-99.5%)
Mutual labels:  netbios
WatchAD
AD Security Intrusion Detection System
Stars: ✭ 967 (-87.97%)
Mutual labels:  kerberos
user external
👥 External user authentication methods like IMAP, SMB and FTP
Stars: ✭ 80 (-99%)
Mutual labels:  smb
fs.smbfs
Pyfilesystem2 over SMB using pysmb
Stars: ✭ 21 (-99.74%)
Mutual labels:  smb

What is Impacket?

Impacket is a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (e.g. SMB1-3 and MSRPC) the protocol implementation itself. Packets can be constructed from scratch, as well as parsed from raw data, and the object oriented API makes it simple to work with deep hierarchies of protocols. The library provides a set of tools as examples of what can be done within the context of this library.

A description of some of the tools can be found at: https://www.secureauth.com/labs/open-source-tools/impacket

What protocols are featured?

  • Ethernet, Linux "Cooked" capture.
  • IP, TCP, UDP, ICMP, IGMP, ARP.
  • IPv4 and IPv6 Support.
  • NMB and SMB1, SMB2 and SMB3 (high-level implementations).
  • MSRPC version 5, over different transports: TCP, SMB/TCP, SMB/NetBIOS and HTTP.
  • Plain, NTLM and Kerberos authentications, using password/hashes/tickets/keys.
  • Portions/full implementation of the following MSRPC interfaces: EPM, DTYPES, LSAD, LSAT, NRPC, RRP, SAMR, SRVS, WKST, SCMR, BKRP, DHCPM, EVEN6, MGMT, SASEC, TSCH, DCOM, WMI, OXABREF, NSPI, OXNSPI.
  • Portions of TDS (MSSQL) and LDAP protocol implementations.

Getting Impacket

Setup

Quick start

Grab the latest stable release, unpack it and run python3 -m pip install . (python2 -m pip install . for Python 2.x) from the directory where you placed it. Isn't that easy?

Installing

In order to install the source execute the following command from the directory where the Impacket's distribution has been unpacked: python3 -m pip install . (python2 -m pip install . for Python 2.x). This will install the classes into the default Python modules path; note that you might need special permissions to write there.

Testing

If you want to run the library test cases you need to do mainly three things:

  1. Install and configure a Windows 2012 R2 Domain Controller.
    • Be sure the RemoteRegistry service is enabled and running.
  2. Configure the dcetest.cfg file with the necessary information
  3. Install tox (python3 -m pip install tox)

Once that's done, you can run tox and wait for the results. If all goes well, all test cases should pass. You will also have a coverage HTML report located at impacket/tests/htlmcov/index.html

Docker Support

Build Impacket's image:

  docker build -t "impacket:latest" .

Using Impacket's image:

  docker run -it --rm "impacket:latest"

Licensing

This software is provided under a slightly modified version of the Apache Software License. See the accompanying LICENSE file for more information.

SMBv1 and NetBIOS support based on Pysmb by Michael Teo.

Disclaimer

The spirit of this Open Source initiative is to help security researchers, and the community, speed up research and educational activities related to the implementation of networking protocols and stacks.

The information in this repository is for research and educational purposes and not meant to be used in production environments and/or as part of commercial products.

If you desire to use this code or some part of it for your own uses, we recommend applying proper security development life cycle and secure coding practices, as well as generate and track the respective indicators of compromise according to your needs.

Contact Us

Whether you want to report a bug, send a patch, or give some suggestions on this package, drop us a few lines at [email protected].

For security-related questions check our security policy.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].