MS-DOS

Moderators: blip
Number of threads: 362
Number of posts: 872

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
i need to know how to make virus in c++........ Posted by morpheus on 10 Nov 2001 at 8:46 AM
Can anyone help me???






Report
Re: i need to know how to make virus in c++........ Posted by Sephiroth on 10 Nov 2001 at 8:39 PM
: Can anyone help me???
A) If I was the mod of this board this message would already be gone.
B) Harming other's machines (speaking of those who have no clue how to do anything but turn them on) is just WRONG!
C) If you can't figure out how simple it would be to make a virus (speaking from a Windows OS), you need to study up on the basics of the language.

-Sephiroth


Report
Re: i need to know how to make virus in c++........ Posted by gautam on 11 Nov 2001 at 5:52 PM
Actually making a virus is not as simple as it looks. Most viruses are made in assembly, so you need to have good knowledge of assembly.

Secondly viruses are a good way of learning programming.

The first step into coding an anti-virus is coding a virus

Just be very careful.

Report
Re: i need to know how to make virus in c++........ Posted by Sephiroth on 11 Nov 2001 at 9:06 PM
Bah, you want to learn coding? I have the Doom, Quake, Quake II, and Duke3D sources. Yes, I am a gamaholic. And when it comes to Windoze, I can write one with a few lines of code in C/C++ that could wipe out say, Windoze/System. Worst (and only) virus I did was one that the user had to run (thus making it not a genuine virus) to make it work. The user would run the exe and until they figured out how to control their system with everything being inverted :P so they could shut down the program, it would catch the screen, copy it, flip it, and then blit it out. Hehe, kind of funny, but it made me nautious once.

-Sephiroth


Report
Re: i need to know how to make virus in c++........ Posted by Jaywalk on 13 Nov 2001 at 5:01 AM
: Bah, you want to learn coding? I have the Doom, Quake, Quake II, and Duke3D sources. Yes, I am a gamaholic. And when it comes to Windoze, I can write one with a few lines of code in C/C++ that could wipe out say, Windoze/System. Worst (and only) virus I did was one that the user had to run (thus making it not a genuine virus) to make it work. The user would run the exe and until they figured out how to control their system with everything being inverted :P so they could shut down the program, it would catch the screen, copy it, flip it, and then blit it out. Hehe, kind of funny, but it made me nautious once.

Sounds cool. You could put it on this site (as long as it really isn't viral).

I think games are a better way of learning, but Gautam does make a good point. You know, people always want to know how to do wierd things to computers, but you really should start on making something that does nothing at all, but is infectious. However, directions on virus-making really have no place on this site. The world would be a better place without virii.

Report
Re: i need to know how to make virus in c++........ Posted by gautam on 14 Nov 2001 at 3:55 AM

: I think games are a better way of learning, but Gautam does make a good point. You know, people always want to know how to do wierd things to computers, but you really should start on making something that does nothing at all, but is infectious. However, directions on virus-making really have no place on this site. The world would be a better place without virii.
:

Knowing something doesn't do much harm. Everyone loves free software don't they and unless you know how a virus works a anti-virus program won't become a reality. What I am trying to say is maybe tomorrow someone will release an anti-virus which is under open source and we won't have to pay for anti-vurus's software anymore and virii have already have made their way into the computer world long ago. Something in games nowadays is lost is the memory usage. Opengl and DirectX require a little of C and a little understanding of maths, otherwise coding is pretty simple using API's. Remember Dos games? Hence it would be better learnt in coding a virus. I am not saying virii are good, but something good definitely can be learnt from them.

The world would be a better place without virii but as its already there we can't do much except avoid it right and I am tired of paying for anti-virus's and for its software upgrades.


Report
ANSWER FOR YOUR QUESTION Posted by XPIRATOR on 23 Dec 2001 at 12:35 PM
HI
YOU CAN USE THE ASSEMBLY LANGUAGE FOR THIS
BY PROGRAMMING UNDER TASM32 OR PASS32 OR ....
YOU CAN FIND THESE PROGRAMMES IN - WWW.PROGRAMMERSTOOLS.ORG

BYE




Report
Re: i need to know how to make virus in c++........ Posted by Praecentor on 13 Nov 2001 at 8:20 AM
: Can anyone help me???
:
:
:
:
:
:
I would say: "Let it be..." because it is not that fine and by the way it is more efficient to write a virus in assembly. And every buggy program can be used as a virus

Report
Re: i need to know how to make virus in c++........ Posted by ghostwriter on 14 Dec 2001 at 12:50 PM
: Can anyone help me???
:
: Maybe a good shrink......
Report
Re: i need to know how to make virus in c++........ Posted by BASIC Friend on 15 Dec 2001 at 4:45 PM
: Can anyone help me???
:
:
:
:
:
:
:
Why do you NEED a virus? What do you want it to do? Why would anyone here want to help you with it anyways? It could come back on us.

As it was said, assembly would be better for viruses, but I don't see why you can't write one in C/C++ or any other language. There was one particular virus, I remember that was written with visual basic script. When it came attached to a letter it had the extension of .vbs That's VBScript.

Report
Re: i need to know how to make virus in c++........ Posted by Zell1388 on 14 Jan 2002 at 6:50 AM
: Can anyone help me???
:
:
:
:
:
:
:
No. Even though it is very simple and you really need no software at all, NO. Why do you want a virus? What kind is it, anyway? Who is it supposed to be for?
Report
Re: i need to know how to make virus in c++........ Posted by angelusMortis on 15 Jan 2002 at 8:22 AM
i dont know haw to do it in c++ but
if u have learned assembly, u can download the book:
'little black book of computer virus'.
this book teaches virus programming with assembler.
it should be somewhere on web as pdf.
Report
Re: i need to know how to make virus in c++........ Posted by diehard on 24 Feb 2002 at 12:40 PM
: Can anyone help me???
:
:
:
:
:
:
:
Hi!!
First of all virus programming is a state of art, it is a good way to learn programming (go resident, bla..bla...) The best way is it, to do in assembly it`s small, run fast bla..bla...
I learned it in assembly it`s nice to do but hard to learn.
I now that there are some loser use it to damage someones computer. But
if you use it right i think it`s OK.
I now a site for how to learned it in assembly but, if you want it i will email it to you.(you now some people will use it bad).
It`s very good.
And if i was you i will test your virii on a old computer that isn`t so terrible if it damage.
Well googbye

Marcel



Report
Re: i need to know how to make virus in c++........ Posted by alan_pollock on 1 Mar 2002 at 12:49 AM
: : Can anyone help me???
: :
: :
: :
: :
: :
: :
: :
: Hi!!
: First of all virus programming is a state of art, it is a good way to learn programming (go resident, bla..bla...) The best way is it, to do in assembly it`s small, run fast bla..bla...
: I learned it in assembly it`s nice to do but hard to learn.
: I now that there are some loser use it to damage someones computer. But
: if you use it right i think it`s OK.
: I now a site for how to learned it in assembly but, if you want it i will email it to you.(you now some people will use it bad).
: It`s very good.
: And if i was you i will test your virii on a old computer that isn`t so terrible if it damage.
: Well googbye
:
: Marcel
:
:
:
:


Anyone who has the time and talent to waste on writing a virus for use with malicious intent... needs to get a life, hell get 2 they're free. What a waste of time and talent.

As for the statement above about "use it right"... a harmless virus used for say business purposes?... where after a certain date if your client still hasn't paid the bill? That works for me (as long as the client's data isn't destroyed in the process).
Report
Re: i need to know how to make virus in c++........ Posted by jeffpost on 1 Mar 2002 at 8:00 PM
:
: As for the statement above about "use it right"... a harmless virus used for say business purposes?... where after a certain date if your client still hasn't paid the bill? That works for me (as long as the client's data isn't destroyed in the process).
:

It doesn't work for me. There is NEVER any valid reason for writing that kind of crap. If your client hasn't paid his bill, there are legitimate ways to deal with the problem. Mucking about in his computer is NOT an acceptable course of action, whether you destroy his data or not.

Report
Re: i need to know how to make virus in c++........ Posted by alan_pollock on 1 Mar 2002 at 11:50 PM
: :
: : As for the statement above about "use it right"... a harmless virus used for say business purposes?... where after a certain date if your client still hasn't paid the bill? That works for me (as long as the client's data isn't destroyed in the process).
: :
:
: It doesn't work for me. There is NEVER any valid reason for writing that kind of crap. If your client hasn't paid his bill, there are legitimate ways to deal with the problem. Mucking about in his computer is NOT an acceptable course of action, whether you destroy his data or not.
:
:

The only "mucking about" performed is that the application you've written no longer functions (or even deletes itself)... NOTHING ELSE in the system is touched. Legitimate ways do not always work, and at times when they do it can take months or even years... I've "eaten" enough time over the years to have learned this.
Report
Re: i need to know how to make virus in c++........ Posted by jeffpost on 4 Mar 2002 at 7:34 AM

:
: The only "mucking about" performed is that the application you've written no longer functions (or even deletes itself)... NOTHING ELSE in the system is touched. Legitimate ways do not always work, and at times when they do it can take months or even years... I've "eaten" enough time over the years to have learned this.
:
Irrelevant, IMHO. (Note: IANAL). If someone steals something from you and has it in his house, does that give you the right to enter and search his house to recover the stolen item? I don't think so. Do that in my house and you're likely to get shot.

If legitimate ways don't always work, tough. It's a result of living in a society in which people other than yourself also have rights. Deal with it. Nothing's perfect.

Report
Re: i need to know how to make virus in c++........ Posted by alan_pollock on 4 Mar 2002 at 10:16 PM
As much as this "debate" seems like pissing in the wind... you are comparing apples to oranges. Software developers have been putting time and usage locks in their products for ages. It's nothing new. As for "deal with it", obviously you're not in business for yourself and know nothing of what it's like to have to eat time ($). Time and usage locks in software are legitimate. As for "nothing's perfect", your world is what you make it... there's nothing wrong with striving for perfection.

One last note (pardon me), but what are "IMHO" and "IANAL" supposed to stand for? I'm not familiar with either of those acronyms.

Report
Re: i need to know how to make virus in c++........ Posted by jeffpost on 5 Mar 2002 at 1:02 PM
: As much as this "debate" seems like pissing in the wind... you are comparing apples to oranges. Software developers have been putting time and usage locks in their products for ages. It's nothing new.

You were not talking about time and usage locks, you were talking about virii. That's comparing apples and oranges.


: As for "deal with it", obviously you're not in business for yourself and know nothing of what it's like to have to eat time ($). Time and usage locks in software are legitimate.

Agreed, but again, you were talking about solving such business problems with a virus, not time and usage locks. And I do know what it's like to 'have to eat time'; I've had my software ripped off before.

The point is that virii are never acceptable solutions. Ask a lawyer about the consequences of infiltrating someone else's computer with a virus, even if it only removes unpaid-for software. Deal with such problems in legally acceptable ways or open yourself to liability. The analogy of breaking into someone's house to recover stolen property is apt. You don't have that right--have the police do it with a proper search warrant.

I understand your irritation at having to pay lawyers to deal with these problems, but that's a cost of doing business, just like insurance. If you can't handle it, perhaps you should consider a different means of earning a living. But please don't try to use this example as an excuse for writing virii. It doesn't fly.

:
: One last note (pardon me), but what are "IMHO" and "IANAL" supposed to stand for? I'm not familiar with either of those acronyms.
:
In My Humble Opinion. I Am Not A Lawyer.


Report
Re: i need to know how to make virus in c++........ Posted by alan_pollock on 6 Mar 2002 at 1:51 AM
: : As much as this "debate" seems like pissing in the wind... you are comparing apples to oranges. Software developers have been putting time and usage locks in their products for ages. It's nothing new.
:
: You were not talking about time and usage locks, you were talking about virii. That's comparing apples and oranges.

I stand corrected. I should have made that distinction clear at the start.

:
:
: : As for "deal with it", obviously you're not in business for yourself and know nothing of what it's like to have to eat time ($). Time and usage locks in software are legitimate.
:
: Agreed, but again, you were talking about solving such business problems with a virus, not time and usage locks. And I do know what it's like to 'have to eat time'; I've had my software ripped off before.

Again as before, I should have clarified that. As for my eating time comment, it wasn't meant to be harsh... many have no idea of the concept.


:
: The point is that virii are never acceptable solutions.True Ask a lawyer about the consequences of infiltrating someone else's computer with a virus, even if it only removes unpaid-for software.<---Personally, I'd still debate that (as I said, as long as your software is the only thing that stops... nothing else is touched... not even the data they created with it)} Deal with such problems in legally acceptable ways or open yourself to liability. The analogy of breaking into someone's house to recover stolen property is apt. You don't have that right--have the police do it with a proper search warrant.
:
: I understand your irritation at having to pay lawyers to deal with these problems, but that's a cost of doing business, just like insurance.<---And in an ongoing contract, with payment in phases, I still find such lockouts a good incentive for payment} If you can't handle it, perhaps you should consider a different means of earning a living. But please don't try to use this example as an excuse for writing virii.<---I never intended to} It doesn't fly.
:
: :
: : One last note (pardon me), but what are "IMHO" and "IANAL" supposed to stand for? I'm not familiar with either of those acronyms.
: :
: In My Humble Opinion. I Am Not A Lawyer.
:
: LOL... I've never have guessed! Thanks.
:

Report
Re: i need to know how to make virus in c++........ Posted by leowasif on 2 May 2009 at 11:16 AM
hi. dudes wan make a virus that heart someone ok.....
mail me i will tell u a very unique method of virus bulding
but it is top sercite
leo.wasif05@yahoo.com
Report
In mY mInd, I mUsT rEaD, vOrTeX Posted by 3y3ty on 29 Jul 2009 at 7:30 PM
Hello newbies,
a house full of toxic waste...
Give me convenience or give me death!

A virus is a program file infector, it is either resident
(captures INT 21h vector) or non-resident (uses findfirst findnext).
To be able to construct a binary image which could tag itself
to the end of executables it must be coded in assembly,
for changing its offset in the binary image will change
the offsets of its variables.
There is a technique around this.

To get the difference to calculate
the offsets of your variables do this:
call mytrick
mytrick:
pop bp
sub bp,offset mytrick

Then to access your variables:
mov dx,[bp+offset var]

Simply encode a 3-byte near jmp instruction using as a displacement
the unsigned size of the host file in bytes.
Copy the first three bytes of the binary image (*.com) and replace it
with your jump at 100h and place the virii code at the end of the
host binary image.

More complex viruses can be created that interpret the .EXE file header.

Making your virus polymorphic:
Simple! Decrypt your encrypted code with a known key, execute,
generate a new key, store the new key in your programs data area,
re-encrypt the decrypted portion,write new encryption back where
the original encryption was stored,and overwrite your own programs
executable with the changes.
...

We hate mind-control,
we are words...
1 2  Next



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.