exegol

Install basic Active Directory pentesting package

Follow the instructions to get requirements, wrapper install and activation complete, and then:

exegol install free --accept-eula

Run

exegol start

Run on a headless system

Out of nowhere I got this nonsense when trying to start exegol on a fresh Ubuntu box:

<snip>
[?] Is the container configuration correct? [Y/n]: 
[*] Command line of the configuration: exegol start default free                                                                                                                                             
[*] To use exegol without interaction, read CLI options with exegol start -h                                                                                                                                 
[*] Creating new exegol container                                                                                                                                                                            
[-] Docker error received: invalid mount config for type "bind": bind source path does not exist: /tmp/.X11-unix                                                                                             
[*] Rollback: removing dedicated workspace directory                                                                                                                                                         
[!] Error while creating exegol container. Exiting.                                                                                                                                                          

[*] Exiting... 

This was the fix!

exegol start default free --disable-X11

Turn on logging

exegol start ad -l

Sync time to domain controller

If the DC is 10.3.10.40:

faketime "$(rdate -n 10.3.10.40 -p | awk '{print $2, $3, $4}' | date -f - "+%Y-%m-%d %H:%M:%S")" zsh

Then you should be able to grab the ticket you need without it complaining of time skew.

Update

If you installed with pipx, do this outside of the exegol shell:

pipx upgrade exegol