#breaching-ad
1 messages · Page 3 of 1
Hi, I would like to start with the Breaching AD network, but it says "Network state: Resetting" at least since one day now and I cannot click neither "start" nor "reset".
Nevermind. I left the room and re-entered, now it's working fine.
I did the config thing. Keeps timing out and showing my own server
Can you show a screenshot?
And can I have your subnet please?
The 10.200.26.101?
I have to update discord on kali but I'll send via phone camera
I just had a check, everything is inactive, is the network started?
I'm officially blind 😎😎😎
Yup, I can see everything coming online now 🙂
So when I do AD room I have to do it all at once. What if i want to come back to it? Just do all that again?
Yup 🙂
I got a problem with line 4 request_ntlm on the python script
Import module?
Yeah forgot about that haven't really worked with python
What does the 1 day of access? I've seen threads on forums about it 15 months ago it was like 3 and 2 as well
Would anyone know why Get-FindCredentials I'm assuming its on powershell isn't working? 2nd last proper task not counting Conclusion task of this room
Can you perhaps be more descriptive as to saying it is not working? That doesn't really provide us with a lot of information to be able to assist you. What is not working? What have you done? What have you tried? And what output are you getting?
Screenshots are the best in this case, as it will give us answers to all three of those questions, thus allowing us to provide you with support.
"Not working" could be a million things, help us narrow down your problem so we can assist.
Every 7 days all users are removed from the networks to remove users that are no longer using it. You can simply rejoin the room and will again have access for 7 days
Ah yeah I'll have to do it later on. Not at home at the moment, can't remember the exact error.
How do I stop scp command from saying broken pipe
All sorted lol
Good now
Hello, i can see some messages about issues trying to nslookup thmdc.za.tryhackme.com but I'm not sure if the issue is on my side as yesterday it was working
Adding some captures.
Not sure if someone can help? Thanks !
Place it above your local host.
that didn't work.
What worked is this:
but i dont understand why this worked as in my other VM (a twin) this wasn't needed. Only needed to add it to /etc/hosts and good to go, as usual
also i dont know if this way to fix it has secondary consequences ?
No, it just recognises it.
Place it above your local host.
Is what you just done though?
When i read your message i went to /etc/hosts and i placed 10.200.20.101 thmdc.za.tryhackme.com on the 1st line
and didnt' work
You don't need to add the thm..
but then i read a message in the forum saying to put it on the first position within /etc/resolve.conf
Literally just nameserver $THMDC
but then /etc/hosts is not needed to be populated? in the message you linked, you refer to resolve.conf
I'm no expert on this, but in the past i just used to add a line in the /etc/hosts and good to go. So not sure why is this different now
It was a spelling error, I've changed it, I have no idea why it keeps reverting.
what was a spelling error?
resolve.conf
Hello, I have a "LDAP connection failed" on the task 4. Someone know what do to pls ?
Which subnet are you on?
Everyth is running, so you might need be doing something wrong.
I am just on the printer page and click on the "test settings"'
LDAP Connection failed: The LDAP server is unavailable.
So I cant do the first step
no respond of the request in netcat when I change the ip to mine
I checked your services and they're all running.
ok thanks
I was restart the LDAP server and it works
I wait to catch the NTLMv2-SSP Hash but it didnt work
yes
I dont know exactly which interfaces to use
I think its breachad from the attack box but I've been waiting more than 30 min
Yeah, it will be, just make sure you didn't make a typo
there is just to run the responder, nothing else ?
Nah
sudo responder $INTERFACE
ok I done it but I havent stop de ldap service
everytime i try nslookup for the Active directory IP on the breaching AD course im still having issues connecting. i can ping the IP and google but when i try nslookup i keeps saying " communiction error" and then times out. would anyone have any insight?
Check the pinned posts for help to set it up
Ok I’ll check that out 👍🏽
not sure what happened but i walked away from the breaching AD course for the weekend and now it wont allow to use openvpn configuration file. it keeps saying the HMAC authentication keeps failing. files already say "data-ciphers AES-256-CBC" instead of just cipher. Redownloading the file after walking away for a little to see if that helps but it still doesnt work
Can you regen it?
just regened it???
yes
can i dm you?
i also went back to a previous save state for my VM. not sure if that helped cause it was giving me the same error. then i regen the file and it just started working
yeah go ahead
im now having issues with not being able to ping the IP for the DC. ive already checked my network configuration and its still setup. i also have the login screen from task 3 coming up. when i try to type in the username and password that i got from the password spraying it says the site cant b reached
What subnet are you on?
r u talking about the subnett for the network setting in Kali?
also my vpn stopped working again. 🫠
im getting a fatelerror even after using sudo
No, the subnet of your THMDC.
it wasnt the subnet that was giving me the issue. it was my typing "nslookup tryhackme.com <DC IP>" istead i typed "nslookup thmdc.za.tryhackme.com" Doing that helped connect the DNS and i got he answer i was looking for
The last 3 were different then my own subnet but i still got it to work
I know, but if you give me the subnet I can check to see if all your services have started.
understood. ill keep that in mind in the future
A different subnet to your breachad interface?
yes
That's fine, that won't be an issue
Hi all, is there something wrong with this network or is it me? I've gotten the network running, connected to it with the proper ovpn file (breachingad) gotten my dns switched over, pinging the maching finds it without problem, nslookup resolves za.tryhackme.com to the DC IP but I can't pull up the login screen in the browser at ntlmauth.za.tryhackme.com. I've had this working before. Can someone tell me whats happening (or not happening)?
Hay, if you give me your subent, I can check if your services are up.
do you mean the subnet of my ovpn connection?
No, the THMDC.
Everything is active.
Can you go the website in the task?
no
That's where my trouble is
Ok.
Did you set up /etc/resolv.conf ?
I have resolvconf installed
/etc/resolv.conf is this ->
nameserver 127.0.0.53
options edns0 trust-ad
search .
/etc/resolvconf/resolv.conf.d/base is this ->
domain za.tryhackme.com
nameserver 10.200.26.101
you need to edit /etc/resolv.conf to look like this.
nameserver 10.200.26.101
nameserver 127.0.0.53
nameserver 8.8.8.8
options edns0 trust-ad
Ok, That isn't getting that webpage up either
nslookup and ping make it look fine, until I try browsing to that page
@wooden minnow thanks for you quick response earlier, with some fiddling I got it to work with the above
Gave +1 Rep to @wooden minnow
I am experiencing very high latency in this room. Is that normal to see?
And I am unable to access ntlmauth.za.tryhackme.com via browser
Extreme latency there as well
otherwise the only thing shadow can think of is restarting the network
I have not tried that. I will though
I see that the script specifically looks for the tun0 interface but this room uses a different ovpn config which creates a breachad interface
oh right..... hmmm so either the script needs updating or people need to manually change their vpn config so it uses tun0....
I will try to adjust the script
Looks like there was a mtu issue so I changed that and pings are a little better but still unable to access the ntlmauth.za.tryhackme.com server via browser
Curl works
It doesn't anymore.
It should use breachad
I switched breachad to tun0 and set my mtu to 1350 and am able to connect
I am unable to hit the webserver from chrome but brave works and so does curl 🤷♂️
What subnet are you on so I can check the services?
10.200.4.x
Yeah. everything is active.
Im able to connect via Brave so Ill just use that and go as far as I can. Thank you for assisting
I am now unable to resolve pxeboot.za.tryhackme.com as well as THMJMP1.za.tryhackme.com
Hi there, I just had a check, and all your services are inactive.
You'll need to start the network, or vote to reset.
Ah amazing!
Happy hacking.
Thank you @wooden minnow
Gave +1 Rep to @wooden minnow
nslookup could be bugged.
Can you access the webserver on http://ntlmauth.za.tryhackme.com/ ?
yes I'm able to access the webserver. It shows the login prompt.
Then you're golden.
I tried to run the python script, but I get no output. Was there something I needed to edit for it to work?
Can you screenshot?
and the syntax?
python ntlm_passwordspray.py -u usernames.txt -f za.tryhackme.com -p Changeme123 -a http://ntlmauth.za.tryhackme.com
try python3
thank you
Gave +1 Rep to @wooden minnow
Used "sudo responder -I breachad" as stated above, but ended up with these errors. Let it sit for 15 minutes, hoping it would capture a response, but no luck.
Is it correct to compare LLMNR to the ARP protocol but instead of querying for MAC addresses, it queries for DNS and when it finds the intended host it is looking for it recieves a callback in the form of DNS?
Because that is how i am picturing it
hello everyone! i had a problem with enumerating ad room and breaching ad room. The urls of the mission pages like http://printer.za.tryhackme.com/settings.aspx seem to be hijacked and are always redirecting me to a phishing page. Resetting didn't work. Does anyone know what's going on?
You don't see this page?
or are you getting a warning?
I did it a couple of hours ago and everything worked normally.
Yeah, I suspect its their browser giving them a flash positive.
As you can't use the URL outside the box.
hi I am setting up my kali vm for tsk 1 for breaching I can ping the dc server ip, and do nslookup trhackme.com. but for some reason I can do nslookup tryhackme.com Dc server ip. I did the dns stuff but it still doesnt work
has anyne got this issue before?
The nslookup is irrelevant, it's not related to the tasks, as long as you can go to the printer.za URL.
ok I can visit the printer.za thanks Mr. mentor
Gave +1 Rep to @wooden minnow
struggling to get dns configured manually
Host win10
Hypervisor vmWare Workstation pro17
looks like you are using the attackbox way of doing it on your own local machine
would recommend instead setting it in network manager and restarting network manager to get it working
ok, i saw this so thought i could do it through cpommand line...
I will give network manager a try, never monkeyed with tit before
Kali yeah?
yes
I also have issues getting DNS ready. Set the DNS server in my network settings. I'm able to ping the THMDC but nslookup does not work. Other users and me reset the network but to no avail . Other people having the same issue? (nslookup of the inital acces site http://ntlmauth.za.tryhackme.com/ does work though..)
If you can access the site that's OK, you don't need to do anymorem
cheers, yes thought so too. Appreciate the reply
What does the red mean?
it means that you have exploited said machine
TY!
It means you're awesome! 🥳
Hi.
I've been stuck now for a couple of hours trying to get the DNS to work. My issue is that I can't access the first webpage: http://ntlmauth.za.tryhackme.com/.
I can ping the THMDC and I can run the nslookup for thmdc.za.tryhackme.com successfully.
I've check the /etc/resolv.conf file and made sure the thmdc IP is the first entry. I've tried with firefox and chrome but they both are unable to resolve the webpage. I have also tried to leave the room and re-enter it as it was suggested here. Any suggestions as to what might be wrong would be much appreciated!
Hi there, I had a quick look at your services on the server, and they're all inactive.
You need to start the server.
thanks for getting back to me 🙂 I figured it out yesterday after a couple of more tries. Solution was as simple as only having the DC as my sole DNS, and a quick restart of systemd-resolved and networkmanager. Turns out my VM did not like a second set of DNS
I cant acess to : http://ntlmauth.za.tryhackme.com , dns configured, and nslookup to ntlmauth.za.tryhackme.com is OK.
What's the reset count?
0/5
what I had to do atleast, was to manually address my VM kali and only set the DNS to the DC of the room (no optional DNS). I then restarted both systemd-resolved and NetworkManager. My problem was that with two DNS servers my VM got confused, causing it to only resolve the names intermittently.
you can restart with:
sudo systemctl restart NetworkManager
sudo systemctl restart systemd-resolved
and check status with:
sudo resolvectl status
Don't use the GUI
That's over kill.
Just use the steps in my post, it will save you restarting network manager etc
well I did and it did not work
the first ip is DC ?
ye
Okay, thank. @median heart , i will test it
Gave +1 Rep to @median heart
good luck 🙂 Let me know if you get stuck!
hiya all, attempting to download the BCD file via TFTP however I get "Connect request failed". No typo's and able to ping the server okay from the windows box. Any suggestions, thanks! (Task 6 - MDT download)
How are you supposed to get the ip for THMDC? It says it is in the network diagram, bnut there is no IP in the network diagram
Is the network running?
Yup, it says so
Can you send a screenshot of the network diagram? You'd need to verify to do so
!docs verify
yep, its running. Do an nslookup on the host to get IP
It should look like this at the top of the page
This is hjow it looks for me
That looks bugged
yep, attempted to pull the bcd file from tehre but "connect request failed"
i have an IP for mine
Might wanna refresh the page, log out and log back in, clear browser cache, etc to try and fix that
or can clean the cookies maybe
Hmm.. none of that seems to do anything for me :/
then as @wooden minnow said leave the room for 15 mins and relax..
Is that subnet 99?
yep
Alright, will try - thanks!
Gave +1 Rep to @true imp
file name is good too.
love it, attack box now messing up. Will try again
no luck 😦
Which task you on?
Hey. Just looked through my notes here and I see that I grabbed the "x64uefi" file instead of the "x64" files you are grabbing. And I think I had the same problem as you, but I could complete the rest of the tasks with the uefi file:
UEFI or not shouldn't matter.
I'm pretty sure I had trouble downloading the other too
however I did not write anything down in regards to that in my notes so I'm just guessing
@median heart good to know i'm not the only one. I'm back and going to try it again here in a sec 🤞🏻
if its not one thing its another. Now cannot SSH into one of the boxes 😦
can not even ping the host 😦
12m later, the box is up phew!!!
back to square one. Network reset too and still no luck
did you try with the uefi file?
if not, then maybe try to leave the room, rejoin and try with another network?
ah, makes sense. I thought resetting the network would do it but re-joining will do it
thanks @median heart i'll give that a try
Gave +1 Rep to @median heart
Tried another network. No luck /cc @charred sandal @gaunt shell@limber grove @dense cedar @dreamy crater - Any chance someone can look into this? I just upgraded to paid subscription and things not working out as expect on 2x networks so far for this challenge. Thanks!
can you post, just for my own sanity here :D, a screenshot of you trying to grab the x64eufi file instead?
yep 🙂
so you can't grab this one either?
give me a sec, il try and connect and see if it's the same for me
nice one, thanks!
What's the output of nslookup thmdc.za.tryhackme.com ?
I meant from the attackbox terminal
And the output from nslookup thmmdt.za.tryhackme.com ?
99 and 20 network failed for me :\
On your THMJMP1 what's the output of ipconfig?
In that terminal, can you once again try running the tftp command?
You right, but it still shouldn't say "Connect request failed"
Uggghhh worked. Thanks guys on the typo. 99 network def had "Tmp" so may wanna look at that one
😄
right, bed time and carry this on in the morning. Thanks for your help. Jumping to a new network and spelling it right worked haha. @gaunt shell not sure if you guys wanna look at 99 network just incase
Gave +1 Rep to @gaunt shell
Oh, actually it does say Conenct request failed with the typo
I was not aware of that either 😄 the message implies a network issue not that the file-path dosen't exists
from earlier...i'm not loosing my mind haha
Thanks again for your help @median heart and @gaunt shell . Night guys
Anyway to get this room reset other than the votes? Stuck at 3 out of 5 and dns seems to be borked on the dc, can ping it fine just running nslookup tryhackme.com 10.200.25.101 results in connection timed out
Now it seems printer.za.tryhackme.com is also down, ntlmauth is fine, might move onto something else whilst this gets resolved
Reset the network and it’s still broken
Which subnet are you in?
I can not remember sorry, too many hours ago, I was attempting to get ldap to talk back to the attackbox but wasn’t able to get any response to nc or the ldap server and so decided to see if dns was working fine and everything seemed fine other than when I tried running nslookup tryhackme.com 10.200.25.101
you're in subnet 25.
Nothing is active.
The network needs to be started.
Oh sorry the network subnet, yes was subnet 25, this was 9 hours ago though, 7 when I tried refreshing the network, it was active at the time as I could reach printer.za.tryhackme.com refreshing the network fixed printer.za not working but the network was definitely active when I was attempting it
I know, I just checked the network for you, it's not running.
Yea it’s late here so my computers not even on, will give it another shot tomorrow and see how it goes, I assume though that simply having nc listen on port 389 then entering the attackbox ip into the printer settings portal and hitting test connection should within several try’s give me the response similar to what is shown in the task? I’m not missing any steps there am I?
No, leave the printer settings alone,
It should auto be configured to the breached interface, and not ENS5.
Ah maybe that’s where I was going wrong, cheers, will give it a shot tomorrow and see how it goes
Just thought I’d update that I found the breachad network adapter this time and entering that into the printer ldap server settings let me receive a connection back, I think I just got confused with the task saying to use your vpn ip which made me assume the ip assigned when connecting over openvpn was what you’d use so being that I’m using the attackbox I assumed it was the attackbox ip and compounding that was the fact it talked earlier about a method of breaching the network being you could plug a device into a port in a board room so I assume the scenario was that, rather than we had our device connected into the network through a vpn.
Maybe the question could be slightly reworded to say your ip will be the breachad network adapter ip? Just a suggestion to clarify the wording slightly better
Yeah, I agree.
Any idea why I result to be connected to the network over VPN but I can't reach it?
Check the pinned posts for my guide to connecting
I did, that's what resolv.conf looks like, yet I can't ping the DC.
search localdomain
nameserver 10.200.25.101
nameserver 172.16.13.2
Whcih subnet are you in?
I can take a look
Hey guys
So I'm having this issue on this network
where I can't run the Get-FindCredentials command in pwsh
When it gets to the Finding Bootstrap.ini stage, it just errors out with:
Get-IniContent : Cannot process argument transformation on parameter 'FilePath'. Cannot convert value to type System.String.
At C:\powerpxe\PowerPXE.ps1:218 char:37
+ $Bootstrap = Get-IniContent $BootstrapPath
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-IniContent], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-IniContent
Hey everyone -- first time THM "network" user .. i've noticed a couple things recently as I try to get started with breachingad .. 1) the ovpn file generated for breachingad is 0 bytes, but i'm not having trouble using ovpn for the regular machine network(s) 2) when I try the attack box route, and create from the breaching ad room, it generates an enumad interface "3: enumad: <P..." that I can see from "ip a" .. 3) i noticed the breachingad DC box is 10.200.4.101 in the graphic but the pinned post shows 10.200.54.101 , I've never been able to ping the 10.200.4.101 host. ---- FWIW: when I use other networks (enum network for example) seems to work ok -- all RTFM type feedback welcome
There are no URLs in that message.
Hey Guys, I have an issue with DNS. I can ping the DC but not able to resolve tryhackme.com
Check out the pinned posts, I wrote a post explaining the easist way to connect to the network. 🙂
That worked. Thank you
Hello. I'm having an issue with this room
i'm trying to perform a TFTP command on THMMDT but it keeps telling me "Connection Request Failed"
i can ping the dc though and every other machine
My ovpn file keeps downloading as an empty file, I've joined the room after leaving it due to connectivity issues, and clicked the regenerate button about 3 times now, each time the Download Configuration File downloads an empty file. Anyone else run into this issue?
I see fanofbacon had an issue back on the 20th, but I have successfully downloaded an ovpn file for this network on the 27th, so I'm not sure what's going on, I'll try the attack box, I think
Attackbox should work, sometimes the VPN hangs.
attackbox is not working for me at the moment (it's launched and I'm connected to the attackbox), no breachingad interface and can't ping THMDC IP address
I give up, I'll go a different pathway today...
i finished the room yesterday. After a night the network worked properly
I can't avoid breachingad any longer, it is the next room in my paths...
I have resolv.conf set up as per pinned messages. Ping to DC works. nslookup for ntlmauth (and others) returns a result promptly. But browser just won't pick up resolv.conf settings. Does anyone know why they are being so difficult?
Chrome and firefox from VM:
to me it looks like, for whatever reason, that the browswers on the VM are not picking up the settings as specified in the resolv.conf file, and I have no idea where I'm going wrong
Attackbox even worse, can't even ping thmdc IP address directly
Can you cat etc/resolv.conf
That's not the link you visit, that's just to set up the DC
Oh wait. It is.
You confused me there
Yeah.
Can you cat the file?
If you give me your network subnet I can the services are running.
Right, so things are looking up in the attack box, I can now browse to ntlmauth
I didn't realise I had to edit resolv.conf from attack box, I thought that command from the set up instructions took care of everything
thmdc IP is 10.200.54.101
I appreciate the attempt to help Scrubs, out of interest, do you have any idea why my VM browsers do not seem to be picking up the resolv.conf settings?
The vm can be a bum to set up, I've never had an issue, others have lots
I tried the full dns name instead of the IP and it worked.
hm@THMJMP1 C:\Users\thm\Documents\Thomman>tftp -i thmmdt.za.tryhackme.com GET "\Tmp\x64{EEE0EC6D-6C07-488C-B1CD-D4CFB67CBF97}.bcd" conf.bcd
Transfer successful: 12288 bytes in 1 second(s), 12288 bytes/s
I'm facing the same problem. Any updates?
sudo nmcli connection modify breachad ipv4.dns "10.200.25.101,8.8.8.8"
sudo nmcli connection modify breachad ipv4.dns-search "za.tryhackme.com"
sudo nmcli connection down breachad
sudo nmcli connection up breachad
NS lookup for DC is working fine but I can't ping it
No updates, I got through this room using a combination of the attack box and my own VM. There are some DNS shenanigans going on because I couldn't make it through the next related room, enumerating-ad. I'm taking a break from this series of rooms, and I'll return to it later when I have a good block of time to dedicate to figuring out how to properly set the DNS settings required to work through this series of rooms, because they're essential to making through a couple of the pathways.
I just fired up the Attackbox from the BreachingAD room (has to be done from the room). I set the DNS per the instructions and can ping thmdc by both IP and FQDN. I also can reach ntlmauth and printer/settings from Firefox using FQDN urls
Would you mind if we collaborate and find a solution to setup the DNS.
- The following configuration is required either do it via any network manager or manually using /etc/resolv.conf
nameserver 10.200.28.101
nameserver 127.0.0.53
options edns0 trust-ad
search hgu_lan za.tryhackme.com
- nslookup za.tryhackme.com ✅
- nslookup ntlmauth.za.tryhackme.com ✅
Note: We can successfully visit the webpage using IP address of the domain controller.
curl 10.200.25.201 ✅
curl za.tryhack.me ❌
DNS resolution is not working
Can you visit http://ntlmauth.za.tryhackme.com/
Nah
I can't visit anything since IP addresses are not resolved to domain names that's the issue we all are facing
Did you use a network manager or resolv.conf ?
And did you restart network manager?
Yeah
What VM are you using, I'm using Kali, but I wonder if Parrot or something else would work more easily
I am using kali too
Kali is what I use.
Version is irrelevant, I've got it working on different versions.
Kali 6.5.0-kali3-amd64
it's not irrelevant, or else the setup instruction in the room would still work
Obviously something changed in the meantime
Yeah I have a feeling too
- I tried resetting the network twice ❌
- Tried leaving the room thrice ❌
- Tried Kali default network manager to setup DNS ❌
- Tried nmcli to setup ❌
- Tried manually using /etc/resolv.conf ❌
I hate THM attack box. I am more comfortable doing boxes on my local machine rather.
I don't hate it, but I certainly don't love it
I tried to be productive today but wasted a lot of my time troubleshooting the DNS
Now I know why people say it's always the DNS
Obviously there are two separate domain resolving processes going on in Kali (at least two)
One of them respects the settings of resolv.conf
The other doesn't/others don't
If we could just figure out how to get the other system (the system curl and the browsers seem to rely on) to use the thmdc as their primary dns provider, I suspect that would solve it
Right, just rejoined breaching ad room, subnet number 92, downloaded ovpn file and connected, I can ping all the IP addresses listed on the main page 10.200.92.101/201/202/248, but can't ping by host name or nslookup (haven't made changes to resolv.conf yet, so that's expected)
You're in the subnet as me.
added nameserver to resolv.conf, and I can nslookup thmdc, when I ping it, it attempts to ping the correct IP but there's a lot of packet loss. I can live with that for now though.
DNS resolution is working?
Yes, but ping always worked for me once I added the nameserver to resolv.conf
ping and nslookup were fine
Are you able to call FQDN in browser?
it does, and I don't know what's different today to previous days
Damn
Yup
Good for you. I am still unable to make it working
Can you share your /etc/resolv.conf last lines ?
Well, only kind of good for me, that I happened to not step on pavement cracks today is hardly a reliable solution 🤣
🤣
This is even weirder, I feel like I'm going insane, I just catted my resolv.conf, the nameserver of thmdc IP line is gone, yet things are still working
Mgmg
What's happening 😂
Are you able to run the systemd-resolve command from the notes in task 1?
No
"systemd-resolve --interface breachad --set-dns $THMDCIP --set-domain za.tryhackme.com"
systemd-resolve not found
That's consistent with me
However I can restart the system md-resolved service
so you can ping and nslookup by IP and hostname, but curl and browser access are not working?
Okay looking over here I found a command that you could try: https://askubuntu.com/questions/1149364/why-is-resolvectl-no-longer-included-in-bionic-and-whats-the-alternative/1149374#1149374
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
sudo resolvectl dns your_interface your_dns_ip
Sure let me try
"0"
Okay thanks
Just don't ask me to run "sudo rm -rf /", I'm very gullible...
Hahaha
It worked for you ?
Well, as I said, it just magically worked today
all i did was connect to VPN, vim into resolv.conf, added the name server, saved it and things worked better than they have so far
Prior to this I was in exactly the same position as you
You added search "something" ?
This didn't help?
Nah
I was going to suggest we could jump into a voicechat and screenshare to make sure we're in lockstep, but if you're needing sleep, go get some sleep
Sure let's do it
@quaint ether I found the issue.
Sudo apt remove systemd-resolved
systemd-resolved was interfering with the name resolution
Using the basic NetworkManager worked fine
Hey guys, I am not able to start the network. How long till it can reset?
Has the time run out and I am not able to access this room anymore?
It usually a few min(s). which subnet?
The subnet is 10.200.99.0
Does Ctrl and F5 do anything?
even after I reload the page, it still says that the network is resetting
Could always leave the room for 15 min(s)
Might chuck you in a new subnet.
okay, will try that
Ah... screw it. Contacted support they might be able to help me out. my .ovpn file is not working either.
Guys, can I ask whos in charge of the breaching AD room network? it is still resetting....
I just finished that room... it's running well
Did you leave the room with the cog?
Or just close it when I asked?
I just closed when you told me to...
Ah.
You need to use the cog at the top.right
And select leave room
omg... it was that simple
If you leave and re join after 15 min you should get a new subnet
Alright bro. Thank you for the help.
Gave +1 Rep to @wooden minnow (current: #2 - 1832)
I just finish that room, try to setup your DNS if using VPN need configuration on network manager to add IP from THMDC
Yes everything is working i am currently on task 6
Hi Everyone, I am facing issue during configuration DNS but still give me error
You'll need to include way more detail - screenshot /etc/resolve.conf, and all that.
Try nslookup
Hei are you sure you the machine is started?
Follow the step slowly it’s your attackbox not properly set the DNS
I have follow the steps that are in the instructions but still getting same issue
Show me your attackbox ip a
it's in the screenshot at the top
yeah you're not on the breachingAD vpn
did you start the attackbox from the breaching room?
Yes
Hmm i think you need to terminate the attackbox and start from beginning 😅
Sure
your IP should be a 10.50 one
Let me start again
I just started the room, ran the systemd-resolve command, and can ping za.tryhackme.com/nslookup za.tryhackme.com etc.
Thanks everyone issue resolved
Actually I was putting my attack box IP instead of DC ip
Nice
Can you cat your vpn file?
Hi Everyone the network state of lab is comming Resetting
Any body know how much time it takes to get back
Which subnet?
Okay after leaving the room and rejoining again... it works. Now I have this problem.....
okay it does say connect request failed...
tftp -i (Resolve-DnsName thmmdt.za.tryhackme.com).IPAddress GET "\Tmp\x64{BFA810B9-DF7D-401C-B5B6-2F4D37258344}.bcd" conf.bcd <-- I tried this command but its still not working
facing the same issue even with the correct spelling. Will look back on it later.
I'm running into the same issue of "Connect request failed"
Jesus.....
Yeah. I am taking a break and gonna come back later today and see if it works when I start it up again.
just manually put in the IP address, and from my room when I did this, thmmdt was a .202 address. The .201 you had in your screenshot was thmiis.
I tried both IP and dns lookup
can you paste in the command with the IP address you used.
I’m afk. Taking a break until later today. But the command was ‘tftp -i 10.200.97.202 GET “\Tmp\x64{whatever my guid was}.bcd” conf.bcd’
I also tried the host name instead of IP ‘-i thmmdt.za.tryhackme.com’ and the ‘dns-resolve’ method s4r4c3n showed
Update. after coming back the network had stopped, now that I started the network again, it worked fine...
Breaching AD Lab is in Running state for me at the moment; it is the 10.200.25.X network. Dealing with some DNS issue though
Have you checked the pins and followed with my post?
I've let staff know.
I have on my list subnets 92 and 99.
Thanks for reacting so fast. At the moment, I am working around my DNS issue with a quick fix using /etc/hosts. Yesterday, I had no issue with systemd-resolve as per Task 1, but today that is acting weird. I am going through the pins right now. I am using the Attack Box
Gave +1 Rep to @wooden minnow (current: #2 - 1846)
I have restarted the Attackbox and configured DNS as per Task 1 using systemd-resolve: DNS OK now; must have been me doing something wrong earlier
click on the cog in the top right corner, leave the room, and then after 15 mins join again.
Update.... still getting the same damn problem. Am I doing something wrong here?
did anyone solve this issue?
I have had to look at writeups to fill in the answers to keep my streak up. It's actually doing my head in.
I justy checked, everything is running as it should on your subnet.
This is the fourth time it failed. I will try again...
Verified the IP address of thmmdt.za.tryhackme.com? Verified that that is the correct filename on pxeboot? "Note as well that if the network has just started, these file names will only update after 10 minutes of the network being active." - they could be different to what you are using. I've repeated this on my instance of this network and it works okay.
When I browsed to the pxeboot.za.tryhackme.com, the network was up for 23 mins. I copy pasted the 2nd x64 bcd file. Oh well... it is what it is. gotta try it again.
ip a
Can you paste the command you used (truncated in screenshot) - and confirm you used the correct IP address for THMDC. The command works just fine if you launch it from a terminal session on the Attackbox - the attackbox should be launched from the Breaching AD room itself to be safe.
Thanks issue resolved 🤠
Gave +1 Rep to @sage epoch (current: #295 - 15)
gonna give it another shot after a 2 day gap
haha
Is that aplied to persisten ad too? I Ieave the room for 2 days
No I am still in breaching ad.....
Hello , guys , i hope you are all doing well , i am in the breaching AD room , i try to connect to the , network with openvpn client , it shows me that is connected successfully , but when i go to check the access page i found that is not connected , what can , i do ?
Which os are you using?
kali linux
ip a
Do you have an interface breachad ?
yes
Than you're connected to the network, can you do nslookup?
No , this is the response : ** server can't find thmdc.za.tryhackme.com: NXDOMAIN
Guys how do i fix the systemd-resolve not found when trying to configure the dns in my kali
I think that should run if you using attackbox ... if you connect with your own kali machine you must setup your DNS manually.
how do i set it up manaully, can you please give me the steps because it seems like its not working
i am using sudo nmtui and add my ip from VPN and set the DNS with THMDC IP add 1.1.1.1 as Search after that sudo systemctl restart NetworkManager and try to look the /etc/resolv.conf
to make sure the setup ok try nslookup thmdc.tryhackme.com
root@ip:~# THMDCIP=10.200.92.101
root@ip:~# systemd-resolve --interface breachad --set-dns $THMDCIP --set-domain za.tryhackme.com
root@ip:~# ping $THMDCIP
PING 10.200.92.101 (10.200.92.101) 56(84) bytes of data.
64 bytes from 10.200.92.101: icmp_seq=1 ttl=127 time=1.39 ms
64 bytes from 10.200.92.101: icmp_seq=2 ttl=127 time=1.23 ms
64 bytes from 10.200.92.101: icmp_seq=3 ttl=127 time=1.28 ms
^C
--- 10.200.92.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.233/1.304/1.393/0.066 ms
root@ip:~# nslookup thmdc.za.tryhackme.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: thmdc.za.tryhackme.com
Address: 10.200.92.101
root@ip:~# nslookup tryhackme.com $THMDCIP
;; connection timed out; no servers could be reached
I get this behaviour both on my Kali VM and on the Attackbox.
nslookup thmdc.za.tryhackme.com
works well but not
nslookup tryhackme.com $THMDCIP
Have I missed or misunderstood something?
Yups on me when using attackbox change the $THMDCIP is the sollutions
someone kindly walk me through this room in voc
Hi guys! For me theres no breachad interface when I start the attackbox. And when I generate my openvpn config it will be 0 bytes. Any help is appreciated!
There is VPN on network tab make sure you chooae the right one
I know, but when I try to generate my VPN config, it will be an empty config. 0 bytes.
attackbox:
there is no breachad interface
I can confirm, I followed the instructions and there isn't any breachad interface
im connected via vpn i have breach interface i have added the dns ips and i still can't reach the dc
any suggestions?
It's impossible to connect with OpenVPN because the [username]-breachingad.ovpn file is empty
It's also impossible with Attackbox because there's no breachad interface and the AD itself is on a different network (even ping doesn't work)
Is there any way to do this room? It seems like there are dozens of people with similar problems and not a single solution other then "wait a few days and try again"
Let me check the vpn file.
The ovpn file generates fine for me. Can you try to regenerate the breachingad ovpn file and download it?
I just did and it's still empty
Other ovpn files are generated normally (9KB) - I tried 2 Machine servers, exploitingad and adenumeration. Only breachingad seems to be a problem
Thank you, I'll double check with the team on the vpn server for breachingad.
Gave +1 Rep to @stray cobalt (current: #1997 - 1)
Can you try to leave the room and rejoin, and than regenerate your vpn?
I reset my progress, left the room, join the room back and generated the vpn - it's still empty
Double checking now with the team why this is happening.
Also, please provide the subnet you are on, would look something like: 10.200.32.x
Do you mean the subnet from the room? THDMC is 10.200.4.101
the vpn is empty wtf
Known issue that staff are aware of, been happening to a few users
I've connected the VPN, configured the DNS, I can ping the DC, but it's not able to resolve the domain name.
Can you go the url in task 3 or 4?
Hello all, I'm stuck with netcat, nothing seems to be catched with nc -lvp 389
Am i the only one ?
root@ip-10-10-57-81:~/Rooms/BreachingAD/task3# nc -lvp 389
Listening on [0.0.0.0] (family 0, port 389)
nothing happen ... 😦
well, maybe I'm wrong but we're doing ldap pass-back attack here, and according to the lab we need to catch ldap traffic by altering the Server input box on the web application to point to our IP
and the lab says :
[thm@thm]$ nc -lvp 389
listening on [any] 389 ...
10.10.10.201: inverse host lookup failed: Unknown host
connect to [10.10.10.55] from (UNKNOWN) [10.10.10.201] 49765
0?DC?;
?
?x
objectclass0?supportedCapabilities
"You should see that we get a connection back"
in my case nothing happen
root@ip-10-10-57-81:~# sudo nc -lvp 389
Listening on [0.0.0.0] (family 0, port 389)
now i cant even ping to DC
now works
why?
How to achieve sudo systemd-resolve --interface enumad --set-dns $THMDCIP --set-domain za.tryhackme.com on Kali Linux, preferably using the command line since WSL lacks graphical interfaces.
just started this room myself. one of the pinned comments has a guide for kali: #breaching-ad message
Hi there i cant join room for some reason..
Are you a sub, or have a streak > than 7?
Yea i have both 🙂
I was in room yesterday and today when i try to continue i was removed from the room and need to join to continue, but when click on join room page just reloads but still asking to Join.
can sm help me with setting up dns issue so this is how i set up my /etc/resolv.conf :
nameserver 10.200.75.101
nameserver 127.0.0.53
options edns0 trust-ad
search hgu_lan za.tryhackme.com
and when i try nslookup i get :
;; communications error to 10.200.75.101#53: timed out
;; communications error to 10.200.75.101#53: timed out
;; communications error to 10.200.75.101#53: timed out
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find thmdc.za.tryhackme.com: NXDOMAIN
hi, i have an issue with the task 4 web page.
as the ss above, i can ping and resolve, but the webpage isnt responding.
what can be done to resolve this?
Is the the webpage on task 3?
its working
Then you're good to go.
i can acess the tas 3 site for ntlm http://ntlmauth.za.tryhackme.com/
but can't access ldap section http://printer.za.tryhackme.com/settings.aspx
thats the issue
only 3 is working, but not 4
Everything it active on your subnet, could try reseting the network?
haven't tried reset, but i have waited for the timer to go out so to restart the machine.
but the issue still persist
does the network have the same IP for everyone?
Everyone will be in different subnets.
ah
I think you're in groups of a maximum of 5.
hi there, I'm doing step by step to configure the DNS
but the nslookup thmdc.za.tryhackme.com not resolve...
this is the message I'm receiving :
`$ nslookup thmdc.za.tryhackme.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find thmdc.za.tryhackme.com: NXDOMAIN`
I'm using ElementaryOS as OS and I added the IP 10.200.XX.101 inside what is it my NetworkManager then reset as systemctl restart NetworkManager tried nslookup thmdc.za.tryhackme.com and received the error message above ^^
what could I be doing wrong?
Check the pinned posts. 🙂
thanks
Gave +1 Rep to @wooden minnow (current: #2 - 2078)
who can help me to voting to reset breaching-ad?, 4 votes left...
how can be reset the machine without votes?, or when the machine expire?
hey anyone who can give me a hand, I did the pinned post steps but the issue persist, any help would be appreciate it
@wooden minnow can I DM?
Just post in here will be fine, it could help others
I did already @wooden minnow
Can you connect to the URL on Task 2 or 3?
the nslookup dns resolution is not working | after added the nameserver on /etc/resolv.conf file but can reach the http://ntlmauth.za.tryhackme.com URL...., i really don't understand what is happening
I'm gonna try to run the script to see what happen
If you can access the web address it's fine, it's working as intended.
it's cool..... but if you have a clue what could be happened in the first place I'd to hear about that...
It's just the nslookup being annoying, I remember one time when I tried it out, it would only be successful when done with sudo
Hello guys, I'am doing the LDAP Pass Back attack but when I launch the attack I obtain the following:
The user is not found in the database according to Wireshark log
But i cannot show you, since I cannot load image on the chanel by clicking on the plus button
i gave up noot able to find solution
For what?
not able to nslookup and not able to open printer.za
Have you taken the steps in the pinned post?
i did, i followed step as other mentioned. i dont see any further soluution
Hello guys! 👋
I’m having a problem with the DNS configuration debugging steps in task one, can anyone help with that?
nslookup might be bugged, check out the pinned posts, I have wrote out a connection guide for Kali.
nslookup can still fail, but if you can go to the link in task 2/3 you should be fine.
If it still fails, you can give me your subnet and I can check if the services are running or not. 🙂
Alright
Hello!
I'm having a problem with the ldap (mis)configuration in task 4.
I'm trying to apply the olcSaslSecProps.ldif as described but without success.
This is before the application
ldapsearch -H ldap:// -x -LLL -s base -b "" supportedSASLMechanisms
dn:
supportedSASLMechanisms: GSS-SPNEGO
supportedSASLMechanisms: GSSAPI
supportedSASLMechanisms: SCRAM-SHA-1
supportedSASLMechanisms: SCRAM-SHA-256
supportedSASLMechanisms: GS2-IAKERB
supportedSASLMechanisms: GS2-KRB5
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: NTLM
supportedSASLMechanisms: CRAM-MD5
This is after
ldapsearch -H ldap:// -x -LLL -s base -b "" supportedSASLMechanisms
dn:
supportedSASLMechanisms: GSS-SPNEGO
supportedSASLMechanisms: GSSAPI
supportedSASLMechanisms: GS2-IAKERB
supportedSASLMechanisms: GS2-KRB5
supportedSASLMechanisms: LOGIN
supportedSASLMechanisms: PLAIN
Does anyone know how to get only
supportedSASLMechanisms: LOGIN
supportedSASLMechanisms: PLAIN
on ubuntu?
Hello I need help with debugging my dns for this room.
I followed the pinend section of this channel and get the follwoing error
Did you connect via the cli and stuff like the pinned posts?
Anyone???
Leave the room with the cog (at the top) for 15 mins
What's cog?? 🥲
A literal cog.
Up beside the attackbox button
Help
Oh, you need to join the room
Once you join you van download the vpn
I cant join the room
It says you cant join cuz u dont have the streak
but this says, no streak required
@delicate compass free users need a streak of 7
Alrightt, Thanks a lot
Gave +1 Rep to @wooden minnow (current: #1 - 2236)
(started learning AD recently)
Hey guys,
On breachingad room, per guide we need to configure the dns. As I'm running a web based attack machine(Kali), systemd-resolve and resolvectl commands are not found nor it's installable (for obvious reason I think).
Any solutions? Correct me if I said anything wrong or over looking.
Look in the pinned posts.
Tried the pinned suggestions, but I think the problem is the commands does not exists to run . I'll try restarting the web based attack box once
is your issue resolved??
I downloaded systemd-resolved
but still its not showing
anyone???
@wooden minnow
are you connected through the attackbox or via vpn?
so yes means your using a vm and connnected via vpn?
yes
I am
connected via vpn
so, do i have to manually change everything according to the screenshot in pinned message?
yes
alright, let me try
what's this second nameserver ?
I don't know the author didn't specify, however given the scenario, it's most likely a VMware virtual ip, to demonstrate that you the THMDC ip needs to be at the top, and additionally you can add other DNS resolvers like 1.1.1.1, but only below the 10.x. ip
ohkkk, and what's up with this "search localdomain"
just a prefix that's is appended when you make a certain DNS query, in essence just dns things, irrelevant to the network
you're querying the wrong domain
hmmm
and does leaving and reconnecting to the network resolve the issues?
noticed we had the same 10.x, the network is resetting now
since already 4 people voted i assume you're not the only one facing this issue
the network just got reset
still the same issue
Systemd is depreciated.
Please use the steps in the pinned post to connect.
Please state your subnet so I can check the services
i have the exact same issue, i can resolve za.tryhackme.com, but can not resolve tryhackme.com
The good news is that i am going through the room and it works fine so far
Nslookup doesn't matter now,. Its just to confirm you can do it.
But it hardly works.now that's its not needed
yeah lol
guys, I am not able to connct to this rdp it just prompts me to enter password every time
@delicate compass did you resolve the network setup issue?
QQ - why does it show "1 days of access left" on this room? even though I have a subscription
You're removed after x amount of days, as this is a network room, it runs 24/7.
Users are removed to save resources, as they could have finished the room and still be in it.
what if I missed to complete the room before mentioned time and I want to take part later?
You're free to re-join.
nice, thanks
Gave +1 Rep to @wooden minnow (current: #1 - 2245)
yeahh I manually changed the dns using advanced network settings
cool
ntlm_passwordspary python file error while running
hello everyone, i have a problem with task 3 "NTLM Authenticated Services". i have put this line into /etc/resolv.conf:
search za.tryhackme.com
nameserver 10.200.55.101
and nslookup output is:
nslookup thmdc.za.tryhackme.com
Server: 10.200.55.101
Address: 10.200.55.101#53
Name: thmdc.za.tryhackme.com
Address: 10.200.55.101
when i try to reach the url in the task 3 "http://ntlmauth.za.tryhackme.com" i get server not found
anyone can help me with this problem??
Are you using the breached VPN?
yes i'm connected to the network the thmdc.za.tryhackme.com respond to the ping
Can you double check you're not using https
I've just checked your subnet, all your services are running fine.
i'm not using https, just http://ntlmauth.za.tryhackme.com
and got server not found
You may need to reset, there is a bug where things can not work despite working if the network is started after it resets
i'm waiting for network reset and try again
after network reset it still not working
for anyone that have my same problem i have solved just by running this two command in kali terminal:
sudo resolvectl dns breachad 10.200.80.101
sudo resolvectl domain breachad za.tryhackme.com
and works as aspected!
No matter what I do, I can't get a tftp connection in Task 6!
Like many people here, I'm getting a "connect request failed" response.
I'm using the AttackBox and referring to the IP provided for THMDC in the network diagram
Guys I cant connect to the first challenge though i set up dns correctly.
┌──(kali㉿kali)-[~/Desktop]
└─$ dig ntlmauth.za.tryhackme.com
; <<>> DiG 9.19.19-1-Debian <<>> ntlmauth.za.tryhackme.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52820
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;ntlmauth.za.tryhackme.com. IN A
;; ANSWER SECTION:
ntlmauth.za.tryhackme.com. 0 IN A 10.200.26.101
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun Jun 09 10:30:18 EDT 2024
;; MSG SIZE rcvd: 70
There is a link you need to access in task 3/4 can you access it?
Nah, I guess you are mentioning http://printer.za.tryhackme.com/settings.aspx. I can't reach it as well
Tried everything mentioned. Nothing works
I suggest you to remove this room so nobody wastes their time
The room works, 🙂
However I'm not staff.
There's no doubt the room works but i'm just giving up.
Imagine a machine that has no open port 80 and a room that suggests connecting to it 😂 😂 😂
┌──(kali㉿kali)-[~/Desktop]
└─$ rustscan -a 10.200.26.101 --ulimit 5000 -- -sV -T4 -sV -Pn -A
.----. .-. .-. .----..---. .----. .---. .--. .-. .-.
| {} }| { } |{ {__ {_ _}{ {__ / ___} / {} \ | `| |
| .-. \| {_} |.-._} } | | .-._} }\ }/ /\ \| |\ |
`-' `-'`-----'`----' `-' `----' `---' `-' `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog :
: https://github.com/RustScan/RustScan :
--------------------------------------
🌍HACK THE PLANET🌍
[~] The config file is expected to be at "/home/kali/.rustscan.toml"
[~] Automatically increasing ulimit value to 5000.
Open 10.200.26.101:22
Open 10.200.26.101:53
Open 10.200.26.101:88
Open 10.200.26.101:135
Open 10.200.26.101:139
Open 10.200.26.101:389
Open 10.200.26.101:445
Open 10.200.26.101:464
Open 10.200.26.101:593
Open 10.200.26.101:3389
Open 10.200.26.101:5985
Open 10.200.26.101:9389
I just checked your subnet, machines arne't working because it's inactive, you need to either start the network or reset it
Machine is inactive because i don't look it anymore. I would not see any port if it was inactive when I scanned it.
It's a network, it runs 24/7 so it stops now and then to save resurces
then how do you explain this port scan if it was inactive when i scanned? I did start machine before I scanned of course, proof is other open ports
It was active when I scanned it bro
It's not actice now though.. 😄
Because I scanned it almost 1 hour ago
I can only tell you what I'm looking at, and the scanner is saying they're inactive.
This full terminal output should be enough to convince you that it was active when I scanned
And I have access to the scanners on the network granted by staff... 😎
They're all inactive.
Here's my full terminal output: https://text.is/2ZY8R/raw
I can't share a file here
You need to be verified.
@tight sleet ping?
Check that your network is still up, you'll need to lookup the MDT server for the uuid
As this is a simulation
Hey guys, Im in the room "Breaching Active Directory" and cannot solve the following two issues:
Task 6: I try to download a file via tftp and get all the time an error. Yesterday and today:
"connect request failed"
I couldn't solve it. The ip of the server was 10.200.24.202. This was shown in the network diagram and provided by nslookup. Ping worked as well. + the link of the x64…bcd showed another name, as the link was refering to.
Task 7:
The ssh connection to ssh thm@THMJMP1.za.tryhackme.com is established and working.
When I try to download the McAffee-db.mdb file, I always get the error "broken pipe".
I use the following command:
scp thm@THMJMP1.za.tryhackme.com:C:/ProgramData/McAfee/Agent/DB/ma.db .
Any ideas?
Many thanks
Broken pipe usually indicated a connection error
Refresh the room page and make sure the network isn't stopped
Also try the tftp from the jump host
OK. The network is shown running. And I'm also connected via ssh to the thmjmp1. and can navigate through the directories
Scp should work then
When I perform a nslookup on the local bash, I get the ip of the server:
nslookup thmjmp1
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: thmjmp1.za.tryhackme.com
Address: 10.200.24.248
Looks alright
I've read something to check the config files of ssh but I not really experienced yet.
You set up your own DNS?
No problem. I'll have to leave now anyway. If you would find some time later, it would be very nice, if you could check, if it works for you.
Here's the link to the room: https://tryhackme.com/r/room/breachingad
I did the room yesterday and it worked fine
I had a similar issue in task 7 last night. My ssh connection to THMJMP1 was disrupted after task 6 and I couldn't ping the machine. After network reset, I could ping the ip displayed in the network diagram for THMJMP1 (10.200.55.248), however nslookup revealed a different ip for the same machine (10.200.115.248). Ended up ssh'ing into 10.200.55.248 to get it done but wonder what could of caused that.
Thanks JM for your input as well. I'll back now and will try to figure it out.
Now, I was able to transfer the bcd-file from task 6. There was a c&p issue in the file's name ({ was replaced by %). So I'll first finish this one and then start over to task 7 again.
Good to know, that an error in the file's name will result in a "connect request failed" error, which points feeled more into the direction of a existing connection issue.
I didn't get the copy of the db.mdb to run. I've tried to create a config file in root directory for ssh. Contents:
Host *
ServerAliveInterval 60
ServerAliveCountMax 30
I'm not deep enough into it.
Any ideas?
the scp command worked now.
The problem was, that I directly followed the guideline 1:1, not realizing, that I would need to open another bash to perform the scp command in there. I navigated as shown in the screenshot on task 7 to the folder where the db is located and run the scp command from there. So it would have overwritten the ma.db in this location. This resultet in the error "broken pipe".
Many thanks for your help guys. 👍
Hey I'm having an issue with Task 6
Steps aren't that complex and I've looked at three writeups, but the bcd transfer request fails every time
filname is copy/pastes, IP matches diagram and NS lookup, and I'm using attackbox for convenience
Even tried adjusting syntax, removing the brackets, // at beginning and nothing
I saw the same thing a while ago while doing task 6
And after a network reset
I seem to be having a similar issue to DeepFakeNein but my c&P does not have an error in it that I can see
Hey Hydra what do you mean by try the tftp from the jump host? Do you mean try that IP?
there's a jumphost machine that you can connect to
yeah I already ssh'd into that, that seems to be one of the normal steps, unless you're referring to something differenyt
?
Fingered it out, it takes fooorevvvver for the http://pxeboot.za.tryhackme.com to update filenames after server reset
Yeah, the room states it can take over 10 minutes for that to occur. Were you experiencing longer wait times than that?
Hey guys, i made a simple script to automate VPN connecting and DNS config for this room, have a look, maybe someone will find it useful. https://github.com/V4s5i11y/vas/blob/main/breachad_config.sh
At the same time, I'm having an issue with downloading BCD file in task 6. Receiving "Connect request failed", did anybody get the same issue?
<resolved>
Can anyone help me here ?
I can’t connect to the.jmp1
Error is could not resolve hostname … : name or service not known
My dns is working and I can ping the dmc
What's your subent?
10.50.x.x
Guys, I am not getting anything on my responder. I am connected very well and able to ping and perform nslookup and everything
also, is it ok if the responder has tcp server running on port 53?
Anyone??
Which subnet are you on?
right now I am on 10.50.29.59/26
its working now, lol
Awesome, I checked for you and 10.200.32.x subnet is active. 🙂
Can you checkout if the subnet is active(10.200.42.101)? @old plinth
I already have, I pinged you in #subscriber
I've checked the subnet. everythign is active.
Yea Nslookup was working but site was not working so to fix that i added the ip and domain in resolv.conf it worked then.\
¯_(ツ)_/¯
mostly fixed by network reset
sometimes fixed by following the early tasks steps
did you export the THMDCIP Address? Or add it to the command in Task 1 instead of $THMDCIP?
I started the network (it was stopped for me) and followed the steps in task 1, including the nslookup step, and I'm good to go.
*from the attack box.
Sometimes not fixed as it's windows.
Hi! I am configuring the network and i still get an error on the DNS and i can't see where i did something wrong, i'm using my own kali with vpn
it seems to not work on nslookup tryhackme.com
and i've read the pinned messages tho
and can access the ntlm url, so maybe is everything fine ?
NSlookup is not essential.
Hi! Like many other people, I'm stuck on step 1. I'm currently using attackbox (launched from the room) and am running into the unknown interface problem. Looking at the NetworkConfigs folder on the desktop it looks like the vpn file is empty
Ping doesnt work either (probably because the VPN isnt working properly)
@wooden minnow managed to make it work finally, just don't ask how as i don't know hahaha
@mossy silo did you properly add the DNS to your connection and restarted the network manager?
Yes, it didn't do anything
can you cat /etc/resolv.conf please?
Did you check that it was the right IP? No typo?
Yup, that's the one
and can't ping either like I should allegedly be able to do
like, is this supposed to be empty?
it shouldn't be, right?
but that's how it's generated every time i launch the attackbox
it shouldn't, you'll have to download another vpn configuration, try regenarating it
Discovered a new issue, i can't get logged in http://ntlmauth.za.tryhackme.com/ when using Burp.... but i can with firefox T_T
deleting the file and restarting the attackbox causes it to regenerate as empty again fwiw
whoever owns the room might want to note that down as a bug :)
oh you're on an attackbox, you don't need vpn for that i think
You do need the VPN file for the attackbox
It's already running
You get a 401, so chances are you'll get the right link to work (printer)
okay yeah regenerating the VPN and running it manually works
so I guess whatever issue is causing it to generate as blank on the attackbox should probably be noted
because otherwise it's just not gonna work when the machine tries to run it automatically
@paper spruce hiya! same thing, i've been waiting for 30 min, jsut restarted the network
There we go!
Hi I am having an issue since yesterday
to connect to the room's network
anyone can help please?
Hey I am New to AD Not Able to connect to it properly
I am albe to Ping the DC But Not Able to resolve the DNS Service on it
@phill
@thorn coral Here We Go
Oh, thanks!
DId you perform the steps highlited in task 1 ? Specifically for configuring dns ...
?
I would first check if the server can use port 53, both UDP AND TCP need to be open for it.
Second of all I would check if your machine has it set as DNS
I tried that only
This channel is fine too.
Check the pins.
Sure, i know it is. I just linked your message refering to site-support because they said they did the DNS configs
Hey @wooden minnow I Found The Easy Best Way to Get Rid of That DNS Problem I am Giving the Solution if You find it Helpful pin the message
To Setup DNS In Linux Follow the Steps :
-
Start the Network and Download the Openvpn (ovpn) File File.
-
Connect to the Network Domain Controller Using OpenVPN
-
Now Run the Following Commands to Configure DNS
sudo apt install resolvectl -y sudo resolvectl dns breachad <DC-IP> sudo resolvectl domain breachad za.tryhackme.com -
After This Being Done Open
/etc/resolv.confFile and Addnameserver <DC-IP>Above all Non Commented Entries. -
All Set !! To Confirm Run Nslookup or Try Visiting NTLM Authentication WebPage in Task 3 URL : http://ntlmauth.za.tryhackme.com/.
That's just my post with extra un-needed steps.
Didn't mean to Say you are wrong but when i yesterday just changed thr File and tried I was unable to Do it. i had to Run these commands too of resolvectl one
But if it works, it works.
If that doesn't also work add your server in hosts file
Thank you man
Finally it works
Gave +1 Rep to @valid canopy (current: #2196 - 1)

Hey @wooden minnow , how do I contact support. This is urgent as I've only three days access to the breaching ad network. Email will take time.
Hello hello!
Not to worry, after the 3 days you're removed, however you are free to re-join when you like,
You're removed from the room as it's a network room so it runs 24/7. The x day removal is for people who may complete the room, and then forget to leave, These machines don't behave like the normal room machines do, (they don't shut down after a timer)
However, what do you need support with, and I can try my best.
I am having issues as I can't ping the THMDC from Attackbox and VPN
ping 10.200.32.101
I left the room multiple times and joined to join different subnets but still same issue presists despite following the pinned post
this finally worked !!
I have done all these steps correctly but when trying to access the ntlmauth.za.tryhackme.com website through chrome its showing dns error, but its fine when I try to request through curl? anyone know why this happens or how to fix this?
nvm, I had setup dns provider to 1.1.1.1 in chrome. It works now when I update the option to OS default...
Good morning! I've been trying to start the Breaching AD room, but I can't get passed Task 1. :/ At first I couldn't even do the first command, but I did download the OpenVPN file and was able to do hte systemd-resolve command, but I can't nslookup, it just fails. (See screenshot.)
I've tried to update /etc/resolv.conf as shown in the following messages, but I just get ;; Got SERVFAIL reply from 127.0.0.53, trying next server. :/ My resolv.conf is:
nameserver 10.200.157.101
nameserver 127.0.0.53
options edns0
search eu-west-1.compute.internal za.tryhackme.com
I've added the first nameserver to match the IP of the THMDC from the room. I have tried to leave the room, for more than 5 minutes, and coming back; but I still can't get it to work. :/ Any help would be much appreciated!
I can't reach http://ntlmauth.za.tryhackme.com/ from Task 3 or http://printer.za.tryhackme.com/settings.aspx from Task 4.
Any other tips to resolve the issue?
same, i have tried every thing that's mentioned above! still stuck
If anyone has any insight/tips/fixes it'd be much appreciated. I've been stuck on this one task for 2 days now. :/
for any poor souls trying to get this incredibly confusing room to make sense and actually access the machines - here's my /etc/hosts file
10.200.55.201 ntlmauth.za.tryhackme.com
10.200.55.201 printer.tryhackme.com
10.200.55.101 za.tryhackme.com
and my /etc/resolv.conf file:
search localdomain
nameserver 10.200.55.101
nameserver 1.1.1.1
the issue might now be in your /etc/hosts file - i found ntlmauth.za.tryhackme.com is actually the the .201 machine - which is never said at all 
even if you use the AttackBox, you have to download the VPN config file for Breaching AD network
the VPN gives you an interface called breachad: with that you should be able to ping the DC (make sure the network is running)
if that does not work, leave/join the network, possibly multiple times; wait some minutes (15?) before joining back
read the Pinned Message for #breaching-ad
consider sharing what did work and what did not work for you: that will help the community
As I’ve mentioned, I’ve followed the pinned message and did download the VPN file. I cannot share what worked as it didn’t and what didn’t work is what was in the room and that message.
do you have a breachad interface?
I did after using OpenVPN, yes. But kept getting the error in the screenshot I posted whenever I tried nslookup and couldn’t reach the URLs from tasks 3 and 4.
sorry, I missed the previous messages with screenshots
I'll look at that in a few minutes
Awesome, thank you!😁
Gave +1 Rep to @woeful sail (current: #67 - 111)
Oh, one thing I just remembered, I did try to ping THMDC's IP address last night and it couldn't reach it either. I didn't figure that part out either yet.
that is what I am struggling with right now
I had left the network to come back after only 5 minutes: same issue
now, I have left again and will wait 15 minutes
I'll keep you updated
about this message you posted: #breaching-ad message : I have not come as far as Task 3 & 4 up to now: the suggestion from @prisma thorn is the obvious work-around (I have seen smilar messages for this or other networks to fix DNS) I'll see how it goes
right now, I am using the AttackBox
I've decided to retry this morning, but when I went to download the VPN file from the Access page, I decided to try the Regenerate option before downloading and it seems to have worked. So my steps were:
- Start the network
- Wait until the Network Time reached at least 5 minutes.
- Start the Attack Box
- On the Attack Box:
- Confirm that the
breachadinterface was not there. - Follow the pinned message: #breaching-ad message by adding the
nameserverentry with THMDC's IP at the top of/etc/resolv.conf. - Do
nslookup thmdc.za.tryhackme.com-> Which returned the result in my screenshot. - Go to http://ntlmauth.za.tryhackme.com and did get prompted for credentials.
The gist of it seems that my issue stemmed from the OpenVPN connection file being borked for some reason. 🤔
thanks for all those the details
so, if I understand correclty, with the procedure you documented, you are one step beyond the point of your initial message (#breaching-ad message) as you can browse to http://ntlmauth.za.tryhackme.com as needed for Task 3 Is that corrrect?
Can you also browse to http://printer.za.tryhackme.com/settings.aspx as needed for Task 4?
Gave +1 Rep to @obsidian wind (current: #2212 - 1)
I was able to get to it and it did prompt me for the credentials, yes. 🙂 It would simply not resolve in the past, so that is a very good sign. 🙂
so happy you have reached that point
I hope I can too 🙃
I have just started the network, waiting another 5 minutes as per your procedure
I'm hoping so as well. 😄 Hopefully this procedure helps you as well. 🙂
BTW, all those networks (AD and other) have similar setup as Task 1 of Breaching AD (DNS, etc.) So whatever helps here will help for those too I expect
I took note of what fixed this one, so hopefully, if it's the case, I'll have something to fall back on to fix it. 😉
I am not in luck today: cannot ping the DC
I'll keep trying, but at this stage I guess there is no need for you to wait for me and my network to work
I'm continuing mine, but if I can somehow help; why would I say no? 😛 So you got the openvpn file, connected and then changed the /etc/resolv.conf file right?
not that far: i regenerated the VPN config as per your procedure, then launched the VPN with openvpn and got Initialization Sequence Completed result which gives me a breachad interface
I observe a difference today from previous instances of openvpn: usually, after Initialization Sequence Completed I get a few lines of additional outputs, but not today
and the issue is that I cannot ping the DC, so no point going to /etc/resolv.conf at this stage
Try and add nameserver [THMDC IP] above the others in /etc/resolv.conf, I had to do that one for it to work. 🙂
understood
but realize that if [THMDC IP] does not respond to ping, it will not be functional for any DNS work
I hadn't pinged mine beforehand, so fair point. 😛
now this when going to THM Access page...
😮 That's a new one; haven't seen this before.
seems to be working now, although may be sluggish
anyway, moving on
Mine's stuck on the Task 3 python command with it erroring out. 😂 At least it's progress? 😉
is the timer on your Network diagram ticking? Mine seemed to have frozen then restarted
Good question... it says it has 1h 27m left and has been up for 1h 2m. I'll have to check again in a minute to see if it changes. 🤔
It has gone down to 1h 25m, so I assume it's not dead. 😛
Now if I can get passed the Python error...haven't really had my hand in Python much before... 😛
[*] Starting passwords spray attack using the following password: Changeme123
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/urllib3-1.26.12-py3.6.egg/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.6/dist-packages/urllib3-1.26.12-py3.6.egg/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
Apparently my /etc/resolv.conf had been reset. Oops. 😇
They say somewhere in the room material that on the AttackBox DNS is expected to reset roughly every 3 hours
Guess I landed on that 3h mark somewhere. 😛
I have not made progress: the DC is not cooperating with either ping or nmap -Pn
I'll keep trying, waiting a bit longer
I am not good at all with code: I guess you start that python script with python 3
I actually just did python with what they had in the example and it worked. 🙂 Though I saw online that python3 can also work.
At last I got my DC to react to ping:
- I am using my Kali VM
- to check my sanity, I left Breaching AD and started 2 other AD networks (Lateral Movement and Pivoting, Enumerating Active Directory) and confirmed there I could ping the respective DC
- by that time, about 15 minutes must have passed and I rejoined Breaching AD
I have set up DNS as per instructions
I have reached the same point that you did: I can browsentlmauth.za.tryhackme.comandprinter.za.tryhackme.com
Awesome! 😄 I encountered another issue on my end, but then had to stop since I needed to work. 😂
Great
Now, I have to leave too
Have fun with AD
Same to you 😉
hi all, i keep getting this error msg when using the attack machine..
systemd-resolve --interface breachad --set-dns 10.200.20.101 --set-domain za.tryhackme.com
Unknown interface breachad: No such device
i've added breachad into /etc/hosts file
against my ip address on attack machine
[solved] ┌──(kali㉿kali)-[~]
└─$ sudo ln /usr/bin/resolvectl /usr/bin/systemd-resolve
I'm putting it here for my own reference too
hihi anyone can help
network is unpingable now
┌──(kali㉿kali)-[~]
└─$ ping 10.200.80.101
PING 10.200.80.101 (10.200.80.101) 56(84) bytes of data.
┌──(kali㉿kali)-[~]
└─$ nslookup tryhackme.com 10.200.80.101
;; communications error to 10.200.80.101#53: timed out
;; communications error to 10.200.80.101#53: timed out
;; communications error to 10.200.80.101#53: timed out
;; no servers could be reached
Same issue using attackbox. Network is not pingable😫
I had the same issue in attackbox and I just fixed it
The problem is with the empty vpn config files in /root/Desktop/NetworkConfigs
So to fix it, follow the below steps:
- Start the Attackbox
- Go to https://tryhackme.com/r/access, select
breachingadVPN server and click onRegenerate. Now download the config file. - Open breachingad.ovpn in /root/Desktop/NetworkConfigs, you may notice an empty config file. If that's the case, copy-paste the contents from the recently downloaded config file.
- Run the command
sudo openvpn breachingad.ovpn - Run the command given in the room i.e
systemd-resolve --interface breachad --set-dns $THMDCIP --set-domain za.tryhackme.com
thank you for this procedure: very helpful
in addition, consider reading the Pinned Messages for this channel
in particular this message from @wooden minnow : #breaching-ad message
I have highlighted in the screenshot the need to have the nameserver at the top
Gave +1 Rep to @tacit zodiac (current: #2215 - 1)
Gave +1 Rep to @dense cedar (current: #29 - 289)
hello can someone help i get
nslookup tryhackme.com 10.200.25.101
;; connection timed out; no servers could be reached
using the attack box
but ping 10.200.25.101 is working
HTTP API (Edit Msg): 114.923413ms
Gateway: 131.435875ms
after leaving the room and getting a new network i get
root@ip-10-10-167-128:~# nslookup tryhackme.com 10.200.54.101
Server: 10.200.54.101
Address: 10.200.54.101#53
** server can't find tryhackme.com: SERVFAIL
is servfail a problem ?
i added nameserver in sudo nano /etc/resolv.conf but still having the issue
nslookup tryhackme 10.200.54.101
Server: 10.200.54.101
Address: 10.200.54.101#53
** server can't find tryhackme.eu-west-1.compute.internal: SERVFAIL
HELP SOMEONE ?
HELP ?
└──╼ $nslookup tryhackme.com 10.200.25.101
;; communications error to 10.200.25.101#53: timed out
;; communications error to 10.200.25.101#53: timed out
;; communications error to 10.200.25.101#53: timed out
;; no servers could be reached
┌─[✗]─[parrot@parrot]─[~]
└──╼ $nslookup tryhackme.com 10.200.25.101
;; communications error to 10.200.25.101#53: timed out
^C
┌─[✗]─[parrot@parrot]─[~]
└──╼ $ping 10.200.25.101
PING 10.200.25.101 (10.200.25.101) 56(84) bytes of data.
64 bytes from 10.200.25.101: icmp_seq=1 ttl=127 time=97.3 ms
64 bytes from 10.200.25.101: icmp_seq=2 ttl=127 time=98.6 ms
64 bytes from 10.200.25.101: icmp_seq=3 ttl=127 time=101 ms
64 bytes from 10.200.25.101: icmp_seq=4 ttl=127 time=109 ms
^C
--- 10.200.25.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 97.329/101.487/109.223/4.629 ms
┌─[parrot@parrot]─[~]
tried this time with my parrot vm but nslookup command never works for me
Don't worry about nslookup.
If you can get the url open in the browser in Task 4, you're fine.
http://printer.za.tryhackme.com/settings.aspx
this one right?
YEah
└─# nslookup tryhackme.com 10.200.26.101
;; communications error to 10.200.26.101#53: timed out
;; communications error to 10.200.26.101#53: timed out
;; communications error to 10.200.26.101#53: timed out
;; no servers could be reached```
why is it not working?
https://tryhackme.com/r/room/breachingad
Check the pins.
1) Download your VPN. 2) Connect to it as normal (probably best you turn off the normal or VIP THM VPN) 3) When connected use the command sudo nano /etc/resolv.conf, your conf should look at the attached screenshot, the ip will come from 10.200.xxx.101, the x's will be your subnet, this can be obtained from the THMDC. 4) place the nameserver at the top, above all others, only then nslookup will work. you mean this? I already added the THMAD and 1.1.1.1 dns to my networkmanager
10.200.26.101, 1.1.1.1 like this in additional DNS server option
Did you add in nameserver ?
in etc/resolv.conf ?
No, etc/resolv.conf
nameserver 10.200.26.101
nameserver 1.1.1.1
``` its currencly like this
