Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Exe files/malicious code in PDF

Hi guys, is it possible to execute malicious code/exe files by opening a PDF? If so, could someone please explain to me how can I do it? (I'm asking only for personal purposes, just to dabble).
(Oct 11, 2021 05:58 AM)ddstr0 Wrote:  If so, could someone please explain to me how can I do it? (I'm asking only for personal purposes, just to dabble).


You can put Javascript code into PDF files. Here's a guide on that: https://stackoverflow.com/questions/9640...f-document

If you can manage to find a way to execute stuff (or deadass just do anything malicious with Javascript lol) your PDF file is all you need.

Cheers!
Regards,
Porky
ℒ𝒶𝓊ℊ𝒽𝒾𝓃ℊ 𝒶𝓉 𝓎ℴ𝓊𝓇 𝓈ℯ𝒸𝓊𝓇𝒾𝓉𝓎 𝓈𝒾𝓃𝒸ℯ... ℯ𝓋ℯ𝓇.
You can execute VBA to execute PowerShell. PowerShell has a built in detection but there is ways to get around it.

Have fun researching.
(Oct 12, 2021 12:03 AM)linkinpork Wrote:  You can put Javascript code into PDF files. Here's a guide on that: https://stackoverflow.com/questions/9640...f-document

If you can manage to find a way to execute stuff (or deadass just do anything malicious with Javascript lol) your PDF file is all you need.

Cheers!

Great. Thank you very much <3 (both of you)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by StanleyFeb 10, 2026 03:32 PM 1 139 Feb 10, 2026 03:32 PM
Last Post: Monero-chan
by 04slashDec 11, 2023 08:42 AM 2 147 Dec 11, 2023 08:42 AM
Last Post: 04slash
by T000ZOct 16, 2023 06:32 PM 9 328 Oct 16, 2023 06:32 PM
Last Post: linkinpork