Embed An Exe file Into PDF and Run it with PDF Start-Up

9,814

Solution 1

This can not be done. An executable file can not be embedded in a PDF file. This would allow viruses, trojans, backdoors, rootkits, etc. to take over machines. It would be the most major security hole possible.

For the sake of argument, lets say you could do this (and you definitely can not) .EXEs would only run on Windows machines (and not every Windows machine may be able to run it). It would not work on Macs, Linux, Unix, or any other OS. Also, no one in their right mind would ever use a PDF for fear it would infect their machine.

On a side note, locked PDFs can be easily broken. Also, there is always a way to do a screen capture, like capturing the screen buffer for example. Even if you could prevent a screen capture, all one would have to do is run the program in a VM and capture the screen from the host. Simply put, no matter what file type or forms of protection are in place the data can be copied. If the data is viewable by someone, then the data is copyable.

Solution 2

You can't automatically execute an EXE file with a PDF, that would be a huge security issue. You would have to find some exploit which would be detected by anti-virus software etc. in order to do so.

Solution 3

As an alternative solution; I'd look in to embedding the PDF within an application that achieves such an effect. Instead of distributing the PDF, you'd just give them the .exe.

Share:
9,814

Related videos on Youtube

Nofuzy
Author by

Nofuzy

I'm Stranger , Love working with PC too much, I always love rare softwares which have a great ability. For example something like Image Comparer and so on. I'm a Pro Gamer too, 2 years ago I was working for a game magazine, but because of studying left it. Currently I'm studying mathematics and in near feature I plan to be a teacher. I love programming too, so I plan to learn it in near future because it seems my life depends on it :) Thanks for checking my Profile

Updated on September 18, 2022

Comments

  • Nofuzy
    Nofuzy almost 2 years

    I have an exe which block many screen capturing utilities. My PDF itself is blocked and no one can copy text from it, I want to embed that exe file into my pdf and by running pdf file that exe executes automatically.

    How to do this?

  • Keltari
    Keltari over 11 years
    that exploit was closed years ago.
  • Sam
    Sam over 11 years
    Removed offending link
  • Keltari
    Keltari over 11 years
    an exe wont work for the many reasons listed in my answer. simply put, he can not do what he is asking.
  • ChrisInEdmonton
    ChrisInEdmonton over 8 years
    This doesn't do what you claim it does.