Modding Tools CPAntiDumper v1.2 - Secure iOS/Android Binaries & Defeat Offset Dumping!

AndnixSH

Security Detective
Staff member
Modding-Team
Jun 27, 2017
672
71,596
1,193
Modding World
This tutorial was been deleted from original source but it's now archived here!

CPAntiDumper created by Caoyin is a tool that obfuscate binary files and .dylibs and prevent others from dumping offsets. It support ARMv7 and ARM64 iOS Binary and Android ARM binaries. ARM THUMB and x86 are currently not supported yet.

Note: CPAntiDumper will not prevent IDA Pro from disassembling

Download:
Hidden content
** You must be signed up and reply to the thread or click 'Like' under this post before you can see the hidden links contained here. **
How to use:
For ease of use, DiDA have included a CPAD.bat file inside the download link below which simplifies the whole process by simply dragging your binary file to the .bat file and reading the on-screen instructions. Of course, you can modify the .bat to your liking. You will also need to edit it to add the location of cpad.exe on your computer. Example usage of CPAD.bat file.

NOTE CPAD is only a Windows tool but will likely work on other operating systems with Wine since it's a simple CLI.

If you would like to run CPAD using cmd, you can do so using this command:

cpad.exe BINARYFILENAME VALUE ARCH

iOS Examples:
Code:
cpad.exe baba 15000 arm64
cpad.exe iosfps 25000 armv7
Android Example:
Code:
cpad.exe libmarvel.so 2000 elfarmv7
Once you run the command, CPAD will analyze the binary and start obfuscating it thus preventing Binary Compare.

Once CPAD completes the process, it will generate 2 new files. BINARYNAME(.so)obf & BINARYNAME.txt

BINARYNAME(.so)obf
will be the obfuscated binary file you will need to use. Rename the file and place it back into your IPA/APK and test/share your hack.

BINARYNAME(.so).txt will be the file that contains all the writeData instructions for you to implement inside your Tweak.xm. Most effective way to integrate all the writeDatas inside the .txt to your Tweak.xm is by placing your real writeData in a random place amongst all the other CPAD writeDatas. So if someone tries to dump your offsets, they will have to go through <YOURVALUE> (20,000 other writeDatas for example). This is only for iOS .deb hacks.

Example:
Code:
vm_writeData(0x100673DC0,0xC0033FD6); // writeData Generated by CPAD
vm_writeData(0x100A969D8,0x2100014A); // writeData Generated by CPAD
vm_writeData(0x100A969DC,0x420002CB); // writeData Generated by CPAD
vm_writeData(0x100A969E4,0x210001CB); // writeData Generated by CPAD
vm_writeData(0x10051EBF8,0xE00300AA); // writeData Generated by CPAD
vm_writeData(0x100114DF8,0x12345678); // Your Real Offset!
vm_writeData(0x10051EC44,0x000000CB); // writeData Generated by CPAD
vm_writeData(0x10051EC4C,0x840004CB); // writeData Generated by CPAD
vm_writeData(0x10051EC6C,0xC0033FD6); // writeData Generated by CPAD
vm_writeData(0x10051EC74,0xE20302AA); // writeData Generated by CPAD
vm_writeData(0x10051EC88,0xE10301AA); // writeData Generated by CPAD
Remember! You can go crazy with your value by entering 100000 into CPAD which will make it super secure but will likely take a lot of time depending on your computer.

NOTE: For CPAD to be more efficient. Use it AFTER you have modded your binary.

Binary comparision result:
158706

Credits: DiDA and Caoyin
 
Last edited:

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
1,594
21,977
1,213
23
Germany
i am getting this error when i try to start cpad.exe last is there anyway to fix it
How it says, you missing some basic files on your PC.

You could try to fix the issue with that Package:


And here is only that one File, but i would recommend to install that Package:

 

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
1,594
21,977
1,213
23
Germany
thanks but still getting same error
Then youre PC is really messed up lol because vcruntime is a dll from the package above. This .dll or more this package is required in nearly every pc game, in many pc software etc etc
 
Thread starter Similar threads Forum Replies Date
G Tested Shared Android MODs 1
TryRoom ANDROID APPS 1
Arsenal Tested Shared Android MODs 1
Arsenal Tested Shared Android MODs 3
san 1111 ANDROID APPS 1
G Tested Shared Android MODs 1
G Tested Shared Android MODs 2
G Tested Shared Android MODs 1
TryRoom ANDROID APPS 0
G Tested Shared Android MODs 1
G Tested Shared Android MODs 2
G Tested Shared Android MODs 2
Arsenal Tested Shared Android MODs 1
san 1111 ANDROID APPS 9
G Tested Shared Android MODs 1

About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!

Forum statistics

Threads
32,497
Messages
619,826
Members
757,399
Latest member
Kraster