iRealm is a Kerberos-focused automation tool designed to prepare your Kali system for Active Directory interaction. It streamlines the initial setup by handling /etc/hosts, time synchronization, and Kerberos configuration β all in one smooth execution.
Whether you're attacking a domain in Hack The Box, TryHackMe, or conducting a real red team engagement, iRealm gets you domain-ready in seconds.
In the case of installing krb5, if it asks you to enter a REALM, leave it empty and accept
sudo apt install faketime rdate krb5-config krb5-user -ywget https://raw.githubusercontent.com/Gzzcoo/iRealm/main/iRealm
chmod +x iRealm
sudo mv iRealm /usr/local/bin/iRealmiRealmYou will be prompted to enter:
- Domain Controller IP
- Domain name (e.g., gzzcoo.htb)
- Hostname (e.g., dc01)
iRealm --force <IP> <DOMAIN> <HOSTNAME>Example:
iRealm --force 10.10.10.10 gzzcoo.htb dc01- Adds the Domain Controller and domain name to /etc/hosts.
- Synchronizes your system time with the Domain Controller to prevent Kerberos clock skew issues.
- Replaces /etc/krb5.conf with a valid Kerberos configuration.
- Creates an automatic backup of your previous Kerberos config.
- Supports both interactive and non-interactive modes.
Working in Active Directory environments often requires Kerberos to be properly configured β and misconfigurations can cause tools like GetNPUsers, GetUserSPNs, or psexec.py to fail silently.
iRealm ensures your box is ready for action with:
- Correct DNS resolution to the DC
- Accurate system time
- Valid Kerberos realm configuration