Pennyw0rth / NetExec-Lab

Lab used for workshop and CTF
156 stars 15 forks source link

LeHACK 2024: gmsa step is failing #5

Open 0xfalafel opened 1 month ago

0xfalafel commented 1 month ago

provider: VirtualBox

I have tried to redo the LeHack 2024 workshop. And the gMSA step is failing:

❯ nxc ldap village -k -u 'alambix' -p 'gaulois-x-toujours' --gmsa
LDAP        village         389    village          [-] LDAPs connection to ldaps://village failed - (104, 'ECONNRESET')
LDAP        village         389    village          [-] Even if the port is open, LDAPS may not be configured

❯ nxc ldap armorique.local -k -u 'alambix' -p 'gaulois-x-toujours' --gmsa
LDAP        armorique.local 389    armorique.local  [-] LDAPs connection to ldaps://armorique.local failed - (104, 'ECONNRESET')
LDAP        armorique.local 389    armorique.local  [-] Even if the port is open, LDAPS may not be configured

❯ nxc ldap 192.168.56.13 -k -u 'alambix' -p 'gaulois-x-toujours' --gmsa
LDAP        192.168.56.13   389    192.168.56.13    [-] LDAPs connection to ldaps://192.168.56.13 failed - (104, 'ECONNRESET')
LDAP        192.168.56.13   389    192.168.56.13    [-] Even if the port is open, LDAPS may not be configured

I don't have VMware, this was only tested with VirtualBox.

EUWVeNoM commented 1 month ago

Hello @0xfalafel, I think you had issues during the deployment of the labs. I tried the same commands as you (on VBox) and it works if you want we can debug it in mp I leave you my contact on discord @euw_venom

PoC : image

Is your port 636 open ? nmap -p 636 192.168.56.13

Best regards

0xfalafel commented 1 month ago

Yes, it was open.

I will try to rebuild the lab. And I'll get in touch if it doesn't work