sithis993 / Crypter

Crypter - Python3 based builder and ransomware compiled to Windows executable using PyInstaller
GNU General Public License v3.0
636 stars 187 forks source link

A simple interesting request #81

Open piratefilthy opened 4 years ago

piratefilthy commented 4 years ago

I was wondering if you could add a time delay feature in it. Like after the program has been executed it should create that encryption/decryption key right away but wait for a certain amount of time before encrypting the file also the we could decide the amount of time while building. BTW such a ransomware https://github.com/etherume/hidden-tear-1 exists but it's written in C sharp and I am learning Python currently.

sithis993 commented 4 years ago

Hey, sorry for taking so long to get back to you. Definitely, I think this is quite a good idea! I'll take a look at implementing it and update the thread with my progress :-)

sithis993 commented 4 years ago

Sorry this took so long. I've now implemented this capability and you can specify the time delay in seconds within the Builder. Have a look and let me know if this gives you what you need: https://github.com/sithis993/Crypter/releases

sithis993 commented 4 years ago

Have you had chance to take a look at this yet? :-)

piratefilthy commented 4 years ago

Sorry for the late reply, I was off internet. So i tried this version and it works just fine as i expected. Although i did have a small issue with the standalone executable, when i tried to install the ransomware on vm where python is not installed, it gives off error so i first had to install python. Maybe its just the limitation of pyinstaller. Also if you have free time, how about instead of time delay, we set up a date for encryption. BTW thanks for following up, keep up the good work

sithis993 commented 4 years ago

oh... that's odd. The whole point of PyInstaller is that it wraps everything up (including the Python interpreter) into a single executable file. This way the target computer doesn't need Python or any of the code dependencies. What's the error you're seeing?

The date idea is a good one actually... I'll add that to my list and let you know what progress I make

piratefilthy commented 3 years ago

Hey sorry about so late reply again, I was kinda locked up, lol. So, when I freeze the program on a system with Python 3.7.0 installed and then run it on a system with no Python installed, it gave me two errors, 1) Error loading Python DLL C:\Users...\Temp_MEI37522\python37.dll not found and 2) api-ms-crt-runtime-1-1-0.dll is missing. So installed Python 3.6.8 then freezed the program. Now it works on non Python installed system but the time delay doesn't work as it should. As soon as the program is executed, it should generate a text file with the key then wait for the number or seconds we decided earlier then encrypt the files so attacker could escape the scene with the key. But instead it generates the key after the encryption which is no good. Also consider my request to encrypt at a certain time so if there are more than one system then the attacks would be synced. Another issue I faced is that .xlsb file was encrypted and a clone file was created with .locked extension but the original file was still there. I would also like to know if there is a way to recover files even after the timer runs out as it blurs out the recover tab. I hope to hear from you soon, thanks.