#lateral-movement-and-pivoting

1 messages ยท Page 3 of 1

tacit vector
#

i voted but its 1/5

swift roost
#

I guess you're gonna have to wait a total of 4 hours to vote reset or less if you can ask other in the network to vote ๐Ÿ˜ฆ

tacit vector
#

yeah

#

its fine

#

i read and learn some AD on hackthebox in their "Active Directory Enumeration & Attacks" room in the academy

winter anvil
#

Hi! Shouldn't I be able to ping the DC IP if I'm connected to the VPN? I tried to do the room yesterday and now again, but apart from not getting DNS to work on the attack box or my own machine I can not even ping the different machines in the network. Is it me or is the network kind of broken?

toxic harness
#

I'm getting the same problems, got the vpn to work(smbclient wouldn't work tho) on my machine for a while then it suddenly stopped and refuses to work again now, I've tried with the attackbox yesterday but not much luck, :/

the network I'm on is 10.200.77.x

rose kernel
rose kernel
toxic harness
#

nslookup says, connection timed out and ping doesn't return anything

rose kernel
#

For both of you that is not great. Can you please either send me your VPN file, or in your VPN file look for the remote IP and send that to me so I can run a quick check?

restive jungle
#

Will be doing this room after work tonight ๐Ÿ™‚

toxic harness
rose kernel
winter anvil
#

Thanks for looking into it!

rose kernel
# toxic harness not sure if this should be private but here it is `52.208.106.243`

From the VPN server I'm not seeing any of the hosts active? Can you confirm that the network is active? Just hit F5 on the room page

nmap -p22,53,3389 10.200.77.101 10.200.77.201 10.200.77.249 -Pn

Starting Nmap 7.60 ( https://nmap.org ) at 2022-06-27 10:12 UTC
Nmap scan report for ip-10-200-77-101.eu-west-1.compute.internal (10.200.77.101)
Host is up.

PORT     STATE    SERVICE
22/tcp   filtered ssh
53/tcp   filtered domain
3389/tcp filtered ms-wbt-server

Nmap scan report for ip-10-200-77-201.eu-west-1.compute.internal (10.200.77.201)
Host is up.

PORT     STATE    SERVICE
22/tcp   filtered ssh
53/tcp   filtered domain
3389/tcp filtered ms-wbt-server

Nmap scan report for ip-10-200-77-249.eu-west-1.compute.internal (10.200.77.249)
Host is up.

PORT     STATE    SERVICE
22/tcp   filtered ssh
53/tcp   filtered domain
3389/tcp filtered ms-wbt-server

Nmap done: 3 IP addresses (3 hosts up) scanned in 3.05 seconds
rose kernel
feral granite
#

@rose kernel Zeeshan is on the same subnet as me, I think he's having the same issue I was.

rose kernel
rose kernel
toxic harness
#

yep, it's been the same as that

feral granite
#

Should our network uptimes match?

Or does that not matter @rose kernel ?

rose kernel
rose kernel
feral granite
#

Network states it is running.

toxic harness
#

yeh, I've done multiple refreshes, it stays the same

rose kernel
#

Okay, then I'm pretty sure it is a website fault perhaps. Let me check in with the team there.

lost tinsel
#

When I did the network I had multiple outages on the DNS, that got fixed after just restarting the DNS service, I don't know if this might help others that has outages when doing the room, as in where when you're done with a task the DNS isn't working properly, then just restart the DNS service on your machine 2 times, like usual, then it fixes the problem, (from my experience)

if anyone is doing the room right now, can you try it out and see if that happens, and report back, just as a temporary fix

systemctl restart systemd-resolved

#

(note this works when you have change the /etc/systemd/resolved.conf file, not /etc/resolv.conf)

feral granite
#

It's the server.

toxic harness
feral granite
#

The DC in our case.

lost tinsel
#

it can be a bit of both

#

cause it's always DNS that is the problem AU_KEK

rose kernel
#

I've sent in a request to the website support team. Sadly I don't have access to the PROD instance so can't debug it any further. In the mean time you can try to vote for reset, which should fix the issue as well

feral granite
#

Currently 3/5.

#

Unsure if Zeeshan has voted again.

toxic harness
#

plz gib one more reset on 10.200.77.101 ๐Ÿฅบ

feral granite
#

If not one of us can vote again in an hour.

lost tinsel
#

If anyone wants to be lucky I can send my VPN in a bit

toxic harness
#

wouldn't you need to be on the same DC for it to work?

lost tinsel
#

The 80 network should be working

lost tinsel
#

So it's basically the same, just change the 2nd period in the ip

#

@feral granite or @toxic harness you wanna try it out with my VPN?

toxic harness
#

I've moved on to a different box

lost tinsel
#

fair

feral granite
#

I left for a meeting, place I was supposed to go to has had IT problems, blanket message sent out not to attend, then I got a call asking to go in with my "it background" ๐Ÿ˜‚

#

But I've just voted to have our network reset so Zeeshan should be good to go.

#

That's .77. subnet good to go.

wicked fulcrum
#

Hi,
This command works for me alright, but I can't access http://ntlmauth.za.tryhackme.com/

rose kernel
rose kernel
wicked fulcrum
rose kernel
rose kernel
wicked fulcrum
honest steppeBOT
#

Gave +1 Rep to @rose kernel

wicked fulcrum
pale lion
#

I'll give it a go shortly but when I was in the room the state was 'Running' with, I believe, 177 people in the room. I did hit the start button just in case. The timer had approximately 32 minutes uptime remaining at this point. I pressed the restart request button, 1 of 5 and later this was 1 of 6.

This time I was able to download the vpn file but I received an error:
2022-06-27 10:01:49 OPTIONS ERROR: failed to negotiate cipher with server. Add the server's cipher ('AES-256-CBC') to --data-ciphers (currently 'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305') if you want to connect to this server.

The solution to this was to modify the VPN file and change the line

cipher AES-256-CBC
to
data-ciphers cipher AES-256-CBC

lost tinsel
pale lion
honest steppeBOT
#

Gave +1 Rep to @lost tinsel

lost tinsel
#

for future reference, this command will do the trick
sed -i 's/cipher AES-256-CBC/data-ciphers AES-256-CBC/' *.ovpn

rose kernel
lost tinsel
pale lion
median tusk
#

Ne1 currently on the .89 network and having it work fine?

rough shore
#

In Task 3 connecting to SMB fails with the following message session setup failed: NT_STATUS_CONNECTION_RESET

I have also tried to psexec but it never connects.

shadow linden
rough shore
#

why should I ping 10.200.89.101 The IIS IP is 10.200.88.201

shadow linden
#

You shouldn't be able to ping that. That was a response to another request

#

@rough shore, so you are on task 3. Could you send me the command you're using?

median tusk
rough shore
median tusk
#

I get Destination Host Unreachable

shadow linden
honest steppeBOT
#

Gave +1 Rep to @shadow linden

rough shore
#

I have also tried to simply login the SMB server using the Workspace/username/Password but still fails misserably.

median tusk
#

@shadow linden I found this interesting in the logs: 2022-06-27 16:34:29 net_route_v4_add: 10.200.89.0/24 via REDACTED dev [NULL] table 0 metric 1000. Shouldn't that [NULL] be mapped to the lateralmovement interface?

shadow linden
#

is that in the output of your openvpn command?

median tusk
#

Ya

shadow linden
#

I'll try to reproduce. Just gimme 1 min

median tusk
#

Obviously REDACTED is the IP THM issued me

shadow linden
median tusk
#

@shadow linden .89 is up now

#

And DNS is now resolving. All good. Thanks for the net reset

rough shore
gentle bough
#

Still same VPN problem where 10.200.79.x can't be reached. Do you have some suggestions to fix this?

winter anvil
#

Wow, done ๐Ÿ™‚ Thanks for the room! I believe every Windows-Admin and their management should be forced to do these networks so they understand what kind of dangerous configurations most of them still allow in their company networks.

After the initial hiccup the network was running fine now. Did it all with my own parrotOS machine. ๐Ÿ‘

rough shore
winter anvil
#

THMIIS was not resolving in my lab, too.

lost tinsel
#

try restarting the DNS

#

so basically just running systemctl restart systemd-resolvedx2

#

had the same problem where this fixed it

toxic harness
#

smh attackbox specific problems

lost tinsel
toxic harness
#

it needs a lot of trouble-shooting to work on openvpn, I just gave up for a while

lost tinsel
#

even though the attackbox has these problems it is a lot easier to do it through the attackbox than VPN right now

winter anvil
#

No, I mean I finished the lab yesterday. I was able to resolve THMJMP2 and THMDC through the DNS-server but THMIIS only workd via IP. I used my own machine, not the attack box. Was not a big problem for me but I guess some people might have trouble.

#

So it was not on my client side I guess but the DC (with DNS) had a problem.

lost tinsel
#

yeah

winter anvil
#

The hiccups need some fine tuning maybe ๐Ÿ˜„ Because the network is otherwise very well done and it would be a shame if people gave up because of DNS (it's always DNS).

rough shore
#

Just finished the room. It was a great one, especially the pivoting part was pure joy. You should think of adding some more pivoting tools as well, especially Metasploit portfwd , chisel and plink.

feral granite
#

Don't quote me though, I haven't done it

lost tinsel
#

or it has some tasks about how to

#

you can choose not to

#

and use socat instead or other tools

frail ore
#

Muiri made it -- ofc you can use socat for everything ๐Ÿ˜„

potent meteor
#

@shadow linden Can I DM you with a question that I have?

toxic harness
#

can anyone check 10.200.77.101 if it's down, I was connected for an hour or so and then it suddenly crashed and is unresponsive now :/

shadow linden
#

Hey there, could you please DM me about it

toxic harness
#

sure

grizzled shadow
#

Anyone had any joy reaching the 10.200.80.xxx network from the attack box? No response from ping and no 10.5x ip address

rose kernel
# grizzled shadow Anyone had any joy reaching the 10.200.80.xxx network from the attack box? No re...

If you have no 10.50 IP, it means your VPN file is probably broken (yes even in the AttackBox since the AttackBox just pulls your VPN file for you). Can you please try to:

  1. Terminate the AttackBox
  2. Go to Profile -> Access
  3. Go to Network VPNs and select Lateral Movement
  4. Click regenerate VPN file.
  5. Wait 20 seconds and then see if you can download the file.
  6. If you can, restart the AttackBox and check if you have a 10.50 IP now
grizzled shadow
honest steppeBOT
#

Gave +1 Rep to @rose kernel

shadow linden
#

if this doesnt' work, just let me know

grizzled shadow
#

OK, it does say it's running. I clicked to extend, and got an acknowledgement, but nothing doing on the ping.

#

Dunno if there's anyone else using that subnet, but I have to call it a day now, anyway. I'll try again tomorrow

shadow linden
#

Alright. I'll check just in case

grizzled shadow
gentle bough
#

I got stuck on task 5, I used mimikatz pth command for user t1_toby.beck with rc4 hash and reverse shell to attacker machine on port 5556. The reverse shell works but with whoami I still see the initial ssh user I used and winrs.exe gives server name resolve error with domain name and ip address of THMISS server isn't allowed. Any suggestions?

#

@shadow linden I'm stuck now but really like this and the other AD rooms. ๐Ÿ‘

shadow linden
#

Sorry for that, I replied to the wrong msg ๐Ÿ˜… . But do check if you are typing THMIIS instead of THMISS

gentle bough
#

@shadow linden, can I send you the command I used and error message in DM to avoid spoiling it for others?

shadow linden
#

for sure

potent meteor
#

I have been having trouble myself once the network stopped. I then started it, but have not been able to connect for over 40+ mins. Is anyone else having trouble?

#

I cannot access the THMJMP2 or get creds from THMIIS, after the network stopped on me as I was working on task # 7

shadow linden
#

what network are you on?

potent meteor
#

Lateralmovementandpivoting, do you need the internal VIP?

shadow linden
#

Just the one you get on the network diagram. Should be 10.200.x.y

potent meteor
#

80.101

#

thanks for checking

shadow linden
#

that network is being restarted

#

might take a bit

potent meteor
#

interesting, it shows running on my side. it was up and I was working on task # 7 and it just stopped on me. So, I restart it and have not been able to connect sicne then

#

Here is what I have seen for over 1 hr

shadow linden
potent meteor
#

I even refreshed the page many times, just to make sure it it really running

rancid pilot
#

Thanks @shadow linden and @rose kernel for another awesome lab!

honest steppeBOT
#

Gave +1 Rep to @shadow linden

rose kernel
restive jungle
#

I'm using the Attack box and am connected properly (the nslookup command works correctly) but I cannot recieve the reverse shell on task 3

#

I'm using the latermovement inet Ip address for the msfvenom payload and the metasploit reverse shell

#

but not getting anything

#

couldn't get it to work tonight which is a shame i was looking forward to that ๐Ÿ˜ญ

honest solar
#

so is Rejetto HFS actually running on port 80 on THMDC?

shadow linden
honest solar
#

i see it. trying to use portfwd through 201 and meterpreter to exploit HFS

shadow linden
#

I think you are making a forward of port 80 of thmiis rather than thmdc

honest solar
#

i think your right lol

past marlin
#

Hi Im having issues connecting to the network

#

Im running the ovpn and I can't ping the dc

#

its says I am successfully connected as well

shadow linden
#

Be sure to check if the network has been started

#

You can do so in the room

stiff hound
#

Hi,
is there anyone who faced this issue on Task 3?

I won't be able to upload the service that I made to admin share using smbclient

rose kernel
stiff hound
#

Same error

#

Am I doing something wrong? ugh

rose kernel
#

Error looks a tad bit different. You sure that host is online?

#

Also I'm pretty sure you need to use t1 credentials for THMIIS since it is a server?

stiff hound
#

I try it, and I will try it again

rose kernel
#

But first just make sure the host is actually active. You can use nmap -p22,445,3389 thmiis.za.tryhackme.com -Pn to confirm. If 22 and 445 is not open, chances are the network stopped

stiff hound
rose kernel
#

Yeah, then that SMB connection will not work since port 445 is no open there. Might be best to reset the network there

stiff hound
#

yes I fix it

#

but still the executable wont be able to upload ๐Ÿ˜ฆ

#

Done Done Done

#

Thanks @rose kernel

honest steppeBOT
#

Gave +1 Rep to @rose kernel

rose kernel
#

Perfect!

toxic harness
#

finally completed the network ๐Ÿฅณ

lost tinsel
toxic harness
#

cuz network died twice

lost tinsel
#

excuses

toxic harness
lost tinsel
toxic harness
feral granite
#

I don't think the DC likes me.

rose kernel
# toxic harness <:smugpepe:640617538186903631>

We actually figured this one out this morning (we think and hope). It seems like the issue occurs when the network timer expires and a user clicks extend instead of refreshing the page and clicking start. What this does is, extends the time on a dead network. The team is busy with an investigation and will make an update to the frontend so if the timer times out, extend will be disabled and start re-enabled. Had this exact same issue this morning on a network. Quick fix is use inspect element to re-enable your Start button and then click it. That worked for us

lost tinsel
rose kernel
lost tinsel
toxic harness
honest steppeBOT
#

Gave +1 Rep to @rose kernel

rose kernel
lost tinsel
#

jk jk

#

also waiting for gpupdate is meh

rose kernel
lost tinsel
#

been only waiting for 4 mins, so it's fine

rose kernel
lost tinsel
feral granite
#

Just wait until the opposite and you're swimming in tickets.

lost tinsel
rose kernel
lost tinsel
# rose kernel Perfect ๐Ÿ™‚

is it possible for you to dm me the creds of svcServMan as I don't want to go through all that again so I can exploit the GPOs

honest solar
#

@rose kernel great room! Looking forward to another!

rose kernel
honest solar
#

Had some issues with port forwarding and metasploit so I used another way to hop on the DC

rose kernel
honest solar
#

Exactly! Rooms like these help test several methods before whipping them around in real engagements. You all rock!!!!

trail spire
#

Hi @shadow linden the network is in the resetting mode for quite some time . Do you know how long it shall take to be operational again?

trail spire
#

@feral granite .. I have done that .. to no avail

trail spire
#

Guess, I am among the ones who requested the resetting of the box .. can't do much

feral granite
trail spire
#

that's for sure .. hopefully, one more request and we are good to go.

feral granite
#

You can do it again after 60 min(s)

trail spire
#

Well noted, thanks @feral granite for the info

honest steppeBOT
#

Gave +1 Rep to @feral granite

dull crystal
#

For those having issues -- I was the one who managed to break the network last night with @rose kernel watching. The fix (for me) was to right click the "Start" button and click "Inspect" and then just delete the "Disabled" string. After that, click "Start" again because it will be enabled and the network should be working again in 5 minutes or so.

I actually streamed part 1 of the box last night on Twitch (with teaching & comments from @rose kernel). I am uploading the YouTube video now and I do this exact fix in it. I'll post and timestamp when it is uploaded for those running into the issue.

dull crystal
#

Okay, I have the YouTube video ready to premier at 2pm cst. I worked through the first 4 tasks slowly and with explanations. I also had TryHackMe staff member and creator @rose kernel on the stream explaining concepts in more depth. If anyone is stuck or would like to work through it with this next to you, here's the link:
https://www.youtube.com/watch?v=basSfhSJW0Y -- I'll try to monitor the chat but I am currently at work. If you are stuck on anything, feel free to DM me and I'll be happy to help ๐Ÿ˜ƒ

I'll be streaming part 2 live tonight at https://twitch.tv/hack_smarter

lilac kite
dull crystal
honest steppeBOT
#

Gave +1 Rep to @lilac kite

timid niche
#

Is it me or is this network still pretty much dead? (infini resetting) the start trick doesn't work, and voting for resets doesn't work

restive jungle
#

Was working for me

#

Got up to task 5 or 6. Will continue tomorrow

#

These AD rooms are the best

rose kernel
rose kernel
wintry shuttle
#

Hey all,
I have one question. When we create remote service with SC.exe and then run it with the exe file generated from msfvenom we get back reverse shell with "nt authority\system" account. My question is we are Running/Creating the service with user "t1_leonard.summers" how we are getting reverse shell with "nt authority\system" ? Isn't that the user "t1_leonard.summers" tells the system to run this service and for this reason we get reverse shell with "nt authority\system" ?

Thank you in advance

rose kernel
# wintry shuttle Hey all, I have one question. When we create remote service with SC.exe and the...

Hey there! That is a really good question!

So when you create the service, by default, it will run as SYSTEM. You can specify a different user for the service using the sc command, but if you don't specify a user, it will automatically run as SYSTEM. This is why your account (t1_leonard.summers) need to be part of the Administrators localgroup on the host you are creating the service, since this is a pretty privileged function.

Hence, when the service executes, you get a shell as SYSTEM and not the t1 AD account ๐Ÿ™‚

#

These are the sc parameters you would want to specify should you wish to execute the service as a different user

restive jungle
#

Is this meant to show t1_toby.beck's session?

#

he doesn't show up when i do query session either

rose kernel
wintry shuttle
honest steppeBOT
#

Gave +1 Rep to @rose kernel

restive jungle
#

This is what shows up for query session ๐Ÿ™‚

toxic harness
# restive jungle

are you running that as nt authority/system, try using psexec64.exe -s cmd.exe and then run the same command in the cmd

restive jungle
#

yea i did run that lemme try again

#

well actually

#

it does say im system here

toxic harness
#

hmm, idk what's wrong then :/

restive jungle
#

dam would you mind dm me the flag so i can finish the room or something?

#

or i can try restart or whatever if you thinkt thatll fix it

rose kernel
restive jungle
#

am using the attackbox rn.

toxic harness
#

it's the same

restive jungle
#

ah cool one sec

toxic harness
#

network configs folder

rose kernel
wintry shuttle
#

sorry for disturbing you again @rose kernel just one more question. Is it possible to be made user which is not in the Local Administrators group but to have assign rights to create a services in the remote machines ? or for sure need to be member of the Local Administrators Group

rose kernel
wintry shuttle
#

Okay thank you again for the help

south tree
#

Hi not sure if my network instance is screwed, but on task 5 when I dump the NTLM hashes from LSASS memory I can only find instances of t1_tony.beck (i.e t1_tony.beck2- t1_tony.beck5). I've tried pth/ptt/oth with each hash and get nowhere. Am I missing something?

rose kernel
south tree
#

Also using token::revert before attempting to inject with the hashes I've found for each instance of the toby account...

rose kernel
timid niche
#

yeh still infini-reseting

rose kernel
#

If they don't work, send me your VPN file and I'll quickly check if I can find them

rose kernel
timid niche
#

thanks blobheart

#

appreciate you

rose kernel
#

Sent, hopefully they can fix it

south tree
honest steppeBOT
#

Gave +1 Rep to @rose kernel

rose kernel
restive jungle
#

just finished the room was great thanks for the help everyone

shadow linden
#

It should probably work with the other accounts as well, but I need to check if this will still grant you the flag

dull crystal
#

Just finished this room last night while live streaming. I'll share the video once it's done being uploaded to help those who are stuck. I take the time to do all 3 attacks in it (Pass the Hash, Pass the Key, and Overpass the Hash) so it should hopefully help those who are stuck on one of those. Excellent room @shadow linden!

gentle bough
#

I finished ๐Ÿ˜‰ @shadow linden compliments for this nice room!!! And your assistance to get me through some difficulties. Thanks! ๐Ÿ‘

honest steppeBOT
#

Gave +1 Rep to @shadow linden

shadow linden
#

Glad you both liked it

dull crystal
#

Hey!! Glad you found it helpful! I try to stream all the new rooms but if you come out with a room, just DM me and I'd be happy to go through it on stream and work through it out loud (and invite others to join me).

shadow linden
dull crystal
#

@rose kernel is actually joining me on stream tonight and sharing how to set up an AD lab with vagrant! I stream on Tuesdays, Wednesdays, and Thursdays and the plan is to start Exploiting AD next Tuesday. I'm looking forward to it!

rose kernel
normal minnow
#

For task 5, I can get to t1_toby.beck2's account. But I don't see the regular t1_toby.beck's info. Am I blind or is it something else?

rose kernel
normal minnow
#

Hmmm I couldn't get it to work like that. But I'll check again. Might've mistyped something

#

Whoop got it! Thanks again!

rose kernel
timid niche
#

already up and I didn't even needed to do anything ๐Ÿ‘

#

thanks

last lark
#

hey guys, Does the lab have a time limit of a number of days you can access the same as 'enumerating and breaching AD labs'?

lost tinsel
#

Yes, 9 days

last lark
#

@lost tinsel is that cumulative for all 3 labs or are they 9 days each?

toxic harness
#

they kick you out of the networks but you can simply click "join" to get back in

last lark
#

@toxic harness@lost tinsel thanks guys, so even if 9 days passes I can go again.

honest steppeBOT
#

Gave +1 Rep to @toxic harness

toxic harness
#

yes, as long as you're subbed you'll have access

last lark
#

@toxic harness perfect ๐Ÿ™‚

lost tinsel
last lark
#

@lost tinsel thank you

toxic harness
#
  • @lost tinsel
honest steppeBOT
#

Gave +1 Rep to @lost tinsel

zenith pewter
#

Is the Lateral Movement and Pivoting room broken?

#

I don't reach the host, Destination Host Unreachable throws me from my machine and from AttackBox

shadow linden
#

If the network appears as started, could you please attempt to reset it?

neon nebula
alpine rose
#

Still having trouble with task 5. Got a shell back with pass the hash but the winrs command is not workingโ€ฆ What am I doing wrong?

winrs error: The user name or password is incorrect

alpine rose
shadow linden
alpine rose
shadow linden
#

Oh wait. I may be in the wrong task

#

Make sure you are using t1_toby.beck without a number at the end

#

If you are doing so, it should work. If not, feel free to DM me and we can check what might be happening

dull crystal
# alpine rose Do you have the video uploaded Tyler?

This is the final part of working through the "Lateral Movement and Pivoting" network on TryHackMe.
https://tryhackme.com/room/lateralmovementandpivoting

We learn and practice the following:

  • Pass the Hash attacks
  • Overpass the Hash attacks
  • Pass the Key attacks
  • Pass the Ticket attacks
  • Abusing user behavior
  • Hijacking RDP sessions
  • a...
โ–ถ Play video
tawny needle
#

Hello all,
i am doing task 3 in the room.
Am i supposed to get a stable shell as leonard summers on my attackbox when i execute the runas with nc64?

rose kernel
tawny needle
honest steppeBOT
#

Gave +1 Rep to @rose kernel

toxic harness
rose kernel
# tawny needle Thanks for your quick reply and your neat rooms! Okay, so the thought is to fro...

Yes, since the t1 user has the rights required to create the remote service. Your normal AD user does not.

Just note that with the /netonly flag with the runas command, there are two things:

  • If you type whoami, it will still show your normal AD user. This is expected since netonly means to only run network commands as the user
  • If you got the password wrong, you will get Access Denied. With netonly, any password is accepted since we do not authenticate to a DC. You can verify that your credentials were valid by running dir \\za.tryhackme.com\sysvol\ as explained in the Enumerating AD room
zenith pewter
#

run the Flag.exe of task 3 and it gives me the following message: "Sorry! You are still missing something. No flag for you yet. (7)" I don't understand why that happens.

rose kernel
alpine rose
honest steppeBOT
#

Gave +1 Rep to @dull crystal

gleaming widget
#

Hey, the network doesn't looks to work for me, anyone got the same ?

feral granite
#

Can you do the nslookup?

Have you changed /etc/resolv.conf?

gleaming widget
#

yess, i can't even ping the network. I was at task 5, the network restarted, and now i can't reach any targets

#

I had regenerate a new vpn config, restart my NetworkManager etc..

rose kernel
gleaming widget
zenith pewter
shadow linden
#

did you configure the DNS servers of the attackbox to point to the THMDC server already?

zenith pewter
#

yes i already did that

shadow linden
#

can you try running the following command: nslookup thmdc.za.tryhackme.com 10.200.x.101 replacing x with your network addressing

tawny needle
shadow linden
tawny needle
#

You thinking about task or logical address?

#

75 subnet

#

Task 3

shadow linden
#

Let me check if all is working on 75

#

The distributor is working on 75

tawny needle
#

Hmm

shadow linden
#

I can access it there

#

try curl http://10.200.75.201/creds -H 'Host: distributor.za.tryhackme.com' and send me the output

tawny needle
#

Shouldnt be more to it than modifying resolved-conf right?

#

I was on it the other day

shadow linden
#

once you have configured your DNS, you should be able to run nslookup distributor.za.tryhackme.com and get IP .201 as a result

#

if that doesn't work, might be an issue with DNS configuration

tawny needle
#

I am back on the Pc in alittle, thanks for being awesome and dedicated both you and am0.

tawny needle
#

@shadow linden Back. Still no luck through firefox to reach the distributor. But i did the curl command, i can send you the console output but can you DM me here?

shadow linden
#

sure

shadow linden
#

If anyone is using the AttackBox and DNS gets funky, try running systemd-resolve --interface lateralmovement --set-dns $THMDCIP --set-domain za.tryhackme.com (replace $THMDCIP with your assigned DC IP address) and that should do the trick!

tawny needle
shadow linden
#

it shouldn't

#

are you getting any errors?

tawny needle
#

Not sure it is related, but i keep getting a NT_STATUS_CONNECTION_RESET.

#

Also tried nuking the box and trying over

shadow linden
#

just to make sure, what task are you referring to?

tawny needle
#

Task 3 sorry

#

I am trying to transfer my msfvenom payload with smbclient

shadow linden
#

can you try using the THMIIS IP address in the command?

tawny needle
#

Might just be it, sec ๐Ÿคฆ๐Ÿฟโ€โ™‚๏ธ

shadow linden
#

it should work with the name, but I'll check just in case

tawny needle
#

IP worked, i feel like a fool for not trying that tbf

#

I've experience that, with the previous rooms aswell

shadow linden
#

interesting. I'll try to reproduce it and see what happens

tawny needle
#

Btw. Small thing, the room doens't have the tag "AD" like the other rooms do.

shadow linden
#

The smbclient command in the room has been fixed

#

and the tag added

#

Thanks for the feedback!

#

for some reason the command is only working with the short version of the domain in the -W option.

tawny needle
#

I am once again stuck on getting a nc shell, to my understanding we need to first get the netcat shell and then run our service payload and gain lateral movement like that

shadow linden
#

that sounds right

#

any particular error you are getting?

tawny needle
#

I feel really stupid, this is my second day being stuck on this ****.
I try to execute the runas command but not quite sure, if i have to use tun0 or eth0 and also if maybe i can replace za.tryhackme.com with an IP

#

i don't get any connections on my nc listener is all

shadow linden
#

So for this room your attackbox should have an interface called "lateralmovement"

#

that's the IP you need

#

There's a note on that at the end of task 1

tawny needle
#

T_T

#

Let's see if that is it

tawny needle
zenith pewter
#

๐Ÿ‘€

zenith pewter
#

I'm stuck on the last flag

queen ether
#

Has anyone seen this dns related issue before? nslookup thmjmp2.za.tryhackme.com;; Got recursion not available from 10.200.71.101, trying next server however if I use nslookup interactively it will resolve > thmjmp2.za.tryhackme.com Server: 10.200.71.101 Address: 10.200.71.101#53 Name: thmjmp2.za.tryhackme.com Address: 10.200.71.249 - just before starting the room the network was reset by other player(s) - ok on attackbox so presume something kali/nslookup(lib) related

shadow linden
#

I'll have a check at this

shadow linden
queen ether
honest steppeBOT
#

Gave +1 Rep to @shadow linden

tawny needle
#

Can i scp the mimikatz output .txt from my attackbox, so i can properly inspect it? (task 5)

shadow linden
#

What do you mean?

tawny needle
#

Haha.. Yes, good question!
The mimikats output is long, so i want to open it in gedit or something

toxic harness
tawny needle
#

Well mimikatz lets you log it into txt, but i never open txt files in windows cmd ๐Ÿ˜„ so maybe i should just look that up instead

shadow linden
#

if you already used log, then you should be able to use the type command to dump the file

#

scp should work with your given credentials, so that's an option as well

tawny needle
#

Thanks, yeh i could also setup the cmd terminal length to unlimited. But i don't remember where and it's attack box I am on๐Ÿคฃ

indigo haven
#

Hey guys, did anyone run into this issue?

#

it keeps preventing me from setting LHOST as the walkthrough suggested

past mulch
#

hey @indigo haven , plz post output of show options in msf, and also try set verbose true before running exploit

indigo haven
#

show options

#

verbosity doesn't change the output, and I couldn't track down the issue exactly for past two hours

#

tried the AttackBox, will try now my own VM

shadow linden
#

It should work both on the attackbox and the latest kali

#

that's kind of a weird issue. If you get it in your other machine, let me know to have a check at it

sacred flame
#

The network reset itself repeatedly tonight and eventually kicked me out

#

I kept having to rerun systemctl restart..... after almost every command

tawny needle
#

The last task has me almost dizzy from reading ๐Ÿ˜„ hope i will get through it

rose kernel
# tawny needle The last task has me almost dizzy from reading ๐Ÿ˜„ hope i will get through it

Pivoting is crazy to wrap your mind around but it is such a very important task. In a super brief summary:

  • Network segregation means you can sometimes not reach a service on a host from your starting location. Hence you need to pivot.
  • Your two options for pivoting are remote (server you are trying to access) or local (attackbox). Meaning you can either expose something that you have local to the remote or you can pull something from the remote to make it available local.
  • Pivots can be chained together. So we could create a pivot from local -> remote (port 3389) and then used that to create another pivot from remote (port 3389) -> remote 2 (port 445). Which will now create pivot local -> remote 2 (port 445) that executes through remote (port 3389).

Best to take it one pivot at a time and draw it out as a diagram, that usually helps me not to get lost in the sauce of pivots ๐Ÿ™‚

tawny needle
#

Wow.. The engagement from you guys, just crazy. I will have to read your message once i am done with the room.
I am right now trying to use the rejetto_hfs_exec from msfconsole but i get the error: "Failed to bind to 127.0.0.1:7777, already in use"

tawny needle
lilac kite
#

you might be able to just kill that service and repeat it.

tawny needle
#

And by that service, we mean the ssh from thmjmp2, right?

lilac kite
#

it's either that, or if you can change what port is used, just switch to a different port.

(I haven't had time to do this room yet, so can't guarantee that my advice is the best for this, but those two options generally help ๐Ÿ™‚ )

#

netstat -anlt | grep 7777 will tell you if something is running on that port

tawny needle
#

I will try that first and foremost, thanks!

#

There are enough details to keep track of with this room/task ๐Ÿ˜„ It does say there is a LISTEN active on 7777

#

Just looking through the task to see if it's something i've set up

lilac kite
tawny needle
#

Attackbox, can i kill the ps using port 7777 via netstat?

#

I am so close to home with this one ๐Ÿ˜„ just wanna get there

rose kernel
tawny needle
#

I fear if i change the listen port, it wont recieve from my ssh at thmjmp2

lilac kite
#

probably, might want to check what it is first, as i can't remember. htop might tell you what's running on a port? otherwise you can always nmap -A -p 7777 attackboxIP to check.

rose kernel
tawny needle
#

Now i can atleast see a few steps to maybe solving my problem

#

I've had so much fun with these AD rooms, been a real mind bender.

sacred flame
#

10.200.77.101 is not serving DNS correctly. I am using the attack box and set it in the resolved.conf file. I cant resolve anything under za.tryhackme.com

#

I ran an nmap scan for port 53 and it shows open

#

I am able to ping the IP.

#

This is following a reboot for the same issue. The last time I tried this room was a few days ago and I had major DNS issues that day before it eventually kicked me out

#

I had to keep running the systemd restart command that time

#

But when it kicked me out, I didn't have time to rebuild my attack

shadow linden
#

can you try running nslookup thmdc.za.tryhackme.com 10.200.x.101

#

replacing x with your network number

sacred flame
#

sure. Give me a few mins to sign in

sacred flame
shadow linden
#

Let me check what might be happening

shadow linden
#

The network just went down

#

the server was busted, but should be alright when the network restarts

sacred flame
honest steppeBOT
#

Gave +1 Rep to @shadow linden

flint forge
#

I'm doing Pass the Ticket, is it normal mimikatz shows no tickets for t1_toby.beck but t1_toby.beck4 and t1_toby.beck5 ?

shadow linden
flint forge
#

Ok thanks for explaining. I already had the flag and did all the methods to learn so anyway I just performed the method for toby.beck5 and moved on.

frigid hull
#

I'm having issues reaching thmiis. I can reach jmp2, rdp in, ssh in. But uploading service for task 3 I can't reach thmiis. (I can't ping from jmp2 either)

shadow linden
#

what network are you on?

frigid hull
#

10.50.67.0/24 for my own box

shadow linden
#

what is the address of THMJMP2 for you?

frigid hull
#

10.200.75.249

#

I misunderstood, my apologies

shadow linden
#

no worries ๐Ÿ™‚ let me check

frigid hull
#

I'm also having trouble with the command asking for the password even when I put the EZpass4ever at the end. I think that's an error on my end with smbclient though.

shadow linden
#

the server is up

#

you can't ping it however

#

the firewall won't allow you to

frigid hull
#

Gotcha. Okay it's on my end then. Thank you!

shadow linden
#

if you have trouble with smbclient, that may be because there are two smbclients out there

frigid hull
#

I'm getting NT_STATUS_IO_TIMEOUT for thmiis, but if I try the command against thmjmp2 I get ACCESS_DENIED, so that's why I thought it might be on thm side

shadow linden
#

you are probably using your own machine, right?

frigid hull
#

Yeah

shadow linden
#

you may have the other smbclient with a slightly different syntax

#

you can also use it, but you need to figure out the correct command options

frigid hull
#

Newest kali. I had some impacket issues the other day and I had to mess with it this morning a lot.
I have both smbclient, and smbclient.py. The syntax seems to be the same

shadow linden
#

Let me just try to upload anything to thmiis to make sure it is all working as expected

frigid hull
#

thank you!
I have tried messing with the user by putting the domain in there, messing with / and \ but I'm getting the same error on it for some reason

shadow linden
#

Not sure why this is happening on your network

#

it should work that way

frigid hull
#

oof, that worked lol thank you!

#

the thing I didn't try

smoky robin
#

Anyone having issues with the 10.200.75.0/24 network. It is showing that it's running but only the 10.200.75.250 is showing alive and I don't think that's part of the engagement. (Using the Attack Box)

shadow linden
smoky robin
shadow linden
#

there should be no .200

smoky robin
#

oh sorry .250 is the one that is showing alive

shadow linden
#

Oh, that makes sense

#

did you try refreshing your browser

#

the timer sometimes gets stuck

#

if it still appears as started, you'll need to vote for a restart

smoky robin
#

Yeah I did my vote guess I'll just wait for a couple move votes

shadow linden
#

you can vote again every hour

smoky robin
#

Ok great I'll come back in an hour and see if the reset fixes it

sacred flame
#

I'm back in Lateral Movement and the DNS is consistently dropping

shadow linden
#

can you tell me the IP of your DC?

sacred flame
#

I haven't been able to finish Task 3 because it's consistently dropping. This has been happening for like 2 weeks

#

One sec

#

10.200.64.101

shadow linden
#

it currently works for me

#

can you tell me more about what you are experiencing?

sacred flame
#

DNS resolution drops and I have to rerun systemctl restart to get it back

shadow linden
#

is this on the attackbox?

sacred flame
#

I've had to run it like 3 times already right at the beginning of task 3

#

Yes

shadow linden
#

can you try with this

shadow linden
#

you shouldn't need to restart any service at all with that command and hopefully it should be more reliable

#

jsut make sure to replace $THMDCIP

sacred flame
#

OK, it's working for now. Thanks @shadow linden

honest steppeBOT
#

Gave +1 Rep to @shadow linden

sacred flame
#

There might be another issue. I keep getting permission denied when I SSH into thmjmp2

#

I generated three different accounts and they all came back with the same thing

shadow linden
#

that's weird

#

can you DM me the credentials you got

silent tree
#

hi. just wondering why the flag.exe binary doesnt give flag when I use something like psexec.py or evil-winrm from my kali machine? Got them working and got a shell but the flag binary doesnt give out the flag. I did get the flag when I used the method which was explained. But just wondering why these dont work.

shadow linden
silent tree
languid sky
#

Hi, I have constant problem with access this page: http://distributor.za.tryhackme.com/creds to get credentials when using web based AttackBox. (Firefox pop up: Hmm. We are having trouble finding that site). I have well configured DNS, can get tun0, just problem is with getting credentials from this page, Any idea what could be the problem, how to investigate/solve ?

quaint thorn
#

can someone vote for a reset?skidy

fiery marsh
#

hey guys ssh connection for you is normal? for me typing command is really annoying :S

shadow linden
#

You can always make sure DNS is working properly by doing nslookup distributor.za.tryhackme.com and see if the result matches the IP address you expect from the network graph

fiery marsh
#

RDP isn't working on THMJMP2 ๐Ÿ˜ฆ

shadow linden
shadow linden
#

tried with the same credentials

fiery marsh
#

just worked ๐Ÿค”

shadow linden
#

maybe the machine was starting

#

they do take a while ๐Ÿ˜…

languid sky
honest steppeBOT
#

Gave +1 Rep to @shadow linden

frigid hull
#

I've been having issues with Task 7, specifically the HFS exploit.
I've tried all IPs for the tunnel and mfs. I've tried a bunch of different ports and when I run the exploit I get a connection on the ssh tunnel but always get "Connection reset by peer"

#

there is no "lateralmovement" ip on the attackbox either *edit: rebooted attackbox and it's there now. Still having issues with the connection reset

deft tide
deft tide
shadow linden
#

you can probably overcome it by putting a dot at the end of each name

#

like nslookup thmdc.za.tryhackme.com.

#

Let me know if this helps ๐Ÿ™‚

#

this is mostly due to your machine having a search domain configured

deft tide
#

I tried doing as u suggested , but unfortunately it is showing me the same error even after that

shadow linden
#

are you using the attackbox or your own machine?

shadow linden
deft tide
#

my own machine

#

sure

shy token
shadow linden
#

Hello, could you send me the IP of your THMDC?

shy token
#

The network has already been reset this morning and I've tried a new Attackbox with no luck.

shadow linden
#

if you try to run host thmdc.za.tryhackme.com 10.200.62.101 do you get any output?

shy token
#

Output: ;; connection timed out; no servers could be reached

#

"lateralmovement" is listed as an IP in my interfaces

shadow linden
#

Can you refresh your browser and make sure if the network is started? Sometimes it hangs as started until you refresh it

shy token
#

Just refreshed and it has "Network state: Running"

shadow linden
#

In this case the only way to go is vote for a reset, sadly

shy token
#

ok, no problem. thanks ๐Ÿ™‚

quaint thorn
#

can someone vote for a reset?

feral granite
quaint thorn
#

10.200.64.101?

feral granite
#

There you go. ๐Ÿ™‚

#

Same as myself.

quaint thorn
#

thanks @feral granite ๐Ÿ˜Š

honest steppeBOT
#

Gave +1 Rep to @feral granite

feral granite
#

It should be up and running now.

blazing maple
#

Can someone help reset the 10.200.75.101 network? Can't ping any of the machines

blissful current
#

its definately down

blissful current
#

can we please et a reset on lateral

blissful current
feral granite
blissful current
#

systemd as well

shadow linden
#

Hey there, some people using kali are having issues specifically with the nslookup command

#

chances are that everything else works anyways

#

if you see the website, then it's just your nslookup being picky

blissful current
#

yeah that works for me

shadow linden
#

then you are set to go!

blissful current
#

so its only the NS command thats being a douche?

shadow linden
#

no idea why nslookup is getting mad at the network

blissful current
#

hmm thanks for the help i was wondering what i did

shadow linden
#

it should probably work

blissful current
#

yeah its all up

#

just ns being stupid

shadow linden
#

then you are set! ๐Ÿ˜

blissful current
#

tyvm

blissful current
#

those curious, i left a playlist on TB4'S paint job ๐Ÿ˜‰