Backdoor is a type of malware which is used to gain unauthorised access of a system. Basically it is difficult for the hackers to find the unsecured points of entry in a system again and again, so what they do is they try to get into a system once, where they create a backdoor (which they can use for gaining access of that system again). Also, sometimes hackers create malicious files which when executed on the client's system hacks it and provides the attacker access of the system.
There are two files: client.py and server.py The attacker will run the server.py file on his system first. This will show the following on his terminal ::
Then, the attacker will send the client.exe file to the client. Then once the client runs the file on his system, he will see the normal snake game implementation in front of it, which will look like this.
However, in the backend, the client's system will connect itself to the attacker's system and the attacker will be able to access the client's system (only till the client plays the game).
Don't forget to change the IP Address in the client.py and server.py! You can find your IP Address by executing the following command in your command prompt
The following commands can be performed on the client system once the attacker connects to it:
- view_cwd : Used to view the current working directory in which the client.exe file is run
- custom_dir : Used to view the names of all the files present in a directory
- download_files : Used to download a file from client's system
- remove_files : Used to remove a file from the client's system
- shutdown_client : Used to shutdown the client's system
- restart_system : Used to restart the client's system