当前位置:网站首页>Import address table analysis (calculated according to the library file name: number of imported functions, function serial number and function name)
Import address table analysis (calculated according to the library file name: number of imported functions, function serial number and function name)
2022-04-23 15:45:00 【Hardworking666】
List of articles
Import address table (Import Address Table,IAT) Used to record what programs are using DLL Which functions in .
Import name table (Import Name Table,INT)
One 、 Find the file name and RVAsec and RAWsec


Through analysis PE head , Available notepad.exe The range of each section head of the is shown in table 4-12 Shown . And analyze the table 4-13.


Two 、 analysis INT and IAT, Get the number of imported functions
Further analysis below notepad.exe Of documents INT and IAT.
With KERNEL32.dll For example , The DLL Corresponding INT Array and IAT Array in PE Medium RAW The offsets are 6B58H and 48CH.
PE The offset range of the file 6B58H~6C3FH Space preservation of INT, among IMAGE_THUNK_DATA32 The number of structures is 57.
here :57=14 That's ok ×4+1, This is Number of imported functions
PE The offset range of the file 48CH~573H Space preservation of IAT, among IMAGE_THUNK_DATA32 The number of structures is also 57.
INT and IAT The contents are shown in the figure 4-4(a) Sum graph 4-4(b) Shown .


3、 ... and 、 Function sequence number 、 The name of the function
Then analyze INT First of all (00008024H) The point is IMAGE_IMPORT_BY_NAME The content of the structure ,
The content is in PE The offset of the file 8024H-1000H+ 400H=7424H Location .
notes : Here is 8024, the reason being that 2480 Small end storage . Can pass LordPE Work out .

The content of this structure is shown in Figure 4-5 Shown .
among Hint Field Serial number value by 013EH, And the imported function Name The field is analyzed by the hexadecimal editor as "GetCurrentThreadId”.
It can also be analyzed in a similar way KERNEL32.dl1 All of them are notepad.exe Of the imported function Serial number and Function name .
First function serial number ( The small end ):013E
First function name :GetCurrentThreadId


Function sequence number 、 The function name can be through HXD Right click to select the range and then enter the offset obtain :

版权声明
本文为[Hardworking666]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231531417833.html
边栏推荐
- Why disable foreign key constraints
- 网站压测工具Apache-ab,webbench,Apache-Jemeter
- Why is IP direct connection prohibited in large-scale Internet
- Application of Bloom filter in 100 million flow e-commerce system
- Code live collection ▏ software test report template Fan Wen is here
- IronPDF for .NET 2022.4.5455
- [backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
- s16. One click installation of containerd script based on image warehouse
- 考试考试自用
- 负载均衡器
猜你喜欢

How did the computer reinstall the system? The display has no signal

网站压测工具Apache-ab,webbench,Apache-Jemeter

Advantages, disadvantages and selection of activation function

腾讯Offer已拿,这99道算法高频面试题别漏了,80%都败在算法上

c语言---指针进阶

为啥禁用外键约束

导入地址表分析(根据库文件名求出:导入函数数量、函数序号、函数名称)

贫困的无网地区怎么有钱建设网络?

KNN, kmeans and GMM

【开源工具分享】单片机调试助手(示波/改值/日志) - LinkScope
随机推荐
软件性能测试报告起着什么作用?第三方测试报告如何收费?
一刷314-剑指 Offer 09. 用两个栈实现队列(e)
How do you think the fund is REITs? Is it safe to buy the fund through the bank
计算某字符出现次数
服务器中毒了怎么办?服务器怎么防止病毒入侵?
为啥禁用外键约束
考试考试自用
[backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
Go concurrency and channel
Explanation of redis database (IV) master-slave replication, sentinel and cluster
Deeply learn the skills of parameter adjustment
Cookie&Session
怎么看基金是不是reits,通过银行购买基金安全吗
Connect PHP to MySQL via PDO ODBC
MySQL集群模式与应用场景
Named in pytoch_ parameters、named_ children、named_ Modules function
One brush 312 - simple repetition set - Sword finger offer 03 Duplicate number in array (E)
一刷313-剑指 Offer 06. 从尾到头打印链表(e)
小程序知识点积累
现在做自媒体能赚钱吗?看完这篇文章你就明白了