百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

Windows-PE-Packer

> 安全
开源

️ 一个用于Windows x86可执行文件的打包工具,使用C语言和Intel x86汇编语言编写。打包后的新文件可以阻止逆向工程。

365 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

️ 一个用于Windows x86可执行文件的打包工具,使用C语言和Intel x86汇编语言编写。打包后的新文件可以阻止逆向工程。

Windows PE Packer

Languages

  • English
  • 简体中文

Introduction

PE-Packer is a simple packer for Windows PE files. The new PE file after packing can obstruct the process of reverse engineering.

It will do the following things when packing a PE file:

  • Transforming the original import table.
  • Encrypting sections.
  • Clearing section names.
  • Installing the shell-entry.

When running a packed PE file, the shell-entry will decrypt and load the original program as follows:

  • Decrypting sections.
  • Initializing the original import table.
  • Relocation.

Before packing, using some disassembly tools can disassemble the executable file to analyze the code, such as IDA Pro.

  • Disassembling the code.

  • Searching constant strings.

  • Analyzing the import table.

After packing, the reverse analysis will be obstructed.

  • Disassembling the code.

  • Searching constant strings.

  • Analyzing the import table.

Warning

This project is just a demo for beginners to study Windows PE Format and Assembly Language. It still has some compatibility problems and bugs that cannot be used in practice.

Getting Started

Prerequisites

The project must configure on/for Windows 32-bit and can only process 32-bit .exe programs now.

  • Install MASM32.
  • Install MinGW-w64, select i686 architecture.
  • Install CMake.
  • Set the PATH environment variables of these three tools.

Building

bash
mkdir -p build
cd build
cmake .. -D CMAKE_C_COMPILER=gcc -G "MinGW Makefiles"
cmake --build .

Or run the build.ps1 file directly:

bash
PS> .\build.ps1

Usage

To pack a program, you must specify its input name and the output name.

bash
PE-Packer  

For example:

bash
PE-Packer hello.exe hello-pack.exe

Documents

You can use Doxygen to generate the document.

References

  • 《加密与解密(第3版)》段钢
  • PE Format - Windows Dev Center

License

Distributed under the MIT License. See LICENSE for more information.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cpereverse-engineeringsecuritywindows

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.