Hello... I've build an EXE file to be run in a 32bit version of Windows, using pp on a fresh install of Strawberry in a WinXP x86 virtual machine that I have in my Win10 x64 PC. To test the build, I copied the EXE to my real machine and suddently all stopped. Windows Defender deleted the EXE and notified me that a virus was detected: "Trojan:Win32/Skeeyah.A!rfn". I tried copying the file previously renamed to ZIP, and it was also deleted. Argh!

AFAIK, pp generates an EXE that has two parts: a runtime and a directory structure with all the modules dependencies that it is extracted to a temp dir cache. When the EXE is renamed to ZIP, only some of the files are available to extract into a folder. So, I unpacked the ZIP contents to a folder in WinXP, repacked it again and copied that recompressed folder to Win10 successfully, and also extracted all the files... it was not one of that group. Then I did the same with the cache folders I've found in WinXP, and copied them successfully again. So, there is something extra in the original EXE that has a signature that Windows Defender recognizes as a virus/trojan.

What other thing could I do to bypass this issue? I don't think that PAR::Packer is generating a "corrupted" EXE, at least I suppose that my WinXP VM is not infected and PAR is being an inocent victim of it.


In reply to PAR::Packer generated EXE that was detected as a trojan... by vitoco

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.