September 11, 2022 at 12:52 AM 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