Noticed Something, Probably not Useful

Have you ever tried (Ab)using the query protocol?

  • I've Just used YATQA

    Votes: 2 22.2%
  • Yes

    Votes: 5 55.6%
  • No

    Votes: 2 22.2%

  • Total voters
    9

Qraktzyl

Retired Staff
Contributor
Nov 2, 2015
997
723
161
The TS itself crashed after 200 connections within a second or so SUCCESSFUL. So what I am saying is try focus on connections/second and not 1million+ queries over an hour :)
I understand, but right now i'm connecting from my home with this client and my OVH server connection > home connection. (OVH server can take way more queries than my home connection can do/send)
 

shockli

Contributor
Jan 29, 2016
243
194
111
It's not something to worry about, at this current moment it's not something concrete yet. And from the looks of it, an attacker will need login credentials to trigger this.

However, It is still something unusual that may lead us to more dangerous vulnerabilities.

-Derp
Thanks. I expect the rest of this thread to continue with @0x0539 and @Qraktzyl posting non-related stuff but I got my point across :)
 

Qraktzyl

Retired Staff
Contributor
Nov 2, 2015
997
723
161
I'm just wondering how you have a 96 cores server cluster cause I'm jealous. It is unrelated but related at the same time.
 

shockli

Contributor
Jan 29, 2016
243
194
111
I understand, but right now i'm connecting from my home with this client and my OVH server connection > home connection. (OVH server can take way more queries than my home connection can do/send)
Ok awesome! Keep me updated, try different stuff and all. I mentioned how I did it but it might work (maybe even better) if you try different ways, for example some have logins, others join channel, some set nick, some just be like 2 million join in one second, etc.. :)
 

shockli

Contributor
Jan 29, 2016
243
194
111
I'm just wondering how you have a 96 cores server cluster cause I'm jealous. It is unrelated but related at the same time.
It's a physical 4 core machine with 24 logical cores I think, not a cluster, cluster's are limited by networking capabilities and I'd need a major 100gbit/s+ tunnel to do that.
 

0x0539

Retired Staff
Contributor
Jan 30, 2016
1,334
1,146
254
2mn21t.jpg
 

Derp

Retired Staff
Contributor
Apr 30, 2015
933
1,014
217
They shit-talkin about us.

Leave me out of this, I don't want to get in between you guys, and skokk's "sexy hairy legs" :p :p :p

x)

(Assuming that was directed to me and skokk, if not, report this to qraktzyl <3)
 

shockli

Contributor
Jan 29, 2016
243
194
111
So I have partially replicated it on my computer via a vLAN I quickly set up. Host is running at gbit/s and attacker is running at 100mbit/s. Server freezes for a few seconds to all users (3 real users speaking), but recovers afterwards. While 50 connections at once is a lot different that what I did do, this is definitely showing possibility as it seems to bypass the query whitelist and the ban on my IP only seems to get activated after all my clients have connected anyways. Check image below :) - Also, @Derp You might find it interesting that the server reports incorrect clients AND query information. There are only 3 actual clients.

haxxx.png
 

shockli

Contributor
Jan 29, 2016
243
194
111
So I have partially replicated it on my computer via a vLAN I quickly set up. Host is running at gbit/s and attacker is running at 100mbit/s. Server freezes for a few seconds to all users (3 real users speaking), but recovers afterwards. While 50 connections at once is a lot different that what I did do, this is definitely showing possibility as it seems to bypass the query whitelist and the ban on my IP only seems to get activated after all my clients have connected anyways. Check image below :) - Also, @Derp You might find it interesting that the server reports incorrect clients AND query information. There are only 3 actual clients.

View attachment 120
I will test this on 3.11.4 later, which might be even easier to break.
 

0x0539

Retired Staff
Contributor
Jan 30, 2016
1,334
1,146
254
So I have partially replicated it on my computer via a vLAN I quickly set up. Host is running at gbit/s and attacker is running at 100mbit/s. Server freezes for a few seconds to all users (3 real users speaking), but recovers afterwards. While 50 connections at once is a lot different that what I did do, this is definitely showing possibility as it seems to bypass the query whitelist and the ban on my IP only seems to get activated after all my clients have connected anyways. Check image below :) - Also, @Derp You might find it interesting that the server reports incorrect clients AND query information. There are only 3 actual clients.

View attachment 120
I like where this is going with the "incorrect clients / query information"
 

Derp

Retired Staff
Contributor
Apr 30, 2015
933
1,014
217
This means the server isn't propperly handling multiple connection attempts! Maybe leading to memory corruption or possible leaks, breaking it's stability.

Something we definitely need to check. I'll have all this information gathered in a dev thread.

Thank you.
 

shockli

Contributor
Jan 29, 2016
243
194
111
This means the server isn't propperly handling multiple connection attempts! Maybe leading to memory corruption or possible leaks, breaking it's stability.

Something we definitely need to check. I'll have all this information gathered in a dev thread.

Thank you.
It is something that needs to be looked at. If you are to connect to the server via YATQA while such an attack is running (My current laptop can only do about 200 simultaneous connections, I'll need to recode this script to actually be effective), the information fed to YATQA is correct while to the clients is wrong. In some (1/8 current testing) cases the client is also not able to connect because of a slot limit, where the client could be fed the "incorrect" information.
 
Top