当前位置:网站首页>逆向调试入门-了解PE结构文件
逆向调试入门-了解PE结构文件
2022-06-23 12:47:00 【51CTO】
这里的PE文件指的是PE(Portable Executable)文件,即可移植的可执行文件,是 Windows 操作系统上主流的可执行文件。
常见的 EXE、DLL、OCX、SYS、COM 等文件格式都属于 PE 文件。
小结:PE文件是一种文件框架。
本次我们只是大概了解下PE结构文件。

PE可执行文件
可以由操作系统进行加载并执行的文件称为可执行文件。
在不同的操作系统环境下可执行文件的呈现方式不一样:
1、windows:采用 PE(Portable Executable)文件结构。
2、Linux:采用 ELF(Executable and Linking Format)文件结构。
几大区块

1、DOS头
DOS头分为两部分,分别是“MZ头部”和“DOS存根”。MZ头部是真正的DOS头部,由于其开始处的两个字节为“MZ”,因此DOS头也可以叫作MZ头。该部分用于程序在DOS系统下加载,它的结构被定义为IMAGE_DOS_HEADER。
2、PE头
PE头部保存着Windows系统加载可执行文件的重要信息。
3、节表
节表中存储了各个节的属性、文件位置、内存位置等相关的信息。
4、节表数据
PE文件的真正程序部分就保存在节数据中。在PE结构中,有几个节表,就对应有几个节表的数据。根据节表的属性、地址等信息,程序的数据就分布在节表指定的位置中。

可执行文件的装载、内存分步、执行等都依赖于PE结构。要掌握反Bingdu、免杀、权益保护、反调试、加壳脱壳等相关知识,那了解PE结构则是重中之重。
边栏推荐
- Have you ever encountered incompatibility between flink1.15.0 and Flink CDC MySQL 2.2.1? f
- "Developer talk" nail connector +oa approval to realize digitalization of school students' leave and work scenes
- Solve "thread 1:" -[*.collectionnormalcellview isselected]: unrecognized selector sent to instance 0x7F "
- 首次曝光!唯一全域最高等级背后的阿里云云原生安全全景图
- 一个 BUG 开发表示用户不会这样操作,无需修复,测试人员如何应对?
- Go寫文件的權限 WriteFile(filename, data, 0644)?
- First exposure! The only Alibaba cloud native security panorama behind the highest level in the whole domain
- R language is used to build ordered multi classification logistic regression model, ordinal or. The display function obtains the summary statistical information of the ordered logistic regression mode
- Meta 称英国安全法将“扫描所有私人信息”,有侵犯用户隐私风险
- 协程
猜你喜欢

Solve "thread 1:" -[*.collectionnormalcellview isselected]: unrecognized selector sent to instance 0x7F "

Part C - value types and reference types

Hanyuan high tech USB3.0 optical transceiver USB industrial touch screen optical transceiver USB3.0 optical fiber extender USB3.0 optical fiber transmitter

sql增加表记录的重复问题。

Network foundation and framework

Homekit supports the matter protocol. What does this imply?

支持HomeKit、NFC:智汀智能门锁SL1仅需要149元

What should testers do if the requirements need to be changed when the project is half tested?

HomeKit支持matter协议,这背后将寓意着什么?

Wallys/DR6018-S/ 802.11AX MU-MIMO OFDMA / 2* GE PORTS/WIFI 6e / BAND DUAL CONCURRENT
随机推荐
When did the redo log under InnoDB in mysql start to perform check point disk dropping?
AssetBundle资源管理
Analysis and solution of connection failure caused by MySQL using replicationconnection
夏日炎炎玩转新加坡:盘点室内景点和夜游好去处
唐人街徒步:在异国情调的纽约感受浓厚的中式气息
The GLM function of R language uses frequency data to build a binary logistic regression model. The input data for analysis is frequency data, which is transformed into normal sample data (split and s
The two 985 universities share the same president! School: true
MySQL使用ReplicationConnection導致的連接失效分析與解决
<Sicily>1000. 数字反转
R language is used to build ordered multi classification logistic regression model, ordinal or. The display function obtains the summary statistical information of the ordered logistic regression mode
C # learning (advanced course) day13 - Reflection
企业该如何进行高效IT运维管理?
Meta 称英国安全法将“扫描所有私人信息”,有侵犯用户隐私风险
R language uses the multinom function of NNET package to build a disordered multi classification logistic regression model, uses regression coefficients and their standard errors to calculate the valu
全新项目,如何保证测试的覆盖率?
对象池框架
js: 获取页面最大的zIndex(z-index)值
Transformers are RNNs (linear transformer)论文阅读
How to enable the SMS function of alicloud for crmeb knowledge payment
What are the criteria for judging the end of the test?