Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2005, 02:46 PM
vishal
Guest
 
Posts: n/a
Default issue related to viruses

Hi,

I am looking to find how virus are written and how they work?

Could someone tell me which applications are used to write viruses and
how they are used, and how do the viruses work across different
platforms and applications?

If someone could explain me, that would be great. else if someone knows
online links on the net, that would also be a great help.

Thanks
vishalgrg


Reply With Quote
  #2 (permalink)  
Old 08-19-2005, 02:58 PM
Todd H.
Guest
 
Posts: n/a
Default Re: issue related to viruses

"vishal" <vishalgrg@gmail.com> writes:
> Hi,
>
> I am looking to find how virus are written and how they work?



Hopefully not in the interest of writing one.

> Could someone tell me which applications are used to write viruses and
> how they are used, and how do the viruses work across different
> platforms and applications?


It varies. C is not uncommon though.

Most malware does not work across different platforms. Viruses
(self-replicating malware that relies on host files it attaches to)
typically spread among machines of a similar OS or within a given app.

> If someone could explain me, that would be great. else if someone knows
> online links on the net, that would also be a great help.


http://en.wikipedia.org/wiki/Malware

would be a good place to start to get educated on this cat/mouse field.

Best Regards,
--
Todd H.
http://www.toddh.net/

Reply With Quote
  #3 (permalink)  
Old 08-20-2005, 03:53 AM
Matthew X. Economou
Guest
 
Posts: n/a
Default Re: issue related to viruses

>>>>> "vishal" == vishal <vishalgrg@gmail.com> writes:

vishal> Hi, I am looking to find how virus are written and how
vishal> they work?

Unfortunately, there's not a lot of good, easily understandable
material on this topic. If you are interested in honest-to-God
executable infectors, you'll need a good grounding in the basics of
linkers and loaders. I recommend Levine's book on the topic. You
should also begin learning X86 assembly language and system
programming. Kip Irvine's book on IA32 (x86) assembly is probably the
best of its kind. A grounding in reverse engineering will also help
you study malicious software discovered in the wild. The openrce.org
web site is a good place to start.

A half-way decent worm is pretty easy to write, as opposed to a virus
which requires more technical skill. Melissa, for all the problems it
caused, was just a stupid little Visual Basic script. The hardest
part about a worm is figuring out the delivery mechanism. Metasploit
can help with the heavy lifting there, although you can adapt the
Outlook or IE exploit du jour. A few years ago when we were playing
around with worms, we were using same the MHTML security zone spoofing
trick as Nimda. It was fun, but we got bored with it pretty quickly.
Executable infectors are really hard if you don't normally do a lot of
programming, and worms are so trivially easy as to make it not worth
the mental exertion. Hell, we were writing worms in Pascal, which in
my programming hierarchy is only two steps above COBOL in terms of
utter lameness. ;)

Live virus/worm code makes for GREAT countermeasure testing. When we
were evaluating intrusion prevention software that employed behavioral
analysis, we would purposefully hunt down the latest and greatest
virus, de-install the relevant patches or anti-virus software (if
necessary), and run the thing, just to see how the IPS would handle
it. There's nothing quite like trying the real thing to make vendors
put up or shut up.

One of these days, I'm going to start a public virus archive. It will
probably get my IP banned by everybody, but there's nothing like
having the real thing to work with, whether you are learning weapons
and tactics, diligently researching vendor's claims about their
products, or developing countermeasures of your own. Of course, I
need to consult my lawyer first... :)

Best wishes,
Matthew

P.S. Don't be a moron. It's all fun and games until you cause
problems for the rest of us. We are always very careful to isolate
our test environments. You would be wise to do the same.

--
jsoffron: I'm generally pretty high on national defense...
Mr. Bad Example: Careful...it's a gateway policy. Before you know it,
you'll be mainlining the hard stuff like trade agreements.
jsoffron: Too late...I've been freebasing Nafta all day... Sweet,
sweet NAFTA.
- As seen on Slashdot

Reply With Quote
  #4 (permalink)  
Old 08-20-2005, 06:57 AM
Volker Birk
Guest
 
Posts: n/a
Default Re: issue related to viruses

vishal <vishalgrg@gmail.com> wrote:
> I am looking to find how virus are written and how they work?


A virus has two parts, a replication engine, and a part, which does
the (harmful) functions. They're just computer programs, and build
with build tools like editor, compiler, linker, IDE, $WHATEVER.

> Could someone tell me which applications are used to write viruses and
> how they are used, and how do the viruses work across different
> platforms and applications?


A virus is written as any other computer program. Unfortunately, there
are also virus construction kits, which make "point and click" to build
virusses easy also for people, who cannot program.

I.e. Sasser was build with such a construction kit.

> If someone could explain me, that would be great. else if someone knows
> online links on the net, that would also be a great help.


http://www.google.com ;-)

Yours,
VB.
--
"Es kann nicht sein, dass die Frustrierten in Rom bestimmen, was in
deutschen Schlafzimmern passiert".
Harald Schmidt zum "Weltjugendtag"

Reply With Quote
  #5 (permalink)  
Old 08-20-2005, 12:49 PM
vishal
Guest
 
Posts: n/a
Default Re: issue related to viruses

I am not really interested in writing viruses. I am PG student in
Information Security and this is a part of my research project. I have
basic knowledge of virusus and how do they work. But need to go in more
detail for my work.

Thanks
vishal


Reply With Quote
  #6 (permalink)  
Old 08-20-2005, 01:05 PM
vishal
Guest
 
Posts: n/a
Default Re: issue related to viruses

Hi All,

With my understanding of viruses, I know that viruses can be wirtten
using assembly language, c language, VB scripts etc. But I am sure
about Java script, perl language or any other language that might be
used for this purpose.

Also I wish to know, if a virus can work across platfroms or can be
written only for a specific platform and application such as Windows or
Mac or Unix/Linux. Also across applications like the one that infects
MS Word document can also infect any other application.

Thanks
vishal


Reply With Quote
  #7 (permalink)  
Old 08-20-2005, 02:10 PM
Volker Birk
Guest
 
Posts: n/a
Default Re: issue related to viruses

vishal <vishalgrg@gmail.com> wrote:
> I am not really interested in writing viruses. I am PG student in
> Information Security and this is a part of my research project. I have
> basic knowledge of virusus and how do they work. But need to go in more
> detail for my work.


Ah, OK.

Then try to write a replication engine yourself. It's not too complicated.
What helps, is knowledge in Assembler/Machine language and C.

Here you can read, how the executable format works, Windows is using:

http://msdn.microsoft.com/msdnmag/is...E/default.aspx
http://msdn.microsoft.com/msdnmag/is...2/default.aspx

Many *NIX systems are using this format today:

http://www.cs.ucdavis.edu/~haungs/paper/node10.html

Understanding this will lead you to the ability to add your own code
and to change the startup code of an existing executable, wich is good
to know to write a replication engine.

Boot sector viruses are somewhat outdated, since a pure bootsector
virus today is difficult to spread.

Or did you think about makro-viruses (which are much easier), worms or
even mail worms?

Yours,
VB.
--
"Es kann nicht sein, dass die Frustrierten in Rom bestimmen, was in
deutschen Schlafzimmern passiert".
Harald Schmidt zum "Weltjugendtag"

Reply With Quote
  #8 (permalink)  
Old 08-20-2005, 02:25 PM
Volker Birk
Guest
 
Posts: n/a
Default Re: issue related to viruses

vishal <vishalgrg@gmail.com> wrote:
> Also I wish to know, if a virus can work across platfroms or can be
> written only for a specific platform and application such as Windows or
> Mac or Unix/Linux.


Usually, viruses are platform dependent code, as most of programs are.
But there could be platform independent viruses also. It's much more
difficult to write them, though.

> Also across applications like the one that infects
> MS Word document can also infect any other application.


Could be.

Yours,
VB.
--
"Es kann nicht sein, dass die Frustrierten in Rom bestimmen, was in
deutschen Schlafzimmern passiert".
Harald Schmidt zum "Weltjugendtag"

Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Issue dbc29uk Network Troubleshooting 0 04-09-2007 04:43 PM
Wireless Issue Harvey Gratt alt.internet.wireless 8 03-26-2007 02:21 AM
EuroPKI'07 (+ Journal Special Issue) isis comp.security.misc 0 01-23-2007 08:20 PM
V265 Battery Life Issue Bruce alt.cellular.verizon 14 11-09-2006 11:42 PM
Verizon Fios & WiFi Issue imnycusa Network Troubleshooting 0 07-06-2006 02:20 PM


All times are GMT. The time now is 02:20 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45