Python Forum
pyinstaller generated code gets flagged by NIS - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: pyinstaller generated code gets flagged by NIS (/thread-7303.html)



pyinstaller generated code gets flagged by NIS - kris44dad - Jan-03-2018

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?


RE: pyinstaller generated code gets flagged by NIS - jcort2171 - Jan-02-2019

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???


RE: pyinstaller generated code gets flagged by NIS - kris44dad - Jan-03-2019

(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.


RE: pyinstaller generated code gets flagged by NIS - buran - Jan-03-2019

(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/pyinstaller/issues?utf8=%E2%9C%93&q=is%3Aissue+virus