当前位置:网站首页>PE文件基础结构梳理
PE文件基础结构梳理
2022-06-24 22:46:00 【华为云】
PE(Portable Execute)文件,它是Windows下可执行文件的总称,也是windows系统下标准的文件格式。
在window系统上常见的后缀为DLL,EXE,OCX,SYS等文件都是属于PE文件。但事实上,一个文件是否是PE文件与其扩展名无关,PE文件可以是任何扩展名。
PE文件结构概括起来就是:它主要由 “头”(DOS头,NT头,可选头)和“节”(text节,data节)组成。
在代码中去实现,判断一个可执行文件,是否是PE文件结构。主要有两个判断:
1.DOS头的魔法值字段是否是 “MZ” ,也就是 0x5A4D 值。
2.NT头的签名字段信息是否是 “PE00” ,也就是 0x00004550 值。
下图是一个标准PE文件结构图

PEB结构概述
PEB结构(Process Envirorment Block Structure):进程环境信息块。
PEB:它主要是用于存放进程信息,每个进程都有属于自己的PEB信息。
PEB:它位于用户地址空间。
边栏推荐
- Android物联网应用程序开发(智慧园区)—— 设置传感器阈值对话框界面
- 3年测试经验,连简历上真正需要什么都没搞明白,张口就要20k?
- Exploring the mystery of C language program -- C language program compilation and preprocessing
- 如何通过EasyCVR接口监测日志观察平台拉流情况?
- 如何选择正规安全的外汇交易平台?
- Computing service network: a systematic revolution of multi integration
- MOS管相关知识
- Taishan Office Technology Lecture: a simple study of Chinese punctuation in vertical arrangement
- 【Proteus仿真】Arduino UNO+数码管显示4x4键盘矩阵按键
- How can Huatai Securities open an account to achieve one in ten thousand? Are securities accounts safe and reliable
猜你喜欢

Test / development programmers, 30, do you feel confused? And where to go

Please run IDA with elevated permissons for local debugging.

Exploring the mystery of C language program -- C language program compilation and preprocessing

背了八股文,六月赢麻了……

Use of hashcat

DDD concept is complex and difficult to understand. How to design code implementation model in practice?

Constant current circuit composed of 2 NPN triodes

Redis

【直播回顾】战码先锋第七期:三方应用开发者如何为开源做贡献

Please run IDA with elevated permissons for local debugging.
随机推荐
Please run IDA with elevated permissons for local debugging.
Rod and Schwartz cooperated with ZhongGuanCun pan Lianyuan Institute to carry out 6G technology research and early verification
What are the reasons for the abnormal playback of the online channel of the channel accessed by easycvr national standard protocol?
File system - basic knowledge of disk and detailed introduction to FAT32 file system
When an interface has an exception, how do you analyze the exception?
[mobile terminal] design size of mobile phone interface
Smartctl opens the device and encounters permission denied problem troubleshooting process record
Software testing salary in first tier cities - are you dragging your feet
元宇宙的生态圈
一线城市软件测试工资——你拖后腿了吗
Fatigue liée à l'examen du marché secondaire des médicaments innovants: succès clinique de la phase III et approbation du produit
How can Huatai Securities open an account to achieve one in ten thousand? Are securities accounts safe and reliable
左手梦想 右手责任 广汽本田不光关注销量 还有儿童安全
Can automate - 10k, can automate - 20K, do you understand automated testing?
【FPGA】串口以命令控制温度采集
Kaggle 专利匹配比赛金牌方案赛后总结
Do you know your ABC
|How to analyze bugs? Professional summary and analysis
Sumati GameFi生态纵览,神奇世界中的元素设计
Smartctl 打开设备遇到 Permission denied 问题排查过程记录