Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted Usage? #6

Open
Manouchehri opened this issue Jul 17, 2017 · 7 comments
Open

Encrypted Usage? #6

Manouchehri opened this issue Jul 17, 2017 · 7 comments

Comments

@Manouchehri
Copy link
Contributor

Is extracting password protected installers supported in uninno? Not sure how I'm supposed to input the password (i.e. uninno.pl -p alic.e13E7 installer.exe).

@onitake
Copy link
Owner

onitake commented Jul 18, 2017

I didn't have any exhibits for testing and it wasn't relevant for my use cases, so I never implemented support for it. It probably won't be too hard to do so. Do you know Perl? 😉

@onitake
Copy link
Owner

onitake commented Jul 18, 2017

I'll look into it.

@onitake
Copy link
Owner

onitake commented Jul 18, 2017

I added experimental support for password hash checking, but no decryption yet.
Can you test the latest HEAD and see if it accepts your password?

@Manouchehri
Copy link
Contributor Author

@onitake No luck, sorry.

PS C:\Users\dave> docker run -it --rm thawsystems/uninno
uninno@7008761e171a:~$ git clone -b tweaks-v3 https://github.com/kholia/inno2john
Cloning into 'inno2john'...
remote: Counting objects: 602, done.
remote: Total 602 (delta 0), reused 0 (delta 0), pack-reused 602
Receiving objects: 100% (602/602), 494.00 KiB | 584.00 KiB/s, done.
Resolving deltas: 100% (417/417), done.
Checking connectivity... done.
uninno@7008761e171a:~$ uninno.pl -e inno2john/samples/Output/setup.exe
Installer version: 5500
Number of files: 2
1: test.txt App 0 2015-02-04 14:18:20 CE...ERROR: File is encrypted, but no password was given at /home/uninno/uninno/Setup/Inno.pm line 220.
uninno@7008761e171a:~$ uninno.pl -p openwall -e inno2john/samples/Output/setup.exe
Installer version: 5500
Number of files: 2
Invalid password specified.

@onitake
Copy link
Owner

onitake commented Jul 25, 2017

Thanks for referencing the file, I'll have a look.

@onitake
Copy link
Owner

onitake commented Jul 25, 2017

Ok, I fixed a couple of bugs, password verification should work now.

Decryption isn't implemented yet.

@onitake
Copy link
Owner

onitake commented Aug 3, 2017

So, I implemented a bit of decryption support and tried to test it using your example installer.

uninno can decrypt the data just fine - but it seems the installer is broken: It specifies the chunk containing the text file as LZMA compressed - but the chunk is only 2 bytes long, and that's way too small for a compressed blob.

Do you know how this installer was created?

It could also be a bug in the decompression code, but I probably need more samples to investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants