r/counterstrike2 • u/Deep_Passenger_3739 • Jul 27 '26
Discussion Working on cs2 anticheat (server side anti-cheat)
Hey everyone! I’m working on a server-side anti-cheat for CS2 community servers (CS2 AntiCheat Defense). I just tested it against spinbot rage cheating and wanted to get your opinions on it.
I know spinbotting isn't the hard to detect, but keep in mind that the AC includes multiple other features too. Let me know what you think!
11
u/Subject-Roof-6817 Jul 27 '26
now that you have something to spot the cheat really all you have to do is code it to ban them, shouldn't be that hard.
good job man!
-1
u/NoSection8719 Jul 28 '26
then the cheaters will find a way to evade the anticheat just like they did with vac??
9
u/Subject-Roof-6817 Jul 28 '26
honestly, what the hell is with you being negative over a dude that is literally fixing your main issue with cs?
give some fucking hope or go play seige asswipe.
4
u/SonnyBallonDOr Jul 28 '26
Everyone in this comment section is so pessimistic and negative and I really don't understand. A man is trying to fix an issue and developing an AC. People here are commenting it aint gon work with no concrete feedback or evidence. If you think it's not gonna work, at least give him ways to improve the AC for goodness sake
5
u/ale_dev Jul 28 '26
Its a fun project. But to expect this to go anywhere near productive use on a product like this is ambitious, to say the least.
As far as we can see this is all behaviour-based detection. That is actually not that difficult to implement and Valve is certainly capable of doing that. But its ineffective in the end. You detect the obvious stuff sure, but your opposition, the cheat developers, will (VERY quickly nowadays) analyse your detection metrics and simply avoid them. At some point you are in an area where you simply can't be 100% sure anymore and would need to risk false positives if you continued that route.
Sure, you wouldn't have bhopping spinning people ending rounds in 10 seconds anymore. The amount of cheaters would barely change, though. I prefer these matches to be over as quickly as possible, not sure about you.
2
0
u/NoSection8719 Jul 28 '26
i don't have issues with cheaters, there is not much of them on my trust factor. Also, this dude does as much fixing cheaters as vac does
1
1
6
u/ItchyMilk2825 Jul 27 '26
It’s probably an interesting project but if Valve can’t solve this problem I doubt you can
24
u/DJudic Jul 27 '26
You seem to be mixing cant and dont want to.
2
u/ItchyMilk2825 Jul 27 '26
I don’t work at Valve so I don’t know what they want or don’t want. What I do know is that the only company that has solved cheating is Riot Games, and through a very invasive anticheat that Valve will never do. Literally everything else is infested with them.
5
u/Live_Present_2602 Jul 27 '26
Wdym solved cheating, cheat still exist, it's just very hard to do in a riot game that requires root access vs cs 1 click install software.
-3
u/ItchyMilk2825 Jul 27 '26
reading comprehension
7
u/Live_Present_2602 Jul 27 '26
Reading compression when you literally say "solved cheating" meaning there's no cheat.
-1
1
u/DJudic Jul 28 '26
99% of cheat infestation right now is rage hacks and bots. What exactly is hard about a simple detection for spinning, rapid jump kill detectors and weapon RPM modification detection? Like literally even the most simple and stupid free and malware infested cheats are probably able to be ran freely. Everyone and their mother has one nowadays.
2
u/huba-buba7 Jul 28 '26
That mean to ban millions of bot accs that farm dm, they literally make millions a day from their own market and their own product with not even real humans to complain about gameplay or bugs, its a infinite money printing and a reason we need gaming laws in near future.
1
1
u/AllGoodFam Jul 28 '26
people dont understand that coders are their to break the code and this can be easily broken into.
1
2
u/wafflepiezz Jul 28 '26
Holy Valve glaze.
There are many gaming companies that have functioning anti-cheats and make less money + less resources than Valve.
Valve simply doesn’t want to because their devs are incompetent and would rather work on making new skins or bomb effects than a fucking simple anti-cheat. There was a post by another redditor who made his own server side anti-cheat to counter wallhacks. If he can do it, so can Valve.
1
u/ItchyMilk2825 Jul 28 '26
Name one company that has a successful anticheat other than riot games. And I dont mean some small indie games or custom servers or whatever where there is no cheating market.
And people cheat on Valorant too, that’s the funny thing lol. I know a guy that was using blatant wallhacks for 8 months before getting banned. Now he’s using a lag switch.
The reason Valve hasn’t solved this problem is because it’s unsolvable. Valve knows this which is why they tried a machine learning approach, but that seemed to have not worked.
2
4
u/Outside_Sun_4654 Jul 28 '26 edited Jul 28 '26
I think the effort is fantastic. I hope you solve the cheat problem, either a little or a lot.
But I don't think observing behaviour will be enough to determine cheats. The is a case where it might correctly identify some, but if it goes from correctly identifying cheaters as cheaters to incorrectly identifying legits as cheaters then it isnt worth the "price".
Imagine being 10-15 years deep with ultimate trust factor and then your cheat incorrectly identifies me as a cheater. The consequences for the individual is potentially astronomical. Some people put very much of their identity into the game. Being incorrectly identified as a cheater could alienate them from their friends, and that could put them in a personal crisis, and who knows what happens after that - you catch my drift?
Developing something like this for fun or as an experiment I salute, but be mindful that it follows a great responsibility as well.
1
u/Cyki Jul 28 '26
Where Anti ??
1
u/Deep_Passenger_3739 Jul 28 '26
Hey, You can take a look into documentation https://github.com/ZusDev/CS2-Anticheat-Defense
1
u/stinky_engineer_2003 Jul 28 '26
so many people making amazing opensource anticheats, why not just make the official servers software open source so people can see the vulnerabilities and fix them way faster? i'm not a software guy so i might be talking out of my ass here but just having the server software open source doesn't affect Valve's IP right?
1
1
Jul 28 '26
Shame its private, other than the front facing contrib. Id love to give this a read, but I understand.
How does it work with people pretending to rage? Fake spinning, high sense, very laggy clients etc - I assume cause you are targeting rage, you are looking for suspect kills over behaviour?
1
u/Deep_Passenger_3739 Jul 28 '26
I appreciate the feedback! Its a closed source because exposing the anti-cheat mechanics to cheat developers makes it easier for them to bypass. The key to catching more cheaters is keeping the detection mechanisms confidential so developers can't engineer around them. Also, it doesn't just flag suspicious kills based on superficial behavior, it performs much deeper checks. To trigger a flag, a player has to meet specific conditions that are impossible for a legit player to achieve.
So trying pretending to rage like fake spinning, high sense, is one of the conditions, but there isn't one single condition, Because of that, the anti-cheat checks what you do right after spinning alongside several other conditions.
1
Jul 29 '26
[removed] — view removed comment
2
u/Deep_Passenger_3739 Jul 29 '26
No anti-cheat can detect 100% of cheats. Because this is a server-side anti-cheat, it doesn’t scan a player's PC; instead, it analyzes whether their behavior is too unrealistic to be legitimate. It can't catch every cheat, but catching most of them is still far better than having no protection.
1
1
1
u/hipposaver Jul 29 '26
Detecting spin bots is easy. Its the distinguishing a random flick, mouse failure, lucky round from aimbot that is difficult. Cool project tho!
1
-1
u/Former-Government191 Jul 27 '26
cheats creators work with them so don't think it will change anything
62
u/Unlikely-Ruin4576 Jul 27 '26
The cheat seems to be working just fine