Computing.Net > Forums > Programming > So, how exactly is a virus made?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

So, how exactly is a virus made?

Reply to Message Icon

Name: gimmpy225
Date: June 27, 2005 at 23:10:13 Pacific
OS: Windows XP Pro
CPU/Ram: amd 64 3000+/1 gig
Comment:

Just an FYI, Im into programming for 2 things, making games and security, so the purpose of this is to start to figure out the basic code behind a virus for educational purposes, not to try to destroy peoples comps :-P


understandable if this is an inappropriate discussion and what not.

GIMPS



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: June 28, 2005 at 02:43:01 Pacific
Reply:

A virus is made just like any other program. They can be written in any language. Basically anything can be a virus, it just needs to do a few basic things:

1) Replicate itself on a machine or across a network
2) attempt to remain invisible while doing so.

But you don't want to make a virus, they are made by stupid people. Real genius is knowing that you can make malicious code, but refraining from doing so. People who make viri and other types of malicious code are sad, lonely, ignorant little nobodies.

Don't be a sad, lonely, ignorant little nobody...be a happy, healthy, intelligent somebody.

Chi

They mostly come at night...mostly.


0

Response Number 2
Name: Sci-Guy
Date: June 28, 2005 at 02:54:37 Pacific
Reply:

To add to what Chi already said:

The only thing that comes close to being as low as a virus writer are those people that don't run any antivirus software. It's hard to believe, but even in this day and age, we hear of people surfing the net without even basic A/V protection.

That's my two cents.


Please let us know if you found someone's advice to be helpful.


0

Response Number 3
Name: ChanSahib
Date: June 28, 2005 at 06:27:49 Pacific
Reply:

you don't necessarily need A/V protection when surfing the web ... if you are not downloading stuff .., and not using IE ...


0

Response Number 4
Name: gimmpy225
Date: June 28, 2005 at 08:06:20 Pacific
Reply:

yea im not going to be a viri writer, I just wanted to figure out how to write it and then perhaps get an understanding of how Anti virus software detects and gets rid of it :).

GIMPS


0

Response Number 5
Name: Chi Happens
Date: June 28, 2005 at 12:04:25 Pacific
Reply:

Suffice it to say that anti-virus programs look for virus signatures as well as activity. Signatures are simpy bytes that are found within the virus. The anti-virus programs must get updates to their definitions so that they can keep detecting new viruses (meaning that they know the byte code patterns for them).

basically this is simply program code at the binary level.

How they detect activity is simply by defining rules that when violated signify that virus-like activity is happening (such as non-user envoked deleting of files, or replication of files)

Now that you know how they are found and how to write one...move on to something constructive. Don't waste your time as a wanna be virus writer...learn something useful.

Chi

They mostly come at night...mostly.


0

Related Posts

See More



Response Number 6
Name: Chi Happens
Date: June 28, 2005 at 12:07:17 Pacific
Reply:

2 things:

1) simpy = simply
2) i know you say that you don't want to be a virus writer, but you keep saying that you want to know how to write one...well, you don't need to know how to write a virus to know how to fight against them.

Chi

They mostly come at night...mostly.


0

Response Number 7
Name: dgcoder
Date: July 4, 2005 at 14:33:37 Pacific
Reply:

The first part for virus indentification is string matching.String matching is often used by antivirus programs to positively identify viral strains.But,it is also a method that is used by viruses to identify themselves.Viral self-identification is necessary to prevent overpopulation and to prevent a host from being infected multiple time. The development of string matching antiviral programs lead to the development of polymorphic viruses,which are viruses that are specifically designed to foil string matching antiviral programs.

Check out Symantech virus enciclopedia.Search in altavista about viruses,antiviruses.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: So, how exactly is a virus made?

what exactly is a managed code?? www.computing.net/answers/programming/what-exactly-is-a-managed-code/13332.html

How can I create a simple virus? www.computing.net/answers/programming/how-can-i-create-a-simple-virus/16137.html

What exactly is binary file? www.computing.net/answers/programming/what-exactly-is-binary-file/6322.html