TGViewer
Orca Cyber Weapons Orca Cyber Weapons @orcacyberweapons · 1.31K subscribers
Post #3865 1.12K
A dive into the PE file format

https://0xrick.github.io/win-internals/pe1/
https://0xrick.github.io/win-internals/pe2/
https://0xrick.github.io/win-internals/pe3/
https://0xrick.github.io/win-internals/pe4/
https://0xrick.github.io/win-internals/pe5/
https://0xrick.github.io/win-internals/pe6/
[Mastering PE Structure for Malware Analysis: A Layman’s Guide](https://tech-zealots.com/malware-analysis/pe-portable-executable-structure-malware-analysis-part-2/)
[Peering Inside the PE: A Tour of the Win32 Portable Executable File Format](https://coffi.readthedocs.io/en/latest/peering_inside_pe.pdf)
https://0xrick.github.io/win-internals/pe8/

packages:
- c++ : https://lief.re/doc/stable/formats/pe/cpp.html
- rust : https://docs.rs/pe-parser/latest/pe_parser/
- python : https://pypi.org/project/pe-parser/


questions? :
- [What does "e_lfanew" mean in the DOS header for the PE format?](https://stackoverflow.com/questions/47711282/what-does-e-lfanew-mean-in-the-dos-header-for-the-pe-format)
- [Disassemble Windows PE .data section (using python)](https://stackoverflow.com/questions/58775954/disassemble-windows-pe-data-section)
- [Loading a 64-bit Windows PE file from memory](https://stackoverflow.com/questions/68988499/loading-a-64-bit-windows-pe-file-from-memory)


@OrcaCyberWeapons
0xRick's Blog A dive into the PE file format - Introduction A dive into the PE file format - Introduction What is this ? This is going to be a series of blog posts covering PE files in depth, it’s going to include a range of different topics, mainly the structure of PE files on disk and the way PE files get mapped…
  • 🔥 7
  • 👍 3
More from @orcacyberweapons
  1. Sep 16, 2026Static Devirtualization of Tencent VM by aftermathlabs @OrcaCyberWeapons
  2. Sep 16, 2026Some bugs found via binary instrumentation and fuzzing by aftermathlabs ~"Using BLARE2 for…
  3. Sep 15, 2026After a long wait, the BinaryHardening organization is finally back GitHub Support confirm…
  4. Aug 1, 2026Static Devirtualization of Tencent VM by @BackEngineerLab . Great read for anyone interest…
  5. Jul 7, 2026Update - GitHub flagged the org, cfgrip is on GitLab now: https://gitlab.com/BinaryHardeni…
  6. Jul 2, 2026Binary Hardening just put out cfgrip v1.0.0 - https://github.com/BinaryHardening/cfgrip It…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →