|
View previous topic :: View next topic |
| Author |
Message |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Sun Dec 09, 2007 2:30 pm Post subject: Aimbot Detection Plugin (CS:Source) |
|
|
Heyas. I wrote this plugin about a year ago as a reaction to the great 'autoban' plugin, which had a really effective wallhack blocker. The only thing that was missing was a good aimbot identification algorithm.
So I wrote this. Now recently I have recompiled it in version 0.5a, which works, if only on linux. The plugin is open source too, so anyone technically capable may be able to compile it for windows as well.
What does it do? It is still a beta, and I need your testing prowess. It doesn't detect aimbots, yet. It however generates a truckload of statistics on the hit behaviour from every player, i.e. average distance, average angle etc. This is very useful to detecting a player manually. I hope to get enough feedback to implement some periodic tests that will automatically ban or voteban players.
The idea is that aimbot users do not just have higher angles at all ranges, but that their angles are also regressing in a different way. So what I want you to do is: Install the plugin, and observe what statistics the plugin generates with regular players, as compared to aimbot users. Then come back here and post your findings, so that eventually an algorithm can be enabled that automatically kicks players that satisfy certain conditions.
How to set it up should be fairly simple, just copy the .vdf and .so to the right directory and restart your cs:source server.
Then, it's best to connect as a client and enter ad_menu in the console, and you get a list of players, for which you will receive statistical information then.
| Description: |
|
 Download |
| Filename: |
adplugin-beta6b.tar.gz |
| Filesize: |
162.13 KB |
| Downloaded: |
994 Time(s) |
Last edited by Dabljuh on Sat Dec 29, 2007 9:44 am; edited 1 time in total |
|
| Back to top |
|
 |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Fri Dec 21, 2007 10:39 am Post subject: ADPlugin Beta6 is here! |
|
|
So. I spent the last 2 weeks just doing this. Now, ADPlugin features some VERY advanced math, which cumulates in the Chi-Square test which computes the probability that the guy in question is a cheater
What I need is beta testers. Do you manage to get high scores without cheating? How long can you keep your scores down while cheating?
Remember fellas: this is statistics, and only works on high numbers. So give it some time (and hits) to work with.
[edit]Apparently, there is some bugs in version 6a, leading to inflated probability. I'm removing that version until I figured the problem out.This will teach me to release a version without testing it at least a couple days.[/edit]
| Description: |
|
 Download |
| Filename: |
adplugin-beta6.tar.gz |
| Filesize: |
153.47 KB |
| Downloaded: |
344 Time(s) |
Last edited by Dabljuh on Sun Dec 23, 2007 2:23 pm; edited 3 times in total |
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Fri Dec 21, 2007 10:54 am Post subject: to give you an idea: |
|
|
To give you an idea of what it does: This guy was just on my server (this is the ad_stats output) note that the 99.3% Significance there means, the plugin is 99.3% sure the guy cheats. (And yes, he is.)
Name SteamID NumHits AverageQuality AvgHSQuality Chi2 Significance
PASKA STEAM_0:1:10152273 40 91.0 152.5 24.2 99.3%
0.5 1.4 2.6 5.4 14.7 41.9 88.2 118.3 128.5 149.8
HistoT: (No Transform) ClassT: Log: 771.00
Histograph
0 0 0 0 1 4 8 4 6 16
Classes
0.0 0.0 0.0 0.1 0.3 0.9 2.9 9.3 30.5 99.6
|
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Fri Dec 28, 2007 4:52 pm Post subject: |
|
|
Alright, I tested this one to up to 1000 hits without a false positive.
Also observe the "quality" display, it may work out as a quick way to dispatch aimbotters, where the chi-square test will only take over with a sufficient number of hits.
| Description: |
|
 Download |
| Filename: |
adplugin-beta6b.tar.gz |
| Filesize: |
162.13 KB |
| Downloaded: |
386 Time(s) |
|
|
| Back to top |
|
 |
Mattie Administrator


Joined: 21 May 2005 Posts: 1875 Location: Fort Lauderdale, FL
|
Posted: Fri Dec 28, 2007 8:14 pm Post subject: |
|
|
This plugin sounds really cool. I'll likely add it to one of my servers soon to give it a whirl.
Happy holidays,
-Mattie
|
|
| Back to top |
|
 |
dphiance Newbie
Joined: 17 Oct 2005 Posts: 61
|
Posted: Sat Dec 29, 2007 7:47 am Post subject: |
|
|
Wow, a lot of advanced mathematical vector-age there :/ If GJ has the time he could look over it (he has a degree in Vectors, or something like that).
I've GOT to add this to my server, its just, SO GREAT!
1000 hit and 0 false positives, wow. Keep up the good work.
- Saul.
_________________
 |
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Sat Dec 29, 2007 10:19 am Post subject: |
|
|
Don't get me wrong. With a "hit" I meant, a player_hurt event with a firearm. The previous release, b0.6a, had a calculation bug where the percentage would eventually begin to increase with more (a few hundred) hits. This bug was sorted, as well as a much smaller one. (it would possibly have taken hundreds of thousands of hits for that one to take effect)
So far, the problem I am having with the plugin is that it takes a ridiculous number of hits to give even the most blatant cheaters a high score. such cheaters would often empty a server before a sufficient number of hits is gathered, and thus the detection method would become worthless. This is why I'm currently designing more trivial methods of detection, to be able to remove a cheater after a few minutes. The upshot is that the gaussian chi-square fit mechanism may be able to detect even the most subtle of cheaters, with sufficient data.
As an Admin and a known cheater hunter, I've however found the plugin very useful to detect cheaters manually very quickly. Just looking at the figures usually answers the question to me whether some guy just seemed lucky, or if he's cheating.
|
|
| Back to top |
|
 |
dphiance Newbie
Joined: 17 Oct 2005 Posts: 61
|
Posted: Sat Dec 29, 2007 10:49 am Post subject: |
|
|
| Dabljuh wrote: | | Just looking at the figures usually answers the question to me whether some guy just seemed lucky, or if he's cheating. |
I hate that. When you really think someone is hacking then you find out its just luck.
The one thing that is bad about CS:S is hacking (and bad hit-box detection ).
I will see if I can compile it under Windoze.
- Saul.
P.S - Did you ever see HackCam? That has lockbot and wallhack detection. Its pretty spiffy.
_________________
 |
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Sat Dec 29, 2007 6:58 pm Post subject: |
|
|
Yes I saw the hackcam video. Never saw it in action though, even as I believe there is a possibility some of hackcam's code made it into VAC2.
Oh, there's more things wrong with CS. For example the AWP. CS revolves around the principle that it's not the caliber of the weapon, but the shot placement that kills you. The AWP flat out ignores that principle and kills you with a hit to your hand.
What's really depressing me is that CS is now over 8 years old. I played it back then in '99, and CS was ahead of its time. Most of the CS clones misunderstood it as a 'tactical shooter with realistic guns', back then the quakes and unreal tournaments were the FPS of choice. It really is time for something new to replace CS. Whatever that may be, it'll probably have the same problems with hackers.
|
|
| Back to top |
|
 |
dphiance Newbie
Joined: 17 Oct 2005 Posts: 61
|
Posted: Mon Dec 31, 2007 11:51 am Post subject: |
|
|
Yeah, CS is way too old now. I might switch to Insurgency or make my own CS-like mod.
_________________
 |
|
| Back to top |
|
 |
eric0279 New User
Joined: 15 Jan 2006 Posts: 24
|
Posted: Fri Jan 18, 2008 5:14 pm Post subject: |
|
|
Hi,
a version for windows ?
_________________
AIDEMSN
myfoto |
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Mon Jan 21, 2008 11:15 pm Post subject: |
|
|
| eric0279 wrote: | Hi,
a version for windows ?  | I wish I could make one. unfortunately I don't have a windows in the first place. Ive kept asking people but no one has contacted me about it again.
|
|
| Back to top |
|
 |
Dabljuh New User
Joined: 09 Dec 2007 Posts: 9
|
Posted: Mon Jan 21, 2008 11:20 pm Post subject: |
|
|
| Also note that the longer I use my plugin the more stuff I find that doesn't work. For example there appears to be a yet unidentified memory allocation problem that sometimes causes hard crashes on map start. This happens about once every two days for me. Furthermore I've put more thought into the actual detection mechanism and I figure I need to rework it some more. So don't give too much credit to the percentage values just yet.
|
|
| Back to top |
|
 |
eric0279 New User
Joined: 15 Jan 2006 Posts: 24
|
Posted: Tue Jan 22, 2008 3:37 am Post subject: |
|
|
ok
_________________
AIDEMSN
myfoto |
|
| Back to top |
|
 |
your-name-here New User
Joined: 20 Jan 2008 Posts: 3
|
|
| Back to top |
|
 |
|