Mitigating Security Risks in iOS Applications - Analysis and Countermeasures for CoreTrust