#koth
1 messages Β· Page 11 of 1
im there
inside
com
come
I don't know how do i come inside the machine π
I started just now
reading writeups
yeah i gain a lot of knowledge in koth too it's my 2 weeks of playing koth i will just try to get 101 wins then stop for a month or 2 months cuz i will do some quest after
metasploit or searchploit
It's machine which have windows OS
@civic vortex sh-4.2# sudo systemctl restart sshd
Error: No space left on device
Warning: sshd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
i have faced this first time.What's that ?
not sure
just try systemctl daemon-reload
Are you inside?
secret
I know you are always inside
and playing with opponents not with machines
π€£
yeah I dont like to just load my stuff and set king, then go another game
you came using tigress ?
@civic vortex
root 2105 0.0 0.2 156700 5572 ? Ss 03:28 0:00 sshd: tigress [priv]
tigress 2123 0.0 0.1 157028 2768 ? S 03:28 0:00 _ sshd: tigress@notty what that mean ?
tigress@notty ?
maybe some leftover connection
just asking tigress@notty means
it means a ssh session connected with -T option to not spawn TTY
you can use man ssh to see the difference
Thanks for it
Gave +1 Rep to @civic vortex (current: #491 - 10)
By the way i know you always inside machine
ππ
Just waiting someone to do first move
Im done see u nextime lol
In 2weeks of playing koth i enjoyed it
So this is ctf i am curious about atleast i have now ideas
Thanks to those people i dmed when i need a explanation the community is helpful also giving some motivations π
Waiting for you brother
Bro is tryhackme's todayisnew xD
yeah thats funny
first time i have seen a lobby full of players
they play bulky for resetting i think
and they all left on last 30 seconds and joins another game in 30 seconds π€£
Yeah all accounts are owned by -> https://tryhackme.com/p/Tarvix
But I guess its a fake account too
I'm thinking the same
And on tyler machine they own machine and closed all ports only 9999 port is open and we can't reset becouse we need 5 accounts to be reset for resetting machine and i thought there are only 4 players that plays game and in lobby there are 10 π€£
and now king is Travix
yup some Anti-societies want to win games with fake account
Yeah you are right
but he is afraiding from you brother @civic vortex π€£π€£
nah he joined again, he just copied invite link and left lol
what a weirdo
by the way i have copied link to gane too
and there are only 2 peoples there you and he but there are 6 accounts π€£
i think we should fight he has 5 accounts so we also need 3 more accounts we both teams will controll game
nah it's a meaningless fight, he have 5 accounts so he can always reset
Im just gonna watch what hes doing
if i join and cann 3 more persons we will too have 5 accounts
it will be equally
yeah that's right too π
so you are making a honeypot for that bee π
I tried to hunt that travix and his dummies too they joined the room i created and left me alone when the game starts π₯²
Imagine he put so much effort just to win lol bet he is using firefox extension multi container so its easy to setup if you really want
But he solved boxes in each accnt because its all the same 0x4 level
who cares
noone paid here for solving games
@civic vortex I saw you firs time resetting machine π
is there no way other than ssh for shrek ?
yeah the machine crashed
No it's not crashed by the way
I closed the doors for you
but you just break the doorπ
This time IDK
I just play from 5 hours.So i just go .Bye brother
Is closing the ports allowed? π€
I mean closing door by changing ssh port
Not closing the port brother
It's just like riddle
π€£π€£
I was already in machine then it crashed, confirmed by couldnt ping it
Don't go on words.Feel them
IDK about it
its an old machine anyways
π
you can reset again
no big deals
nah didnt crash again
maybe my persistence script confilcts with your actions
IDK but after resetting the machine I don't do anything
how even it's possible
maybe your vpn freezing that time ?
welp it only happens on shrek and hogwarts constantly, not my VPN issue
Anyway leave it I have to go for dinner>Bye
lmao @alpine quarry rebooting machine again, havent seen him for a long time
He is playing 2-3x a day but different time
When you're all sleep hehe

Didn't he know you're there
Lol
Anyways i watched masco's youtube before when i was new playing koth he is good
I would just recommend h00dy's or matheuz's
I watched them also.
Hoody's 3-4 exploit in fireworks does not work for me I cried and scratch my head π€£
Fireworks so weird box but its challenging
Fireworks changes.
Does Fireworks have that mechanism for automatically generating boxes with different paths? I think this functionality is in business right?
Fireworks does load up different "settings" yeah, but even then I think it's 2 or 3.
Oh i understand
firefox is really good
better than chrome
It was 3 iirc
what is this? new room?
bro is just farming here
nothing to gain by just spamming boxes.
it gains the feeling of power and to be in control πͺ
do you heard about satisfaction π
this morning we had a 1v1 and you destroyed me π i learnd a lot and i enjoyed it π thank you
Gave +1 Rep to @honest beacon (current: #1494 - 2)
i had root for 20 sec i guess π
now im learning to draw filesystems to read-only faster than my gun π
yeah you are right brother
but , at first i just try to solve and patch the machine fully like changing ports and so many things and created so many thinhs.But, for now i just have 1 script that kills tty sessions amd you can always bypass it using ssh -T username@ip and as all know i don't use LKM's so if someone is inside machine so he can beat me.But,i think this help them to learn a lot when play against me .I just give them chance i use chattr only to protect king nowadays.So if someone just use walkthroughs can't understand concept untill they face some problems.If someone though someone is killing my shell everytime so that person has to think that he also can kill his shell or try to find another way to bypass it.So,it's just helping them. To understand how rhings are working
i remember when someone has change password for a user.so i decided to learn that thig.how to change passwd.someone change pkrts so i just make script to change port and i just understand concepts by playing that onlu
by the way i'm not spamming games brother.So i play upto 20-25 games everyday.so i will think about others and will join only 5-10 games a day and try to keep machine as natural as possible
Ot was earlier when i think about leaderboard.But now i don't play for leaderboard.Just play to learn.But, sorry if you think i'm spamming.
And also thanks for it.
But do you know a thing.If i stop myself for joining that games.Lobby will be closed due to insufficient players π€£Becouse everyone know if i will be inactive then other person come and join every gane
so nothing will change in my openion
but, thanks for realising me that,From tomorrow ownwords i just join maximum 10 games a day insted of 25-30
That's great brother.keep growing
Solve thm boxes guys
Thm will not listen to your rants π
If you paid come and join me solve this new box K2 im almost drained and 24hrs solving but im on my way to finish

That's my first best defense 2weeks ago when i was starting koth π you will learn each day.
There's a lot of resources over there to read, before i start playing koth i always read 5 sources that i saved. Also there are people here that will help you understand.
I saw you when i was new here in koth channel. We had the same rants before but dont be discourage just play and learn they will get tired so that hours you will practice and enhance your skills.
You're so good now bro π
@fair adder also we're the same before i also get pissed off. Like what the heck is this guys is like a bots. I tell you, you will not be as good as them but you will learn pretty soon some techniques that you can use.
Gave +1 Rep to @fossil helm (current: #2255 - 1)
Well, just wait until they make the all the machines like fireworks machine so that would be interesting and fun to play. THM koth is still beta but no offense their beta takes years π« π
Take the chance to play against players using rootkits to learn more (if you want) π
It's good when you play against good players, you try harder, and you learn more things by researching
did you play against me ?
I never used rootkits
i just use chattr at maximum protection for king.txt
and sometimes i just don't use it too π
But, if you think why always my terminal got killed.So you will grow π This happened to me earlier but then i realise how to play against it.So now.Untill corona comes we don't know how to face this situation.So, belive me if you really wanna face this and doing some great thing.You have to face a lot things and find other ways rather than blaming.I know you are right brother.KOTH should be improved and having some restriction too.But, we have to play as it is becouse, it doesn't give restrictions.So we have to face this to become good.Noone knows me before 40 days and even Thinktwice is new.But we both have same concept Learn by fun.So we just learn new things everyday rather than blaming anyone π
But, if everyone is not using rootkist.Then it should be improved π€£Becouse in my openion rootkit's seems cheating in my openion.According to me we just habe to patch machine not making machine ours by rootkit π€£But, still who cares Tryhavkme never reads feedbacks π€£So we have to play as it is π
You can count on one hand which Koth players who are still playing this game today use rootkits
and also count number of games played by them too brother.I'm not blaming anyone but,most of the game played by only 5 persons nowdays me,trevo,ch1,,bravosec and thinktwice
joint victory of all 5 is 136 victories and all other player have 20 victoriesπ
and this data is of only 4 days
So just think how annoying is this for new users
even they scared of joining public games
there should be a limit
in my openion
i have tell them so many suggestion at that place before 30 days.But, i thenk either they don't have time or they really doesn't care about it.
if you are a moderator please checkout my suggestions and think about it.The thing you think it has to be change just change or other than that leave it.
In the world of kung fu, speed determines the winner - Bruce Lee
π
@honest beacon you know it
Maybe when THM koth was new to the public i saw videos and streams 2 years ago yeah they enumerate and aim for flags so enjoyable to watch.
But now. What bruce lee said is applicable to that ctf koth π
So, we have to take break or give punches to opponents untill they surrender.
But, in both cases nothing will change untill Tryhackme Mod team don't do anything
π
On ch1, I reversed his rootkit, and made some notes on what each one did, I also recovered the original .ko with all the source code π
like this
I just wouldn't share it because I think it would be a mistake to do so with his rootkit in the koth chat, but I did a good analysis out of curiosity.
in the world of koth, its all about speed π
just make a variant and share jk lol
She : How much you can do for me?
He:I can own 10 account for wictory π€£
Travix : My efforts for winning.Created 10 accounts but, just a bit late so only joins 7 accounts π€£.
ThinkTwice : I'm lone wolf
ππ
why you guys use more than one account just play the game the way its ment to be played
tarvix is ββa bot, the 10 accounts are bots controlled by a single person which I really wanted to know, why this is not normal lol π
yeah we talked about that that guy a while ago lol
i am expecting he will reset
but he didnt
lol
me too just waiting for him to reset π€£π€£ Then i will report them all
If he is resetting against me.so he has to reset every minute.
So should we start a campain for making gane better ?
like creating #koth-Campain etc
If everyone raise voice we wil won.
I just tried alone everytime reported them.mailed them.But, who cares
Anyone is with me ?
So guys about this, I decided to share even if ch1 gets mad, at least to be more balanced against the other "normal" players, at least to let them know what ch1 does with his rootkit
And the summary of what some of the functions do
bruh c'mon u revealed the important part...
Let's keep everything balanced, many don't know how to create rootkits
I talked to a few people, and for other players with common techniques, I think it would be cool to let others know what they are dealing with, even if they don't know how to create rootkits
the module can be reversed and his secrets are revealed right... its even possible to get the full plain code
Yes, the kernel object that was leaked by that guy had anti reversing techniques, so I did (anti) anti-reversing and managed to recover the kernel object without having everything nulled
Do you think I should delete the kernel object and just leave the txt?
exactly u leaked his kit π
yeah thats the whole point im saying lol
sure
Nah, I haven't played a Koth game in a while, I only played a game a few days ago against that AI
if everyone has lkms koth will be a game of speed
And you think koth is currently not a game of speed? let's be honest, 59 minutes of king time on each machine...
This happens with other players too, in fact, it doesn't change anything
at least I'm trying to make the game more balanced, at least so other players know what they're dealing with and make their techniques stronger
still players use basic tricks mostly, if everyone gets the power of lkms its no fun anymore
well, I used LKM but mine was easily broken by many players
and do you think it's fair to play against an LKM that normal players can't even know what they're dealing with? just giving free win
yeah, u are supporting, but its also kinda harmful for players with lkms lol
well, players who use LKM are already at an advantage, so I don't see a problem balancing that
That's why i never use LKM's
im not talking about other players, but ig leaking literally the best technique possible (of another player) is bad for that player right...
this is just the txt of what each function does, you asked me to delete the kernel object with the src, and I did
i've spent months writing my kit for koth... and whats the point if someone else copies my code lol
if someone can create unbreakable lkm then he can again create more powerful lkm
It's not a question of copying code, it's a question of balancing the game and others knowing what they're facing, just using a rootkit gives you a huge advantage
yeah man, its all good, im just telling... LKMs are OP in koth games... so ig it should be limited for a while
yup
but the point is that is LKM legal ? I think it's chitting.We don't have to change anything means removing or adding binaries except chattr.So how LKM's are legal for KOTH ?
well if u look it in a broader view, its a skill issue of the players without kernel knowledge π
well, in koth's rules it doesn't say that using lkms/rootkits are prohibited, but on the other hand, the purpose of a rootkit is to change the default behavior of the system, to what you want, whether by hooking syscalls or hooking wrapper/ function
yup
so it's just changing whole system .So why it's legal
Yes, but the rules don't say they are prohibited, that's the point
I thought if I showed what the rootkit does, maybe players would have other ideas to make games more balanced
Do you think a beginner even know about rootkit
No it shouldn't be allowed in my openion
Definitely not
That's why koth is only for intermediate level players and above
not for beginners
lol fr
I mean, for you to play Koth your account needs to be as an intermediary
Yeah you are right but, rootkit is difficult for intermediate players too
Yes, I also agree with that, creating a rootkit is difficult even for those who know C
That's why I thought it would be cool to at least show what the rootkit does, so other players know what they're dealing with, to make it more balanced.
But, if rootkit is not allowed.Then the game will be more interactive.
it will definitely be more interactive, the point I want to make is that it is not in the rules that it is prohibited, but on the other hand, playing against good players like ch1, and others who have rootkits is good because you can research and understand more
search for other sides of breaking a rootkit, @broken pilot is one of them, the guy breaks rootkits out there π€£
Anyway, I think that's it, at least to make it a little more balanced, giving at least the minimum chance against common players
Here's my perspective on this, lkm's are very op and they force you to learn something new. I enjoy the challenge of trying to figure out a way to bypass them manually. But I can also see the perspective of newer players also, it tends to be a little unfair if you spam every game with a lkm.... Sure use a lkm for experienced players, but there's really no need for a lkm when you could beat the player with a simple chattr lock... 59 mins king for most games played using a rootkit does not show skill, in fact I believe that if rootkits were disabled for newer machines then some players wouldn't be able to farm the wins anymore and actually make it a fair fight... It would actually make koth more fun if it was a fair fight. Sure in the wild there are no rules like what koth has in place and you would need to know how to protect against lkm's or at least know how to detect them. At some point hooking everything that could potentially bypass a lkm for KOTH could be a little unfair and players may resort to playing dirty or breaking the rules...
Damn i sleep about 24hrs
And i read it all
But ch1 is hard to defeat in speed
He setup everything just like 2 click and boom
Here you go
Oh yes, ch1 I had dropped this LKM once in one of my last games on a machine to test if it worked, but in the end it just broke the machine so I left it aside π
I accepted already the faith of koth. And THM is not doing anything about it i accepted that also lol
Btw, anyone who wants to look more at the code, to understand how koth's rootkits work, feel free, it's cool to find his secondary account on the thm server too
btw it works
thats how koth is really equalized
just plug your username there
Fr
Anyways i will still use what my source made because he explained it to me what i need to know
Ch1 uses autopwn, every game he spends 59 minutes in the game, so if you enter before him, and disable module loading, he won't be able to beat you
yeah its true cause even if you root machine fastly you will unable to write on king
ig he maded that kingkit?
just skids
yup
@obsidian lark is good too making ring3 rootkits
he tolded me that he dont use he just be ready for all commands
all in one xd
well, if you combine it with sshpass and add all the commands you can even
i also started my rootkit you already know XD @steep agate
Oh nice!
but not that much good at hiding process
I'm helping a friend of mine's snapekit to make it more stealthy
Coming from mtz @light flame i agree π
i dont wanna use on koth i also love to learn from other people what they are using rather being using my it will a timewaste if u load it & make it more stronger
Maybe I'll do some ring3 rootkit projects for Windows, although I've been really enjoying seeing content about BYOVD in the last few days
vulnerable driver
I need that ring3 in windows π
yup
damne nice!!
@civic vortex I was making one for Windows
ring3
From what I saw, it was incredible
it's very cool
got 600 points in only 21 min in a machine lol
i only used attrib nothing extra still
Yeah bravo always won in windows also he is knowledgeable in windows
Windows is very good, I like it, exploring AD is very cool too
Speaking of AD, I'm getting ready for CRTP
all the best !!
try using icacls, it's good too
ik but i dont want to
sure
how my friend got an free thm premium wtf
I just fell inlove in internal pentest AD pivoting lateral movement
I really like it, I passed the CRTO using cobalt strike, full lateral movement, and common AD exploitation techniques
Took me 24hrs to that thm new K2
But i admit i read write ups started in middle camp
bloodhound is very good, it's a shame that a red ops, or in real life, makes a lot of noise, the SOC will clearly notice, and will take away your access/network π
but it's cool to train and learn
about AD, you would learn a lot in vulnlab
This chat is veering off the channel topic...
Oh, okay, sure
Yeah hopefully i can get crto too
Anyways go back to KOTH
Of course, well, my old code is there, I used it in my last game to see if it worked, but from what I remember some things were breaking, if you want feel free to study it π
The kernel object of ch1 is also there, just throw it into ghidra and analyze the functions although I made a summary
If you guys had rootkits already be sure you're fast as ch1 or else a lot of players also are fast
In the world of kung fu , speed determines the winner. - Bruce lee
New motto of KOTH
to be more balanced, of course, if ch1 loads his rootkit 25 seconds after the game loads it gets a little complicated so you have to be faster and disable LKM loading using `sudo sysctl -w kernel.modules_disabled=1
`
for that you have to be flash than him
Even I wasn't that fast π€£
he just enter into the machine & waits for approx 3 sec then he become king
this is not skill
at that time also u will not able to write
Imagine in SpaceJam i can do it in 10seconds only even 7 seconds i guess
But ch1 is still the winner
Lol
Imagine that how fast he is
there must be a command ready or a curl for that ||"backdoor" on port 3000||
Anyway, if you disable kernel module loading, it won't be able to beat you without LKM
mine is bad, please share some notes about yours after that
there are some bugs : /
the hooking method is bad
will see how you do it
It will be ok, bugs can be fixed
okay
I have a friend who is very good with ring3 rootkit for windows, he developed one a while ago
π ive tried it before but didnt work, will take a deeper look at it
ahh actually mine uses the Detours lib too
Nice, this lib is very good
I only use your tutorials in windows and i add some ideas to maintain my presence in the king but still not enough to those knowledgeable in windows machine
who are you hahaha
you and @steep agate are both hero of other people here
for a long time they rant about it lmfao
but ch1 is faster than brucelee then goodluck to those who will use 
there are only 4 machines you can beat him but he is not playing there also
is ch1, second account of him
it can only win on machines that have LKM compiled
ohh @gritty linden what the heck mah G
i see
true
he played sometimes
times back i alrdy make him lose there
tbh If someone released a koth LKM source code so that everyone no matter the skill level can use it, people will just autopwn every games in order to be the first to iimplant lol, good job @gritty linden or whoever you really are
he is ch1
why do you think it's him?
mtz said a while ago
π
but idk lol maybe and maybe its not him he said he will be having 10 games a day starting tomorrow
but weekends he will grind
mah G will be busy in school
π Im gonna play max 5 a day too, need to prepare for my certs
you guys should spam in every game so i will not be tempted to play i need to finish red teaming path this week π
nah it's boring for me
the biggest joy is to look at logs, but not much experienced players are playing recently
youre just letting others do the king while youre watching them
yes π
so that I can log their IP, username and behaviors in my DB
you are great
jokes aside this lkm works just plug your name there and compile it it didnt even compile before but it got fixed π
it also still needs some hooks cuz its bypassable you can see whats missing from this other rootkit and implement it
is he

Enjoy, and look at the functions of the ch1 rootkit, use the ghidra decompiler, basically just implement the functions of the ch1 rootkit on my old one
I had already given you the sample without the anti reversing trick, you must have already looked deeper into the ch1 rootkit, in fact, it cannot create one for the current kernel
yeah true
It's literally what he uses in every LKM spam game π€£
Yup
By the way, you use this code as much as you want, I'll even help make it stronger, I really don't care about koth anymore, if I can help people I'd be happy π
π
yeah we all can help by ping admins everyday
we have to tell them to change rules like limiting games per day upto 10 or like that how much wr want and if someone us joining anothwr game then. It souuldn't add in another game untill that game is over.
brother i habe told already there.They don't care too
it has been a month but nobody reply
I don't think that is the best option, that would just create more alt accounts. I don't think lkm's should be against the rules either. In fact I would argue that they actually helped me learn more. But maybe the possibility of some newer machines, where the ability to load kernel modules is disabled by default... That could actually help balance out the games. Idk just brainstorming...
I only know rootkit before as virus on my pc but when i played koth and also when i entered to mtz channel i slowly understand the use also it can be use both in danger and for fun ( educational )
I don't think LKMs should be allowed in, Well if "Pros" wants to have fun games and use LKMs why not have there own categories ig, The down side of allowing the rootkits is when a newer player joins they are not going to have a good experience learning aside but frustration is not a good thing.
It should be played how it was designed to be just sayin'
That's the problem cuz koth now has fewer players even no opponents
It's caused by rootkits and using autopwn Sir.
when a newbie tries, ofc they gonna look at writeups.
50/50 also machines are old and the same aside from fireworks
It's happening same like htb bg, slowly fading away to improve it.
It's game and game should be fair.
Yeah that is why thm should do something on it. Newer machine
Newer Machines* + No Writeups + Fair games + More content.
Tiers for the users might help
Easy - Hard
So OGs can have fun with rootkits while newbies can work around to learn KoTH structure.
Or remove all the old machines disable loading rootkits.
This is one of the thing.
Well, a lot learnt writing rootkits but still bad for the person who just started playing for the first time.
There will be a lot of changes should be done thm should think the pros and cons to make that koth fair
Looking at the current state of platform itself, company is putting their best work into making more updated and improved content.
So fixing KoTH right now is kinda of a hard side.
As community also pushing rooms on to platform for public, it makes a lot harder to manage Stuff.
I and many other players have already made themselves available to create rooms completely for free, but the reality is that koth doesn't bring "money"
for business , it doesnβt make sense
That's the point.
It doesn't give both user and platform much, other then user having fun (which not really) and platform having user base for KoTH.
yeah
It's just a "feature"
I believe this is the best choice in keeping the game alive
It shouldnβt be allowed to give everyone a fair chance and not give anyone an auto win button
okay but everyone joins for leaderboard in my openion. So, if games will be in limit.Then, players play less games snd new olayersstarts play sgain.
If your forensic skills is not good as @civic vortex then goodluck looking for rootkits like ch1 is using, Bravo did not learn it in just a month. For those beginners like me who will play koth just enjoy looking for flags and practice exploiting the machine or avoid playing koth until THM will do something about it. Better to pawn those boxes in CTF category or do a THM path.

Guys should join @steep agate 's rootkit research server in his profile description, it helped me a lot at rootkit forensics
For now there's nothing we can do the koth is being played in that way.
How to play
Join a lobby with up to 10 players
When everyone is ready, you'll get a machines IP address
Enumerate and hack into the machine
Add your TryHackMe username to /root/king.txt
Patch the machines vulnerabilities to maintain your access
The longer you're king, the more points you get
Hunt for flags around the system for extra points
After 60 minutes, the game ends
Rules
To prevent cheating and ensure this game is realistic, everyone must the follow the rules:
The machine should not be made unavailable (shutdown/reboot, firewall/iptables rules to stop all communication, all services terminated, machine botching etc).
Only stop a service if it can't be patched any other way. Services should remain available for βgenuine users of the boxβ if at all possible. Changing ports of services is allowed. (Try to keep the machines in as original state as possible.)
No modifying/removing flags or their permissions (if any flag is everyone readable, it should be left like that).
Do not attack, modify or stop the service(king/KoTH service) on 9999 (this includes a 'KoTH' binary placed by default in /root and things like changing service locations.)
Any sort of DoS against the machine.
No attacking other users (you have no reason to attempt any recon on any IP other than the one given to you on the game page).
Scripts that automatically hack(autopwns) and/or harden the machine are forbidden.
Do NOT delete system binaries (except chattr) or change executable permissions on them (or their directory).
Using alt/dummy accounts to control resets is not allowed.
Resets should only be used if the target has been broken or otherwise rendered unusable; resets shouldn't be used to prevent users from gaining access.
If one vulnerability is patch then don't spam resets, there are 4-5 methods to gain foothold in every machine.
Games are moderated, and failure to abide by the rules will result in a game and/or site ban.
Nice! The idea is that, to help people who want to understand more about rootkits, share research, ideas, content, codes, tutorials, etc.
or make a room in THM. A walkthrough in Rootkit by Matheuz.
sheesh xD
It would be a good idea, since what I see most is people teaching how to use chkrootkit and rkhunter π
@near lily
Lets gooo
chkrootkit and rkhunter are obsolete, it's a joke when it comes to getting even minimally decent rootkits
?
it would be good if you submit a room entry here in THM talking about beginner to intermidiate knowledge in rootkits
i totally agree with this
π
not only about that, but how to detect some malware would also be cool
in my advice u focus on kernel base rootkits to detect , it will be more better than a userland cause user land rootkits bypass are are laready shown in many sites but not for proper kernel based rootkits bypass create for that it will be too good
Question: I have stable connection in the beginning, but once a player gains acces to king.txt I start getting distruptions to my ssh connection (freezes). Is this not against the rules (blocking user with firewall or some other method)? π€
This has already happened to me, but it wasn't because of rootkits... it was my VPN
yeah
Hmm.. I'll monitor my VPN then (i'll ping another IP on the same network to confirm it's not the VPN issue).
this would be a long and interesting walkthrough if ever @steep agate will make a THM room for it
my honest answer to his curiosity
Is this from DM's or another server?
koth
Maybe I'll do that, it would be cool at HTB because they pay in dollars there, and they pay very well
but it could be at THM too, a room like that would be cool, I don't think there is one
if you search rootkit, there are rooms poping up but i dont think it explains about rootkits well like in your dc channel so it's better if it is coming from you who focuses on it.
Yeah brother, waiting for that π
yeah
Most of what I see is just teaching how to use rkhunter and chkrootkit lol
can you provide links for good one.
this ch1 guy never gives anyone a chance
You can play now i told him to sleep π΄ π
π he is flash for a reason
@steep agate https://github.com/Trevohack/R0DDY
Oh nice! It looks cool, but from what I saw in src, it doesn't work on kernels above 5/6x, there are some functions in it that make it impossible to use on kernels like that, but congratulations, good project
yup i mentioned it only works for 4.x kernels
oh, okay i see now
imagine using roddy to @obsidian lark later in koth
im faster xD
run barry run
imagine saying against ch1
I will send it here anyway
nag dont leak
I will leak

π
Aww now I"m verified -- I didn't know how to get in here
You can find Ch1 in this group.
#koth-voice-chat
Ask him what tools he use in KOTH.
He was active till August.
just lkm rootkit
@fast galleon
How we doing?
just use sudo sysctl -w kernel.modules_disabled=1 very fast
oh we sucked lmao
because basically he rooted and loads the lkm rootkit in 30 seconds or less as soon as the machine starts, so you will have to be faster and run this @plush jetty @fast galleon
Potato, I used ms17_010_psexec on 445
We should be very very fast then.π
yeah
it does all this in a matter of 10 seconds or 20 as soon as the machine starts up, so you guys will really have to be the flash π€£
i was trying get in through LDAP.
Got credentials, didnt knew where i can spray them
I'm going to go out and try that way -- I am not as familiar with using LDAP
I need to read my ejpt material again sheesh
Or we need to reset the machine whenerver ch1 enters then disable the kernel module just after that.
Thanks! I'm nervous haha
It could also be lol, or else you literally have to be the flash, because literally as soon as the machine starts, it doesn't even pass 15 seconds properly, and it has already loaded the lkm rootkit, so you have to be faster than it, to disable module loading
Or we should keep DDOSing his ip until we get into the machine.π
Nah, that would be against the rules
Break the rules for those who are breaking the rules.π
were you able to get in via LDAP? I couldn't get it
Who is Ch1?
He set the King almost immediately and I can't find anyway to modify the king.txt file -_-
He is the THM server owner.π
I'm not seasoned enough π¦ Am I able to stop this next time without tools like rhunter and chkrootkit?
rkhunter and chkrootkit are easily bypassable, and they also only detect by patterns/rootkits that have a signature in your database, and that are known, they are obsolete tools, not recommended to be used nowadays
Thanks, I appreciate the insight. Do you do videos/streams or anything? I'd like to see how to deal with a rootkit on THM KOTH if it exists.
Gave +1 Rep to @steep agate (current: #117 - 63)
Yes, I have a YouTube channel where I've made Koth videos, and there's also my discord server focused on rootkits/malware
He is not breaking the rules π
It's THM's fault and they didn't do anything on it
I will tell you in koth to deal it with him
In koth only.
Do it as fast as you can 3 seconds π
If you cannot do that you have no chance against him in 6 machines
This is useful in other players but with ch1 this will not work because he can load his lkm in just 5 seconds.
Just read the github of @steep agate a lot of tips there for koth that may lead you to win in koth
WITHOUT ch1 lill
Lol
And w/o @obsidian lark and @civic vortex π
Yeah THM should add this restriction in rule as well.
hop in public lets play i will not use rootkit
@civic vortex has joined so that's a diff story 
nah im afk
still need some hooks but you can work with it
also some hooks there need to be fixed
@steep agate we need that rootkit room already buddy! I have a feeling it would be fire
@swift laurel you are killing me mate
π
Ahah I was having a good laugh
you sure did! Got king and everything. Doesn't get any better!
I just killed your process when I noticed you robbed me of king lol
and you changed the passwords. 
I removed the pub key from authorized_keys but didnt changed any password
thanks for the explanation. π
learned a lot
my pleasure
DM?
Feel free to do so!
yeah
But if ch1 does load his rootkit 10 seconds after machine starts, then he basically use autopwn?
There is no machine that he can root in 10 seconds, the fastest machine to root is Tyler if I remember well because it's basically rce and oneliner privesc
I disagree he is experienced player already
THM just said the machines has 3-4 vulns
u can get into a box under 10 secs
Like which one? I don't remember any box like that
Yeah I know lol, I did them way before ch1 but as I remember (if boxes didn't change) there is no box that u can root in less than 10sec
try to exploit other ports
Get into yes, like Tyler but not root
Uh?
But we are not talking about ports lol, I did all thm machines and exploited every vulns that they had, I remember which box was the fastest to access or root
So like I said, either he's using autopwn or boxes changed (or a recent exploit can root them all, like regreSSHion but I don't think so)
prepare everything and when the clock starts
he is weak in 4 machines but idk if that is the term maybe if he will learn that 4 machines he will surely also win there
i am relatively new to CTF and cyber security.
I just played KOTH and people seem to root the machine pretty quickly. while i am struggling to get a foothold.
is it just pure skill and practice or are there any tools/scripts? π€
It is common that it takes time to pwn machines in your first 50 games
After that, if you take good notes, you can just copy paste from your snippets
Because you dont want to do the same thing over again (Except copy pasting)
At this stage, the main thing to focus on is the techniques to defend king and remain persistence
Some people just copy commands from others' writeup and spam rootkits written by others without knowing how it works, which means they gain nothing but hollowness
Thanks @civic vortex for the clarification. π
i was really puzzled how fast some players captured the king.
now, i know that I have to practice more.
Gave +1 Rep to @civic vortex (current: #460 - 11)
Another guy who is breaking the rule lol
- Game : https://tryhackme.com/games/koth/110209
- Player Profile : https://tryhackme.com/r/p/ThisizAmen
- Username : ThisizAmen
- User ip : 10.17.122.117
nvm he doesnt know the rules : V, but looking at rules is a must before doing anything in real life tho
π
I was once same as you about a month ago
I keep researching, also i spent 1 week solving all the box before
The h1hard really gave me hardtime until now i can root it but it takes me time
practice and research
I realized after all the loose the clue is just right in front of me reading the how to play
Same as other here im really pissed off to ch1 before
LOL he still does it after reset, cringe
Imagine you doin enumeration then someone is the king already and you cannot do anything about it.
i was playing the previous machine. suddenly machine returns 403 error. π
cheating 100%
That's why i read the how to play and I understand lol
I talked to ch1 he also experienced same as us before wayback matheuz and others are playing. Until he did some steps to improved his playing lmfao π i can say he is not using autopawns or what but idk maybe who knows.
As far as i know he is just preparing everything
Bro's desperate π₯²
I thought there was nothing worse than what Zypra was doing, making dummies to invade the machine and abusing the reset until he wins. But there is still something worse πͺ
i was able to capture the king in "production"
and I commented
#skidy ALL=(root) SETENV:NOPASSWD: /usr/bin/git *, /usr/bin/chattr
so other players can not gain root access as I did. thats not against the rules. right? π
Its fine
how do we get the solutions for the koth we played?
There is some "writeups" around github.
Nothing official from THM, as where would the fun in that be?
when you 1337 them π
That should be fine.
Google is your friend otherwise @stiff egret is:
||https://github.com/holmes-py/King-of-the-hill||
I wanna start trying out KOTH what rooms should I do to get an idea of what to do after scanning the targets
Other than the obvious metasploit rooms, Iβm looking for more techniques
I would suggest studying the lockheed martin killchain, and generally speaking, following the learning path roadmap, however, the choice of how to proceed is yours.
im waiting for you to get the king. i am @civic vortex 2.0
jk lol
nah I learnt that from matheuz and f1nipe π
call me matheuz 2.0
call me mtz 5.0 
good game
Thank you very much I will heed your advice oh wise one ππ»ββοΈ
Gave +1 Rep to @true valve (current: #696 - 6)
who is 3 and 4?
Lately they're inactive i moved my place into 10th lol
Im so poor in forensics im trying to read some articles from mtz's dc
3 me
https://github.com/MatheuZSecurity/detect-lkm-rootkit-cheatsheet
i released that
I'll have a read! Thanks man
Gave +1 Rep to @steep agate (current: #118 - 64)
the image is amazing ahah
nice
halloween theme π€£
sheesh save save
what do you use -p argument for?
that should be sudo sysctl -p
yeah, but what's that for?
the kernel parameters defined in the specified configuration file will be applied immediately without requiring a reboot
@civic vortex did you just put Moetez name right?
if anyone will command sudo sysctl -w kernel.modules_disabled=1
w/o sudo sysctl -p
can still load rootkit
if im not mistaken
nah, that immediately writes 1 to the config file in /proc
i tried it before, and it does block rootkit loading
i had this 4 lol
sudo sysctl -w kernel.modules_disabled=1
sudo sysctl -w kernel.randomize_va_space=2
sysctl kernel.ftrace_enabled=0
sudo sysctl -p
i just added ftrace when i read mtz article lol
others should execute these as fast as they can if they don't want their opponents to load rootkits
as far as i played koth i can say in current koth players there is no one using autopawns
at first i accused ch1 before but i found at that mah g is just preparing everything but yeah he uses rootkit lol
but not autopawn
anyone wanna private koth without rootkit? the only defense rule is: only patch the flaws to get in
like "chill"
but you (?)
i will show you when im in the root that i executed these
1
or if youre the first
just do it
nice g sir see ya later im gonna finish redteaming path before subs end in 31 lol
i slipt 2 times in the root part so i thought you were there already π
no
i am struggling on the web servers, i found useless stuff
its my 3rd koth, i dont know the box yet
you got root in 5 min
you guys dont even enumerate, you already know creds
Enumeration age is already over
Somehow it took me 1week to figure out h1hard machine
And i practice it lol
If thm will rebirth the koth then enumeration is the key again
from my experience i know its possible to automate the process of creating vm with differents creds and (vulnerable)services... i know its possible but i have no clue how hard is it to implement that into koth
for now, if i want to try hard, i just have to copy paste all the writeups for the known rooms, and just speed run a rootkit into it
right ?
a few have random passwords/ports
yes right
My first 1st week in thm koth i was like enumerating and doing some hakkaman stuff on my keyboard i just figured out how to play it. That was also what the others and the retired players was doing.
wp, i'll stick on solo learning for now, im too slow for thoses shenanigans 
Maybe one day i'll tryhard koth
If you read the past messages here you see a lot of brucelee memes π
@rare pelican π
But still the essence if the game is to make you learn these advance stuff also in forensic side
My defense a while ago was just easy to @civic vortex
He always kick my ass also @obsidian lark
They had good forensic skills
101% right
It's cool to play against people who use rootkits, you learn a lot
Lucky for those who have already had the chance to play against those who use rootkits, and use this to their advantage to learn more about malware, forensics, etc.
Yeah that is why you will be push to learn more if you will play koth with the experienced π
Need to solidify the forensics and defensive in the king
If you play koth with the experienced players and you do enumeration etc nah you'll lose because they will jump straight in the king.
Now in the king is the real battle.
Like i said it took me week to realize 4 5 6 lol
I did like this in my first days in koth because i feel like im super hakkaman but i always lose why i got many flags π later did i know that the video is 1yr ago and the new meta of playing is not that anymore π
#pentesting #ctf #hacking #metasploit #kalilinux #tryhackme #kingofthehill
Hey whatβs up? In this video series, I tell the story of my first King of the Hill challenge on try hack me (koth).
π π₯ Become a pentester
https://academy.thehackerish.com/p/from-zero-to-signing-your-first-ethical-hacker-job?utm_source=social&utm_medium=youtube&utm_ca...
you were the guy who kicked my ass damn
you mean by this? lol
sorry i just practicing to use it its for @civic vortex but he is so stealthy he is hard to find inside the machine π
I protect my tty too, so it wont work π
ik ik you will miss someday π₯Ά
u think that
this is for you
π
@uneven sedge ^^^ ASCII art for your next room.
koth having bug since yesterday
after the countdown of 1 minute before it starts
for 1 minute need to refresh 10x
this is very old bug
Like I said, this has been happening for a long time
didn't start yesterday
ahh when would it be fix lol
other players have already sent some reports about bugs in koth, and usually nothing happens
I hope so too, even if I haven't played koth since a while ago
the late comers will be able to join lol
because of that
you can leave also but you can still go back to the lobby like 1min
some bugs happened, this is one of them
Hmmmm
,____
|---.\
___ | ` __.....__
/ .-\ ./= .' ':,
| |"|_/\/| / __ _ __ \\
; |-;| /_| | |_)) || |_))||
/ \_| |/ \ | | | \\ || | || w00t w00t!@!@!@!
/ \/\( | | || _,
| / |` ) | | Sysadmin ||.-(_{}
/ \ _/ | | DEAD |/ `
/--._/ \ | \\| {}_)-,||
`/|) | / \\;/,,;;;;;;;,\\|//,
/ | | .;;;;;;;;;;;;;;;;,
.' | | \,;;;;;;;;;;;;;;;;,//
/ \ | \\;;;;;;;;;;;;;;;;,//
(_.-.__.__./ / ,\';;;;;;;;;;;;;;;;'
```
Nooo, the ascii was buggy here
i need that ascii
oh I didn't mean that literally
it was another CTF

can anyone hop on koth?
had a round with 4 people last night and someone disbabled ssh π
still won cause that locked everyone out of the box and no one else voted for a reset
@civic vortex we are in the wrong channel lmfao
π
upon my forensic invistigation i found myself dumb

it must be some super userland been used there? hmmm

i hope it was the two of your process i kicked a while ago with this or nah 
nah
lmfao
https://tryhackme.com/r/p/HckN1L this mf removes all the binaries from the machine
he is mf
kid
give them win so they will not do that lol
they are kids bro
funny to see that nothing changed 
yea lol
@rare pelican come 2 games
This is his ip 10.17.31.123, just use a while loop to kick him out the machine
He should put what he is capable of in koth in his profile too lol
hes living in a sweet dream 
He suddenly dmed me this π₯²
I waited for him in spacejam 2 mins
The next game i didn't give him the chance lol
More than a year playing koth and was beamed many times by a 1 month old player
@rare pelican is a 15 yr old boy. He just said to a 15 yr old that he is playing koth for fun idk which of them are more mature in thinking lol
He is just afraid or dont want to lose the game. I lost so many times i just accepted it and didnt do any stupid things inside the machine.
Every time i lose, I make sure i take notes of how to fix the issue next time
that's what learning is
Give me a chance to use my ascii to you
then you gotta be fast 
ik i have too his ip
so did mtz told her to remove all the binaires XD'
i also won from him in next match
revenge is revenge
@rare pelican
hehe
Imagine when someone loose and votes to reset the machine lol
Thatswhy koth isn't fun anymore.
bro lol
Thm should limit the 1 reset per player only
yea
someone reset the machine here in the end time https://tryhackme.com/games/koth/111725
lol
if you will play with him then he jumps into the game with 2 accnts then he will spam reset like he did to me yesterday π€‘
i play with them manier times
they just reset
No if you dethroned him in the king that is when he play stupid
oh i see
lol but why do we care
game is game
fun is fun
Fr
Game is game and many cried lol
bcz they dont even bothr to try
what about me ?
ou someone rn in game?
come
Guys just a question for koth, how can I become king because I had most points And some other guy was king with less point
becoming king is not connected to points in that way.
You write your name in king.txt, and you gain 10 points by the minute. The longer the name is in the file, the more points you get.
but if someone submitted a lot of flags it is possible they might have more points than you do at one point, even if you are king.
Mr.Holmes, You have to get access to put your name in king.text, correct?
yes, because you need to have root permissions to write to the /root/king.txt file
Thanks Mr.Holmes
Thinktwice how did you get the flags?
Enumerate it inside the machine
flag.txt root.txt user.txt just find it
You need to have root access so you can find flags in other directories. Also there are 1 command to execute to have flags just search for what command is that. Some machines you can find flags on the website itself , in mysql etc.
In windows it just a 1 command you can have all flags already.
@obsidian lark https://github.com/MatheuZSecurity/Koth-TryHackMe-Tricks
@marsh cobalt
Thinktwice, thanks for the info.
That all happends After you get initial access, initial access is my issue.
In that case you'd want to practice more on Easy/Medium boxes on platform.
Challenge rooms*
Mr,Homes, thank you for the advice.
Hi !
Probably consider how we word things, ey? @civic vortex
That message is not at all appropriate.
Please report all KoTH rule breakers to support@tryhackme.com and refrain from calling users names. This is your only warning, you may be removed if this happens again.
https://koth.guru/ Just in Case Someone Don't know!
?
Srry if may sound rude but...
I guess thm should also practice answer some email/s
I did just skipped the most important part of red teaming the ad section because of the broken network
The reset has been spammed by other room that is same network with AD section
That is why players are more preferred rant here in dc more than in emails cuz the staffs are active here
If i report this guy on email will thm do an action to this?
Luckily just had 5 players he cannot do shit on resets
I gave them time to do the king so they will not complain.
Bruhh whats the entry point for Hogwarts challenge its impossible not getting anywhere near
Try scanning for -p-
Incase you're aware about the Hogwarts castle Stairs in Harry Potter not needed for this, just side info.
The ports and services juggle. You might want to do through scans before you start testing.
I recommend rustscan to get ports and then do a -sCV to check what's running where.
is hogwarts designed that you cant wget and curl?
He maybe referring to this match
I didn't change creds i just let them in cuz im testing some alternative defense in hogwarts
There are some restrictions in the box.
im here :p
Thinktwice did you use mount in space jam?
Nope πΆβπ«οΈ
How did you do it? Can you teach me?
Are you surprised that i bypassed you π
My time was short cuz im reading web funda path a while ago lol
its fun to play with @fossil helm and @leaden basin , sometimes they let me to take the king but later they stole it easily lol
steal it from me*
Yeaaa
Yeah I didn't even know what to do
We're the same im new also.
@fossil helm what did you do the the filesystem lol
Where?
in the root folder I couldn't do anything. It said it was a readonly filesystem.
umount -l /root
umount -l /root/king.txt
said /root wasn't mounted
I think he was using a script or something but it appears again when I use "mount"
check the mount
mount |grep proc
probably some script using while to mount (btw, this can end up breaking the machine on some occasions)
Also you're MatheuZSecurity right? found your github through all this madness lol. great resource
Thanks
Gave +1 Rep to @spice mason (current: #2357 - 1)
π
It is just a 3 line command
I just found it in other players while looking at what they do then i just add something
i just like placing some funni sliver implants and hide away after chattr'ing king
maybe some tty trolling sometimes

I did it also to glutto. I dont know what he is using it's some loop that is my first time to see
if you are "hiding" using mount, it is not the best trick to use hehe
not hiding with mount, usually playing around with funni ttps i see in the wild
Do you say rootkit?
nope, rootkits feel like (and probably are) cheating in koth
because these are the two best known ways
you can try to do something like enter in ssh without tty, but even then you are easily discovered
and to be fair most of what i see on the linux side at work is just RW deployment and exfil
but have seen some silly persistence
Just disable them right away
But you cant do that to ch1 lol
Is like he is advance in 1 min lol
Nah, these techniques are silly
It's a shame that practically the best players I've ever played against stopped playing, btw, it gets tiring at some point hehe
You could say that maintaining persistence with a kernel thread in koth is really OP, with the process in state D
as a blue teamer I do want to do koth more just always forget
and then
hide this process
Furthermore, I have never seen anyone on Koth who could hide 100%, even from the userland, even in the "real world".
hiding processes is fun, though i prefer beaconing services and have an idea for some .so hijacking shenanigans
It's a shame they can both be found/detected, bypassed and removed very easily
true, still fun though 
they aren't forbidden so it's not cheating FYI
now im playing with someone on production machine. everytime i be the king he reset the machine
is that legal ? game has 2 players only he did reset more than 2 times
Name of the player
rootkit!!!!!!!
who is that
lmao this is funny π
Artisan73
That's the problem in 1 on 1 with randoms
yes brother
try to find new ssh port.Changing ports are allowed by the way
That's good brother you found new port
how about to bring my alt next time if 1v1
careful you might get banned by mods
youre not allowed to say that they are dirt* players or mention their name
Please don't spread false rumours about the moderation team, after all, you're still here.
sir yes sir
Bring it if the player is suspecious or does have history of abusing reset button.
Damn i about to play but i saw the history and Mah G is there
Wait imma let him sleep so we can play lmfao π€£
I got 10+ people dmed me on how to defend the king what did I do
Im so kind so i answered them all with @steep agate github on how to play koth as a start the rest is their own research
