#wreath-network

1 messages Β· Page 5 of 1

merry robin
#

I would stick that in the cleanup script too, but it usually requires a restart

tiny crown
#

just drop all incoming connections, best av ever

pallid vapor
#

haha

#

i mean

#

not false

#

or find a way to reverse-connect and forkbomb the network πŸ˜‚

#

speaking of

#

does the network have any forkbomb protection lmao

merry robin
#

Would you please leave my poor network alone? smh

pallid vapor
#

its fun and im almost done and awesome job πŸ™‚

tiny crown
#

someone should find a way to upload static java files to the dev network so that the 100 ppl can play minecraft together kekw

pallid vapor
#

yos

#

added to to do list

tiny crown
#

thats one way to assert dominance over the network

pallid vapor
#

hijacks network and moves all resources towards minecraft server

#

thats also one way to get banned

#

plzdontbanme

#

aaaaand

#

woooooooooooo

merry robin
#

Ayeeee

pallid vapor
#

soooo epic

#

thanks so much ❀️

cyan vine
merry robin
#

Did you enjoy it?

pallid vapor
#

haha

#

yes

#

a lot

merry robin
#

Also, good luck hosting a minecraft server on those boxes -- they have virtually no resources kekw

#

We need to get a Wreath feedback page setup somewhere

#

Purely for my ego

pallid vapor
#

even firefox doesnt wanna go

#

πŸ˜‚

merry robin
#

No wonder -- you're proxying it through a box that quite literally can't access anything other than .100 and .200

pallid vapor
#

no i just closed openvpn

#

lmao

#

and closed sshuttle and chisel

tiny crown
#

sshuttle is truly amazing

pallid vapor
#

ya

#

network is run on t2.micros right?

merry robin
#

Combination. .200 is a t2 micro, .100 and .200 are t2 smalls

tiny crown
#

muiri, if you make another network you should make it pivoting hell with a couple of hosts running a bunch of docker instances kekw

pallid vapor
#

lmao

#

hmm

#

2gb with 1vcpu? pfft

#

thats enough for minecraft

#

hehe

tiny crown
tiny crown
pallid vapor
#

hmm

#

wellllll

#

i think its possible

tiny crown
#

me, activating troll behaviour? idk what you're talking about

pallid vapor
#

@merry robin will i get banned if i try πŸ˜‚

strange bison
#

Muiiiiiiir let's make the thing

pallid vapor
#

yes make the thing

#

and the stuff

merry robin
strange bison
#

pivoting hell with a couple of hosts running a bunch of docker instances

merry robin
#

We've discussed a few things like that 😁

tiny crown
pallid vapor
#

fine

#

well nonetheless awesome network

#

thanks a lot

merry robin
#

Take that @jagged lion

pallid vapor
#

i would do throwback but im cheap

#

πŸ˜‚

strange bison
#

fwiw I prefer wreath to holo/throwback

#

Wreath is a really nice primer for pivoting and windows exploitation

pallid vapor
#

yeeep

jagged lion
#

Wha

tiny crown
#

Especially with it being free content, it's really good and pretty well explained.

pallid vapor
#

and definitely something you can speedrun in a day lol

merry robin
# jagged lion Wha

They aren't telling me to go kill myself after doing my network 😁

jagged lion
#

I mean

strange bison
#

hey, they didn't do holo

pallid vapor
#

hey i want to die can i have early holo access please

jagged lion
#

Holo is really designed to show unique and obscure topics and attacks rather than comb over the basics

merry robin
#

True, but the testers are going to murder Cry sooner or later

jagged lion
#

I think wreath does a good job of going over the basics well

merry robin
#

Wait, what?

#

Cry

#

Did you just... compliment me?

jagged lion
#

dawg

#

Holo has me so tired

pallid vapor
#

woah

merry robin
#

I'm crying. That's the nicest thing you've ever said to me

pallid vapor
#

lmao

jagged lion
#

I’ve been rewriting Spooky’s bs for the past 4 days

tiny crown
#

Better quote it before he takes it back kekw

merry robin
#

Funny. He's been saying the same thing about your content πŸ˜†

jagged lion
#

So the testers might not crucify us

strange bison
#

Too late

jagged lion
#

I don’t know all the complaints I’ve seen have been about his sections so ping

strange bison
pallid vapor
#

lmao

jagged lion
#

Honestly

#

spooks and I aren’t good at explaining basic shit

#

we’re more specialists in a sense

merry robin
#

Specialists at what?

pallid vapor
#

lmao

tiny crown
#

im gonna leave before this turns into a murder scene πŸ‘€

pallid vapor
#

same

merry robin
#

Oh, don't worry -- we do this all the time πŸ˜†

#

It's all fun

pallid vapor
#

πŸ‘€

tiny crown
#

Cry learned it the hard way from Throwback

pallid vapor
#

haha

#

i wanna do throwback but i dont want to pay sadcooctus

jagged lion
pallid vapor
#

rlly

merry robin
#

Those two are honestly like an old married couple

tiny crown
#

I assume it has only gotten worse over time, so only surprise is that they dont stab each other even more

pallid vapor
#

in hindsight, maybe i shouldnt have finished it so fast now i have to wait lol

#

🀷

final olive
#

Hi guys. anyway i can do wreath withouth 7 day streak. i just want to practice pivoting to supplement for my study. Thanks for suggestion in advance.

pallid vapor
#

not if you dont subscribe

final olive
#

I have the subscription.

merry robin
#

You can join using the sub πŸ™‚

pallid vapor
#

then you dont need streak

final olive
#

Roger, Thanks very much both of you guys.

merry robin
pallid vapor
#

enjoy!!

final olive
#

Thank you again.

lyric bane
#

Hey, I added <IP> thomaswreath.thm to my hosts file and firefox is giving me a unable to locate error. Any ideas?

#

I tried clearing my history anc cache.

merry robin
lyric bane
merry robin
#

Ah, fair πŸ™‚

mortal nexus
#

allo all. hey with wreath, after getting onto the first box i can't reach back to my attacking machine

#

is this expected? e.g. as root on the webserver I can't ping, or pivot via a reverse proxy etc back to my attack machine

merry robin
#

Are you using the AttackBox?

mortal nexus
#

yup

merry robin
#

Did you start the VPN manually?

mortal nexus
#

nope. attack box said it wasn't necessary?

merry robin
#

Good. What IP are you trying to connect back to?

mortal nexus
#

the one listed on the my machine page for reverse proxys

#

but even writing that i figure i know what im doing wrong

merry robin
#

I really should add a note for that

#

Yeah, you need to tunnel IP

mortal nexus
#

guessing a vpn interface on the attack box yeah

merry robin
#

Yep

mortal nexus
#

my bad, thanks man

merry robin
#

Np πŸ™‚

#

Added a note into the network for it

lilac ibex
#

@merry robin found more ports on task 5 question 1 than the answer

#

oh wait one is closed me dumb dumb

merry robin
#

Chances are that's someone not bothering to read the task and opening ports below 15000

#

Unless it was just the one?

digital tendon
#

I installed Empire today and think they might have changed the location of scripts - from /opt/Empire/data/module_source/situational_source/network/
to
/opt/Empire/data/module_source/situational_awareness/network
(only realised because I copy pasted command initially from guide)

merry robin
digital tendon
#

oh, you did have that location later in the documentation anyway

merry robin
#

That's about the fifth time I've had to fix that

digital tendon
#

I think it's currently fine I just didn't read everything

jagged lion
#

ugh

#

its been situational_awareness for a while

#

muiri is tripping out

merry robin
#

True

pallid vapor
#

haha

lilac ibex
#

@merry robin is there any benefit for doing a ICMP for loop with /dev/tcp vs the ping command with -c number of pings?

merry robin
#

/dev/tcp does raw TCP requests, ping does ICMP echo requests?

#

Where's this?

lilac ibex
#

task 9

#

trying to get the command submit to work

merry robin
#

Ah, I getcha

#

So:

for i in {1..255}; do (ping -c 1 192.168.1.${i} | grep "bytes from" &); done```
#

You're asking why do that instead of using /dev/tcp?

lilac ibex
#

reading the answer blanks no wonder

merry robin
#

Hm?

lilac ibex
#

trying to enter the /dev/tcp/ one

merry robin
#

I, uh, am thoroughly confused right now πŸ˜†

#

The ping sweep is used as a rudimentary way to see if hosts are up. The /dev/tcp one is used to check if TCP ports are open on a single host

#

Or within a nested loop, for multiple hosts, if you're a masochist

lilac ibex
#
# this is how I have done it
for i in $(seq 1 255); do ping -c 1 -W 1 10.10.10.$i | grep 'from'; done
merry robin
#

So, that'll be a lot slower as it's not backgrounded, but it's a similar principle

fervent obsidian
lilac ibex
#

have you used fping Muriri?

merry robin
lilac ibex
#

even though that's never installed on remote machines... ahahah

merry robin
lilac ibex
#

you mean hping3

merry robin
#

Oh, no, different program

#

That's the one

lilac ibex
#

ya

merry robin
#

Then nope -- I have not used fping

#

Looks useful though

fervent obsidian
#

I can't fix one problem without creating a new one for you lol

merry robin
#

Hahaha

fervent obsidian
#

Great work on the network by the way, really enjoyed playing around on it

merry robin
#

Good to hear 😁

lyric bane
#

Kudos to @merry robin for creating the network. I just finished my labs for the pwk oscp and this network is solid. Great work.

merry robin
#

You'll find that all three main teaching sections can be mapped into PWK sections -- Pivoting, Empire, and AV evasion. Albeit taught very differently πŸ˜„

mortal nexus
#

about to do the PWK, so this is awesome πŸ‘

twilit ravine
#

@merry robin You don't know but you're god! Started with Wreath, already loving it. So much of learning! blobheart

lilac ibex
#

how do you guys make the pictures on the end look so clean!!! After all the text.

surreal sail
#

To connect to wreath I've to connect to the wreath network? Not the machines right?

mortal nexus
#

yeah connect to the wreath network then you should be able to nmap the first machine

surreal sail
#

Thanks

coral oak
#

Possible that someone has changed the root password on the initial box as the hash isnt accepted as a flag πŸ™„

tiny crown
coral oak
#

The current hash doesnt end with ad1

#

Someone has probably changed it πŸ€¦β€β™‚οΈ

tiny crown
#

Ouch, best bet would be to try and get a reset through. You might be able to report it as well by sending an email to support, not sure if they can/will handle this.

strange bison
#

If you're on 10.200.72.x then it's unlikely as like 100 people got thrown into that network

tiny crown
strange bison
#

I think so. Not 100%

whole current
#

Can we share the report publicly ?

young roost
merry robin
strange bison
#

It was 23 last I checked, on 72

surreal sail
#

While gunzip chisel windows it says unexpected End of file

#

And we need to download latest binary? Or the v1.7.3

merry robin
# whole current Can we share the report publicly ?

@young roost yep, by all means :)
The specific format (PDF shared in something like Google Drive) will obviously make it a bit more difficult unless you embed the PDF in a website or something, but go for it! I've already asked for no spoiling the checkpoints in task 44, so try to avoid that though.
That and obviously only the correct format is actually getting into the writeups section πŸ˜†

merry robin
merry robin
surreal sail
surreal sail
merry robin
#

Do file on the download?

surreal sail
merry robin
#

That'll be why it's not gunzipping then. Try downloading it again

surreal sail
#

Thanks

#

Oh...now I got the reason the file was not getting downloaded because it states this file contains a virus or malware

merry robin
#

Why are you downloading it on your host?

surreal sail
#

It's on my kali

#

Vm

merry robin
#

You're running AV... on your Kali?

strange bison
#

Probably chrome being a pain tbh

merry robin
#

Oh, you're downloading it from the browser, I see

surreal sail
#

Thanks anyway for the help

merry robin
#

Yeah, try downloading it with wget, or tell the browser to stop being a pain πŸ™‚

daring pine
#

I'm having trouble downloading the vpn file for the wreath network. I keep getting a 404 error page...

merry robin
#

@strange bison what's the fix for that one? Regenerate, wait 10 seconds, download?

strange bison
#

1 whole minute

#

Up to 2 or so really

merry robin
#

Okay. @daring pine click regenerate, wait two minutes, then try

surreal sail
merry robin
#

If that doesn't work, let me know

daring pine
#

Still kinda stuck on the 404...

surreal sail
#

still 404

merry robin
#

@limber rover are you able to check what's happening? Anything to do with that new code?

#

(Or @fiery ingot seeing as you're online and VPNs are usually yours :) )

strange bison
#

ashu goes offline

dense tundra
#

I'm also stuck on the 404 error after attempting to download the config file...

humble sluice
#

Yo guys. I make all steps for persistence in starkiller/empire.
Open ports via firewall
unzip files and phps
but i can't get callback git-serv
I tried that as well via cli empire

usemodule .... / shell whoami

execute

no callback although
sshuttle active
evil-winrm works

#

any suggestions?

merry robin
#

@humble sluice looks like they are calling back, but are dying?

humble sluice
#

looks like
when i typed at least one command

#

they are coloured red

dense tundra
#

For the config file... I had to wait way longer than 5 minutes... That should work.

merry robin
#

Yeah -- I think that's the bug in Empire, although I haven't seen the starkiller interface for it when it happens.
The wonderful CX0IN has a fix for it, but it hasn't been pushed to production yet @Embargo#7344

#

Goddamn android Discord doesn't like mentions

#

@humble sluice

humble sluice
#

xD

merry robin
#

@dense tundra did you get it working?

humble sluice
#

i will need empire in further network solution,

#

?

#

i scared that

merry robin
#

@humble sluice nah -- the Empire section is technically optional πŸ™‚

#

Well worth doing though

humble sluice
#

wooh

#

kudos !

limber rover
dense tundra
merry robin
#

The goal was to teach as many different techniques as possible. Empire is awesome, and you could do the whole network with it, but for learning it's good to get as wide a range of experiences as possible imo

merry robin
daring pine
limber rover
daring pine
strange bison
#

You don't need to download the VPN config to the attackbox

#

It connects automatically

limber rover
#

^^

#

Although you should still be able to download your config file.

daring pine
#

I tried pinging the ip on the attackbox, but I'm not getting a response

#

Maybe I did something wrong, I'll try again tomorrow bc I already terminated the attackbox and I can't start it again until tomorrow

merry robin
#

It doesn't connect automatically for non-subs

daring pine
merry robin
#

You need to copy the config across

#

Then activate it normally

daring pine
#

Ah ok

strange bison
lusty glade
#

if im using socat in task 21, would it be a fork or a relay i should use?

merry robin
#

@lusty glade why use socat in task 21?

surreal sail
#

My pip is pointing to python3.8 so whenever I command python2 -m pip install it says no module named pip

lusty glade
#

sorry task 20 i mean

merry robin
#

@surreal sail ah, have a look at the get-pip.py script. Just search for that online, download the script, then run it with python2

surreal sail
#

Okay

merry robin
#

@lusty glade which do you think it might be?

surreal sail
merry robin
#

@surreal sail change the shebang to use python3 and go through adding brackets around all the print statements

#

As in, if it was print "Exploit" make it print("Exploit")

#

That's literally all you have to do to convert that one

surreal sail
#

Yes I know thanks btw

lusty glade
#

relay i'd guessing but can't get the syntax correct

merry robin
#

Relay, yep πŸ™‚

#

What syntax are you using?

lusty glade
#

trying to follow how it was done in the socat section in task 13

#

then sending my reverse shell through burp but i dont get a connection

merry robin
#

Looks good to me

#

Did you adjust the firewall on .200?

lusty glade
#

hmmm no lol πŸ™ƒ

#

probably the issue

merry robin
#

That'd do it πŸ˜„

lusty glade
#

do i need to do the ncat step as well or just having the socat relay running?

merry robin
#

Yes, you need to have a listener running locally

lusty glade
#

lmfaoooooooooooooooooo ok i got it now thanks

merry robin
#

Awesome πŸ™‚

haughty sun
#

I am not able to scan my network any idea what might be the problem. I regenerated my .ovpn as well but same problem.

merry robin
#

@haughty sun what exactly are you trying to do? :)

haughty sun
#

I am at the enumeration stage trying to scan the machine.

merry robin
#

Which machine?

haughty sun
#

Wreath Network I mean

merry robin
#

There are three machines on the Wreath network.
Which stage are you at?

haughty sun
#

Web server one

merry robin
#

Can you ping it?

#

And what IP is it showing for you?

haughty sun
#

The ip is 10.200.100.200. the thing is when I ping it takes some time to response

merry robin
#

Are you using the AttackBox?

haughty sun
#

No

merry robin
#

Could you show me the output of ip a?

haughty sun
#

One minute please

surreal sail
#

still getting the 404

dense tundra
merry robin
#

It's still a problem for you both?

surreal sail
#

again 404

merry robin
#

Hm

#

@limber rover I reckon the 503s might be more of a problem, but just if you get a chance to look at it, the network config download is still borked by the looks of it. Not sure what you did earlier to get it working for YeaHacked πŸ˜„

limber rover
strange bison
#

Stop the 404s?

#

Or the 503s?

surreal sail
#

got redirected to some cloudfare and then back to 404 ;-;

limber rover
#

503*

limber rover
surreal sail
#

yes

#

rest is okay

#

just wreath

limber rover
#

Please give me an IP of a machine on the network you're on (shown on the network visual map in the room)

surreal sail
#

10.200.104.200

fiery bay
#

i got a problem

#

when i am going to download the ovpn file for the wreath network i get redirected to 404

limber rover
limber rover
surreal sail
#

oka

limber rover
limber rover
fiery bay
#

still cant download the config file

#

stating error 404

merry robin
#

Did you regenerate, or just click download?

fiery bay
#

i regenerated already

limber rover
#

Did you try regenerating inthe last few minutes?

fiery bay
#

just regenerated now and still not working

limber rover
#

Okay, will investigate:)

surreal sail
#

still doesn't work

fiery bay
#

at first i thought my internet is not working properly

limber rover
#

Ah - thats weird. Something isn't right with that network.

limber rover
#

@surreal sail & @fiery bay please try regenerating your config again:)

#

We've found the error and have fixed the problem.

fervent obsidian
merry robin
fervent obsidian
merry robin
#

Faiiir. The latest version of Empire I'm seeing in the repo is also 3.8.0 by the way

fervent obsidian
#

Did you run a git update? But it could also take a bit for the repo to pull down the published version on their gitlab.

merry robin
#

Not a git update no -- I did an apt update then upgraded the powershell-empire package.
I'll give it a go in a couple of hours and see if they've synced it 😁

fervent obsidian
#

Lol need more coffee... Meant apt update

merry robin
#

Haha -- don't worry, been there πŸ˜†

cold urchin
limber rover
limber rover
#

Ah that one has been fixed, did you try regenerating your config?

cold urchin
#

I did yeah

#

I can try again however

surreal sail
#

Did anyone faced any problem while installing Empire? Module M2Crypto was not getting installed in my case

lilac ibex
#

I have no idea what the 4 dots after the first one are unless it's all the -rNx options but that didn't work either task 15 question 2

strange bison
#

Just the switch, and arguments for it

#

First of the 4 chars is a double quote mark

lilac ibex
#

|| "-e"||

#

like that?

#

and -r after? idk

limber rover
strange bison
lilac ibex
#

@strange bison oh though you wanted to include the sshuttle part with the -e flag

#

right...

#

thanks

strange bison
#

I did say just the switch and arguments for it

lilac ibex
#

-e is the short version of it

strange bison
#

All the content in the room uses long form

#

So you could probably assume longform?

lilac ibex
#

fair enough

strange bison
#

just the switch and arguments with short form wouldn't fit

coarse zealot
#

Can i get some help?

lilac ibex
#

banned?

coarse zealot
#

yeah

#

i just logged in in a while and saw that wreath has launched

#

and this appears when i clicked

lilac ibex
#

@strange bison anyways thanks for the help like it so far. Will finish it today

lilac ibex
coarse zealot
#

yes just banned

strange bison
#

@merry robin another banned user

strange bison
coarse zealot
#

i think so..

strange bison
#

Like before today

#

Yeah... muir was banning people from the room for that

coarse zealot
#

oh

strange bison
#

One of the admins was banning people from the site for it so you were lucky

lilac ibex
#

oh ohmy

coarse zealot
#

so can i be unbanned or i ll stay like this?

strange bison
#

I pinged Muir. Muir will sort it.

coarse zealot
#

oh ok

cold urchin
limber rover
#

There isn't an account with that username, are you sure its correct (and the case is right)?

strange bison
#

Lower case b?

fervent obsidian
surreal sail
#

Github

limber rover
fervent obsidian
# surreal sail Github

That package can sometime cause some trouble. I'd give the kali install a shot. Especially since they are getting early access to a newer version with a few more features. If you are still running into install problems, you can always reach out to us on our discord.
https://discord.com/invite/P8PZPyf

surreal sail
#

Thanks will give that a try tomorrow morning

strange bison
#

I panic when I see a discord link NGL

merry robin
#

Hehe, that one is fine

cold urchin
fervent obsidian
#

sorry lol I tried not to link it with the embedded thing but it cannot be turned off aparently

strange bison
#

Cx01N, it's really great that you're working so closely with Muir on this. As someone who tested the network and was there for some of the dev, it's been a challenge but it's good to see bugs in the tool ironed out like this

#

Big thank you from me, and I'm sure the rest of the testers would back that

fervent obsidian
#

@strange bison Thanks! I know I hate it when tools dont work so we try hard to get those fixed pretty quickly

young roost
#

Hey, so i am getting a strange error on post exploitation on 2nd machine i addded my user to admins but i cant get mimikatz to work || it gives me a perm error and token elevate doesnt seem to be working either it shows token (Error : ERROR kuhl_m_privilege_simple ; RtlAdjustPrivilege (20) c0000061 )||

strange bison
#

with privilege::debug?

#

What user are you using?

woven warren
#

command prompt needs to be ran as admin too

young roost
#

rdp

young roost
merry robin
#

Then what blackdragon said, I would imagine

young roost
merry robin
#

You also have to do that

marble dove
#

WHen does this get released?

young roost
#

ahh okay, Thanks a lot to you all for the help

merry robin
# young roost yess

It's to do with process integrity. An administrator doesn't necessarily execute processes as an administrator. Usually they do it with medium integrity -- same as a normal user

#

You need to execute command prompt explicitly as an administrator (as a high integrity process) before you have the Impersonate and Debug tokens available

merry robin
young roost
lilac ibex
#

is there any other port I need forward for evil-winrm to work. Trying to forward it and do localhost -p <port-number> fails and evil win-rm over proxychains dyanmic ssh tunnel fails confused

merry robin
lilac ibex
#

@merry robin I can get rdesktop to work fine

#

that's about it

#

shuttle and dynamic ssh forward over proxychains works

#

have tried firewall rules and local forward winrm to localhost on a different port just times out

merry robin
#

What have you used to pivot @lilac ibex?
Are you setting up an SSH port forward to 5985 via .200?

lilac ibex
#

||ssh -D proxyport -i id_rsa root@10.200.92.200 proxychains evil-winrm -u user -p password -i 10.200.92.150||

#

oh that didn't format right

#

and || ssh -L 1234:10.200.92.150:5985 -i id_rsa root@10.200.92.200 ||

merry robin
#

Now, those both look right to me

#

What errors was evil-winrm giving you?

lilac ibex
#

is there a 4th command I'm missing for the a net user part?

#

auth failed

merry robin
#

That would indicate that the user isn't in the "Remote Management Users" group

#

OR that you're getting the password wrong

#

But yeah, the actual proxying is working fine

lilac ibex
#

if there are not in remote management

#

wouldn't RDP fail aswell?

#

or does that not apply

merry robin
#

RDP accepts Administrator or Remote Desktop Users groups

#

So either of those will have access

#

There's something funky about WinRM and administrator

#

From memory it's that you can only use it as an administrator if you've already logged in once normally / via RDP

#

Something like that

#

Otherwise you need the Remote Management Users group explicitly defined

lilac ibex
#

command failed while trying to do web command injection... no wonder

#

lkadjfdak;lsfjads;klf

#

@merry robin thanks

#

will write that down

merry robin
#

Np!

outer thunder
#

Somebody else get a permission denied when trying to connect with root ssh to the network?

lilac ibex
#

@outer thunder what's the command

#

sometimes I have to restart my ovpn connection for some reason

#

even though the network is still up

#

no idea why

outer thunder
#

|| ssh -i id_rsa root@<ip> ||

lilac ibex
#

and chmod the key

sly spear
#

Is this channel new? I just noticed it

outer thunder
#

Yes changed with 600

lilac ibex
#

@outer thunder

  1. the network died and f5 the page will see it's off
    0r
  2. restarting your ovpn connection will fix the issue for some reason
  3. i have no idea after that
#

@sly spear ya free thm network is out

merry robin
outer thunder
#

@lilac ibex thanks i will try it with my open vpn πŸ™‚

merry robin
#

And can you screenshot the error?

sly spear
lilac ibex
#

@outer thunder any luck while I wait for this to download...[progress-bar...]

outer thunder
#

@merry robin this is my error message

lilac ibex
#

id_rsa key is broken

merry robin
#

That looks suspiciously like someone might have changed the key

lilac ibex
#

or that

merry robin
#

Could you do me a favour: disconnect from the VPN and DM me your connection pack @outer thunder?

#

The authorized_keys file is literally chattr +i'd to discourage people from doing that, but, some people are trolls

lilac ibex
#

@merry robin if the file exist with the correct key. Does chattr prevent ssh-key from working?

merry robin
#

Nah -- works fine through it

#

Just stops people from overwriting it, and chattr is less well known than chmod

lilac ibex
#

ya chattr doesn't allow anyone to modify it including root. Just wondered if I missed something important

strange bison
#

"if you change the key I will hunt you down" - problem solved

merry robin
#

Tbf, I am quite happy to ban people if I see them trolling πŸ€·β€β™‚οΈ

#

It's a free network -- not like they're paying to be in there

#

Ergo it's a privilege, not a right

lilac ibex
#

@merry robin anyways has anyone tried to do a shell over rdp with pth-winexe doesn't seem like it works

merry robin
#

IIRC that's working via SMB?
SMB isn't exposed on either of those boxes, so it shouldn't do

lilac ibex
#

not trying psexec

merry robin
#

Yep, but it has to get in somehow

#

I think this is in my PWK notes. Lemme check

#

Oh, wait

#

Samba

#

So yes, it's working via SMB

#

As far as I can tell, winexe is actually basically the psexec build for Linux

#

The impacket psexec.py just being an alternative

lilac ibex
#

ah then why is it always talked about as RDP...

jagged lion
# merry robin Oh, wait

I’ve never heard of that tool hmmmm, probably because the latest system it supports is 2003

merry robin
#

Oh, no idea, but it's definitely nothing to do with RDP. There are ways to PTH with RDP (xfreerdp has an option for it), but winexe doesn't take advantage of that

#

@hard mortar can you confirm that?

lilac ibex
#

pth-winexe hangs to

jagged lion
#

grrr

jagged lion
#

heck you no ask me

lilac ibex
#

seems like thy are the same thing

jagged lion
#

yes you can pth from rdp

lilac ibex
#

or im doing it wrong

merry robin
jagged lion
#

winexe != pth

merry robin
#

pth-winexe won't work either if SMB isn't open

merry robin
lilac ibex
#

smb not open sage

merry robin
#

Two separate binaries, and yes, it's weird

lilac ibex
#

but the same thing?

#

ls -al no symbolic link kek

merry robin
#

Yeah, they're doing the same thing, just one of them does it with PTH and one of them is just an equivalent to PSexec

hard mortar
merry robin
#

Why those couldn't go into one binary, I don't know

merry robin
hard mortar
#

yup

lilac ibex
#

pth-winexe is super slow vs psexec

merry robin
#

But no, it was the winexe working over SMB that I was asking you to confirm

#

That's correct, yes?

lilac ibex
#

seems like it

merry robin
#

Oi, Spooky πŸ˜†

hard mortar
merry robin
#

Right, that's literally what I sent a minute ago 🀣

strange bison
merry robin
#

Thanks Spooky β™₯️

hard mortar
#

I'd say so

lilac ibex
#

kek, but is there any shell rdp only port program I have never heard about?

hard mortar
#

im no expert tho

merry robin
#

Right, you literally are the Windows expert around here

#

But yeah, that was my conclusion too

hard mortar
#

I am?

merry robin
#

Oh God

merry robin
#

So, I wouldn't imagine so

lilac ibex
#

but shell so copy paste is more fun

merry robin
#

That's where WinRM comes in

lilac ibex
#

what is smb and winrm are both closed?

hard mortar
#

if SMB is closed, your PC is borked.

merry robin
#

Then you hope that RDP is open

merry robin
hard mortar
#

remember, filtered vs closed is different

strange bison
merry robin
#

Although it shouldn't technically be. Just because Windows doesn't classify AWS networks properly

lilac ibex
merry robin
strange bison
#

Wreath is less broken than holoℒ️

merry robin
#

Just nothing being shared

hard mortar
lilac ibex
#

@strange bison can I access that right now?

strange bison
#

Holo?

#

No

lilac ibex
#

D:

strange bison
#

And think yourself lucky for it

merry robin
#

Holo is a wee bit brokey

hard mortar
#

netlogon, lanmanclient, and lanmanserver

merry robin
#

Otherwise you ain't getting in

merry robin
#

Kinda the equivalent of SSH being closed on Linux

lilac ibex
#

fair but still D:

merry robin
#

Hey, be glad I specifically allowed WinRM in the firewall kekw

lilac ibex
merry robin
#

Then the fun begins 😁

lilac ibex
#

is there a good way to do reverse socks proxy with dynamic ssh tunnels windows machine -> first box?

strange bison
#

I think I used chisel

#

Although I think I needed a relay?

lilac ibex
#

trying chisel thinking how to do it with ssh

#

not sure how to do the last pivot will figure it out later

surreal sail
#

ah

#

@merry robin still the problem isn't solved

#

404

#

;--;-----;

merry robin
#

Uh...

#

( @limber rover, sorry, pinging again ^^)

surreal sail
#

ah, i restarted my router and regenerated it and it downloaded it

#

thanks anyways

merry robin
#

Sounds like a cache thing there πŸ™‚

civic barn
#

In task 17 it is mentioned that we cannot perform a service scan on the target without setting up a proxy, is that because we use a portable version of nmap or what?

strange bison
#

Yea, it doesn't have the service version scan supported. I think it explains why if you try with the static nmap?

civic barn
#

Yes, it says that couldn't find the nse_main script

merry robin
#

Yeah -- static nmap doesn't include all the Lua scripts that make up the NSE πŸ™‚

glacial monolith
#

How long should it take this to run? || sshuttle -r root@10.200.1.200 --ssh-cmd "ssh -i id_rsa" 10.200.1.0/24 -x 10.200.1.200 ||

#

keeps timing out

merry robin
#

Virtually instant, but I can almost guarantee that's the wrong subnet

#

10.200.1.x is not assigned afaik

fair breach
#

^

#

We have 10.200.2.* onwards for wreath

merry robin
#

.2?

#

The first one is .72, no?

glacial monolith
#

it is

#

I derped

#

thank you!

merry robin
#

Hehe, np!

#

Enjoy!

fair breach
#

Oh wait -- maybe not .2 I think and a few subnets above are throwback (honest it's so easy to mix up when using the CLI LMAO)

merry robin
#

Yeah, Holo and Throwback are on 10.200 as well, I know that

fair breach
#

but yeah -- 10.200.1.* defo isn't assigned for anything like that atm (:

#

glad you know more than me Muirl πŸ˜„

glacial monolith
#

c : Connected to server.
πŸ™‚

merry robin
#

Although Wreath with 40 networks will be taking up a nice big chunk of the upper section now πŸ˜†

merry robin
#

Well done

glacial monolith
#

proxies confuse me but I'm figuring it out. First network haha

woven warren
#

just follows muiri's instructions they are really clear

merry robin
#

Let me know if there's anything I can make clearer in the network πŸ™‚

glacial monolith
#

Yeah it was mainly with the foxy proxy, thought I was supposed to set the ip to the device I was connecting to .150 instead of .200 so I kept trying to navigate there and got redirected to my dns setup earlier. Everything has been very clear, thanks!!

merry robin
#

It happens!

woven warren
#

@merry robin @fair breach can one of you check the 72 network, it stopped and after restarting I can't get connected

fair breach
#

Lemme check real quick

#

Aye yeah everything is stopped aside from the VPN for it @woven warren. Boxes launched 3 hours ago (20.16:12 GMT) but shutdown 16 mins ago (23:50:00 GMT)

woven warren
#

This is what I see after refreshing the page

limber rover
woven warren
#

thanks

fair breach
#

Thanks @limber rover (:

woven warren
#

up on the 99 network, now to re-exploit

fair breach
#

Glad to hear it. Hopefully it isn't too much of a pain

#

We're still trying to see how best to scale it etc hence why it isn't "officially" released etc

#

Never know until you try right? No matter the testing

glacial monolith
#

Thanks for including shebangs, that's pretty cool.

woven warren
#

I have some pretty good notes, that is making it quick, plus some of the stuff is the same

fair breach
#

Wicked to hear. Teething problems since networks is such a new thing to THM

woven warren
#

I am enjoying it so far

fair breach
#

From working on it on the backend as much as I have it seems great. Muirl's done an absolute superb job. I just haven't had the chance to fully go through it (as in complete the network)

#

but I think it really teaches some important concepts/topics super well

woven warren
#

yup, up to task 40

glacial monolith
#

Set the IP to the correct target for your choice of pivoting technique. If you used sshuttle or one of the proxying techniques then this will just be the IP of the target.

#

Is the target the one my proxy connection the server is setup with or the target I am attacking with the exploit

#

Task 19

woven warren
#

target is the host you want to exploit

#

sshuttle just helps facilitate the connection

glacial monolith
#

I see, it makes sense now.

normal salmon
#

this intended??

merry robin
#

Where did you get it from?

normal salmon
#

my host

merry robin
#

Then that'll be why

normal salmon
#

haha ok.

merry robin
#

When a binary is compiled it's usually dynamic (meaning it relies on other libraries of shared code on the system)

#

You have to outright tell the compiler to create a static binary if you want it to function entirely independently

normal salmon
#

gotcha....well i figured my nc binary would work...thats not either

merry robin
#

For the same reason

normal salmon
#

same library erro

#

ok...

merry robin
#

Use the links in the task to download static copies

normal salmon
#

RTFM == win always

merry robin
#

Heh, they're definitely not just there to look pretty πŸ˜†

coarse zealot
#

@merry robin can i know if i can be unbanned from Wreath please?

normal salmon
meager ore
#

Is the target up? πŸ‘€ I was able to reach it yesterday, but can't right now. I've verified that I have a valid tun0 IP - but the target isn't pingable/nmapable today for some reason πŸ€”

strange bison
#

10.200.72.x?

merry robin
coarse zealot
#

nope

merry robin
#

You sure?

coarse zealot
#

i think i click only on start

#

yea

meager ore
#

My streaked dropped to 0 today as I couldn't get the pivoting working yesterday, not sure if that's related? I'm a subscriber though πŸ€”

merry robin
#

Because I distinctly remember giving someone the link, thinking they had joined, being pleased that they were working on it, then checking the profile and realising it wasn't a British account, but rather, a Romanian account with four letters starting with V @coarse zealot

#

Not ring any bells?

coarse zealot
#

umm

merry robin
merry robin
woven warren
coarse zealot
#

i didn't do many questions as i remember

merry robin
#

That's the dev subnet

coarse zealot
#

1 or 2

meager ore
#

My tun0 is 10.50.x.x

merry robin
#

Essentially a bunch of people got shoved into it by accident

#

Is the first IP 10.200.72.200?

unique geyser
#

Hey anybody knows how to fix this , empire when using the hopping listener

coarse zealot
#

so no chance of unbanning ? :((

meager ore
#
$ ping 10.200.72.200
PING 10.200.72.200 (10.200.72.200) 56(84) bytes of data.
From 10.50.73.1 icmp_seq=1 Destination Host Unreachable

My tun0: 10.50.73.x/24

merry robin
coarse zealot
#

i don't remember, but thanks anyways

merry robin
#

*sigh*
I've asked the admins to unban everyone, full disclosure

#

It's obviously not been done yet though

meager ore
#

You have left the room.
Should I download a new ovpn file too? πŸ‘€

merry robin
#

Yeah, rejoin then download a new config file πŸ™‚

merry robin
#

Um, @fervent obsidian?

#

Weird Python error message

unique geyser
#

Yes, its driving me insane

#

Installed empire through github

meager ore
woven warren
#

you should have gotten a new network

merry robin
meager ore
#

I thought there might have been a more explicit 'rejoin' for the room, but it just kept my old state around for some reason

merry robin
#

10.200.100.x, I'd wager

woven warren
#

i got .99

fair breach
#

Nothing active on 10.200.72.* even then there's only one machine which is the .200 which doesn't seem to be the vpn server

#

which was stopped ~2/3 hours ago

#

Oh I lie

merry robin
#

.250 is the VPN server

fair breach
#

the VPN server for that is active but nothing else

glacial monolith
woven warren
#

which task is that for

glacial monolith
#

Task 20

#

trying to setup the relay but not sure how to get socat onto the target

#

I went back to Task 13 on socat to try and figure it out

#

but no luck

digital tendon
stable dagger
#

anyone having issues with level 33 on wreath?? i have issues with the webpage displaying

glacial monolith
#

Ah right, I did use sshuttle.. thank you.

stable dagger
#

@glacial monolith level 33?? i used shuttle too

glacial monolith
#

No, I'm on 20

normal salmon
#

Thanks guys...learning that xfreerdp can map shares was worth the admission alone. Super fun and very real world materials...

native needle
calm wedge
#

For any badge)

native needle
#

From where please if you canhelp me

calm wedge
#

I'm not exactly sure how to do it but I know you can

#

I'm sure somebody else will be happy to help πŸ˜„

#

Actually here, on your public profile

#

Click "Share badge"

#

@native needle

native needle
#

Im trying

#

Thanks πŸ™πŸ™πŸ™

#

@calm wedge

calm wedge
#

No worries πŸ˜„

lilac ibex
#

Can I still access the Wreath network after finishing every question? Still would like to play with it.

merry robin
#

Mhm

lilac ibex
#

Wasn't sure if networks where completely different from normal machines. Even if I answer everything I can still access it. Right? should probably stop staying up so late...

merry robin
#

You can, yeah πŸ™‚
Keep in mind the "limited users at once" thing, but there's nothing wrong with having a play around with it for a bit afterwards πŸ˜„

lilac ibex
#

@merry robin thanks also did you ever get no ports found from teh invoke-portscan command. Figured I would learn chisel in a chisel but it's slow as dirt

merry robin
#

Huh. Nope, can't say I did. How strange.

lilac ibex
#

returned ports with {}

native needle
#

Guys is crackmapexec detectable by anti-virus?????

lilac ibex
#

no clue

#

@merry robin can i send you a screen shot dm of my pain?

half ledge
#

Does anyone else keep periodically disconnecting from the wreath network? Seems to happen to me about every 5-10 mins :/

lilac ibex
#

@half ledge like when you check your connection and the completed part is missing every 5-10 mins sometimes lasts longer than that

merry robin
half ledge
#

Well for some more context, I'm on the pivoting section of the room. But whenever I tried getting a shell during the exploitation section it randomly kept dropping the connection every now and then

lilac ibex
#

@half ledge like you get a shell and 2 seconds later something breaks

half ledge
#

Yeah sort of, it went fine for about a command or 4 and then it just freezes up the terminal as well iirc

#

After which I check the terminal running the ovpn connection where it start reconnecting, still not sure whether this is a me-problem or something with the room, i'm starting to lean towards the me-problem tho :p

lilac ibex
#

at that point i just force ctrl-c and restart opvn real quick

#

waiting around seems like it takes longer but it drops ever now and again

#

not sure why, but it seems like Muriri is in the shower so we will never know

half ledge
#

Just remembered, this also happens when I ssh into the public box ||(as root after getting the ssh key)||

lilac ibex
#

other than it randomly crashing it seems like if the network doesn't sense anything even though it has time it will just turn itself off

#

can't tell if the network just ran out of time or there wasn't enough traffic to keep it going

merry robin
#

@half ledge are you using the AttackBox?

half ledge
#

Nope, my own kali VM, which is why I think this could as well be an issue on my end

merry robin
#

Yeah, it sounds like a multiple VPN thing

half ledge
#

Yeah I turned off my own (non-thm) VPN after a while as well, didn't change much sadly

merry robin
#

I'm not really around to debug just now though I'm afraid. About to head into a meeting

half ledge
#

Oh don't worry about it, I'm working as well, just figured I might as well get a head start on this for after work :p

digital tendon
#

windows defender is picking up some of my obsidian files as suspicious because of the notes i took/copy pasted commands? lol

merry robin
#

Doesn't surprise me πŸ˜†

digital tendon
#

woohoo it is finished!

#

I'll try do a nice report and submit it as I want the practice, awesome room @Muiri I learned something new in every section, often multiple new things and I think cleared a lot of fog for me around AV Evasion and Exfiltration (impacket smbserver quite nice!)

#

thanks for putting that together

cold urchin
#

Hello all, I am still unable to download a new configuration file?
Any help would be great
I have redone a new configuration file and it is now working!

stable dagger
#

@normal salmon a question on task 33.

#

Kindly ping me when you're online

merry robin
stable dagger
#

Can I PM @merry robin

merry robin
#

Does it need a DM?

stable dagger
#

I am having issues with the gitwebpage

#

Not sure what I'm doing wrongly

#

I will send screenshot

merry robin
#

If you verify you can send it in here

#

!docs verify

thin crescentBOT
stable dagger
#

@merry robin im back

#

chisel connection

merry robin
#

Looks good

stable dagger
#

foxy proxy

merry robin
#

Yep

stable dagger
#

still cant access the main git page or the reource page for auth

merry robin
#

That's normal

#

Read the question -- what URI does it tell you to use

stable dagger
#

/resources

merry robin
#

That's, uh, not the right machine

#

/resources is on .100

stable dagger
#

jeez i just got it thanks bro. so stupid of me

high totem
#

Hi guys.... I’m doing the wreath network... ran the exploit, everything going nicely until I set up the shell, putting the IP, port, then setting up the netcat listener in another window (nc -lvnp ....) no matter what port I choose, nothing happens.... I’ve tried at least 10 different ports. I’m typing the IP that TryHackMe gave me after connecting to the VPN network... also, I’m using my own distro, not the website attack box. What am I doing wrong? Could it be my internet connection that is crappy?

lilac ibex
#

at the end and says the NT hash is wrong...

merry robin
lilac ibex
#

tried it with samdump2 kinda sucks

merry robin
#

Pretty sure samdump2 is one of the ones that doesn't work on Windows 8/10

#

DM me the hash?

lilac ibex
#

did it with impacket-script and it worked

high totem
lilac ibex
#

samdump2 not anything after 8 got it

merry robin
#

There's a reason I've recommended the tools I did πŸ˜„
Well done getting it now!

merry robin
# high totem Parrot

I have no idea if there's a firewall running on Parrot by default. What IP are you using to connect back?

lilac ibex
merry robin
#

Oh, 100%

#

There are others that still work IIRC

#

Gimme a sec, I have a few in my notes

lilac ibex
#

?

high totem
#

The IP that TryHackMe gave me when I connected to the network VPN

#

It’s so frustrating because everything was going so well

merry robin
# lilac ibex ?

creddump7
That's the one that works.
It's written in Python2 so is a bit iffy, but I believe Tib3rius has a fork that's been upraded

merry robin
high totem
#

10.4.31.....

merry robin
#

Ah, so that's the wrong VPN. That accesses the normal THM machines, but you need a special one for networks

#

You can download that from the access page as well, under the networks tab

cold urchin
#

Hello,
I am trying to download the key in Task 7
however the victims PC does not have nc or python installed to download from the victim onto the attackers machine?
Any advice?

merry robin
#

Wait, how on earth did you manage to exploit it without that connected?
Do you have two of them running?

high totem
#

But I connected with the one with my name-wreath.ovpn

merry robin
#

That'll be a yes. Can you show me the results of ip a?

merry robin
#

Raw TCP sockets ftw

#

Np

#

So, send the shell back to 10.50.107.8

#

You've got both of your VPN packs running at once, which works fine, but you need the 10.50 one for networks πŸ™‚

high totem
#

Thank you SO much. I’ll try that and update you in a bit

merry robin
#

Go for it! πŸ˜„

cold urchin
high totem
#

it went through!!!!!! sh:cannot set terminal process group (1930) inappropriate ioctl for device sh:no job control in this shell

#

But I’ve got a prompt with sh-4.4#

#

Sorry to be such a n00b

lilac ibex
#

done in two days @merry robin well done really enjoyed that one!!!!! ;'..;'πŸ‘

#

@high totemyou have a question?

cold urchin
merry robin
merry robin
#

Sounds like someone might be being a prat with the key

cold urchin
merry robin
#

Yes please

prime hull
#

Hey! Can anyone tell for how long this machine is gonna be free?

merry robin
#

Forever πŸ™‚

pallid vapor
#

turbotax: free for free forever

prime hull
merry robin
#

Cost, quite simply. It means people have to actually put some thought into it before clicking join. Every person in the room takes up a space on an instance which costs a tonne of cash to run. Having a streak requirement means that people will hopefully be discouraged from just joining and not actually using it.

fleet grove
#

Hey @merry robin can I dm about wreath network

merry robin
#

What's up with it? πŸ™‚

fleet grove
#

Someone added few files to /var/www/html dir

#

Can I remove those

#

And changed index .html too

merry robin
#

*sigh*
Yeah, drop me a DM with some screenshots would you?

fleet grove
#

Sure

pallid vapor
#

woooooooo its officially released

fringe cape
#

Hey, when I tried to Task20 / reverse shell with powershell I cannot find a way to get it
I set up a socat relay with the correct ports etc but nope
After some time I decided to ||upload an nc binary|| to the compromised linux host and try to listen here and the powershell failed once again.
Then I decided to skip this step and do the next one to get a stable shell on the 1st windows box.

But when I tried to execute the powershell reverse shell again from inside the windows host it errored out.
(This is the payload from task20)

I'm just curious why it isn't working.
Thanks for any kind of information πŸ™‚

merry robin
#

It's erroring out in WinRM because powershell is weird about executing powershell as a sub process. I suspect it would do better if some stuff was escaped

#

Is the firewall open on .200?

fringe cape
merry robin
#

Np πŸ˜„
I live here just now

dense lotus
#

it is not free

cyan vine
#

What makes you think that? @dense lotus

dense lotus
#

when I want join room "You need a 7 day streak to join this room. Subscribed users can access the room instantly!"

cyan vine
#

Exactly:)

#

You need a 7 day streak, or premium users can join without a streak.
You obtain a streak by answering at least one question per day.

#

You can view your current streak from the top right of your page.

pallid vapor
#

its still free, just you need a streak

#

if you sub, then you dont have to

#

but its not obligatory

hard mortar
#

A streak being you need to be active and answer questions on the platform for at least 7 days (in the case of Wreath)

slow dew
#

freaking loving it Muiri!

fervent obsidian
merry robin
#

Phew. Thanks! πŸ˜„

digital tendon
#

I may have found some slight grammar bugs, if you want me to post? not important at all

digital tendon
#

(e.g. has some random code that does the grand some of nothing inserted into the exploit)

merry robin
#

Which exploit?

#

If it's the EDB one, I didn't write it

digital tendon
#

oh, no that was the excerpt from the room

merry robin
#

Oh, oops

#

Ta -- where is that?

digital tendon
#

lol its just I think "sum" not "some" in this instance

merry robin
#

Which task / paragraph?

digital tendon
#

just checking, i added it to my notes but didn't write where I copied it from hah

#

Task 38

#

Equally, with logic-flow analysis, the AV software is still only working with a set of rules to check malicious behaviour. If the malware acts in a way that is unexpected (e.g. has some random code that does the grand some of nothing inserted into the exploit) then it will likely pass this detection method.

merry robin
#

Fixed πŸ™‚

digital tendon
#

also same Task - Fortunately (or unfortunately for us as hackers), this is usually nowhere near enough to bypass static evasion methods. - I think this was supposed to be static detection methods

#

ok cool I'll delete my comments πŸ˜„

merry robin
#

Shows how much my testers read of that

#

Nah, all good

#

I'm fine with making mistakes

#

Fixed that too

digital tendon
#

I think I read everything and if this is all I remember that's quite a good score

merry robin
#

Lemme know if you see any others πŸ™‚

#

Yeah, I'm usually pretty good with that kind of thing. Just occasionally late at night my brain goes dead πŸ˜†

digital tendon
#

yeah no doubt

strange bison
merry robin
pallid vapor
#

cool!

fierce knoll
#

Hi everyone, I'm at Task 29 C&C Git Server, and I'm trying to get an agent from Git Server through http_hop listener. I set up the http_hop listener, got the .php files and set up a php server in the webserver. (I also gave firewall access to its port if I didn't mess it up.) But when I try executing Empire stager's payload through the webshell in the gitserver (after url-encoding) I get powershell help page as a response. Basic commands such as "powershell whoami" are working fine. What could be the reason for this?

lyric bane
#

How thorough does the attack narrative in the writeup have to be if I want to submit it? For example do I need to include the pivot syntax?

merry robin
merry robin
rapid girder
#

I got to the id_rsa file, it's empty; not nice πŸ™‚

fierce knoll
#

I created a very simple bash pseudoshell script for the webshell on the Git Server in previous tasks, I used it in the previous tasks and it worked fine. In this task, the task guide says create a http hop listener and use it to get an agent from the Git Server. Then it says to create a multi/launcher stager with this http_hop listener as its listener. I did this, and it gave me a payload "powershell (some options here) -enc (base64 encoded script here)". I took this payload to an online url encoder, and url encoded it. Then I fed it to the webshell on the Git Server through the script I mentioned. Script justs takes the user input and does "a=$userinput" as a post request to the IP address, just like in the tasks.

merry robin
#

Could you please disconnect from the VPN and DM me the config? I'll fix it manually πŸ™‚

rapid girder
#

ok thanks, but which config?

merry robin
#

The .ovpn file you downloaded

keen wedge
#

is the network work for you guys?

woven warren
#

which network

merry robin
merry robin
#

Could you try doing it with cURL manually, just to be sure?

keen wedge
merry robin
#

Np πŸ™‚

fierce knoll
glacial monolith
#

Am I supposed to setup the socat relay on .150 or .200 with my attacking device or with .150 and .200

#

for task 20

#

We could set up a relay on .200 to forward a shell back to a listener

#

so does this relay go to my device or .200

#

also was I suppoed to open the firewall on .200 or on .150 using the web shell

#

I used the web shell

merry robin
#

Well, think about it -- where is the shell coming from, and where do you want it to go?

glacial monolith
#

I want it on .200 but I'm not sure where to send it from. My device or the compromised one

merry robin
#

As in, what do you want a shell from?

#

.150, right?

glacial monolith
#

I thought the socat was so that I could do it from my device

merry robin
#

Kinda

glacial monolith
#

but idk how to get the socat onto there, I transferred it to the compromised device but dont know how to move it to .150

merry robin
#

So, you want a shell from .150, and you want to receive it on your attacking machine, yeah?

glacial monolith
#

yeah

merry robin
#

Ok. Can .150 connect to your attacking machine directly?

glacial monolith
#

I tried pinging it and it doesnt ping back, so I'm trying to setup the relay

merry robin
#

So, can it connect back directly?

glacial monolith
#

no

merry robin
#

Ok, so, what's in the middle?

glacial monolith
#

.200, I'm unsure how to get it from there to the target though

merry robin
#

Yep, 200

#

So, use socat (and the firewall) on .200

#

Then send a shell from .150

#

Have you watched Dark's video for the task?

#

I think it might be clearer if you see it working?

glacial monolith
#

I'll have to find the video, didn't know there was one for this task

#

that makes sense though for the socat relay

merry robin
#

Nah -- firewall-cmd is for administrating redhat servers (including CentOS)

#

You see the little video icon at the bottom right of the screen?

glacial monolith
#

was missing that icon, I'll check it out. Thank you

merry robin
#

Np!

#

Let me know if you need any more help with it πŸ™‚

glacial monolith
#

rip darks video uses netcat static and not socat haha

#

I'll try to figure it out for a bit

merry robin
#

Oh Goddamnit Dark

digital tendon
#

I think when I followed the instructions - from my notes you get a reverse shell up before you set up the socat relay/add firewall rules

#

so you shouldn't need to xpost firewall rule through the php shell

merry robin
#

Nah, you need the firewall first in order to get the reverse shell through the relay, but you definitely don't need to administrate the Windows firewall through the PHP webshell

digital tendon
#

oh right thats where I was getting confused

glacial monolith
#

so would I do something like this from .200 ||./socat-Ferrari404 tcp-l:PORT tcp:10.200.72.150:PORT||

#

or do I need to specify my tun0 somewhere

merry robin
#

Not quite

silk shoal
#

Havin' some issues with ||WebminRCE||

merry robin
#

You would specify the tun0 in the second bit

glacial monolith
#

Should those 2 ports be the one I opened the firewall on?

merry robin
#

So more like this:
||./socat-Ferrari404 tcp-l:PORT tcp:TUN0:PORT||

#

The first Port should be the one you opened on the firewall

#

The other one doesn't matter, as long as it matches up with what you're listener is using on your localhost

merry robin
glacial monolith
#

lol

silk shoal