Python Forum
pyinstaller generated code gets flagged by NIS
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyinstaller generated code gets flagged by NIS
#1
I just started learning python. I wrote the following source code to generate a ~1GB size file.

seed_number = 1073741824
datastring = "000000000000000000000000"
limit = int(seed_number/len(datastring))
output_file = open("datafile.txt",mode='a')


for i in range(limit,0,-1):
    output_file.write(datastring)
    
output_file.close()
I used pip to download and install pyinstaller, and 'compiled' my source. Norton Internet Security flagged the resulting executable as 'Heur.AdvML.B' I'm assuming it's a false positive, of course. I was just wondering if others using pyinstaller, have run into this.

Is there a alternate executable generator I should be using?
Reply
#2
I had the same issue this morning (1/2/19) with a "onefile" executable I created using pyinstaller. The silly thing is that I was just creating a test program that prints two lines out.

I have used pyinstaller a few times in the past to create executables and never had this issue.

Not sure if this is simply a new false positive on Norton's side? Or if we should be worried about something going on with pyinstaller's source code???
Reply
#3
(Jan-02-2019, 01:35 PM)jcort2171 Wrote: I had the same issue this morning (1/2/19) with a "onefile" executable I created using pyinstaller. The silly thing is that I was just creating a test program that prints two lines out.

I have used pyinstaller a few times in the past to create executables and never had this issue.

Not sure if this is simply a new false positive on Norton's side? Or if we should be worried about something going on with pyinstaller's source code???

I contacted Norton at the time about my code and they white listed it. It makes sense that they would flag mine, as filling up a disk drive "could" be seen as malicious activity.
Reply
#4
(Jan-03-2018, 05:43 PM)kris44dad Wrote: I was just wondering if others using pyinstaller, have run into this.
yep, it's often reported as issue on GitHub:
https://github.com/pyinstaller/pyinstall...ssue+virus
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HOW TO USE C# GENERATED DLL davide_vergnani 2 1,556 Jun-12-2023, 03:35 PM
Last Post: davide_vergnani
  How to add product details in exe generated by pyinstaller arex786 1 8,257 Oct-10-2021, 11:00 AM
Last Post: Sran012
  the exe file by generated by pyinstaller ,can't get the PYTHONPATH roger2020 11 6,857 Jan-14-2020, 11:07 AM
Last Post: roger2020
  upload image with generated code from Postman does not work magic7598 0 1,657 Nov-30-2019, 10:32 AM
Last Post: magic7598
  exception name for a flagged stop Skaperen 1 2,124 May-31-2019, 04:33 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020