Persistent Python Backdoor
A Proof of Concept Python Virus
Published in
4 min readJan 7, 2021
Hello, World! In this article, I will demonstrate a proof of concept Python “virus” that infects other Python files with backdoor code. The Python script uses Python’s built-in socket
module for creating a listener to connect to and Python’s built-in subprocess
module for executing commands on the victim machine, while also establishing persistence by creating a…