#1
|
||||
|
||||
How to Protect InnoSetup from Unpacking
How to Protect InnoSetup from Unpacking * I was searching for a method to prevent InnoSetup from being unpacked by unpacking tools such as Innounp, InnoExtractor, innoextract, etc. I found some interesting things, such as modified versions of InnoSetup, old versions of InnoSetup, etc., and some utilities like InnoSProtect. However, I was unable to find a proper way to prevent unpacking with the latest vanilla version of InnoSetup. That's why I came up with this idea. * I slightly modified FXPcker.exe, which can now store InnoSetup's encryption password, and we can also retrieve it using FXPckerAPI.dll whenever we want. * So, what are FXPcker.exe and FXPckrAPI.dll?
That's basically how FXPckr protects data from theft. * There's one thing: FXPckr.exe has an option called 'Debug Mode', which means if you enable it, the 'FXUnPckrInit' won't validate the client app anymore; it will only validate the password. During the testing stage of our script, we have to compile the script numerous times. This 'Debug Mode' helps us here because if it's off, then each time we compile the script, we have to create a new data file.
------------------------------------------------------------------------------------------------------------------------------------------------------ * In the current case, I've modified FXPckr a little bit so we can store InnoSetup's encrypted password inside the Setup.dat and use it as follows to prevent unpacking:
* First 'FXUnPckrInit' verifies the correct client app (as defined in FXPckr.exe ) and the encrypted password. If successful, we can use the 'FXUnPckrGetInnoEncryptedPasscode' function to retrieve InnoSetup's encrypted password.
* Please read the attached Readme files first; they provide step-by-step instructions on how to use this. . |
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (12-05-2024), Behnam2018 (12-05-2024), Cesar82 (12-05-2024), kenzo34 (12-05-2024), mausschieber (12-05-2024), ScOOt3r (12-05-2024) |
Sponsored Links |
#2
|
||||
|
||||
Good idea. Thanks!
The only problem is having to generate an external file to store the information (in this case Setup.dat). Is the Setup.exe authenticity check when accessing the Setup.dat file done by checking the Setup.exe checksum? |
The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Behnam2018 (12-05-2024) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InnoSetup Web Browsing - ISWebViewDll.dll : Embedding web content in InnoSetup | BLACKFIRE69 | Conversion Tutorials | 0 | 05-02-2024 07:12 |
Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 18:35 |
protect inno setup against unpacking | torax | Conversion Tutorials | 2 | 28-07-2023 08:04 |
DVD2VCD with CD Protect ?? | lovables | DVD Backup Forum | 4 | 17-02-2004 15:58 |
make a reading protect file | zanna86 | CD/DVD Software & Utilities | 0 | 24-02-2002 10:16 |