Results 1 to 7 of 7
  1. #1
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,221
    Thanks
    211
    Thanked 2,224 Times in 289 Posts
    Rep Power
    10

    Bypassing GameGuard SSDT hook's

    To bypass SSDT hook, you do it by allocating a section of memory to the size of KeServiceDescriptorTable->TableSize*4. TableSize returns the number of entries and you multiply that by four because each entry is 4 bytes long. So anyway, once you've got your memory allocated you copy the original table into the new table and then change the tables base address to that of the new address. And you do the same for the shadow table.


    If GameGuard is so arrogant on the address of ServiceTable base address, we can change it, without them knowing. So this is what I will do:
    1. Allocate KeServiceDescriptorTable->TableSize*sizeof( PVOID ) byte of memory
    2. Copy KeServiceDescriptorTable->ServiceTable into the memory
    3. Set KeServiceDescriptorTable->ServiceTable to point to the memory.
    4. Wait for GameGuard to load, they will hook the memory allocated instead of the real SSDT
    5. Restore KeServiceDescriptorTable->ServiceTable with the original address.
    6. Do the same to KeServiceDescriptorTableShadow?.


    Ok thats what i got soo far:
     ULONG size;

    unsigned realTable;

    NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)

    {

    DbgPrint("Driver Loaded!");

    PVOID *faekTable; size = KeServiceDescriptorTable->TableSize*4;

    realTable = (unsigned)KeServiceDescriptorTable->ServiceTable;

    faekTable = ExAllocatePoolWithTag(0, size, 0x31323334);

    memcpy(faekTable, KeServiceDescriptorTable->ServiceTable, size);

    (unsigned)KeServiceDescriptorTable->ServiceTable = (unsigned)&faekTable; //Found GG //Sleep(20000); (unsigned)KeServiceDescriptorTable->ServiceTable = realTable;

    return STATUS_SUCCESS;

    }

    Author: c0lo
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. The Following 2 Users Say Thank You to Dwar For This Useful Post:


  3. #2
    yizheng
    yizheng is offline
    Awesome to the MAX yizheng's Avatar
    Join Date
    2010 Aug
    Posts
    743
    Thanks
    124
    Thanked 728 Times in 187 Posts
    Rep Power
    8

    Re: Bypassing GameGuard SSDT hook's

    thanks
    Last edited by yizheng; 2012-03-23 at 08:44 AM.

  4. #3
    fyyre
    fyyre is offline
    New member fyyre's Avatar
    Join Date
    2011 Apr
    Location
    0xfe
    Posts
    21
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Rep Power
    0
    Using this method, GameGuard will still have KeStackAttachProcess, KeAttachProcess and KiInsertQueueApc hooked. Fighting dump_wmimmc.sys into ring 0 is a waste of time, IMHO... or if you want to go the 'hardcore route'. Best to either kill GameGuard before it loads, and/or emulate the CSAuth2 C->S query/replies.

  5. #4
    faradila02
    faradila02 is offline
    New member
    Join Date
    2011 Jul
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    is it working for cabal nprotect game guard?

  6. #5
    susimilikiti
    susimilikiti is offline
    New member
    Join Date
    2011 Dec
    Posts
    48
    Thanks
    3
    Thanked 144 Times in 9 Posts
    Rep Power
    0
    waw it just much more to learn

  7. #6
    Sirmabus
    Sirmabus is offline
    New member
    Join Date
    2010 Jul
    Posts
    20
    Thanks
    2
    Thanked 10 Times in 4 Posts
    Rep Power
    0
    I tried a such a route at first some years ago.
    It's a waste of time really as it's unnecessary.
    You can disable all GG protections pretty easy if you RE GameGuard.des, and the GameLib part located in your game client.
    I can disable GG with just one or two patches in both of these modules, but you will have to find out how your self (I down want to help them further harden it and find new methods).
    Furthermore, this is just one part of driver. It would be better to load no driver at all, etc.

    You just have to RE it down until you find vulnerabilities you can exploit.
    IMHO you'd be better just keep breaking it down rather then trying odd bypass things. You'd have to have multiple patches and components. And all the things to try to maintain and update.

  8. #7
    Sirmabus
    Sirmabus is offline
    New member
    Join Date
    2010 Jul
    Posts
    20
    Thanks
    2
    Thanked 10 Times in 4 Posts
    Rep Power
    0
    As a matter of fact (if you approve my other post) nProtect no longer hooks the SSDT.
    It does direct kernel patches only now.
    At least what I observed with rev 1896.

    Incidentally what complete bullshit. GG makes these horrible root kit hacks into our OS and attaches it's self to all running applications on your machine.
    Who as not had a crash occasionally after playing some GG protected game?
    If the game crashes the damn global R3 hook DLL dosen't unload. Weird shit happens like you can't right click, applications
    crash when you try to exit them, or maybe get a BOD ("Blue screen Of Death") from the shit driver, etc.
    If you have the wrong name for a .sys driver it will even just reboot your system with out notice.
    When you install a game there is no mention of this.
    But Microsoft has no problem with code signing this crap (along with similar HackSheild, etc).
    Just maybe no one has brought the issue to MS, yet or publicized it enough so they cancel their certificate et al.

Visitors found this page by searching for:

bypass gameguard 2011

gameguard hook

ssdt hook

bypassing gameguard

bypass gameguard

ssdt hooking

gameguard SSDT

HOOK GAMEGUARD

KeServiceDescriptorTable->TableSizeanti ssdt hookhow to bypass gameguardKeStackAttachProcess bypassrestore ssdt hookkill gameguard 2011size of KeServiceDescriptorTablegameguard hooksssdt hook bypassSSDT bypassKeServiceDescriptorTablessdt hook restorebypassing gameguard ssdt hookhow to kill gameguardrestore ssdtkill gameguardGameGuard SSDT Hook

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •