Client-side attacks and trojans are not exclusive to Windows. In this recipe, we will create a Linux payload, and place it inside a Debian package.
- First, we need to download the package we want to place our payload in; for this recipe we will use
cowsay
, a simple program that generates an ASCII picture of a cow saying something provided by the user:
root@kali:~# apt --download-only install cowsay Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python-brotlipy python-cssutils python-typing Use 'apt autoremove' to remove them. Suggested packages: filters cowsay-off The following NEW packages will be installed: cowsay 0 upgraded, 1 newly installed, 0 to remove and 980 not upgraded. Need to get 20.1 kB of archives. After this operation, 90.1 kB of additional disk space will be used. Get:1 http://archive-4.kali.org/kali kali-rolling...