Skip to main content

Toolset for interaction with FreeIPA

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipapocket-0.1.0.tar.gz (72.2 kB view details)

Uploaded Source

File details

Details for the file ipapocket-0.1.0.tar.gz.

File metadata

  • Download URL: ipapocket-0.1.0.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for ipapocket-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2fe598164cd17796d551610b7876857f286915e737d8d42fff2e1c01f8bb65f
MD5 73eadf818dca52b2d9a7527fa4323365
BLAKE2b-256 d8b426f84f4e344fd66da2cbb5e7a559691ba26955b70cb78a24c292d9215c75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page