#Steam Workshop::Clever Anti-Cheat Bot

1 messages ยท Page 1 of 1 (latest)

steep violet
#
function cvars.OnConVarChanged( name, old, new )
    if name == "sv_allowcslua" or name == "sv_cheats" then
        net.Start( "clever_bot_netify" )
        net.WriteString( name )
        net.WriteFloat( new )
        net.Broadcast()
    end

    return oldcvarsccc( name, old, new )
end

this is really something you shouldnt be doing

#

you are effectively leaking server secret convars and config options

wild notch
#

Thank you, can you give me some other options?

steep violet
#

only networking convars that have the replicated flag ig

#

the entire thing can be bypassed by any cheat though

wild notch
strong flame
#

I hope http detours are up to specs (callback allwas called, even on block/failures and proper returns). It wouldn't be the first time I have seen them being messed up.

steep violet
#
local function CheatCaught( name )
    net.Start( "clever_bot" )
    net.WriteString( name )
    net.SendToServer()
end
--bypass
local net_Start = net.Start
local net_SendToServer = net.SendToServer
function net.Start( str, rel )
    if str ~= "clever_bot" then
        return net_Start( str, rel )
    end

    function net.SendToServer()
        net.SendToServer = net_SendToServer
    end
end
stiff sinew
#

i have my own net library clueless

steep violet
stiff sinew
#

i can block your net messages being sent to the server!!!

steep violet
#

oh dll level, yeah that too lol

wild notch
#

So any ideas to add? other then bypasses?

stiff sinew
#

you're pretty late to this game of cat and mouse

assuming you're doing the detecting on the client and networking to the server when it happens

you're better off detecting on the server instead, so that clients can't prevent communications to the server

and you'll have to really test the way you detect things, because you don't wanna hit a false positive on a legit player

wild notch
stiff sinew
#

lol

strong flame
#

It's that time of a month again it is about anti cheats.

I still remember that anti cheat posted like 2 months ago that had a literal file browser for admin to explore and download arbitrarily files of any connected client up to the game binary/logs level. funny

steep violet
#

๐Ÿ˜‹

stiff sinew
#

this is why I have my file library detoured and protected

steep violet
#

also whats up with this

#

why we posting to that on serverside

wild notch
steep violet
#
    http.Post( "http:/" .. "/elitehero.freehostia.com/scan.php", {
        Code = tostring( name ) .. " - " .. tostring( pl:Nick() ),
    }, function( body, length, headers, code )
        -- onSuccess function
        local str = "Cheats: " .. tostring( name ) .. " - " .. tostring( pl:Nick() ) .. " - " .. tostring( pl:SteamID() ) .. "\n"
        print( str )
        file.Append( "cheaters.txt", str )
    end, function( message )
        -- onFailure function
        print( message )
    end )

do you just like, log the method that caught someone and their username?

wild notch
#

yup not the ip etc

#

It will get advanced later on but never ip's

steep violet
#

just get name and steamid

#

ยฏ_(ใƒ„)_/ยฏ

wild notch
#

and the cheat name?

#

or cheat name of w/e its called

#

peopel can just spam random shit in there

strong flame
steep violet
#

i can write a 10 line script that probably crashes your webserver rn

#

if i was a evil cheater ofc, im not

wild notch
twin holly
wild notch
#

lol

steep violet
#

lol

wild notch
#

time to add Sleep(1); in the php just incase hmm

steep violet
#

you can literally do it in gmod
hook.Add Think
http.Post

#

i hope you have a ratelimit because you're 100% get some cheater doing that to you

wild notch
#

yeah they got anti ddos etc on the serverside such as web limited how many connections etc

steep violet
#

wanna try?

wild notch
#

No, don't even think about it.

steep violet
#

now if someone does it you'll blame me, what a win

wild notch
#

Lol no.

steep violet
remote cape
#

Good anticheat, don't let those nerds put you down, you're a good guy Greg ๐Ÿ‘

golden ingot
#

Check tickcount to prevent backtrack

crystal gazelle
#

:(

steep violet
#

cursed

wild notch
#

โœŒ๏ธ

steep violet
#

you know most cheats just load before autorun right

#

so they just localize jit and such before it

wild notch
#

hmm

steep violet
#

cheats also have callbacks when files load and can change the content of the file being ran

#

so they can just refuse to run your file or edit it

wild notch
#

nice info

#

thank you.

tame elbow
tame elbow
#

like 0.0003% of 5% of cheats where 5% of cheat users are lua cheats lol

#

like 2 people globally load before autorun, they probably only playing hvh too lol

#

no one's really loading before autorun, yet to see it genuinely be done after all this time lol

tame elbow
#

something you can do to fuck with anti-anti-cheaters is

local runEveryFiveSeconds
function runEveryFiveSeconds()
    timer.Simple(5, runEveryFiveSeconds)
end
timer.Simple(5, runEveryFiveSeconds)

that'd require pre-autorun i guess

#

can't really break that timer, unlike if you used timer.Create

#

and in runEveryFiveSeconds you could maybe be checking convar flags & values

#

one thing you could do is bypass ur own anticheat and just patch ur bypasses, that's a fun way of tightening a few loose bolts

wild notch
#

thanks @tame elbow

tame elbow
#

now that i think about it, who even actually bypasses anticheats?

#

who is the target audience for that shit

#

hahahahaha

stiff sinew
stiff sinew
muted roost
stiff sinew
#

timer library stores timer callbacks in the registry
you can loop through it and find a function using debug library and such

crystal gazelle
steep violet
tame elbow
#

ballsack ๐Ÿ—ฃ๏ธ

#

better question, would it be possible to make scales that are sensitive to particles bumping into it?

#

like farting on it

#

from a meter away or so