czs108 / windows-pe-packer Goto Github PK
View Code? Open in Web Editor NEW๐๏ธ A packer for Windows x86 executable files written in C and Intel x86 Assembly. The new file after packing can obstruct reverse engineering.
License: MIT License
๐๏ธ A packer for Windows x86 executable files written in C and Intel x86 Assembly. The new file after packing can obstruct reverse engineering.
License: MIT License
Thanks but can you create another program to remove PE-Packer from the PE? thanks!
hello,
when i try to compile the program using .\build.ps1 i get error on x86 arch:
PS C:\temp\PE-Packer> .\build.ps1
Directory: C:\temp\PE-Packer
Mode LastWriteTime Length Name
d----- 2/24/2021 6:03 PM bin
d----- 2/24/2021 6:03 PM build
-- The C compiler identification is GNU 8.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/ProgramData/chocolatey/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/masm32/bin/ml.exe
CMake Error at src/shell/CMakeLists.txt:20 (message):
[!] Must configuring on/for x86 platform
running on a windows 10 VM, as the tool required i did install mingw-w64 and cmake using chocolatey repo.
those are the release i found:
mingw: x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
cmake: cmake 3.19.5
seems i cannot set , during the compile step the x86 arch, have you any idea ?
thanks
Hello Brother,
First of all, thanks for sharing the project.
I embed an extra dll file with STUD_PE in any .exe file, after this embedding process, when I pack it with packer, the embedded file disappears and loses its function.
When I encrypt the relevant .exe file without adding an extra dll file, and when I add the DLL file later, this time the file cannot access the RAM and the program closes.
In short, what needs to be resolved is that any .dll file transferred and embedded in the Import Table with STUD_PE needs to be detected and included by the packer.
Kind Regards.
it can't correctly determine if the file size is greater than 2G, but 4G.
BOOL IsFileSmallThan2G(
CONST HANDLE file
) {
assert(file != INVALID_HANDLE_VALUE);
DWORD size_high = 0;
GetFileSize(file, &size_high);
return size_high == 0;
}
BOOL IsFileSmallThan2G(
CONST HANDLE file
) {
assert(file != INVALID_HANDLE_VALUE);
DWORD size_low = GetFileSize(file, NULL);
return !(size_low & 0x80000000);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.