Skip to content
/ iRealm Public

Automates Kerberos and realm setup by editing /etc/hosts, syncing time with the DC, and configuring krb5.conf. Ideal for AD pentests.

Notifications You must be signed in to change notification settings

gzzcoo/iRealm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 

Repository files navigation

iRealm πŸ”

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.


πŸ› οΈ Installation

Prerequisites

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 -y

Installing the tool

wget https://raw.githubusercontent.com/Gzzcoo/iRealm/main/iRealm
chmod +x iRealm
sudo mv iRealm /usr/local/bin/iRealm

βš™οΈ Usage

Interactive mode

iRealm

You will be prompted to enter:

  • Domain Controller IP
  • Domain name (e.g., gzzcoo.htb)
  • Hostname (e.g., dc01)

Silent mode (no prompts)

iRealm --force <IP> <DOMAIN> <HOSTNAME>

Example:

iRealm --force 10.10.10.10 gzzcoo.htb dc01

πŸš€ Features

  • 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.

πŸ“Œ Why use iRealm?

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

πŸ“Έ Preview

iRealm.mp4

asciicast

About

Automates Kerberos and realm setup by editing /etc/hosts, syncing time with the DC, and configuring krb5.conf. Ideal for AD pentests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages