Raised This Month: $51 Target: $400
 12% 

A guide to the latest server security plugins/scripts


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
karil
SourceMod Donor
Join Date: Jan 2010
Old 04-13-2010 , 10:25   A guide to the latest server security plugins/scripts
#1

This thread was created to provide information to fellow server administrators about the best latest server security plugins and scripts.

If you see a plugin/script has been updated please message me ASAP on PM!


Firstly some basic advice:
  • Use a safe RCON password with at least 10 characters (preferably letters + numbers).*
  • Give admin privileges only to trustworthy players! Be especially careful when giving out RCON password or even FTP/shell info.
  • Never ever use plugins or scripts which set cvar sv_cheats 1. Keep sv_cheats 0 in server configuration file at all times.


*
Quote:
Also use these RCON cvars in your server configuration file!
rcon_password Set rcon passsword. Leave blank to disable rcon
sv_rcon_banpenalty <mins> Number of minutes to ban users who fail rcon authentication. Default: 0
sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10
sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5
sv_rcon_minfailuretime <1-seconds> Number of seconds to track failed rcon authentications. Default: 30
Source: http://www.cstrike-planet.com/cvarlist


Now to the server security plugins and scripts. I'll divide them in sections depending on their primary tasks.


  • Protection of RCON password/access:
  • Protection to unauthorized file uploading or downloading from the server*:
    • D-FENS (includes linux binaries, tested) | version 1.1 (released on 29/11/2009) | download @ http://forums.alliedmods.net/showthread.php?t=109453
      *it is recommended to set sv_allowupload 0 in your server configuration file (this will disable sprays but also protect your files well)
  • Protection to prevent server lags, hacking attempts, abuse and crashes:
    • ServSecurity | version 0.7.1 (released on 23/3/2010) | download @ http://forums.eventscripts.com/viewt...p?f=27&t=33974
      Protection against various harmful commands, connection flooders, unauthorized changes to server configuration file, Mani's clients.txt file, LUA scripts users, etc..
    • Kigen's Anti-Cheat | version 1.2.0.9 (released on 23/3/2010 ) -> auto-updates when released | download @ http://www.kigenac.com/viewtopic.php?f=4&t=231
      Protection against various harmful commands, connection flooders, LUA scripts users, ANTI-CHEAT (wallhack, aimbot,...), rcon crash prevention, etc..
  • Protection against DDoS attacks*:
  • Protection against two commonly known SRCDS crashing techniquest (RCON crash, connecting command approach):



Log of recent changes to the post:
(example: "UPDATE! | 20/4/2010 | ServSecurity | version 0.7.1 to 0.8 |" OR "NEW! | 1/4/2010 | Karil's anti DDoS | version 1.0 | Prevents a new kind of DDoS attacks on SRCDS servers |")
Quote:
UPDATE! | 8/4/2010 | Rcon locker / exploit fix | version 0.6.4 to 0.6.5 |
I hope the links to ES plugins are OK. If not, please contact me ASAP.

Regards, Karil.

Last edited by karil; 04-13-2010 at 10:29.
karil is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 04-13-2010 , 10:31   Re: A guide to the latest server security plugins/scripts
#2

double post, please delete

Last edited by karil; 04-13-2010 at 10:32. Reason: double post, please delete
karil is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-14-2010 , 11:28   Re: A guide to the latest server security plugins/scripts
#3

Um..not to be a buzz kill but
Code:
*it is recommended to set sv_allowupload 0 in your server configuration file (this will disable sprays but also protect your files well)
will not do any thing the exploit will work with it set to 0

Code:
ServSecurity | version 0.7.1 (released on 23/3/2010) | download @ http://forums.eventscripts.com/viewt...p?f=27&t=33974
Protection against various harmful commands, connection flooders, unauthorized changes to server configuration file, Mani's clients.txt file, LUA scripts users, etc..
this will not do any thing i have tested it and only got banned buy it once es does not have the power to stop any exploits......it can only slow them down.

Code:
Kigen's Anti-Cheat | version 1.2.0.9 (released on 23/3/2010 ) -> auto-updates when released | download @ http://www.kigenac.com/viewtopic.php?f=4&t=231
Protection against various harmful commands, connection flooders, LUA scripts users, ANTI-CHEAT (wallhack, aimbot,...), rcon crash prevention, etc..
Well if you have a very good server and do not mind crashes and lag spikes then go a head and put it on there and also this will only stop sv_Cheat bypass the other stuff in it does not work every time.

Code:
CrashBlock (includes linux binaries, tested) | version 2.0 (released on 8/12/2009) | download @ http://zblock.mgamez.eu/downloads/crashblock_v2.zip
I have NEVER seen this work on CSS win and linux but that may be me .
Mavrick4283 is offline
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 04-14-2010 , 12:49   Re: A guide to the latest server security plugins/scripts
#4

If you have a dedicated server, surely the best defence is simply to block RCON entirely using your firewall? (i.e. allow UDP but block TCP) That would stop the majority of problems here.
__________________
Scone is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-14-2010 , 12:54   Re: A guide to the latest server security plugins/scripts
#5

Your right.
And there is already
Sticky: Protecting your server! devicenull
what lead/have been added in AMWiki
http://wiki.alliedmods.net/SRCDS_Hardening

This thread is useless... trash
Bacardi is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 04-14-2010 , 13:26   Re: A guide to the latest server security plugins/scripts
#6

Actually this thread was intented to inform admins of new versions of security plugins/scripts. I hope you distinguish between mine and devicenulls article.

1. it's recommended not necessary...
2. If you're doing well without SS and KAC great, but I don't imagine my server being secure without these.
3. I've disabled that crashing technique with CB 2.0. I've even tested it, as I got myself that damn program to analyse what is making my server crash every hour.

I've spent dozens of hours in investigating crashes, lag spikes, admin hacks on my server but I can say most of these plugins were life saving and if I can help at least couple of admins in finding security fixes earlier I'll be happy.
karil is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-16-2010 , 14:57   Re: A guide to the latest server security plugins/scripts
#7

We don't need threads duplicating content on the wiki, for no real reason.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode