Programming Malware on Windows
by - Thursday, January 1, 1970 at 12:00 AM
as others said python is not ideal for writing malware itself. it can be useful as means of delivery, though.
Reply
i want learn too
Reply
this is what i do when i try to better hide a malicious code from windows defender:
1. exclude the working directory from scanning
2. start writing the code
3. compile it
4. remove the working directory from exclusion
5. if wd detects it, write a better code
6. repeat
Reply
stop being so lazy then and install linux...
Reply
Interesting discussion...excited where it will go to :D
Reply
i want learn build malware
Reply
you can always hit up a VM , or code online , there some really good platform , codeanywhere or codesandbox would be a good choice
Reply
i take step here,
waiting for the nice answer to practice
Reply
There is nothing(inherently at least) wrong with programming in Python, but it is very likely you will misunderstand some core concepts.Try learning C. And if you just want to stick to Python I would recommend trying Kali linux(or any other distribution really) in a vm.
Reply
python can be a good way of learning on malware developing, like practicing with sockets for making a backdoor, here's a little script that I wrote to get a backdoor from a computer in the same local network as me

server(attacker):
https://pastebin.com/LXiiRnAF

client(victim):
https://pastebin.com/5wULMJp7

of course I stole the code for the server and took and modified the client so it can always scan for attackers slowly, and this also doesn't work on all types of network, mostly ones with a dns mask of 255.255.255.0, but could be modified more to fit more on your needs. This is mostly just a good way to practice new malware dev's and isn't usually what get distributed to victims, but also helps in understanding how some malware are built

edit: the script I made was only coded in an hour so it's not the best code out there but it works
Reply


 Users viewing this thread: Programming Malware on Windows: No users currently viewing.