This is basically a ransomware attack. Here is a guide to downgrade: https://github.com/qnblackcat/How-to-Downgrade-apps-on-AppStore-with-iTunes-and-Charles-Proxy/issues/44