So, we can have a persistent connection with the iDevice by creating a backdoor for it. We will create a shell backdoor as a service that will be started automatically with each boot of device.
Refer to the system's
LaunchDaemons. We will need SSH daemon that we used for OpenSSH installed via Cydia:
Libraryand you will observe a plist file as
Check the default specifications of the LaunchDaemon sshd service:
Let's launch the backdoor...