Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 4Story > 4Story Hacks, Bots, Cheats & Exploits
You last visited: Today at 23:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Tutorial] How to Build a Hackshield Bypass

Discussion on [Tutorial] How to Build a Hackshield Bypass within the 4Story Hacks, Bots, Cheats & Exploits forum part of the 4Story category.

Reply
 
Old   #1
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
[Tutorial] How to Build a Hackshield Bypass

This is (hopefuly) going to be an easy to understand tutorial,
which will show you, how to bypass the HackShield included in the official DE Client.

Code:
Warning!: Clients bypassing HackShield are easily detected by the Server,
          since HackShield sends security packets to the server every few
          minutes.

          If you are going to ByPass HackShield,
          you should only use test accounts!
Required Tools:


Step 1: Analyzing
Quote:
To get started, we have to analyze the Client first.
The best of all free analyzing tools is PEiD.

Simply download and unpack it, and drag and drop the Client onto it's GUI.
As you can see, the Client is packed by UPX.

UPX is nothing else than a simple packer. Since it's a free open-source Tool,
you can download it from their sourceforge project site (link posted above)
Step 2: Unpacking
Quote:
UPX is a simple command line based tool. Once you've downloaded and unpacked UPX,
you can simply use a batch file, to unpack the Client.
The Batch-File could look like this:
Code:
upx -d -o TClient_unpacked.exe TClient.exe
(i've attached my batch file to the post)
just put Client, Batch-File, and the UPX-packer into one and the same Dir
and execute the batch file, to get the unpacked client.

copy the "TClient_unpacked.exe" back to the game Dir
and go on with the next step.
Step 3: Reversing (The Harder Part)
Quote:
To start the reversing, we need a Debugger. Since OllyDbg is free and still one of the
best debuggers, i'll use it for this example.

1. Run OllyDbg and drag and drop the "TClient_unpacked.exe" onto it.
2. Open the Executable modules list.
3. Doubleclick the first module, to get into the clients code.
4. Right-Click the code window, and select the "Analyse code" Option.
Code:
once the analyzing is completed, we will have to check, where the HackShiel dll gets loaded.
to do that, we'll simply check each single dll, which gets loaded by the LoadLibraryA function.
5. Rightclick again, and open the modular calls window.
6. Sort the list by calls, and select one of the LoadLibraryA calls, rightlick and select all of them.
Code:
Now all of those Calls should be red marked.
Once that happend, we can run the client using F9.
It will break, whenever a dll gets loaded into the client now.
So we have to check the upper right box containing the registers
to notice, which dll gets loaded.
7. Press F9 until we find a dll stored in \HShield\...
Code:
Now that we've found the call, which runs the LoadLibraryA function,
we will have to trace it back, to the call, which starts the injection, to remove that one.
8. Scroll up to the Entry Point of the function. Entry points are allways marked by $!
9. We have to Repeat that, until we get totaly out of that HackShield Code.
10. Once we've reached the top, we can NOP the HackShield Call.
11. Remove the Breakpoints on the LoadLibraryA functions, since we don't need them anymore.
12. Now we reset the Client, and redo the Patch we just did, and run the client, to see if it works.
FAIL
Code:
Looks like there's another protection added to the client.
But this time it will be easy to crack it, since we've got a msgbox =)
13. Get Back Into the Intermodular Calls Window (Step 5)
14. Scroll down to the MessageBoxA function and breakpoint them all.
15. Reset the Client again, to get out of that Error, apply the Patch again (step 12)
16. Run the Client
Code:
Since we've got breakpoints on all MsgBox functions, the Client will break,
once we'll get the error message =)
17. The Client breaks on the Function call of the MsgBox. Scroll up to the Entry of the Function and trace it back
18. Nop out that Error!
19. Remove the Breakpoints from the MessageBoxA functions, since we don't need them anymore (simmilar to Step 11)
20. Reset the client, apply both patches again and run or save the client, since we're done now =)
Step 4: Finished
Quote:
if you've done everything correctly, the client should now run through the debugger.
Note:
Quote:
Bypassing the Hackshield will DC you from Time to Time, since the security packets won't get send to the server.
So after all you got a max of 5-10minutes online for reversing the client.
Bonus:
Quote:
I'll attach the Normal, Unpacked and Unpacked_Patched client to this Post, as a proof of concept =)
Attached Files
File Type: rar clients.rar (3.23 MB, 2214 views)
File Type: rar unpack.rar (116 Bytes, 1243 views)
lolkop is offline  
Thanks
68 Users
Old 11/23/2011, 12:19   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 71
Received Thanks: 14
For what can we use it? a sample pls Are we then allowed to use the old 4Story hacks, wich are patched since the HS is there?
kaiatan is offline  
Old 11/23/2011, 13:22   #3
 
elite*gold: 10
Join Date: Apr 2009
Posts: 1,165
Received Thanks: 6,024
to patch the Client to run it without HS isn't that complicated. You get dc after 20 seconds because you don't send the correct packet to the server. But i'm fair and give you a thanks for this work.
expo_botter is offline  
Old 11/23/2011, 13:39   #4
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by expo_botter View Post
to patch the Client to run it without HS isn't that complicated. You get dc after 20 seconds because you don't send the correct packet to the server. But i'm fair and give you a thanks for this work.
Well, i'm not playin' 4story.

In the last days there have been lots of questions about the hs in 4story. All i did was downloading the client, and remove the hs, to open a gate for beginner reversing engineers.

To build real hacks/cracks, it would be necessary, to know the game system...
lolkop is offline  
Old 11/23/2011, 14:36   #5
 
elite*gold: 0
Join Date: Dec 2010
Posts: 110
Received Thanks: 180
Quote:
Originally Posted by expo_botter View Post
to patch the Client to run it without HS isn't that complicated. You get dc after 20 seconds because you don't send the correct packet to the server. But i'm fair and give you a thanks for this work.
if you are so good why you don't have you done a tutorial?

tnx to lolkop
AnghelescuG is offline  
Old 11/23/2011, 17:14   #6
 
elite*gold: 0
Join Date: Dec 2010
Posts: 147
Received Thanks: 35
good
mezzouomo10 is offline  
Old 11/23/2011, 19:55   #7
 
Chillex's Avatar
 
elite*gold: 15
Join Date: Apr 2010
Posts: 987
Received Thanks: 2,101
Ist wohl neben dem "Modify the tcd Files"-Tutorial das wohl Hilfreichste, was in diesem gesamten Jahr 2011 im 4Story Bereich veröffentlicht wurde.
In dieser Sektion auch nur ein paar Kentnisse zu erwerben ist leider fast unmöglich.
Jedenfalls 5* und ein Thanks für das Tutorial.

eine kleine Sache..das Unpacken geht ja praktisch auch direkt mit PEiD.
Attached Files
File Type: rar unupx.dll.rar (6.7 KB, 232 views)
Chillex is offline  
Thanks
3 Users
Old 11/23/2011, 20:49   #8
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by Chillex View Post
Ist wohl neben dem "Modify the tcd Files"-Tutorial das wohl Hilfreichste, was in diesem gesamten Jahr 2011 im 4Story Bereich veröffentlicht wurde.
In dieser Sektion auch nur ein paar Kentnisse zu erwerben ist leider fast unmöglich.
Jedenfalls 5* und ein Thanks für das Tutorial.

eine kleine Sache..das Unpacken geht ja praktisch auch direkt mit PEiD.
das ist natürlich richtig =)

wie bereits erwähnt habe ich selbst keinen account für dieses spiel, und bin auch nicht darann interessiert. bin nur über anfragen in der coding section auf diese aufmerksam geworden, und war erschüttert, als ich gesehen habe, wie anfängern hier die tür vor der nase zugeschlagen wird.

gerade bei spielen wie diesem, wo es bis vor kurzem anscheinend noch möglich war ungehindert den client zu erforschen, sollte man sein bereits erworbenes wissen auch mit der community teilen.

hoffen wir, dass es einige leute vielleicht anregt ebenfalls mal etwas fürs allgemeinwohl zu tun. ich bin mir sicher das es auch hier leute gibt, welche den client lange genug analysiert haben, um einzelne client funktionen genaustens erklären zu können.
lolkop is offline  
Thanks
2 Users
Old 11/23/2011, 21:24   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 12
Received Thanks: 0
hey, quick question real fast from a noob<~~~~ umm, those downloads at the bottom of ur post, is the unpatched tclient the full bypass? so could i just replace my original TClient in the game with that one and it will work?
Jinkson is offline  
Old 11/23/2011, 21:42   #10
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by Jinkson View Post
hey, quick question real fast from a noob<~~~~ umm, those downloads at the bottom of ur post, is the unpatched tclient the full bypass? so could i just replace my original TClient in the game with that one and it will work?
full bypass means, that it's not for normal usage.

as mentioned many times, this will make you disconnect every few minutes.
beside that, u'll be easily detected by the server as cheater, since u're not sending the security packets.

it's only made for reverse engineers =)
lolkop is offline  
Thanks
2 Users
Old 11/23/2011, 21:49   #11
 
elite*gold: 0
Join Date: May 2010
Posts: 12
Received Thanks: 0
so, say i got a hack, if i was to use during these 10mins, would it work?
Jinkson is offline  
Old 11/24/2011, 17:49   #12
 
elite*gold: 0
Join Date: Jun 2011
Posts: 7
Received Thanks: 3
Arbeit an BR und PT?
bruno825 is offline  
Old 11/27/2011, 15:01   #13
 
Chillex's Avatar
 
elite*gold: 15
Join Date: Apr 2010
Posts: 987
Received Thanks: 2,101
Keine Ahnung warum sich hier bei keinem Fragen auftun, liegt wohl daran, dass 98% einfach nur am Download des fertigen TClients interessiert sind.
Jedenfalls komme ich an einem Punkt nicht weiter.
Also mein Problem:

1.Ich hab die calls von LoadLibaryA "gebreakpoint" & doppelklicke den ersten Breakpoint.
(Irgendwie hab ich hier schon weniger LoadLibaryA Calls als du im Tutorial)


2.Jedenfalls lass ich jetzt den Client laufen und nach 1-2 Sekunden poppt eine Meldung auf:

3.Jetzt drück ich auf "OK" und Themida meldet sich.

4.Nochmals auf "OK" und..

5.Dann schmeißt es mich raus.
(Weiß jetzt nicht ob das Bild noch relevant sein könnte)

Ich hab jetzt ehrlich gesagt keine Ahnung wie ich weiter verfahren soll.
Chillex is offline  
Old 11/27/2011, 15:45   #14
 
elite*gold: 219
Join Date: Dec 2010
Posts: 1,810
Received Thanks: 228
Würde es jemand vll auf deutsch übersetzen? wurde ja schon bei vielen anderen threads auch gemacht würde mich drüber freuen
~*Breakdown*~ is offline  
Old 11/27/2011, 16:14   #15
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by Chillex View Post
Keine Ahnung warum sich hier bei keinem Fragen auftun, liegt wohl daran, dass 98% einfach nur am Download des fertigen TClients interessiert sind.
Jedenfalls komme ich an einem Punkt nicht weiter.
Also mein Problem:

1.Ich hab die calls von LoadLibaryA "gebreakpoint" & doppelklicke den ersten Breakpoint.
(Irgendwie hab ich hier schon weniger LoadLibaryA Calls als du im Tutorial)


2.Jedenfalls lass ich jetzt den Client laufen und nach 1-2 Sekunden poppt eine Meldung auf:

3.Jetzt drück ich auf "OK" und Themida meldet sich.

4.Nochmals auf "OK" und..

5.Dann schmeißt es mich raus.
(Weiß jetzt nicht ob das Bild noch relevant sein könnte)

Ich hab jetzt ehrlich gesagt keine Ahnung wie ich weiter verfahren soll.
wenn dein client wirklich anders aussieht als meiner, kann ich ja mal einen blick darauf werfen.

wäre nett wenn du den mal als anhang posten könntest =)
(am besten packed und unpacked)
lolkop is offline  
Reply


Similar Threads Similar Threads
HSHIELD BYPASS TUTORIAL FOR M2FISH/TUTORIAL DE BYPASS HSHIELD PENTRU FISHBOT
07/21/2011 - Metin2 - 5 Replies
English: HI GUYS! HERE IS ONLY ONE STEP TO BYPASS THE HSHIELD ! U HAVE TO EXCHANGE THE HSHIELD FOLDER FROM METIN2 FOLDER WITH THIS ONE MEGAUPLOAD - The leading online storage and file delivery service PASS FOR INSTALL: deusmortem Romanian: Salut lume! Aveti de facut un singur lucru pentru a trece de hackshieldul metinului: schimbati folderul hshield din dosarul metin2 cu acesta MEGAUPLOAD - The leading online storage and file delivery service parola pentru instalare : deusmortem i...
Removing hackshield from Any hackshield protected game client (Video Tutorial)
04/18/2011 - Tutorials - 2 Replies
This is my first contribution, believe it will be useful for everyone. If you need the tools. Tuts 4 You Removing Hackshield by fungos.swf Removing Hackshield by fungos.swf
Urgent Help:Hackshield-build 4.3.30.0
03/05/2011 - General Coding - 0 Replies
Can someone tell me how to bypass this hackshield? i haven't found anything useless on google... The game with the hackshield is Avalon Heroes. Hackshield version:4.3.30.0 I just need someone to tell me how to bypass it.That's all. Pls urgent help.
[Hackshield]Bypass the new protection hackshield
01/25/2010 - Silkroad Online - 2 Replies
Today i was so mad from agbot so i found the loader lite 3... so i tried to connect with him to ibot (port : 16000) and failed cuz of the hackshield .... so i tried to rename the "hackshield" file dictory and it was full of success ... but i dont know .. should i get banned for it? (i bought silks) if no ill post here the download and guide... Thank's alot : Kobbi :)



All times are GMT +1. The time now is 23:35.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.