Perform a factory reset on the phone, which will delete all your data. This is usually the best way to recover a lost password, as you're starting with a clean slate. The process of resetting a device back to factory settings is always painful, but this is a good thing to do if you've forgotten the backup password for your device.
If you've lost access to the backup itself, then it's time to get in touch with the apple support and ask to have the backup restored to factory settings. If you can get access to the backup, then you can restore the backup to the new password, and the process should be pretty painless.
There's one catch to all of this, and it's to remember that you need to be using the latest OS on your iPhone, so you'll need to be using the latest iOS version if you want to restore the backup to a new password. If you're using a previous version of iOS, then you'll have to restore the backup with the previous OS version, which will likely have a number of compatibility issues with the latest iOS version.
At the time of writing, the latest version of iOS is iOS 11, which is available on devices from the iPhone 7 onwards. If you're using a device older than the iPhone 7, then you'll need to use OS 10.3.3 to unlock the backup. If you're using a later version of iOS, then you'll be fine.
The technology used to crack passwords has been around since the 1970s, but it’s only recently that it’s been made available to the public. With the emergence of “brute force” password cracking, it’s quite possible that it may be used in other attacks as well. SubSet is only the latest iteration of a new and very effective password-cracking technique, and it shows that the password attack tools are coming of age. Security researchers say the era of relying on strong passwords to keep your accounts safe may be coming to an end.
In the wake of the Sony PlayStation Network hack, security researchers have cracked the PSN passwords of users by using a new technique. The researchers used a tool called “SubSet,” which they claim is “designed to brute force every password in [the console’s password database] in just minutes.” 827ec27edc