(Nov 9, 2018 06:42 AM)l0rf Wrote: What do you mean by encode the source code?
nothing intelligent.
antiviruses do both static analysis and dynamic analysis (during the process' runtime) of programs, in python's case, the AV will most likely signature the compiled bytecode, and/or perhaps do some form of call-graph analysis.
just change it around a bit, it might just be the way you're attaching it, pretty much no antiviruses actually implement analysis for python bytecode last i checked:
Quote:... and after I attach and executable it ...
are you freezing it to an executable? most EXE packing software creates a whole ton of false positives regardless of whether it is malware or not, perhaps the way you attach it is detected.