We are working on native app using MobileFirst 7.1 and I was checking how MFP protect our app if we ran the case below:
The attacker used the same bundleID and same app name targeting our server and ran the app on simulator which doesn't need any cert to do that.
The Wlapp that is genrated from the native API will only have what ever defined in the application descriptor.
For example:
App1 (legit):
<nativeIOSApp id="MobileiOSNative" platformVersion="7.1.0.00.20170627-0807" bundleId="ca.company.test1"
version="1.0" xmlns="http://www.worklight.com/native-ios-descriptor" applicationId="MobileiOSNative" securityTest="TestMobile">
App2 (attacker) using the same info as the App1:
<nativeIOSApp id="MobileiOSNative" platformVersion="7.1.0.00.20170627-0807" bundleId="ca.company.test1"
version="1.0" xmlns="http://www.worklight.com/native-ios-descriptor" applicationId="MobileiOSNative" securityTest="TestMobile">
What could stop the attacker from contacting our server ?
I have went through this URL and not sure I have the proof that cover the above case: