Q-Protect Anti hack source code

Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Q-Protect Anti hack source code

    the source is the latest version :P

  2. #17
    Not working on UnitedFlyf Mootie is offline
    MemberRank
    Apr 2009 Join Date
    1,589Posts

    Re: Q-Protect Anti hack source code

    Uhhhh...

    #1 - Threading in an antihack isn't usually good unless done properly(which requires time checking by the main thread). A hacker can simply suspend your checking threads and your antihack is bypassed. You should have it check in a function that is essential to the game's processing, such as render.

    #2 - Why are you using ASM and VirtualProtect at all? You can simply do something like:

    Code:
    DWORD dwAddr = GetProcAddress(hModule, "QueryPerformanceCounter");
    if(*((BYTE*)dwAddr) == 0xE9)
    ...
    #3 - This only checks for jmps at the address of the functions. A hacker can also jmp inside the function, or even hook the vtable and bypass any .text section checking completely. Do some research and you can easily find much better methods of detour detection.

    #4 - At least check for hooks on ExitProcess/GetProcAddress/GetModuleHandle. Those are also easy ways to bypass this "antihack".

  3. #18
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Q-Protect Anti hack source code

    Updated link
    @ Mootie Ty :P
    Last edited by MisterKid; 25-02-12 at 08:31 PM.

  4. #19
    i <3 C++ Deviant is offline
    MemberRank
    Jun 2005 Join Date
    Little GardenLocation
    527Posts

    Re: Q-Protect Anti hack source code

    hey sir can you add splash thingy?

  5. #20
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Q-Protect Anti hack source code

    Erm Mootie your way is invalid.
    DWORD dwAddr = GetProcAddress(hModule, "QueryPerformanceCounter");
    Will get you the function address when the dll has the export.
    Kernal32.dll exports QueryPerformanceCounter right?:P

    if(*((BYTE*)dwAddr) == 0xE9)
    It is not possible to do it like this :P

    I found another way to block functions. The new way just replaces the function if it can find the function addres :P But using the same method you be able to bypass the antihack :S (only if you know the function addres) Most Flyff server has their neuzes unpacked so it would be easy to find the addres.

  6. #21
    Not working on UnitedFlyf Mootie is offline
    MemberRank
    Apr 2009 Join Date
    1,589Posts

    Re: Q-Protect Anti hack source code

    Quote Originally Posted by MisterKid View Post
    Erm Mootie your way is invalid.
    DWORD dwAddr = GetProcAddress(hModule, "QueryPerformanceCounter");
    Will get you the function address when the dll has the export.
    Kernal32.dll exports QueryPerformanceCounter right?:P

    if(*((BYTE*)dwAddr) == 0xE9)
    It is not possible to do it like this :P

    I found another way to block functions. The new way just replaces the function if it can find the function addres :P But using the same method you be able to bypass the antihack :S (only if you know the function addres) Most Flyff server has their neuzes unpacked so it would be easy to find the addres.
    Why doesn't it work? It seems perfectly valid to me.

    dwAddr = DWORD(an x86 address)
    dwAddr is cast as a ptr to a BYTE
    dwAddr is dereferenced and checked to make sure the function call isn't detoured

    It does the exact same thing as what your code does, except less mess and performance overhead. The only thing that doesn't work about it is if the hacker uses a non-standard detour that doesn't use the 0xE9 instruction, but yours doesn't protect against this either. VirtualProtect is completely unnecessary to check the text section of a normal loaded module.

  7. #22
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Q-Protect Anti hack source code

    getproc doesnt really return a Dword. But I try converting it and test it again .
    :p just interested in it agaib lol
    Posted via Mobile Device

  8. #23
    Apprentice Yazzn is offline
    MemberRank
    Jan 2012 Join Date
    5Posts

    Re: Q-Protect Anti hack source code

    some ideas:
    Let your anticheat scan itself and the Neuz.exe for modifications.

    Let your anticheat send some crypted information to the server, which kicks/bans the user, if the informations are not valid / sent.

    Create a driver, which blocks ZwOpenProcess, ZwReadProcessMemory, ZwWriteProcessMemory, etc..

    Ignore jmps at the begging of a function (this isn't really efficient, because you still can hook in the mid of the function)
    example
    Code:
    int QueryPerformanceCounter_real = (DWORD)GetProcAddress(GetModuleHandle("Kernel32.dll"), "QueryPerformanceCounter") + 5;
    __declspec(naked) BOOL WINAPI QueryPerformanceCounter_proxy(LARGE_INTEGER *lpPerformanceCount)
    {
    	__asm
    	{
    		mov edi, edi
    		push ebp
    		mov ebp, esp
    		jmp [QueryPerformanceCounter_real]
    	}
    }
    Last edited by Yazzn; 17-03-12 at 03:23 PM.

  9. #24
    Member jvscrptr is offline
    MemberRank
    Oct 2011 Join Date
    HEAVENLocation
    58Posts

    Re: Q-Protect Anti hack source code

    make it minimized to tray when opened =))

  10. #25
    Enthusiast guemebr123 is offline
    MemberRank
    Feb 2006 Join Date
    TurkeyLocation
    38Posts

    Re: Q-Protect Anti hack source code

    Which version should I use visual studio?

    2003 not open

  11. #26
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Q-Protect Anti hack source code

    You need visual studio 2010.

  12. #27
    Account Upgraded | Title Enabled! Enough is offline
    MemberRank
    Oct 2012 Join Date
    301Posts

    Re: Q-Protect Anti hack source code

    Update link, please ?

  13. #28
    Aztec Gaming Johnny is offline
    MemberRank
    Jun 2010 Join Date
    U.S.ALocation
    477Posts

    Re: Q-Protect Anti hack source code

    this anti hack is obsolete and really easy to bypass as is. Their is ALOT more secure and non by-passable ways to build an anti-hack in your neuz. Their is alot of releases out their that fix almost every major bug. if you are looking for cheat engine, speed hack fixes, and a simple hack detection system look in this source:
    http://forum.ragezone.com/f457/goh-f...y-play-922629/

    I do not recommend using this source for your live server, its loaded with bugs and back doors.... Just look at the versioncommon and rip the security stuff out for your server. You don't even have to know c++ to do this. just common sense.


    And lastly their is a redone version of this out their, quget developed this decent anti-hack. when he couldn't take it any further he released it here. Some flyff servers took his code here and applied it into their neuz directly. At least 1 top flyff server i know of uses this antihack like i said above... Also if you REALLY need an antihack the itak-pro source was leaked and is around somewhere. *I'm not sure if its released here* I dont like itak but it will get the job done for your server for now, maybe since its a source you could make it better then itak himself. Itaks is by passable but its not something a normal player could do ( maybe if they tried..)


    and this is all i have to say about this...

  14. #29
    Not working on UnitedFlyf Mootie is offline
    MemberRank
    Apr 2009 Join Date
    1,589Posts

    Re: Q-Protect Anti hack source code

    Quote Originally Posted by Johnny View Post
    this anti hack is obsolete and really easy to bypass as is.
    Really? but how does the NOP...

    Quote Originally Posted by Johnny View Post
    Their is ALOT more secure and non by-passable ways to build an anti-hack in your neuz.
    I've bypassed GameGuard and Hackshield in various ways... VAC and Warden both have public bypasses available. You think you can make a better anticheat than these huge companies? Good luck sir. By definition, a client-sided anticheat can be bypassed. A clientsided anticheat is merely to keep idiots from messing with things they shouldn't be.

    I'm betting itak pro would be able to keep you busy for awhile, which is funny considering is .NET unobfuscated anticheat...

    Quote Originally Posted by Johnny View Post
    Their is alot of releases out their that fix almost every major bug. if you are looking for cheat engine, speed hack fixes, and a simple hack detection system look in this source:
    http://forum.ragezone.com/f457/goh-f...y-play-922629/
    Almost every major bug? I can name dozens of remote code execution exploits that aren't patched publicly and I'm sure there are many more...

    Quote Originally Posted by Johnny View Post
    I do not recommend using this source for your live server, its loaded with bugs and back doors.... Just look at the versioncommon and rip the security stuff out for your server. You don't even have to know c++ to do this. just common sense.
    Yes, you don't have to understand the potentially backdoored code you're putting into your source... Just copy paste and is all good. ^^

  15. #30
    Account Upgraded | Title Enabled! Enough is offline
    MemberRank
    Oct 2012 Join Date
    301Posts

    Re: Q-Protect Anti hack source code

    Cool cool... but can anyone reup the source?



Page 2 of 2 FirstFirst 12

Advertisement