#koth

1 messages Β· Page 38 of 1

nova tide
#

@tepid hornet fight me blobknife

tepid hornet
#

@nova tide blobknife

#

here you go

nova tide
ornate token
#

What's with the port 61432? mentats

patent forge
#

i think that's not min

nova tide
#

What's with the port 61432? mentats
@ornate token node service moved to that one

patent forge
#

mine* @ornate token

nova tide
#

instead of 3000

stiff egret
#

Downvote all you want, I'll get that nitro and spam you with this pepesaber.

ornate token
#

I see... no response from it xd

tepid hornet
#

@tepid hornet πŸ‘€
@nova tide osint kekw

stiff egret
#

@nova tide

nova tide
#

I see... no response from it xd
@ornate token try port 65531

patent forge
#

we can do another one if you all want

nova tide
#

SURE

#

make any game you like

ornate token
#

Nothing
I'd enjoy another game :D

patent forge
#

@ornate token is random room ok to you?

ornate token
#

Ye, I'm familiar with none of them so Β―_(ツ)_/Β―

stiff egret
#

dont make hackers.

patent forge
#

when will hackers be removed?

nova tide
#

??

patent forge
stiff egret
#

Lmao, why would it be?

nova tide
#

why it is going to be removed?

stiff egret
#

It's one of the only epic machines

patent forge
#

isn't there something like a monthly rotation?

nova tide
#

its the most difficult machine. sooo?

#

nah

stiff egret
#

Ah, no, they will keeping adding to them.

patent forge
#

yeah i like that one

#

the only part i don't like is the initial foothold

stiff egret
#

So after one point people will not be able to keep specific notes for every machine

#

except for those playing from the beginning

ornate token
nova tide
#

imma play some siege with friends

#

dont reset plz kekw

patent forge
#

@nova tide fortuna pass has been changed?

nova tide
#

yeah

patent forge
#

😦

#

going for nfs haha

nova tide
#

there are still more ways in though

#

ssh key is no more though πŸ€·β€β™‚οΈ

patent forge
#

ok so i have to find another way

#

i know only those 2

nova tide
#

yeah

patent forge
#

any hint?

nova tide
#

now its time to find the third one

#

gobuster

patent forge
#

thanks

#

@ornate token found anything?

ornate token
#

Ye, idk what to do with it

patent forge
#

what? base64?

ornate token
#

Ye

patent forge
#

that has already patched but

#

look for "file signature"

#

you get something pretty strange decoding that base64

ornate token
#

I have that website on bookmarks :)

#

Thanks!

patent forge
#

np

#

that's a nice way in, I liked that

#

but @nova tide already changed that password 😒

ornate token
patent forge
#

i'm trying a gobuster on port 80 with raft-large-directories

#

50% found nothing btw

ornate token
#

He's rlly playing r6 xd`
And he's winning GWmythiBlobLUL

patent forge
#

that's how it works when someone knows how KOTHs works

#

did you find something else?

#

i know the nfs and base64 ways

ornate token
#

Aside from that port, nothing

patent forge
#

i'm feeling dumb

#

gobuster found nothing

#

is there any port upper than 10000? @nova tide

#

i can't do -p- scans because my internet is so slow...

nova tide
#

well i just somewhat patched the way coz gobuster won't find the directory

patent forge
#

oh

#

so there's no way left? hahah

nova tide
#

so all the 4 methods ik are already patched πŸ€·β€β™‚οΈ

patent forge
#

well GG hahah

nova tide
#

even if you get in, all the privescs are patched.

#

even you privesc my king loop is running.

patent forge
#

i think it's pretty much useless unless there is no way in

ornate token
#

Let's reset x)
I was joking, but k

nova tide
#

yeah reset and try finding that third way in.

#

imma get some sleep. just registered for summers

patent forge
#

well good night πŸ™‚

nova tide
#

well its 04:15pm πŸ€·β€β™‚οΈ

ornate token
#

Cya!

nova tide
#

cya

patent forge
#

@ornate token reset?

ornate token
#

Yeah, still stuck

patent forge
#

have you tried to look for that signature?

#

PK

ornate token
#

Ye, cyberchef did the job but searched anyway. Further on idk

patent forge
#

you are getting something like ..PK.. ..... from base64

ornate token
#

Yes, cyberchef detected the file

patent forge
#

what can it be?

#

(if i can dm you, i can help you with that haha)

ornate token
#

You can dm anytime, I'll try harder a bit more bfore giving up

limpid coyote
#

first time I ll play KOTH

patent forge
#

anyone up for a koth?

craggy wave
#

yeah

visual spire
#

hello

forest bobcat
#

UM240 you are breaking rules

#

you cannot attack other player's shell

quiet schooner
#

@forest bobcat false

forest bobcat
#

why?

quiet schooner
#

The shell is a file on the box

forest bobcat
#

my terminal got breaked with random stuff

quiet schooner
#

It's not on your local machine

#

Killing shells, spamming shells, all fine

forest bobcat
#

sorry

#

not shell terminal

#

my terminal

quiet schooner
#

Still applies

forest bobcat
#

oh sorry

#

thx

quiet schooner
#

Attacks to your machine are not allowed

forest bobcat
#

ok

quiet schooner
#

Spamming shells that you have on the box is allowed

forest bobcat
#

can i upload a script to spam others shell?

#

automatically?

quiet schooner
#

Take a minute to read the rules

forest bobcat
#

ok thx sir

quiet schooner
#

Please don't address me as sir.

visual spire
#

lol

forest bobcat
#

hey?

wooden grove
#

need help regarding koth here... i am connected to the vpn and can ping the box ip, but cannot access it via browser or run an nmap on it or anything.. Does this happen when it is under load or something?

fair adder
#

i confirm you from my side is ok... able to connect and interact with the machine

quiet schooner
#

Sounds like you're not connected

#

Fix your VPN

wooden grove
#

i am though.. tried killing openvpn and reconnecting but that doesn't fix it..

#

kindly note that i am able to ping the ip though..

quiet schooner
#

Stuff that relies on your network connection to the box

#

Your network connection to the box is your VPN

glossy fiber
#

did you get the root

wooden grove
#

checked my internet and my connection.. it's all ok..

visual spire
#

why when i go to ip/wordpress/wp-admin in panda machine it doesn't work

#

hi

#

can any one help

crisp siren
#

@visual spire try to add the ip address to /etc/hosts and call it panda.thm

#

by the way, does anybody know how to access another user's terminal when you have root?

#

somebody wrote exit on my terminal and Im wondering how

#

i would greatly appreciate anybody's help! πŸ™‚

real crescent
#

your terminal is linked to a pseudo-terminal (pty) and as almost everything else on Unix-like OS, it is available as a file

#

namely /dev/ptyX

#

also, your shell has your stdin available as file descriptor 0, available in /proc/<SHELL PID>/fd/0

crisp siren
#

thank you so much!

real crescent
#

welcome πŸ™‚

visual spire
#

any hint for what do i do after i get in the wordpress

#

??

#

please

stiff egret
#

(google for how to get reverse shells using wordpress)

crisp siren
#

you can edit the 404.php in themes editor to execute a php reverse shell

#

but there are many different ways

visual spire
#

thanks

crisp siren
#

youre welcome!

west sky
#

anybody wanna play koth with me

forest bobcat
#

anyone here?

patent forge
#

Anyone up?

forest bobcat
#

anyone up????

sturdy plank
#

lol

forest bobcat
#

KOTH play???

serene bay
#

In KOTH is there any other way of checking others tty other than who -u

quiet schooner
#

ls /dev/tty

#

ps aux | grep tty

forest bobcat
#

is other koth players are in active in current game?

#

I need to check it

#

No one submitted any flags there

nova tide
#

In KOTH is there any other way of checking others tty other than who -u
@serene bay ps aux | grep pts
Or w

remote lodge
#

hello there! im new here and i would like to spectate someone play kotk as i find it really interesting, can someone send the spectate link here if somone is going to play ?

zinc furnace
#

@visual spire you can try to exploit wordpress installed plugins

#

many plugins are vulnerable

visual spire
#

i did it

#

thank you

#

wanna play__

#

??

zinc furnace
#

okay

#

is it random machine??

visual spire
#

yes

zinc furnace
#

@visual spire 8 playesr joined man

#

players*

gusty rapids
#

@patent forge Haha gg you're trash

patent forge
#

@gusty rapids yep

grand ember
#

πŸ§‚

patent forge
#

or maybe you can't even read a linpeas output properly?

#

i've patched 3 suid, nothing else πŸ™‚

glossy vessel
gusty cradle
#

πŸ‘€

patent forge
#

@glossy vessel imagine crying for luck parameter and suid patches (i didn't even touch the luckyshell) on fortune

glossy vessel
#

we don't need to cry here

#

everyone is learning

patent forge
#

that's the point

#

@patent forge Haha gg you're trash
@gusty rapids but this is not learning.

#

you could ask for a hint @gusty rapids

gusty rapids
#

haha

patent forge
#

what a kid..

gusty rapids
#

i will

glossy vessel
#

yeah

you're trash
that's not acceptable

gusty rapids
#

ah nah he played well , not an insult

quiet schooner
#

Please keep it civil though.

gusty rapids
#

relax guys i just say gg @patent forge and trash not in the bad way , sorry if it hurts someone !

patent forge
#

why are you all asking to reset the machine? we did that like 8 minutes ago...

shell snow
#

Didnt even see we had a reset

gusty rapids
#

same

patent forge
#

root password : my username

#

let's get this last 5 minutes funny

tropic dew
#

guys wtf stop resetting pls

patent forge
#

my gosh.......

livid dagger
#

well, now we know when we play against you what the root password is

tropic dew
#

this make no sense

livid dagger
#

lol

tropic dew
#

you can't stand loosing

patent forge
#

@livid dagger yep, common user is yormoma

livid dagger
#

lol

patent forge
#

if you find that, that's me ❀️

livid dagger
#

πŸ‘

#

just saying for if you want to defeat me

patent forge
#

@livid dagger send player link

#

it is a spectator one

livid dagger
#

yeah, that's why

#

why would I send you the link? πŸ˜‰ hahahaa

patent forge
#

to let me try finding the last vuln ❀️

livid dagger
#

fine

#

there's only 1 hole

stiff egret
#

Which machine?

livid dagger
#

the one above is space jam

#

but room is full now

stiff egret
#

Ah, ATB.

zinc furnace
#

@stiff egret @livid dagger this is the only problem with space jam

#

there is only one hole

gusty rapids
#

port 3000

zinc furnace
#

who so ever will patch that method will win

patent forge
#

@livid dagger has it something to do with carrots? πŸ™‚

zinc furnace
#

yef node js

livid dagger
#

carrots?! that made me laugh sorry

stiff egret
#

there is only one hole
@zinc furnace There are multiple methods in the box.

livid dagger
#

no, nothing to do with carrots

patent forge
#

carrots?! that made me laugh sorry
@livid dagger /local

livid dagger
#

@zinc furnace No, there are at least that I have been able to figure out, 2

#

don't know what you mean

#

DM me if you have to

stiff egret
#

There are 3 methods in the box, I think.

gusty rapids
#

the telnet is vulnerable ?

stiff egret
#

🀨 Maybe

patent forge
#

@stiff egret carrots? πŸ₯•

stiff egret
#

πŸ€”

patent forge
#

may i dm?

#

don't wanna eventually spoil something

stiff egret
#

Actually I am not playing rn, solving some box. So, I don't know If I'll be able to help much. Anyway, I can try πŸ™‚

livid dagger
#

probs

#

not sure now

patent forge
#

starting in 5 minutes

livid dagger
#

would join but have to go

#

another time

formal kindle
#

start in 23 min

nova tide
#

@formal kindle that's a spectators link. click on "Options" from top right corner and copy the invitation link

formal kindle
shell snow
#

@patent forge hahaha nice man

patent forge
#

❀️

shell snow
#

that was actually fun

formal kindle
#

lol

#

no one join

patent forge
#

we have 20 minutes left

formal kindle
#

link ?

shell snow
#

Im not too good on the protecting bit lol

formal kindle
#

me too

patent forge
#

me either

shell snow
#

I used ur user as I didnt have time lol

#

just changed the password

formal kindle
#

is there anything on that side ?

patent forge
#

yep, know that

#

i was watching you hahaha

formal kindle
#

like blog or video

patent forge
#

when you changed the king i gave you some time before killing everything

shell snow
#

hahaha

formal kindle
#

hmmm

#

someone must be write somthing on that

patent forge
#

@formal kindle there is the link up there

formal kindle
#

?

patent forge
#

nothing patched, just moved stuff πŸ˜‰

formal kindle
#

lol

patent forge
#

25 minutes left

#

if you wanna join

formal kindle
#

in

#

lol looks like u change everything

#

lol

patent forge
#

nope

#

upload still working

#

and someone else patched ssh key

#

before i actually write my "sign" into the txt file

fair adder
patent forge
#

gg guys, I have to leave, nothing patched by me except from gdb which has moved to gdb2 keeping SUID capatibilies

gusty rapids
#

i use gdb2 but i loose my shell and someone patch shrek ssh private key 😦

inland sluice
#

how rude

wary jolt
#

Its not rude. Its called competition

visual spire
#

hi

visual spire
#

GG

patent forge
#

Anyone up rn? 🌈

glossy fiber
patent forge
#

no one in?

#

@glossy fiber ?

sturdy plank
#

@patent forge im ready to play

#

do u want to play with me??

patent forge
#

yep

#

public one

#

@sturdy plank

fair adder
fair adder
#

@sturdy plank did you patch everything alredy ?

patent forge
#

i think he is just killing all pts

sturdy plank
#

@sturdy plank did you patch everything alredy ?
@fair adder yes

#

except ftp anonymous login

fair adder
#

ofc you did

#

running automated scripts...

patent forge
#

what's the point of playing like this? 😒

fair adder
#

there is no point tbh

patent forge
#

Elf do you know something about the port 9002

fair adder
#

let me see

patent forge
#

telnet that

#

you get a limited shell

#

but if you write more than some characters you get a "segfault"

fair adder
#

yeah i se

patent forge
#

doing a echo $(ls) i'm getting "koth" as file

#

i cannot do "pwd" because of segfault

fair adder
#
echo "test" 
Segfault

#

xD

patent forge
#

echo $(id)

stable narwhal
#

@patent forge those commands do not need to be wrapped in an echo command πŸ™‚

patent forge
#

of course i know

sturdy plank
#

i changed permission

patent forge
#

we are in a shell which doesn't give output

sturdy plank
#

so i dont think u can use any command except cd

patent forge
#

so i have to echo that

grand ember
#

if the limit on the command was 1 char longer i would be able to make a script to execute whatever you want via that port

patent forge
#

yep

#

i was thinking that too @grand ember

#

wow Mr

sturdy plank
#

why u guys reset

grand ember
#

could you pass me the IP? πŸ‘€

patent forge
#

because you fucked the machine ❀️

sturdy plank
#

no

#

i didnt

#

i just patched it

fair adder
#

@sturdy plank what is the point of playing if you have automated scripts?

sturdy plank
#

i dont

fair adder
#

so you got in and manually patched everything in less then 3 mins ?

patent forge
#

that's not the point Secret

#

you were killing all pts with a script

sturdy plank
#

so you got in and manually patched everything in less then 3 mins ?
@fair adder yes

fair adder
#

nah i give up i don't want to play vs ppl that have scritps

grand ember
#

i mean it's production so it's easy to patch everything

#

it's not like there are that many ways to root it

sturdy plank
#
ashu@10.10.20.38's password:```
#

why this happening

#

nah i give up i don't want to play vs ppl that have scritps
@fair adder i dont

hardy jungle
#

Because you need a password for the account

grand ember
#

the key isn't there :)

fair adder
#

@sturdy plank and i thought that was you lmfao

full grove
#

or someone regenned keys

grand ember
#

yup

sturdy plank
#

key is here

full grove
#

or someone regenned keys
@full grove

grand ember
#

lmao not on your machine

#

on the remote

#

it got deleted/replaced

sturdy plank
#

maybe

fair adder
#

@grand ember yeah i forgot about that

#

but i give up anyway

full grove
#

not maybe, yes, I can almost guarantee thats what happened

#

rm ~/.ssh/authorized_keys && ssh-keygen

sturdy plank
#

but nobody get king

#

so it should be a problem

#

restart???

#

ok

#

now someone get the king

#

but they against rule

grand ember
#

lmao

sturdy plank
#

they reseted the machine when i patched most of the things @grand ember

grand ember
#

and?

sturdy plank
#

u laught at wat??

grand ember
#

that's how most public games look lmao

sturdy plank
#

hmm

patent forge
#

Mr they patched one way

sturdy plank
#

i thought the admin add the rule that dont restart machine when the paths are patched

patent forge
#

and they are NOT killing all pts

#

so what's the point of this?

but they against rule
@sturdy plank

fair adder
#

if you can't even do anything

grand ember
#

i thought the admin add the rule that dont restart machine when the paths are patched
@sturdy plank lmao why would they, the reset is vote-based

patent forge
#

patching a id_rsa key is not cheating

fair adder
#

its just being evil

grand ember
#

it's called hardening the system

sturdy plank
#

i didnt say its cheating

patent forge
#

i don't think so

remote lodge
patent forge
#

it's too easy to find

#

there is a root shell on the 9002

#

just trying to use that (i think i got the point)

grand ember
#

9002 is useful but to use it effectively you need to have a user shell in the first place

#

also oyu can just kill/stop 9001/9002

patent forge
#

i think there is a way

#

i'm trying to append content to a variable

grand ember
#

there is but it's tricky to get it working

fair adder
#

is it bof?

grand ember
#

no

fair adder
#

cuz it says seg fault

#

i just hope its not seg fault like last time i thought

sturdy plank
#

WT*

patent forge
#

i was thinking to do something like e=$estuff

#

in a while loop, keeping it under the lenght limit

forest bobcat
#

hey!!!

#

My name is Isira Adithya!!!

patent forge
#

trying to set a reverse shell command

forest bobcat
#

nice to meet you guys

#

hey something happened in the server

sturdy plank
#

why people vote for reset while i patched all

#

the machine didnt destroy

#

or nothing happend to it

#

but they vote for reset

#

WT*

forest bobcat
#

hahah

#

lol

patent forge
#

What?

#

Dude I got in before you patched Id rsa key

sturdy plank
#

ok any-way

patent forge
#

And I got kicked out immediately

sturdy plank
#

why people reset while the machine didnt destroy

patent forge
#

That was a problem, not the ssh key

sturdy plank
#

or nothing happend to it

forest bobcat
#

hey I am the king

#

but it is not adding points

patent forge
#

Have to wait 1 minute

forest bobcat
#

why is it happening?

#

no

patent forge
#

Yes

#

King got tracked by every minute

forest bobcat
#

I waited about 5 mins now

patent forge
#

So you are not king

forest bobcat
#

yeah i know but i think the service is corrupted

patent forge
#

Post a screenshot of catting king

forest bobcat
#

oh wait

#

oh sorry

#

it is working

patent forge
#

starting in less then 5 minutes πŸ™‚

fair adder
#
 echo "slavkosmith" > king.txt
bash: king.txt: Operation not permitted```
#

i hate carnage...

patent forge
#

chattr? @fair adder

grand ember
#

carnage is fun

fair adder
#

@patent forge it says chattr not found as a command

#

and i found it

#

and when i supply full path

#

it still doesn't work

#

this is pain

patent forge
#

no i was asking that because of the operation not permitted

fair adder
#

oh

#

@grand ember can i cry for hint ? 😦

grand ember
#

yes you can

#

you can get your name in there in two ways

#

one requires chattr and is effective

fair adder
#

it doesn't have chattr 😭

grand ember
#

one doesn't require chattr but may not work if someone is already in that file

#

then upload chattr duh

fair adder
#

oh yea

#

i forgot about that

grand ember
#

jfc elf

#

you amaze me sometimes

fair adder
#

😦

#

sry

patent forge
#

anyone playing rn?

#

@fair adder can you helping me with installing chattr if someone uninstalled that?

fair adder
#

just wget it

#

from you pc

#

thats how i did it kekw

grand ember
#

oof

#

if it's not a static version of chattr it might not work because of different lib versions on your os and the box

forest bobcat
#

anyone up?

grand ember
#

nah, i'm left

fair adder
#

i used it like that

#

what else do you suggest @grand ember

grand ember
#

wdym

fair adder
#

if it's not a static version of chattr it might not work because of different lib versions on your os and the box

grand ember
#

basically the version you normally have in /usr/bin or smth is a dynamically linked one
it might work but it's not 100%, it all depends on the linked libraries it has and if they are present on the box

#

that's why you'd usually upload a statically linked one

fair adder
#

yeah its a good point

patent forge
#

any hint on tyrell? (except from librenms)

serene bay
#

Public Game starting in 20

sturdy plank
#

any hacker want to play koth??

patent forge
#

public koth starting in 7mins

#

@visual spire good luck πŸ˜ƒ

visual spire
#

thanks

#

my machine stooped

#

stoped

patent forge
#

vm?

#

why is people voting for reset???

#

my god guys, nothing patched except from ssh key

#

there are more ways in.

#

if you reset i'm gonna patch it anyway

#

@visual spire are you playing now?

visual spire
#

yes

patent forge
#

i voted for reset

#

i'm not getting in from ssh now

visual spire
#

so

#

??

#

my machine stoped again

#

this is socks

#

@patent forge

patent forge
#

😦

cobalt flower
#

lel yea

#

you guys are patching iit so fast

visual spire
#

@patent forge seems you in again

patent forge
#

noope

#

didnt patched anything this time

#

and i also tryied a new way in

#

(check upload on port 80 and try common formats)

cobalt flower
#

some one patched it cuz i cant get the rsa to work

patent forge
#

there are other ways.

#

stop focusing on that

#

that is a simple vulnerability which gets immediatly patched when used

cobalt flower
#

lol i tried 3 that i know

patent forge
#

in this case, odestorm just removed authorized_keys

#

i used the upload form, and it worked.

cobalt flower
#

the upload page never worked for me

patent forge
#

it actually work

cobalt flower
#

upload what exactly 😞

patent forge
#

he is asking for an image

#

try some images format

#

gg for odestorm which patched the id_rsa after asking for reset because i did the same πŸ˜…

visual spire
#

i found another way for shrek

patent forge
#

telnet?

patent forge
inland sluice
#

Is patching id_rsa the equiv. of changing the locks on all the doors (Defeating the "Leave services available to the normal expected users of teh system" requirement?)

patent forge
#

Is patching id_rsa the equiv. of changing the locks on all the doors (Defeating the "Leave services available to the normal expected users of teh system" requirement?)
@inland sluice is there another way? so no.

stiff egret
#

No, you can clearly patch ssh by changing rsa-keys.

quiet schooner
#

When you change passwords or keys for a user, you'd give them the new key

stiff egret
#

I don't think that illegal(?)

terse willow
#

Changing keys is fine

#

Switching ports it fine

#

Changing the config to only accept keys is fine

stiff egret
#

When you change passwords or keys for a user, you'd give them the new key
@quiet schooner wdym?

patent forge
#

@stiff egret do you know something about lfi on lion 5555?

quiet schooner
#

There's a security breach, and your keys and passwords have been leaked. here's new ones @stiff egret

terse willow
#

The only thing that isn't fine is just shutting the whole thing down

inland sluice
#

Oh

terse willow
#

@quiet schooner?

quiet schooner
#

@terse willow DoS, allowed hosts etc

hardy jungle
#

Swear that's forbidden in the rules

terse willow
#

That falls under a different rule..

stiff egret
#

There's a security breach, and your keys and passwords have been leaked. here's new ones @stiff egret
@quiet schooner Why would I change them in first place, If I give it to them later?

terse willow
#

Eh, I reckon allowed hosts would be fine too, to be honest

quiet schooner
#

@stiff egret Real world situation, you change keys and then give the genuine users the new keys

terse willow
#

It's a real world thing

quiet schooner
#

@terse willow You're not allowed firewall rules, so that seems pretty similar to me

inland sluice
#

I'm just trying to understand what i can/cannot do re: koth, only done one of them so far

terse willow
#

Nothing to do with the firewall though, and if you've changed it to keybased authentication and changed the keys then you've already accomplished the same thing

quiet schooner
#

@stiff egret You don't give the attackers the new keys

stiff egret
#

🀨

inland sluice
#

What about say .. doing privesc and enabling f2b on the host

terse willow
#

@stiff egret If there's been a breach, the IT department change the SSH keys. They give the new keys to the employees -- the genuine users of the system

quiet schooner
#

@inland sluice Can I ask if you've actually read the rules?

terse willow
#

The attackers do not get the new keys

#

And no, f2b is definitely out

inland sluice
#

How is it different than hosts/changing the keys? As for reading the rules, I am. because i am evaluating your responses against said rules to determine the brown score

quiet schooner
#

...wat

terse willow
#

That's a point actually. @lusty portal can you clarify this in terms of KoTH rules -- are you allowed to bump up the security measures around SSH?
i.e. change the Allowed Hosts, add fail2ban, etc

lusty portal
#

I don't see why not?

terse willow
#

It's technically realistic

lusty portal
#

Its all about attacking and defending

terse willow
#

Yeah, that was my thought

quiet schooner
#

Although

lusty portal
#

As long as its not full on stopping the service

quiet schooner
#

Fail2ban updates firewall rules

terse willow
#

So, apologies @inland sluice, I was right with the hosts, and wrong with the f2b πŸ˜†

quiet schooner
#

Which are banned

#

Fail2Ban is able to reduce the rate of incorrect authentications attempts however it cannot eliminate the risk that weak authentication presents. Configure services to use only two factor or public/private authentication mechanisms if you really want to protect services.``` @terse willow
lusty portal
#

Yeah hm. Once you're banned from talking to the host, its game over.

#

Will add to my list of things to discuss with Ashu and get back to you on that.

terse willow
#

I would say that it's one of those things that can end a game very quickly indeed

stiff egret
#

Isn't that almost equal to iptable ban?

inland sluice
#

So can changing a ssh key?

quiet schooner
#

Configure services to use only two factor or public/private authentication mechanisms if you really want to protect services. Literally tells you to just enable key auth and not bother @terse willow

terse willow
#

So possibly shouldn't be allowed based on that

quiet schooner
#

@stiff egret it's a timed firewall rule, it's exactly equivalent

terse willow
#

I mean, yeah, there are definitely better ways James πŸ˜†

#

So can changing a ssh key?
@inland sluice Changing SSH keys is definitely fine πŸ™‚

stiff egret
#

πŸ€·β€β™‚οΈ

inland sluice
#

re: changing keys is fine. is that because multiple vectors exist to obtain either the key, or to supress/change it?

terse willow
#

Each box has at least 3 entry points

#

Or should

#

I was told 4 for Fortune πŸ€·β€β™‚οΈ

#

So, yes, that's the idea. Once you get in another way, you can change the SSH keys back

quiet schooner
#

re: changing keys is fine. is that because multiple vectors exist to obtain either the key, or to supress/change it?
@inland sluice Changing keys is fine, because that's a legitimate measure

terse willow
#

In the end, you're looking to do realistic stuff

inland sluice
#

the legitimate measure part confuses me,

quiet schooner
#

You're perfectly allowed to get on the box and patch all the vulns immediately

#

People will get mad and reset the box

#

But you can patch everything. But don't just drop heavyhanded firewall rules

#

Patch intelligently

#

Fix the actual issues, the logic flaws, the broken code, the exposed creds

terse willow
#

Basically, if you're doing something that would stop the box from functioning normally, then there's a problem. Think about it in a workplace environment -- if the box needs SSH, then SSH has to exist.

quiet schooner
#

@inland sluice There's also no such thing as a "brown score" πŸ˜‰

inland sluice
#

@quiet schooner Sure there is.

quiet schooner
inland sluice
#

It's a polite acronym for the opposite of an "it factor"

quiet schooner
terse willow
#

Be nice James πŸ™‚

quiet schooner
#

I am

#

Purely honest

terse willow
#

What do you mean by brown score @inland sluice? πŸ™‚

inland sluice
#

@quiet schooner "it factor" urban dictionairy, i didn't make it up

#

Bluntly, its could probably slip past a PG-13 censor, as long as it didn't also feature bikini's, death, violence, drugs, or any other adult themed content

#

Brown factor .. in this instance, brown is a synonym for a word that rhymes with "it"

quiet schooner
#

Sorry, but how does that relate to reading the KoTH rules? I should very much hope they don't contain violence, nudity or adult content

inland sluice
#

It does not. it has to do with anyone interpretation/explaining anything. It's the "Are they full of 'it' " comparison

#

Does anythign they say directly contradict the "rules" they are bringing up

#

Yes that's snippit, and yes i botched the snip initially with hi-liter

gusty cradle
#

Urban Dictionary is a joke

sonic belfry
#

My question for KotH is, should the defenses applied be realistic, as in used during Incident Response, or is further destructive and counter-productive measures allowed to fend of further intrusion?

quiet schooner
#

You shouldn't be doing anything destructive for the most part

gusty cradle
#

I think they have to be realistic, otherwise just use iptables and block all ips except your own πŸ€”

sonic belfry
#

I've never played it, but from what I can hear, is that it becomes more a game of defeating offense with better offense, rather than applying realistic defensive measures.

quiet schooner
#

It depends on who you're playing against

#

Because I just patch the box completely

#

Which makes it no fun for anyone else, and they spam resets

sonic belfry
#

Give points for proper realistic patching, would that be an idea to promote incentive to realistic defenses?

terse willow
#

Probably

#

But how the heck do you automate that? 🀣

#

Be a bit difficult to determine what counts as "realistic patching" on the fly

quiet schooner
#

do old exploits work, is the service still up

#

I believe a few of the attack defence CTFs do this

sonic belfry
#

Yeah, probably through some probe script.

terse willow
#

So, basically, probe services to see if they're still up? Which is essentially health checks, no?
In that case, who gets the points? You'd need to be monitoring the bash history of each pts, in real time

sonic belfry
#

Sysmon πŸ˜„

terse willow
#

The only way I can see of to get it working would be to have a whitelist of "realistic" fixes for each service, submitted by the creator, which means you could potentially miss some

#

And even then you still have the problem of not knowing which user account to give the points to

stiff egret
#

imo, too much for a 1 hour game.

terse willow
#

Even if you could match a fix to a PTS, you then need to match it by account

#

Which is doable with IP, I suppose, but that's some serious scripting on every box to get it working πŸ˜†

#

Would be a great idea though

sonic belfry
#

Just use socat. πŸ˜‰

terse willow
#

Socat fixes everything! 😁

quiet schooner
#

Shut down box for cheating if someone breaks the service for too long

#

ezpz

terse willow
#

Health checks are a good idea

#

That's for sure

inland sluice
#

But how the heck do you automate that? 🀣
@terse willow apt-get update && apt-get upgrade? (yum -y update? )

#

one cmd patch

terse willow
#

To automate monitoring the logs to see which user applied a realistic defence?..

inland sluice
#

Umm .. send syslog somewhere else. add it to the "do not mess with this port" ip

#

Now filter on that host for reasonable/unreasonable

terse willow
#

Which is a good way to see a realistic defence being added, but you have no way to link it to which TryHackMe user made the defence πŸ™‚

inland sluice
#

Umm...sure ya do

terse willow
#

Uh, how?

inland sluice
#

When you connect to ovpn

#

your mac address and ip address are bound

#

If you think they aren't mining this info for something ... πŸ˜›

quiet schooner
terse willow
#

So, what, the IP address is going to be linked to the user account making the connection in the syslog?

#

Bear in mind, that's a syslog, for reference

quiet schooner
#

There are no mac addresses

terse willow
#

It'll tell you the user account that ran the command (and doesn't actually store every command either)

#

But doesn't link it to a PTS. Even with the PTS, you'd need to link that to an IP

#

Although you're right, we can link IPs to users πŸ™‚

#

There's a reason the King service works the way it does though -- by entering your exact THM username into a file on the machine

inland sluice
#

You can link a PTY To an ip

#

you can link an ip to a user.

#

You can link a cmd to a pty

terse willow
#

It's impossible to tell who's king without it

#

How do you intend to link a command to a pty in real time? πŸ™‚

#

(Serious question -- if there's an answer to it, then it could be great for Koth)

inland sluice
#

i do something very close to this w/ graylog

#

The query shows the sessions, and the users. as for the linking a cmd to pty. have you ever seen top (V) or ps -auxfw

#

there is already a chain for processes parent/child

terse willow
#

And where exactly is that getting monitored (and with whose resources)?

inland sluice
#

Do you mean where I am doing graylog? please be more direct

terse willow
#

No, the process list

inland sluice
terse willow
#

Which is great, when you're on the machine

inland sluice
#

That would have to be part of a nanny script.

terse willow
#

It would be easy to do if these were all dockerised

#

Thing is, they're full VMs

#

So you're gonna have to exfiltrate that list somewhere, in real time

inland sluice
#

Preferably encrypted

#

Yes, you will. you will have to set up a loghost

#

BUT chances are, such a thing already exists

#

so application -> syslog err -> syslog host

#

it could be err, info, whatever level you specify

#

apt-get install auditd
auditctl -a task,always
ausearch -i -sc execve

#

at a system level, to trap the input

#

I am pretty sure nesting only goes one way though, you cannot log TO a container from host.

#

but that wouldn't serve much purpose anyhow

#

.... Our windows systems generate 18GB/day / host 😦

#

noisy boxes

#

@terse willow If you are earnestly looking for a way to apply it to your vm infrastructure, i can offer to help you with a way to integrate it

#

It should not matter, if its host, guest, lxc, docker, vagrant or ansible .. it should apply just the same (see the post setup cmds pasted above)

terse willow
#

Could well be worth speaking to @lusty portal about that -- it would be him that needed to set it up at the site side to receive any information. Skidy, is this type of logging something that's possible for Koth?

inland sluice
#

Anything is possible. (If you can coherently describe what you are trying to do, you are over halfway to doing it) you are setting up a kernel level daemon to monitor syslog, and trap activity in it. I think a better question is, is it DESIRED

fair adder
#

5 min food

#

please don't do patches im making notes for each room so i can sound like a pro

terse willow
#

Uh...

#

That's not really how public koth games work Elf...

quiet schooner
#

Elf

fair adder
#

yes

quiet schooner
fair adder
#

oh

#

yeah i forgot about tha

#

thanks

serene bay
#

Warmup Game starts in 9

forest bobcat
#

Ok!!!

#

anyone here?

serene bay
#

@forest bobcat were you bro ?

forest bobcat
#

shit

serene bay
#

waiting for your urandom

#

ey this is wrong

forest bobcat
#

hey!

serene bay
#

stop making fake king.txt

forest bobcat
#

reset!!!!

#

ok you win!

serene bay
#

nice if loosing then spam reset

#

@forest bobcat waiting for ya

serene bay
#

Public Game starting in 20

serene bay
patent forge
#

@serene bay I just woke up, give me 5 minutes

#

Time for a coffee and a cigarette and I’m there

serene bay
#

Yah I'll come later gotta finish some 100 episodes today πŸ™ƒ

fair adder
#

@patent forge jesus i walk up to play koth and every single time i see you

#

xD

patent forge
#

I NEED ANSWERS I DON'T NEED TO REST.

fair adder
#

well

#

i just rooted the box

#

@patent forge how does it feel when you can't do anything ?

patent forge
#

i'm working on 15065

remote lodge
#

Ν”

patent forge
#

but it feels good if people are good πŸ™‚

fair adder
#

even if you get shell you can't do anything xD

patent forge
#

yep, but i'm learning something new

#

i'm a total beginner, i started studying like 2 months ago

#

i think that is pretty normal beeing keep closed out from people who just knows passwords

#

i had to scan, find the image, extract data then moving on mysql, guessing password and so on

#

of course if i've alredy known creds, you would be the one out 😎

fair adder
#

i dont know passwords πŸ˜‚

patent forge
#

i'm talking about the other guy πŸ™‚

#

i had creds in 3 minutes, but he had already changed that

fair adder
#

no i changed them

#

πŸ˜‚

#

i locked everything up

patent forge
#

πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘

#

try the 15065 instead

fair adder
#

i mean

#

i can give you shell if you want

patent forge
#

@fair adder

fair adder
#

jesus

patent forge
#

πŸ™‚

fair adder
#

i was 2 busy chilling in bed to watch over you

#

smh

patent forge
#

wasn't everything patched?

#

even if you get shell you can't do anything xD
@fair adder

fair adder
#

it wasn't

#

i just locked everything up

#

yes

#

at that time

#

i was sitting and waiting for you to come

patent forge
#

now i'm waiting you ❀️

fair adder
#

i hate you πŸ™‚

#

i go sleep i can't handle your skills smh

patent forge
#

pleeeeeease

fair adder
#

idk how you are better lol

#

used the cmd thing on port 15065

#

im 2 lazy to remind my self what its called smh

patent forge
#

yep i did, but it needs a bit of js knowledge

fair adder
#

it does not

#

i used the cmd param a milion times on this box

patent forge
#

it's not usable from the web interface

#

or burp either

fair adder
#

ofc its not

#

i usualy use python3 requests module to post kekw

patent forge
#

so you need js knowledge to read the uri πŸ˜…

fair adder
#

eh ig

patent forge
#

yep, but the uri is obfuscated dude

fair adder
#

apperently i have a little bit of js knowlage

#

lololol

patent forge
#

maybe yes hahah

fair adder
#

πŸ˜‚

patent forge
#

(just nice competitivity, nothing against you)

#

i don't even know if i wrote "competitivity" right lol

fair adder
#

smh its alr you deserve to win anyway

#

just don't forget to get the flags

patent forge
#

smh its alr you deserve to win anyway
@fair adder yep, you are right XDD

#

found every way on this machine before getting in

fair adder
#

yeah its not very hard

#

carnage is the one i hate tho

serene bay
#

Tyler's ssh is borken

fair adder
#

tyler

serene bay
#

BeenReset thrice still so slow

fair adder
#

use nc for it

#

instant root shell

serene bay
#

wdym ?

fair adder
#

oh jesus you dont know πŸ˜‚

serene bay
#

ah i was thinking something else 🀣

fair adder
#

yeah tyler is preety easy

#

i used to think its hard until i tried it on my own

#

like without anybody

#

not very hard.

serene bay
#

it just needs your name in there then boom

fair adder
#

yep πŸ˜‚

serene bay
#

@fair adder you wanna come one ?

fair adder
#

@serene bay cant rn im busy fixing my pc so i can play league

serene bay
#

prioritiesπŸ€”

fair adder
#

rn no prioprities cuz it died..

patent forge
#

@fair adder won for 5 points

#

you really could no nothing btw, i've patched the post call

#

ggs btw

fair adder
#

yes but when you got king i had the shell

#

i could have killed you instantly if i wanted to anyway

#

but gg πŸ™‚

serene bay
#

@patent forge up ?

patent forge
#

i could have killed you instantly if i wanted to anyway
@fair adder you can kill pts's instantly

#

i don't think you had a top open (you dont.)

serene bay
patent forge
#

@serene bay glhf ❀️

serene bay
#

hf

#

@patent forge box down ?

patent forge
#

nope

#

ssh patched

#

there are other ways btw

serene bay
#

um but it's not even opening website

#

or ping reply too

patent forge
#

it's open

serene bay
#

internet trouble 😩

patent forge
#

no way 😭

serene bay
#

not even able to nc

#

@patent forge problem with box ?

#

imma leave you frustated me

patent forge
#

there is no problems with machine.

#

imma leave you frustated me
@serene bay i got frustrated too when peole resets machines just for the ssh key on shrek...

serene bay
#

my internet's damn slow rn idk

patent forge
#

@serene bay I know that feeling, i'm from Italy

#

i have a 4Mb/s connection lol

serene bay
#

😢

#

watching defcon on 144p 😬

lone gorge
lone gorge
#

who is zezuz ???*

bitter spire
#

lol

#

its finished

tropic dew
#

yes preatty much ahahah

#

reset just to troll kek

bitter spire
#

Good Game

livid turret
patent forge
#

is there a no-bruteforce way in hackers?

sturdy plank
#

dm me if u want to get more @patent forge

fair adder
#

2 waiting in KoH

patent forge
fair adder
grand ember
#

why would it be?

#

they're ordered by the time of addition

quiet schooner
#

they're ordered by the time of addition
@grand ember In reverse order

grand ember
#

πŸ˜’

nova tide
#

Remove Windows KEKWLUL

full grove
#

windows is malware

gusty cradle
#

πŸ‘€

abstract notch
sturdy plank
#

can developers of machines add new machine to it??

quiet schooner
#

THM can add new machines

#

When they are created

#

What?

sturdy plank
#

nothing just want to ask what problem with the machine

#

why it hasnt created

quiet schooner
#

What?

sturdy plank
#

nothing

patent forge
#

@quiet schooner @full grove I’m working on a room, but I would be glad to work on a KOTH room too

#

Is that possible?

glossy vessel
#

KOTH boxes are usually made by special creators with an admin approval

#

So I guess, If you really want to make a KOTH box, it's better to catch some admin (Dark for example) in the general chat and ask him directly

inland sluice
#

@sturdy plank You using my name in the koth ?

#

boggles

sturdy plank
#

@sturdy plank You using my name in the koth ?
@inland sluice wat u mean??

inland sluice
#

I have no clue how i got any points

sturdy plank
#

hmmmmmmmmmmmmm

#

maybe my fault

inland sluice
#

Thats why i was asking if you stuck my name in the root flag file or something πŸ˜‰

#

That + 3 king changes

patent forge
nova tide
#

New KoTH machine when? cri
Every month new machines will be added to the pool, this will help reduce the chances of playing the same machine repetitively.

gusty cradle
#

Soon or maybe soonℒ️ πŸ€”

tacit vale
#

If we get another KoTH machine before we get socks there is going to be anarchy in the streets.

nova tide
#

Others are not fun anymore πŸ€·β€β™‚οΈ
Cryillic is busy i think πŸ€”πŸ₯Ί

fair adder
winged charm
#

Whaaaaat

fair adder
#

@patent forge whats up?

patent forge
#

@fair adder πŸ‘€

fair adder
#

losing again?

#

alr alr im just gonna turn around and let you win again

#

haahha

patent forge
#

@fair adder i'm not playing lol

fair adder
#

oh

#

thank god

#

that means im gonna win

#

πŸ˜‚

patent forge
#

time to get root

fair adder
#

nononono

patent forge
#

luckily is hackers

#

bruteforcing takes time lol

fair adder
#

jesus

#

thank god

#

hahahaha

patent forge
#

have you changed the passwords?

fair adder
#

what do you think

patent forge
#

i think there might be one other password left unchanged

#

actually i'm pretty sure there is

fair adder
#

nah nah

#

no backdoor for you

patent forge
#

😦

#

unlucky

fair adder
fair adder
#

@patent forge feels good to win

#

haahah

patent forge
#

wow @austere wyvern a reset should of course let you win!

#

gg for your competitivity and for not beeing able to check cron jobs before asking for a machine reset ❀️

fair adder
#

wdym

full grove
#

so that's something that needs to be addressed eventually and is 100% a valid concern

#

replayability it difficult to implement, especially in a KOTH-On-Demand esq service

#

and I'll toss that into ideas chat πŸ™‚

quiet schooner
#

naming machines give possibility to just "google <machine name>". Just don't give name to machine can be a first step
@fast oyster That's been brought up. You can identify what machine it is immediately on getting your nmap results, so it doesn't change much

#

I mean

#

You just have a super quick table

#

if this port is open, it's Food etc

terse willow
#

Bear in mind there are also people like Naughty or Donuts around

#

Who can likely identify them all at a glance of the results

quiet schooner
#

I know I can

#

And I don't play KoTH

vast perch
#

Is there any harm in trying a game of KoTH if I know I dont have much experience

#

Just to see how it is

quiet schooner
#

2 of the KoTH boxes are available as standalone rooms

#

So I'd recommend that first

vast perch
#

Oh sweet

#

Where can I get to that

quiet schooner
vast perch
#

Thank you!

patent forge
#

I don't get KoTH goals, name of the machine is written and all writeup are on the net. people just google, follow walkthrough and patch everything ?
@fast oyster the only available writeups for koths (at least that I know) are the @stiff egret β€˜s, which tells you the easiest way of (at least) every machine

quiet schooner
#

There are actual writeups from the creator

#

Detailing every path

#

For two boxes.

patent forge
#

The point of koth is getting better with tools and techniques which you already know, getting more comfortable with your setup, and learn Linux sysadmin techniques also by other players

#

Oh. @trim sand

patent forge
#

I forgot about the hackers one, but this is the only one I knew

#

Also when I play I always try to find new ways in before using the one I already know

quiet schooner
#

Discord won't let me send a link that happens to have a channel name in, because it's broken. But the message above has a link that will show you the two rooms

patent forge
#

Yes I have to look for β€œkoth” in activities

#

Btw I got your point too

#

Sometimes is so annoying finding skiddies in KOTH

vagrant gull
#

@sudden condor gg

sudden condor
#

you too mate

dreamy wasp
#

@vagrant gull Ayyy

sudden condor
#

@sage kindle

sage kindle
#

hhahha

vagrant gull
#

Lol how did we all move over here

#

gg all

dreamy wasp
#

We're all in a Discord call hanging out

vagrant gull
#

Oh ok

#

How do you know each other

nova tide
#

We're all in a Discord call hanging out
@dreamy wasp where πŸ‘€
There is also a KOTH vc in this discord as well.

vagrant gull
#

Ok thought you meant privately

dreamy wasp
#

@nova tide We were in our own Discord call, thought we'd do a box with just the three of us and wound up joining this fella instead

#

Wanted to track him down on Discord for a gg message c:

#

Didn't know there was a koth vc, I joined the Discord about 2 minutes ago

nova tide
#

@nova tide We were in our own Discord call, thought we'd do a box with just the three of us and wound up joining this fella instead
@dreamy wasp oh the game where there were 4 australians playing tyler?? πŸ€”

vagrant gull
#

Yep

dreamy wasp
#

4 in total

nova tide
#

aah i just saw that game but i didn't knew any of them.. i was planning to ping someone to send me the invite link πŸ˜„

tepid hornet
#

and it's 2 hours initial instead on one

#

not me