Results 1 to 5 of 5
  1. #1
    snakebitshock's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0

    HShield Bypass Code

    Guys , I have found something who can bypass hshield but I dont know how to use it .
    I need C++ ? I need to make an dll file with this code or edit something ?
    I'm a begginer in this functions.

    Code:
    DWORD HS_Memory, HS_Memory_Start, HS_Memory_End;
    DWORD HSCRC1_Ret, HSCRC2_Ret, HSCRC3_Ret, HSCRC4_Ret;
     
    void _declspec(naked) HSCRC1_Hook(){
            _asm{
                    cmp ecx,[HS_Memory_Start]
                    jb Ending_HSCRC1
                    cmp ecx,[HS_Memory_End]
                    ja Ending_HSCRC1
                    sub ecx,[HS_Memory_Start]
                    add ecx,[HS_Memory]
    Ending_HSCRC1:
                    mov dl,[ecx]
                    xor eax,edx
                    mov ecx,[ebp+0x10]
                    jmp dword ptr [HSCRC1_Ret]
            }
    }
     
    void _declspec(naked) HSCRC2_Hook(){
            _asm{
                    cmp ebx,[HS_Memory_Start]
                    jb Ending_HSCRC2
                    cmp ebx,[HS_Memory_End]
                    ja Ending_HSCRC2
                    sub ebx,[HS_Memory_Start]
                    add ebx,[HS_Memory]
    Ending_HSCRC2:
                    add al,[ebx]
                    mov ebx,[esp]
                    jmp dword ptr [HSCRC2_Ret]
            }
    }
     
    void _declspec(naked) HSCRC3_Hook(){
            _asm{
                    cmp edx,[HS_Memory_Start]
                    jb Ending_HSCRC3
                    cmp edx,[HS_Memory_End]
                    ja Ending_HSCRC3
                    push edx
                    sub edx,[HS_Memory_Start]
                    cmp edx,0x92812 - 0x100
                    jb Ending_HSCRC3_2
                    cmp edx,0x360040 + 0x100
                    ja Ending_HSCRC3_2
                    cmp edx,0x92812 + 0x100
                    jb Ending_HSCRC3_1
                    cmp edx,0x360040 - 0x100
                    ja Ending_HSCRC3_1
                    jmp Ending_HSCRC3_2
    Ending_HSCRC3_1:
                    add edx,[HS_Memory]
                    mov edx,[edx]
                    mov dword ptr [esp+0x04],edx
    Ending_HSCRC3_2:
                    pop edx
    Ending_HSCRC3:
                    jmp dword ptr [HSCRC3_Ret]
            }
    }
     
    void _declspec(naked) HSCRC4_Hook(){
            _asm{
                    push esi
                    cmp esi,[Memory_Start]
                    jb Ending_
                    cmp esi,[Memory_End]
                    ja Ending_
                    sub esi,[Memory_Start]
                    add esi,[Memory]
    Ending_:
                    lea edi,[ebp-0x1228]
                    repe movsd
                    pop esi
                    jmp dword ptr [HSCRC4_Ret]
            }
    }
     
    void HSCRC5_TableHack(DWORD dwHSCRC5_Table){
            int i;
            for(i=0; i<4; i++){
                    *(DWORD *)(dwHSCRC5_Table + i*8) = ((*(DWORD *)(dwHSCRC5_Table + i*8)^*(DWORD *)(dwHSCRC5_Table + 0x24)) - HS_Memory_Start + HS_Memory)^(*(DWORD *)(dwHSCRC5_Table + 0x24));
            }
    }
     
    void HackShieldBypass(){
     
            while(!GetModuleHandleA("EHSvc.dll")){
                    Sleep(100);
            }
     
            DWORD EHSvc = (DWORD)GetModuleHandleA("EHSvc.dll");
     
            Air::CreateMemoryDump(&HS_Memory, &HS_Memory_Start, &HS_Memory_End, "EHSvc.dll");
           
            Air::WriteJumpAtModule("EHSvc.dll", 0x92812, (DWORD)HSCRC1_Hook, &HSCRC1_Ret, 2);//HSCRC1
            Air::WriteJumpAtModule("EHSvc.dll", 0x360040, (DWORD)HSCRC2_Hook, &HSCRC2_Ret);//HSCRC2
            Air::WriteJumpAtModule("EHSvc.dll", 0x26005E+2, (DWORD)HSCRC3_Hook);//HSCRC3
            HSCRC3_Ret = EHSvc + 0x2528EB;
            Air::WriteJumpAtModule("EHSvc.dll", 0x39ED7, (DWORD)HSCRC4_Hook, &HSCRC4_Ret, 3);//HSCRC4
            HSCRC5_TableHack(EHSvc + 0x157048);
            Air::WriteCodeAtModule("EHSvc.dll", 0x4F5B0, "31 C0 C2 04 00");//Process Scanner
            Air::WriteCodeAtModule("EHSvc.dll", 0x56380, "31 C0 C2 04 00");//Module Scanner
            Air::WriteCodeAtModule("EHSvc.dll", 0x10E20, "31 C0 C3");//HardwareBreakPoint Detection(Main)
            Air::WriteCodeAtModule("EHSvc.dll", 0xF550, "31 C0 C3");//HardwareBreakPoint Detection2
            Air::WriteCodeAtModule("EHSvc.dll", 0xF740, "31 C0 C3");//HardwareBreakPoint Detection3
            Air::WriteCodeAtModule("EHSvc.dll", 0xFED0, "31 C0 C2 18 00");//HardwareBreakPoint Detection4
     
            Air::WriteCodeAtModule("EHSvc.dll", 0x70140, "31 C0 C3");//SoftwareBreakPoint Detection
            Air::WriteCodeAtModule("EHSvc.dll", 0xCEB67, "B8 00 00 00 00");//Memory Protection
    }
    For more helping I have an ehsvc decrypted and unvirtualized .
    Last edited by snakebitshock; 01-15-2015 at 04:14 PM.

  2. #2
    sd999444's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    386
    Reputation
    15
    Thanks
    98
    where is the Air namespace located? in what include? this is probably made by AIRRIDE, who most likely wrote the functions in the Air namespace himself so others couldn't copy it so easily (like what you're trying to do it seems). where did you find the code? message me if you dont want that information public

  3. #3
    Drac0Mete0r's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    8
    Where exactly did you get this code from? It seems incomplete.

  4. #4
    sopfox3's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Amsterdam
    Posts
    329
    Reputation
    10
    Thanks
    20
    Quote Originally Posted by Drac0Mete0r View Post
    Where exactly did you get this code from? It seems incomplete.
    Whatever it is. It's completely atrocious to even use. And probably outdated.

    Here is some Cat Tax
    Please use easy English when chatting with me.
    NOTE: I will never accept transactions w/o messaging you first on MPGH! Use common sense
    I will never accept transactions using skype due to it being very unsecured against hackers. I will only accept steam!
    3 Items sold ¬ 4 Items bought

  5. #5
    HomerCode's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    9
    Abacate doce de feijão ?

Similar Threads

  1. [Help] Need a bypass code for c + +
    By taylan13 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 01-03-2010, 04:52 PM
  2. [LAYOUT TEST] Public hshield bypass by silentrunner [FIX]
    By K4GE in forum Combat Arms Europe Hacks
    Replies: 60
    Last Post: 03-16-2009, 09:14 AM
  3. Idea|For Public hshield bypass by silentrunner
    By almog6666 in forum Combat Arms Europe Hacks
    Replies: 3
    Last Post: 03-13-2009, 06:12 AM
  4. Private hshield bypass.
    By jordidepo in forum Combat Arms Europe Hacks
    Replies: 79
    Last Post: 02-16-2009, 11:52 AM
  5. [request]Hshield Bypass 2.0
    By mariokiller64 in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 08-09-2008, 01:42 AM