Invention Grant
US08739119B2 Method for inserting code into .net programs and apparatus therefor
有权
将代码插入.net程序及其设备的方法
- Patent Title: Method for inserting code into .net programs and apparatus therefor
- Patent Title (中): 将代码插入.net程序及其设备的方法
-
Application No.: US12989681Application Date: 2010-07-28
-
Publication No.: US08739119B2Publication Date: 2014-05-27
- Inventor: Zhou Lu , Huazhang Yu
- Applicant: Zhou Lu , Huazhang Yu
- Applicant Address: CN Beijing
- Assignee: Feitian Technologies Co., Ltd.
- Current Assignee: Feitian Technologies Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Hammer & Associates, P.C.
- Priority: CN200910243880 20091224
- International Application: PCT/CN2010/075516 WO 20100728
- International Announcement: WO2011/076010 WO 20110630
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445

Abstract:
The present invention discloses a method for inserting code into .Net program and an apparatus therefor, relating to the field of information security. The method comprises the steps of: writing information of code to be inserted to import table of a .Net executable file; adding address of the code to be inserted to import address table (IAT) of the .Net executable file to form a new import address table; change offset address of entry point of the .Net executable file to address of the new IAT; and change flag in header of metadata table of the .Net executable file to enable the .Net executable file to meet certification requirements when being executed. The apparatus comprises a writing module, a forming module, and a modification module. The method and apparatus provided by the present invention implement code insertion into .Net executable file without the dependency on assembly and disassembly tools and are easy to use. The problems of low efficiency, poor stability, and poor compatibility in inserting code into .Net executable file can be solved by the present invention.
Public/Granted literature
- US20120272212A1 METHOD FOR INSERTING CODE INTO .NET PROGRAMS AND APPARATUS THEREFOR Public/Granted day:2012-10-25
Information query