RE: Python Virus 01-09-2014, 11:40 AM
#11
(01-09-2014, 11:30 AM)upsurt Wrote: I've been using py2exe, because I would love to compile my Python script to a real exe.
But first of all, you can use it only with Python 2.7. With Python 3 there are some issues.
But that's ok, I prefer anyway Python 2.7.
The bad thing is, you'll get a bunch of files. A real exe and additional stuff.
Sure, you can use it. It's working well. But you'll have many files and not only one standalone exe.
Correct me, if something changed or if you know it better.
I know C#/.Net quite well, but would never choose it for a virus.
As I said, I really don't know much about py2exe.
Edit: I found this, though: https://stackoverflow.com/questions/7072...thonxx-dll
It seems a standalone is possible with the right options applied.
I wouldn't exclude .NET for all kind of viruses.
For PE viruses it isn't good, unless maybe you manage to create a CIL injection to the section that contains the CIL code (only works for .NET exe files as host).
You might also imagine a virus that infects .NET source files right before compilation.
In those cases you will have to write at least part of the virus' sources in a .NET supported language.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
Expressed feelings are just an attempt to simulate humans.
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

