TestPEInject

所属分类:Windows编程
开发工具:Visual C++
文件大小:32KB
下载次数:23
上传日期:2011-01-21 18:45:18
上 传 者sToa
说明:  一个不太通用的PE感染方法 原理: 修改入口点代码为病毒体代码,病毒体代码在运行后修复原入口点代码并执行. 感染过程: 1.备份原PE文件入口点代码(病毒体大小)到文件尾部 2.用病毒体代码覆盖入口代码 执行过程: 1.执行用户自定义代码 2.复制修复代码到动态申请的内存中 3.执行修复代码修复原入口 4.跳转到原入口运行 问题: 1.感染有重定位表的PE文件时,病毒代码可能被系统PE加载器修改 2.入口点到入口点所在节尾部大小小于病毒体大小时,文件会损坏 3.感染upx壳压缩过的文件会出错 代码请使用VC6 Release方式编译.. 注:本代码有一定的破坏性,请勿用于非法用途,否则一切后果自负
(A less common method of PE infected)

文件列表:
TestPEInject\Release\TestPEInject.exe (49152, 2010-01-27)
TestPEInject\StdAfx.cpp (299, 2010-01-26)
TestPEInject\StdAfx.h (667, 2010-01-26)
TestPEInject\TestPEInject.cpp (6715, 2010-01-27)
TestPEInject\TestPEInject.dsp (4803, 2010-01-27)
TestPEInject\TestPEInject.dsw (547, 2010-01-27)
TestPEInject\TestPEInject.ncb (41984, 2010-01-27)
TestPEInject\TestPEInject.opt (53760, 2010-01-27)
TestPEInject\TestPEInject.plg (1417, 2010-01-27)
TestPEInject\TestPEInject.positions (105, 2010-01-27)
comm\File.cpp (4143, 2010-01-22)
comm\File.h (1489, 2010-01-22)
comm\PEInject.cpp (3293, 2010-01-27)
comm\PEInject.h (2328, 2010-01-26)
TestPEInject\Release (0, 2010-01-27)
TestPEInject (0, 2010-01-27)
comm (0, 2010-01-27)

======================================================================== CONSOLE APPLICATION : TestPEInject ======================================================================== AppWizard has created this TestPEInject application for you. This file contains a summary of what you will find in each of the files that make up your TestPEInject application. TestPEInject.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. TestPEInject.cpp This is the main application source file. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named TestPEInject.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者