Bypassing hacking tool detection

Trusted by over 1.6 million members since 2014 — why not join them?
Log in or Register to join us!

dre4m

Novice Lv1️⃣
Member for 10 years
Most apps on the market now have some sort of a protection that prevents the app from launching when a hacking tool is detected on the device. This could be very annoying because the app usually asks to remove the tool from the device in order to launch the app.

In this tutorial I will demonstrate disabling this protection completely, which involves a simple code editing using smali & baksmali.

Requirements:
- A computer
- The APK file
- A tool capable of sign/smali/baksmali-ing the app (If you do not have one, use http://sbupload.com/1584zjy3prb6/APK_Multi_Tool.zip.html )
- An Android device to test the results
- A text editor with advanced search functions (Sublime text, Notepad++, etc.)
- Software that can open ZIP files (7zip, winrar, winzip, etc.)

I will be using Drag Racing 4x4 for this tutorial. The app's version as of November 3rd, 2013 is 1.0.19.
You can grab a copy of the unmodified APK file here: http://sbupload.com/f4xpwb9dvqw0/com.creativemobile.dr4x4.apk.html




1. Make a backup copy of the APK file for obvious reasons.



2. Disassemble the APK file. I am using the batch disassembler from APK-Tool, so all I have to do is to drag and drop the APK file to the script. This could depend on the type of tool you are using.



3. Once the disassemly is finished, open up the smali folder, then copy the full directory to the clipboard.



4. Open up Sublime Text (or Notepad++) then press CTRL+SHIFT+F
Put "Game Killer" in Find. Put the directory from the previous step in Where. Press search.



5. The result. Double click it to open the file.



6. It should display a long list of popular hacking tools such as Freedom, GameCIH, etc. along with some other codes that you do not need to know.



7. Highlight the first string inside quotes, "cc.cz.madkite.freedom". Change the text to "no.hack.detection"



8. Do it for every tool.




9. Save the file by pressing CTRL+S (or by going to File - Save)




10. Recompile the APK.



11. Open the unmodified APK as a ZIP archive.



12. Also open the recompiled version. Then drag and drop the classes.dex file FROM the modified version TO the unmodified version.



13. Sign the unmodified (now with modified DEX file) version with APK multi tool.



14. Install the signed APK & the app should now launch without detecting any of the aforementioned hacking tools.



Credits goes to Riu

Hope you find this helpful as much as I did.
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
I really appreciate your effort but please follow our forum rules , putting every outgoing links inside or
Code:
. I wonder how ImanHacker didn't notice this and just pressed thank you.
 

Lucifer

☠ Dark Lord ☠
Member for 10 years
Topic edited and please note no links to other forums , sorry sbenny didnt notice it.
 

Lucifer

☠ Dark Lord ☠
Member for 10 years
no need the the member who posted this topic(dre4m) will do it,
i hope so
 

dre4m

Novice Lv1️⃣
Member for 10 years
thank you guys will check my next posts for links before i post sorry Guys :D

best regards

Dre4m
 

ModdingStudent

In Love Lv4️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

isn't there any videos ?!
:eek:
 

P3triiX

Droidstein Lv8️⃣
Member for 11 years
Re: Tutorial Bypassing hacking tool detection

actually , most of the games are unHackable this way

:'(
 

youbrey

Novice Lv1️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

i try to follow instuction, and i've done without any error from decompile to zign.

but i've problem, the game won't launch when i open the game if i signed the apk.
and apk file cannot install to my phone if i not signed.

question :
I just need to copy classes.dex file to unmodif apk after recompile? or i need to copy other file like resources.arsc, AndroidManifest.xml, etc?

i am using Apk Authority to decompile,recompile, and sign apk. that is problem?
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Re: Tutorial Bypassing hacking tool detection

When the game doesn't install it's because it's not properly signed or some files are missing/not needed.
 

zb7865

APK Fanatic Lv5️⃣
VIP
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

try to download the tools but error as follows

Code:
http://www.sbupload.com/error.html?e=Error%3A+Could+not+open+file+for+reading.
Please advised
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Re: Tutorial Bypassing hacking tool detection

Thank you for your report! Fixing links right now!


✓ Links Fixed.
 

yukyik

Apprentice Lv2️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

Thk for idea.
 

TarasTo

Novice Lv1️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

can't decomplier

java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b18)
Java HotSpot(TM) Client VM (build 25.66-b18, mixed mode)
Knights_v1.0.30.apk==None was unexpected at this time.
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Re: Tutorial Bypassing hacking tool detection

Can you make a screenshot of the error? I do not recognize it from a simple copy and paste
 

TarasTo

Novice Lv1️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

http://imgur.com/vUjcQrx

ok see that
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Re: Tutorial Bypassing hacking tool detection

Try renaming the apk file to: example.apk (no spaces) and see what happens
 

TarasTo

Novice Lv1️⃣
Member for 10 years
Re: Tutorial Bypassing hacking tool detection

http://i.imgur.com/1r6STZ5.jpg

ok now decomplier but not finish have a message problem
 

Sbenny

A crazy scientist
Staff Member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Re: Tutorial Bypassing hacking tool detection

That error usually occurs when there is a wrong code inside any of the smali files :/
 
The Cursed Castle - Online RPG on Google Play
Top