Doom-Poly is a fascinating polyglot executable that combines the functionality of a PDF, DOS executable, and Windows PE executable to run the classic game Doom.
This innovative construction leverages Robert Xiao’s Universal Doom and Allen Ading’s Doom.PDF to create a file that operates seamlessly across these formats.
The project demonstrates the versatility of file formats and the creative possibilities of polyglot programming.
The polyglot construction involves embedding multiple file format signatures into a single file. Here’s how it is achieved:
%PDF-1.x) and a stream object declaration. startxref pointer are added, along with adjustments to the trailer’s /Size property.The resulting file can function as:
The PDF payload only works under Chrome due to its limited implementation of JavaScript in PDFs. Additionally, performance constraints arise from rendering Doom in grayscale ASCII characters within a text field-based framebuffer.
This project showcases the potential of polyglot files in creative programming, security research, and file format exploration.
While primarily experimental, it highlights vulnerabilities in interpreting multi-format files, emphasizing the need for robust validation mechanisms
For more details or to explore this project, refer to Allen Ading’s GitHub repository for Doom.PDF.
Setting a static IP address on your server is a smart move. It ensures your…
Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP). It lets you access…
Managing user accounts is one of the most basic system administration tasks on any Linux…
Wine (short for "Wine Is Not an Emulator") is a compatibility layer that lets you run…
KVM (Kernel-based Virtual Machine) is an open-source virtualization technology built into the Linux kernel. It lets…
Ubuntu 20.04 LTS (code name Focal Fossa) was released on April 23, 2020. It is a…