ipapocket
ipapocket is a python library for interacting with FreeIPA network protocols. ipapocket is focused on providing low-level programmatic access to protocols through a convenient object-oriented API, with which you can construct packets from scratch or parse them from raw data. ipapocket also provides several tools as an example of what can be done with this library.
Why?
Due to lack of support for FreeIPA features in impacket and attempts to make a more user-friendly interface for interacting with kerberos (we plan to add more network protocols in the future).
For developers
WARNING: This version of the codebase is under active development so the API may change over time
Install it via pip form GitHub:
pip install git+https://github.com/nu11zy/ipapocket
Consider to use a Python virtual environment.
For pentesters
You can install the tools from the examples using pipx:
pipx install git+https://github.com/nu11zy/ipapocket
Examples AKA the pentest tools
ipp-cve-2024-3183.py: PoC for CVE-2024-3183. To crack hashes with AES256-SHA1 (etype 18) you can use this fork of hashcat with mode 32900
ipp-id2entry.py: parse output of dbscan -f id2entry.db and decrypt principals keys (can be used for creation of tickets)
ipp-get-tgt.py: get AS-REP and save TGT to CCACHE (normal authentication flow with PASSWORD)
ipp-get-tgt-spake.py: get AS-REP and save TGT to CCACHE (SPAKE hardened password)
ipp-get-tgs.py: get TGS-REP and save TGS to CCACHE (only use TGT from KRB5CCNAME)
ipp-user-enum.py: enumarate users via Kerberos
ipp-show-ccache.py: describe credentials in CCACHE
Metadata
Release files for ipapocket 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipapocket-0.1.0.tar.gz | 72.2 kB | Details |
Release files / ipapocket-0.1.0.tar.gz
| Download URL | ipapocket-0.1.0.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2fe598164cd17796d551610b7876857f286915e737d8d42fff2e1c01f8bb65f
|
|
BLAKE2b-256 checksum How to use checksums |
d8b426f84f4e344fd66da2cbb5e7a559691ba26955b70cb78a24c292d9215c75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|