Adonis icon indicating copy to clipboard operation
Adonis copied to clipboard

Last anti-cheat addition to be added ever

Open ccuser44 opened this issue 2 years ago • 22 comments

Ok this will be the last one I promise, I will never make any more anti-prs so you don't have to worry about me making new ones (I know people don't like the anti but I think one PR could still be added [This one])

Bugs fixed

  • Fixed Disallowed Services detection (The disallowed services detection wasn't made by me)
  • Fixed content provider CoreGui detection
  • Fixed Adonis setting files being out of date
  • Moved server & client Antis to their own plugins, now they are more modular
  • Fixed incorrect naming of variable "continue". continue is a keyword which might cause issues.
  • Changed workspace.Name to workspace:GetFullName() if Roblox ever changes how fullnames appear
  • Fixed incorrect naming of AntiClientIdle to AntiAntiIdle
  • Made settings.Detection act as a global off switch for all anti measures, so if you wan't a simple toggle to disable the anti here it is. ;)

Deletions

  • Removed legacy Recursive findfirstchild check from 2018, Roblox has already made this not work a long time ago, also this detection is problematic

Additions

  • Completely new metamethod detection (Currently detects Synapse X, soon it probably not), and a lot of other methamethod hooks, it also detects a lot of other stuff
  • Added better debug messages for anti
  • Added detection for new anti-kick detection bypass
  • Made ContentProvider detection work for certain things (Most DEX explorers in CoreGui are detected) (Idea not invented by me)
  • Added anti-coregui TextBox check (Idea not invented by me)
  • Added anti-RAKNET DoS, we probably should verify what the maximum Roblox datasend is (Just in case it can be higher, I still made the value slightly higher than others do just for extra precaution)
  • Added anti humanoid property spoofing, prevents most anti-humanoid bypasses
  • Anti GC spoof detection
  • Prevent spoofing of logtimestamp of the future as well, it checks if they are 5 months in the future
  • Added anti contentprovider preloadasync hook code (Prevents some hooks of PreloadAsync)
  • Added another Anti logspoof thing
  • Added anti GetLogHistory function hooks as well
  • Added Anti FireServer & InvokeServer function hooks
  • Added a remotespy detection (Only detects a few remote spies)

Todo

  • Fix LogService checks

I'm not sure if the anti-DoS thing is good, if its bad then it can be removed

I'm also proposing setting AntiAntiIdle to on again by default. All of the problems that it has had have been fixed

  • Fixed - ~~It firing in studio~~
  • Fixed - ~~Not respecting game loading (Potentially an issue)~~
  • Fixed - ~~It firing after the player has been kicked or disconnected (Only a visual issue, but it confused people that it was misfiring)~~

So therefor I propose it would be enabled again, (As autofarms are becoming huge issues, and that exploits really can't patch the detection, unless they use Synapses keypress which only works on some exploits, therefor patching all autofarms and Anti-AFKs on bad exploits like JjSploit forever). But of course if its not good then it can be disabled by default again.

ccuser44 avatar May 29 '22 09:05 ccuser44

LOL, I really hope this pull request gets accepted, I am laughing my ass off at my :lower() image

Kaiddd avatar Jun 03 '22 09:06 Kaiddd

elapsedTime was removed due to deprecation.

Sceleratis avatar Jun 05 '22 16:06 Sceleratis

Please don't make this the last ever anti pull... I love anti!

P3tray avatar Jun 05 '22 18:06 P3tray

My game functions perfectly fine. Never misfires.

P3tray avatar Jun 05 '22 18:06 P3tray

elapsedTime was removed due to deprecation

Yeah Ill change it back to os.clock I just though os.clock was script specific but apparently not so we can use it, ill update the pull soon yo change it back

ccuser44 avatar Jun 05 '22 22:06 ccuser44

My game functions perfectly fine. Never misfires.

But how do you know it's misfiring? All of the problems with the anti have been fixed (at least with nightly).

elapsedTime was removed due to deprecation.

Fixed. Changed it back to os.clock()

ccuser44 avatar Jun 07 '22 08:06 ccuser44

LOL, I really hope this pull request gets accepted, I am laughing my ass off at my :lower() image

~~This is why you don't use skidded methods for anti-kicks~~

ccuser44 avatar Jun 07 '22 08:06 ccuser44

@ccuser44

unoptimal, yes bad, yes fixed already, yes skidded? no lmao

I just wasn't thinking when I wrote the script and did :lower(), not a big deal really, I already fixed it on the thread

anyways once again hope this pull request is accepted, brings some nice improvements to adonis

Kaiddd avatar Jun 07 '22 09:06 Kaiddd

Ok so I also decided to put the antis to their own plugins. It's probably going to work, but I haven't tested if the refactor to plugin modules is perfect.

Also I decided to make settings.Detection a global toggle for all anti measures, so if you wan't to turn all of with a simple switch, now you can.

ccuser44 avatar Jun 08 '22 19:06 ccuser44

is this uhhhhh... safe and won't break game by kicking innocent users? also most important thing? Is it turned off by default, yes?

I have flashbacks, from when all the anti-cheats were turned on by default.

It do sound very good. I can't imagine how you would detect Synapse X though, like after someone injects it or what? I mean idk, I never looked into things like that.

karl-police avatar Jun 21 '22 22:06 karl-police

Oh wait it's this anti-cheat... yeah I don't have a good feeling about this to be enabled by default at all.

I get kicked from the game for "Humanoid tampering" when typing ":r15"

The way to fix this, would be by idk probably some sketchy thingy in the core functions.

karl-police avatar Jun 21 '22 22:06 karl-police

@ccuser44 Thanks for your contributions, I will most likely take over your role at some point and become the next primary anti-exploit contributor.

There's always things that can be improved upon after all, and my level of expertise adds a lot to my influence in the exploiting and anti-exploiting communities respectively, and I'm always looking for new detection methods, most of the methods I've found are still private to this day.

Who knows, I soon may add them to Adonis.

L8X avatar Jun 23 '22 19:06 L8X

@Sceleratis, @Expertcoderz, I'd like to vouch for @ccuser44's commits here. He's really done a good job.

L8X avatar Jun 23 '22 19:06 L8X

can we discontinue anti now and make it a plugin thx

GalacticInspired avatar Jun 23 '22 19:06 GalacticInspired

can we discontinue anti now and make it a plugin thx

agreed

LolloDev5123 avatar Jun 23 '22 20:06 LolloDev5123

Vouch. He made Anti into a plugin, we need to further test this PR before merging, hopefully in the near future

LolloDev5123 avatar Jul 30 '22 00:07 LolloDev5123

Incredible work, hope that it will be added 👍

marceaupatu123 avatar Aug 15 '22 23:08 marceaupatu123

ON HIATUS

LolloDev5123 avatar Aug 16 '22 15:08 LolloDev5123

was about to merge then conflicts came in like a wrecking ball. Definitely want to yeet all of the anti stuff to their own plugin stuff

Sceleratis avatar Aug 17 '22 14:08 Sceleratis

Add banning time zones using os.time(), will stop lots of exploiters!!

WaviestBalloon avatar Aug 17 '22 16:08 WaviestBalloon

nice joke

GalacticInspired avatar Aug 17 '22 16:08 GalacticInspired

was about to merge then conflicts came in like a wrecking ball. Definitely want to yeet all of the anti stuff to their own plugin stuff

By conflicts do you mean Selene conflicts ?

marceaupatu123 avatar Aug 17 '22 20:08 marceaupatu123

ale was fucking lying this aint ever gonna be merged

P3tray avatar Oct 17 '22 19:10 P3tray

last anticheat addition my arse

P3tray avatar Oct 17 '22 19:10 P3tray

No merge? 🤨

WaviestBalloon avatar Oct 18 '22 10:10 WaviestBalloon

Ok finally I will solve the conflicts in this file and make this merge ready. I will put this as a draft for the time being so I can solve the conflicts. After that I will check for false flags and then make it merge ready.

Sorry for the delay

ccuser44 avatar Feb 07 '23 21:02 ccuser44

61 commits.

61 commits.

P3tray avatar Feb 14 '23 08:02 P3tray

🥱 reading all 68 commits is tiring

P3tray avatar Mar 06 '23 13:03 P3tray

🥱 reading all 68 commits is tiring

Editing in Github IDE is easier than Github desktop or git commit

ccuser44 avatar Mar 06 '23 14:03 ccuser44

Imagine actually reviewing this PR

LolloDev5123 avatar Mar 11 '23 11:03 LolloDev5123