Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

FeedContattoPrivacy© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
tanuki — Tactical Identity Operator for Linux & Hybrid Active Directory | Kitploit
Strumenti/GitHubGitHub/mafifrizi/tanuki
Defensive ToolsIdentity ManagementInformation GatheringPenetration TestingUtilities & FrameworksAuthenticationRed TeamingIncident ResponseAI Security
GitHubmafifrizi/tanuki

tanuki

Tactical Identity Operator for Linux & Hybrid Active Directory

Vedi Repository
2131411 giorno faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Contenuto non disponibile nella lingua richiesta. Visualizzazione della versione inglese.

Tanuki Logo

Tanuki

Non-Human Identity & Hybrid Active Directory Operator for Linux Workloads
Protocol-first, zero root privileges, zero host configuration footprint, zero noise.

Version 2.1.0 Rust Systems Core Python Reference Engine RFC Standards License: MIT OR Apache-2.0

Overview • Quick Start • Commands • Architecture • Validation • Lineage & Credits


Overview

Modern cloud-native and on-premise environments increasingly run Linux workloads (Kubernetes pods, AI coding agents, CI/CD runners, containerized batch workers) that must authenticate to enterprise Active Directory domains without a full domain join, Kerberos daemons (sssd / winbind), or root privileges.

Tanuki is a protocol-first Active Directory operator built for unprivileged Linux userspace. It runs the full Purple Team lifecycle under human-in-the-loop control: pre-flight triage, cryptographic ticket negotiation, quantitative privilege tiering, closed-loop self-healing, and forensic audit telemetry. It is also agent-operable, exposing a structured skill manifest so tools like Claude Code, Cursor, and Google Antigravity can drive it one deterministic step at a time.

Highlights:

  • Living off the domain. The Python engine uses only the 3.10+ standard library. Zero pip dependencies. The Rust core is a 1.8 MB static binary built with #![forbid(unsafe_code)].
  • Strictly unprivileged (UID 1000). No sudo, no root, no CAP_SYS_TIME, and no mutation of /etc/krb5.conf or system files.
  • Quantitative blast radius. Scores identity risk (0-100), classifies Active Directory tiers, and emits deterministic PowerShell remediation recipes.
  • Deterministic and auditable. Military-brief output, semantic exit codes, and in-memory clock skew healing clamped to the Kerberos standard 300 second maximum.

For the full engine comparison and subsystem map, see docs/ARCHITECTURE.md.

Tanuki blast radius and privilege tiering


Quick Start

1-line universal install

# Detects the Rust musl binary or falls back to the Python standard engine
curl -sSfL https://raw.githubusercontent.com/Mafifrizi/tanuki/main/install.sh | bash

Manual installation

# Rust systems core
cargo install --path crates/tanuki-cli

# Python reference engine
pipx install git+https://github.com/Mafifrizi/tanuki.git

Zero-install direct execution

git clone https://github.com/Mafifrizi/tanuki.git
cd tanuki
python3 -m tanuki doctor --json

Commands

Both engines share the same command surface and flags. Full usage, every flag, and verified LDAPS examples are in docs/USAGE.md.

CommandPurpose
tanuki doctorPre-flight diagnostics across domain config, credentials, network, and OPSEC telemetry
tanuki authUnprivileged userspace TGT acquisition with in-memory clock skew healing
tanuki tgsKerberos service ticket acquisition for a target SPN
tanuki blastQuantitative blast radius scoring, privilege tiering, and PowerShell remediation recipes
tanuki ldapUnprivileged LDAP recon (--query spn | asreproast | rbcd | shadow | unconstrained | all)
tanuki adcsPassive AD CS template scanner for ESC1 through ESC11
tanuki configZero-DNS unprivileged krb5.conf generator targeting the KDC by IP
tanuki fixIdempotent closed-loop remediation (--dry-run to preview)
tanuki purgeNIST SP 800-88 cryptographic memory and credential-cache zeroization
tanuki skillExport the agent skill manifest (--json for machine-actionable schema)

Add --json to any command for structured output. Run tanuki -i for the interactive wizard.

The decision ladder

Tanuki follows a fixed 5-rung tactical decision ladder to prevent privilege escalation loops, reduce authentication noise, and keep every action forensically defensible. The model is documented in references/tactical_ladder.md.

RungActionDescription
0DIAGNOSEPre-flight audit of credentials, enctypes, and network paths
1AUTHENTICATEUserspace AS-REQ TGT negotiation with clock skew tolerance
2AUTHORIZETGS service ticket acquisition for verified SPN endpoints
3ASSESSQuantitative blast radius calculation and tier scoring
4PURGECryptographic memory zeroization (NIST SP 800-88)

Validation

Tanuki is validated against live hybrid infrastructure: an unprivileged Kali workstation (UID 1000) connecting directly to a Windows Server 2022 Domain Controller (DC01.lab.local), proving each rung end to end through to Blue Team forensic telemetry on the DC. It also ships 500+ Python unit tests and 39 Rust tests (library plus integration), all green.

See the full milestone walkthrough with terminal proofs in docs/VALIDATION.md.


Lineage & Credits

Tanuki is engineered by Muhammad Afif Rizi (@Mafifrizi) and Muhamad Dian Alvito.

Tanuki draws inspiration and tradecraft from two foundational projects:

  • Tim Brown (@timb-machine): Created Linikatz and pioneered Linux Active Directory assessment techniques, keytab analysis, and credential cache harvesting.
  • Dietrich Gebert (@dietrichayala): Created Ponytail and demonstrated how a disciplined decision ladder prevents AI agent hallucination and conversational bloat.

Technical Specifications Implemented

  • [RFC 4120]: The Kerberos Network Authentication Service (V5)
  • [RFC 4511]: Lightweight Directory Access Protocol (LDAP): The Protocol
  • [RFC 8693]: OAuth 2.0 Token Exchange
  • [MS-KILE]: Kerberos Protocol Extensions
  • [MS-PAC]: Privilege Attribute Certificate Data Structure
  • [MS-DTYP]: Windows Data Types & Security Descriptor Structures
  • [NIST SP 800-88]: Guidelines for Media Sanitization (Rev. 1)

Contributing

Scarica lo strumento