首页
社区
课程
招聘
[分享] IDA Inject plugin
发表于: 2008-7-5 11:16 8138

[分享] IDA Inject plugin

2008-7-5 11:16
8138
IDA Inject plugin
This plugin allows you to inject dlls into a debugged process, either prior to process creation or when the debugger is attached. This plugin allows you to inject dlls into a debugged process, either prior to process creation or when the debugger is attached. The injected dll can then do some fancy stuff inside the debugged process. The injected dll can then do some fancy stuff inside the debugged process.
To realize dll injection before process creation, new import descriptors are added to the image import directory of the debuggee, whereas injection into an already running process is realized via shellcode injection, which in turn loads the dll in question. To realize dll injection before process creation, new import descriptors are added to the image import directory of the debuggee, whereas injection into an already running process is realized via shellcode injection, which in turn loads the dll in question.
In either case, a full path to the dll can be supplied, so it is not necessary for the dll to be in the search path. In either case, a full path to the dll can be supplied, so it is not necessary for the dll to be in the search path.
To get more info on how this works you can read my blog post or consult the accompanying source code. To get more info on how this works you can read my blog post or consult the accompanying source code.

Usage
The plugin comes with a GUI which lets you easily add dlls to be injected prior to process creation or after the debugger has been attached. The plugin comes with a GUI which lets you easily add dlls to be injected prior to process creation or after the debugger has been attached. The configuration is written to %IDA_DIR%\cfg\IDAInject.cfg, so this location must be writable by the current user for the plugin to work properly. The configuration is written to% IDA_DIR% \ cfg \ IDAInject.cfg, so this location must be writable by the current user for the plugin to work properly.
You can also control the load order of the dlls. You can also control the load order of the dlls.
Note that the dlls to be injected have to export one function with ordinal 1. Note that the dlls to be injected have to export one function with ordinal 1. This is because the FirstThunk and OriginalFirstThunk arrays must not be empty. This is because the FirstThunk and OriginalFirstThunk arrays must not be empty.

If you find bugs or have suggestions for improvement just drop me a mail . If you find bugs or have suggestions for improvement just drop me a mail.

Changelog
06/28/2008 - v1.1 06/28/2008 - v1.1

Bugfix: The dll failed to inject on process start if it wasn't in the search path Bugfix: The dll failed to inject on process start if it wasn't in the search path
05/19/2008 - v1.0 05/19/2008 - v1.0

First release First release

http://newgre.net/system/files/IDAInject.rar

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 97697
活跃值: (200824)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
2
本地备档一份.
上传的附件:
2008-7-5 12:23
0
雪    币: 1946
活跃值: (248)
能力值: (RANK:330 )
在线值:
发帖
回帖
粉丝
3
oldlin传错了吧
2008-7-5 12:43
0
雪    币: 97697
活跃值: (200824)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
4
SORRY.修改了
2008-7-5 12:57
0
雪    币: 97697
活跃值: (200824)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
5
07/14/2008 - v1.0.3

Bugfix: Injection failed in some cases (see N-InjectLib)


http://newgre.net/system/files/IDAInject.rar
2008-7-14 20:29
0
游客
登录 | 注册 方可回帖
返回
//