Skip to content
Documentation and proofs of concept on the polyglot file PEDICOM (PE executable + DICOM)
Branch: master
Clone or download
Latest commit 00326dd Apr 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
PoC Initial commit Apr 9, 2019
doc Initial commit Apr 9, 2019
rsc Initial commit Apr 9, 2019 Apr 10, 2019


PEDICOM is the name given to the polyglot file created by combining the PE executable file format and the DICOM image format in a single file.

The PE executable file format, is a file format used by Windows for its programs and applications, while the DICOM format is used in medicine to store images, such as x-rays.

Alt text


In this repository there is a paper in which it is documented and explained how it is possible to create a PEDICOM polyglot file. (in the doc folder) In addition, you can find two PoC (under the PoC folder), one of them is simply a polyglot file PEDICOM, which has the name pedicom-cylera.dcm. The other is a binary which is used to self-replicate and infect other DICOM images. We could say that it is the first fileinfector that affects this file format. The name I have given to this file infector is PeDi2.


The purposes for which this project has been created are didactic, and must be used by the community to improve protection against possible attacks of this type. PeDi2 PoC is not malicious but it is advisable to use it in secure environments and virtual machines. I am not responsible for the bad use of the content in this repository.


Twitter: @D00RT_RM | Email: |

Cylera Labs

You can’t perform that action at this time.