ATTENTION! This program code is malicious and can encrypt or/and delete personal data!
Attention! Use of the code samples and proof-of-concepts shown here is permitted solely at your own risk for academic and non-malicious purposes. It is the end user's responsibility to comply with all applicable local, state, and federal laws. The developer assumes no liability and is not responsible for any misuse or damage caused by this tool and the software in general.
This is a Ransomware Concept written in Python, Go and C99. Yes it is malicious. Yes, if you do that on your own VMs it is okay. Yes, if you misconfigured the architecture or network and encrypt your own files they are gone forever.
This PoC I've written for some educational projects. Only for that! And because I am very interested in the topics of how malware is detected and works. :D By the way, on Windows only 4 from 71 AV-Scanners detected the packaged and obfuscated client. On Linux only 1!
Very, by using a alternative hybrid technique! The program uses AES-256 symmetric encrption mode for file encryption. The Keys where sent by the server using TLSv1.{2,3}. The Keys where directly deleted after (en-) decryption.
- Clone the repo:
git clone https://github.com/bstnbuck/ItsSoEasy
- Python server:
src/server
- Python GUI:
src/python-gui
- Python command line:
src/python-cmd
- Go:
src/go
- C99:
src/c99
Python GUI | Python command line | Go | C99 |
---|---|---|---|
Client
Server
|
|
|
Windows
Linux
Windows
Linux
|
This is the test-environment I've used.
-
Server: VBox Debian Linux Buster (Version 10) with
- host-only-adapter
- static ip: paste it into client file
- for example Apache2 with website for delivery
- local SQLite (nothing to do...)
- database
itsSoEasy
and tableclients
- columns:
id
: int, primary key, no-nulluserIdentity
: text, no-nulluserKey
: text, no-nulluserIV
: text, no-nulladditional
: text
- columns:
- database
- itsSoEasy-Server ->
server.py
:- port 6666
- creates logging file
- needs
certs
folder in the same directory to start TLS-connection
-
Client (Python GUI, others may have less functions):
- NAT (internet and internal ips) -> needs no static ip!
- Ubuntu 20.04 (Focal Fossa), Windows 10
- for example usage of precompiled binarys:
- per delivery on website from server
-
ATTENTION: will encrypt whole Documents or a special directory in it on both os!
- automatically requests a decryption after several seconds
-
ATTENTION: debugging will be detected!
- At the begin, process list will be analyzed
- during execution time will be taken, if more than 1,5 seconds
programm opens
https://google.de
and kills itself.-> ATTENTION for vboxes with minimal ram or hdd-disks usage
- if event killed itself, start again, process will do his thing (encryption or decryption)
- if not payed the ransom, after restart, it starts automatically
- killing process with
STRG-C
will not work! - removes itself and all his created files automatically when procedure is done