Comments (2)
where do you learn do decrypt all this encripted files,
Solely by debugging the application that does the decryption. At one point an application will read the encrypted file into memory and decrypt it with a public or a custom algorithm. Most of the work ist just figuring out which algorithm is used and (when applicable) where the keys to decrypt are stored.
but where do you get decrypt keys for example
Either they are stored inside the application or they are loaded from somewhere externally (another file or a remote server). DSII stored most keys related to the asset files inside external files in a human readable text format. FROM noticed that this wasn't a good idea and reworked it for DSIII.
In DSIII the keys were embedded inside the application in an obfuscated (non human readable) format. The game will deobfuscare the key in memory when it is required and obfuscate it when it's done reading the encrypted file. This process is over in a few ms, so you're going to need to use a debugger to pause the application at the right instruction or moment. While it is deobfuscated it can be found in memory and saved for later use.
Any resource to learn to make this?
There are plenty of written or video tutorials that explain debugging applications, data encryption and tool programming on their own. I don't know of any that cover all aspects I needed to know to write this tool.
Write your own applications that use common encryption algorithms like RSA, AES, Blowfish etc. and use a disassembler and debugger like x64dbg, ollydbg or the free version of IDA to see how each algorithm looks like when compiled.
Try searching for other open source tools for games that use file encryption and debug the decryption routines. I'd also recommend that you limit yourself to games that don't require a network connection/account and that don't use any DRM or anti debugging techniques.
from bindertool.
Finally everything is clear to me! So many thanks to take the time to answer my question, now I have good guide to begin on it!
I close Issue ^^
from bindertool.
Related Issues (20)
- Enchanted Arms BND support? HOT 4
- something wrong!
- Can't extract .tpf.dcx HOT 1
- problems with .tpf.dcx files in Dark Souls III HOT 7
- How do I open the program? HOT 1
- Unpacking error HOT 3
- Byte array size limit HOT 5
- Elden Ring keys HOT 18
- Elden Ring branch or merge back to master? HOT 10
- ER: encoding of decompiled luabnd.dcx script HOT 2
- Backwards compatibility of Elden Ring branch
- Dark souls 3 0.3.1 unhandled exception. HOT 1
- I tried to extract the .bdt files from Elden Ring using this command "BinderTool Data2.bdt", but this error happened: HOT 1
- Error when trying to extract BND files HOT 4
- how to pack back Data0.bdt or other .bdt? HOT 1
- Extracting .bdt from DS2 HOT 10
- how to put it back to the original file? HOT 1
- Unrelated Issue
- sl2 output binaries HOT 2
- Hello,I need som help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindertool.