SA:MP FenixZone AC Bypass

Expl01T3R

Участник
Автор темы
19
45
Версия SA-MP
  1. 0.3.7 (R1)
  2. 0.3.7-R3
  3. 0.3.7-R4
  4. 0.3DL
Hello BLAST.HK,
Iam releasing my analysis knowledges about FenixZone Anticheat and solution to prevent being detected.​

Basically everything is here
https://github.com/WaterinoS/FenixZoneACBypass

I would start how they managed to load the anticheat into process memory:
Its Basic RCE (Remote Code Execution) via RPC_ShowDialog
Its ilegall to use RCE


How you can detect incoming malicious rpc like this one?
  • Make IncomingRPC Hook​
  • Check for RPC_ShowDialog​
  • Check packet size .. MaxSize of every normal dialog is for example 33000, but they oversized it (injected assembly via that so its around 382032 b (unpacked its ~ 220kb))​
  • All you need to do is to get bitstream data and check every byte until you found byte[0] = 'M' && byte[1] = 'Z' (dont need to explain to experienced people) then just extract assembly from start to end of the bitstream..​
  • Make bypass​

Their modules explained:
nz.dll - Basic dll being injected by RCE too (33kb) it basically contains export to load PE into memory from path.. if iam not mistaken
anti-key.asi - be careful, they also extracting random named .asi file (in this case anti-key) into ur gta sa directory, but its basically just dll downloader and loader..
nzeE831D.tmp - Obfuscated assembly (easy to deobfuscate, but iam not gonna share the src to keep something for myself), which contains crypted/packed (via MPRESS) assembly which is our anticheat file. => its basically self unpacker (thats the file we are focusing in IncomingRPC hook primary)
discord-rpc.dll - dont need to explain.. not dangerous (dc presence)
etc

How they communicate (client-server)?
Well I didnt spent lof of time analyzing this.. but I would say they making shadow copy of sendto and also sending ingame commands like /buto, /cuco etc.. and these commands are important !

/cuco [message] => i dont really know what it does, but I guess its also verified on the serverside.. lets say [message] is number somehow generated and stored in variable - if you call original you are basically fine.
/buto [message] - well this one is improtant cuz every 15th call of one callback its sending /buto <hex> which i reversed and this one is primary checked on the server - if it does not match with their side => KICK
and with every command comes also sendto on their server, you can find their server ip by urself. (ports are randomly generated - its opening socket, sendto and then just instant close)

What this anticheat do?
  • Memory scans​
  • Module scans​
  • Window handles scans​
  • .ASi/.SF/.CS Scans​
  • SAMPFUNCS Console Detections​
  • Etc​

If you want to know more - do research by urself. :)

Released bypass .ASI file
Source Code
Binary in attachments or on github/output
They gonna patch it very soon, but experienced people could update it by themselves.


If you have any questions then my discord is watersmoke

Thanks to CikaUIF (CikaDjokica) for help with analysis, crack.
Enjoy
 

Вложения

  • rce_protection.asi
    165 KB · Просмотры: 48
Последнее редактирование:

Carunoqq

Участник
45
11
Если я правильно понял то античит грузится через rce? Это какая то дичь ваще,и надо будет попробовать а что будет если стоят rce fix
 

Expl01T3R

Участник
Автор темы
19
45
Если я правильно понял то античит грузится через rce? Это какая то дичь ваще,и надо будет попробовать а что будет если стоят rce fix
Hey, if you know English, please use it — I don’t understand Russian, thanks.

Yeah, the server is abusing an RCE to load an anti-cheat into the client side (basically into gta_sa.exe's memory).
This is essentially a Universal RCE Protection. As I explained earlier on my Discord server, it works by checking all incoming data: it compares their actual sizes to expected maximum sizes. If the sizes don’t match, it blocks the processing of that packet or RPC.
It supports all known vulnerable RPCs and packets that could be abused.

As for the FZ Bypass — this universal protection also includes a bonus feature that lets you play on FenixZone servers with mods. However, it's currently outdated and needs an update.
 
  • Нравится
Реакции: Carunoqq

FlashTurbo2021

Новичок
8
1
Если я правильно понял то античит грузится через rce? Это какая то дичь ваще,и надо будет попробовать а что будет если стоят rce fix
если поставить митурбофикс то высветится что работает античит и закроется диалог и все норм будет
 

Expl01T3R

Участник
Автор темы
19
45
если поставить митурбофикс то высветится что работает античит и закроется диалог и все норм будет
MiTurboFix won’t help on FZ, because it blocks the anticheat from loading. They check whether communication between the anticheat and the server has been initialized, so after a while you’ll get kicked. Maybe they’ve changed it, but I doubt it.
 
  • Нравится
Реакции: Carunoqq

unformissed

Новичок
8
5
Hi exploiter, thank you for this topic. When I was exploring samp servers through SAMP Reborn, and came across this server, I wanted to enter the server, but after your topic I realized that I need to use MiTurboFix
 
  • Нравится
Реакции: Expl01T3R

Natez

Участник
47
16
Hello, the exploit.A popular Russian YouTuber Lenny Furst made a video about you and your topic.In his video, he found a server that pumps an anti-cheat with a stiller without your knowledge.
 
  • Нравится
Реакции: Expl01T3R

Carunoqq

Участник
45
11
Честно говоря, не знаю, может, и починили. Ютубер Ленни Фёрст снял видео на эту тему, и ему MiTurboFix помог. Сейчас попробую протестировать и записать видео.
Ток античит там есть всеравно и не получится зайти и разнести🤡
 

Expl01T3R

Участник
Автор темы
19
45
Hello, the exploit.A popular Russian YouTuber Lenny Furst made a video about you and your topic.In his video, he found a server that pumps an anti-cheat with a stiller without your knowledge.
Hey, this is exactly what this topic is about: the server and its anticheat.
I’ve seen the video myself, but thanks for letting me know.
 
  • Нравится
Реакции: Natez и unformissed